Combining similarity measures in content-based image retrieval