A contextual dissimilarity measure for accurate and efficient image search | Synapse