Segmentation-based Image Similarity Search