Large-scale image retrieval based on the vocabulary tree