Comparison of Similarity Metrics for Thumbnail Based Image Retrieval