extract surf descriptors from a given number of images