cv::calcHist() sample (OpenCV)