http://lear.inrialpes.fr/pubs/2010/JDSP10/jegou_compactimagerepresentation.pdf