1. A computer-implemented method comprising: receiving a collection of training images; extracting features from the collection of training images; quantizing the extracted features into visual words; determining spatial configurations of the visual words in the training images; storing the spatial configurations of the visual words in a spatial configuration database; and extracting a portion of features of an image and utilizing the spatial configurations of the visual words stored in the spatial configuration database to interpolate a remaining portion of features of the image.