Understanding image histograms with OpenCV
medium.com