Multilayer descriptors for medical image classification