mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
96b2898f38
range in calcHist() changed from [0,255] to [0,256]. Otherwise, it won't count pixels with value 255. It can be verified taking sum of histogram values and checking it with image size.