IPH: an Integrated Probabilistic Histogram for Measuring Image Similarity in HSV Color Space