1. A storage medium storing instructions executable by a processor to perform a method comprising: extracting local descriptors from an image; generating an image vector having vector elements indicative of parameters of mixture model components of a mixture model representing the extracted local descriptors; and compressing the image vector using a vector quantization algorithm to generate a compressed image vector.