I tried to discover calcHist() function in opencv package but It seems not to be available. My goal is to get Color Histogram of images to compare for retrieving similar images.