Local pyramidal descriptors for image recognition