mirror of
https://github.com/opencv/opencv.git
synced 2026-09-29 04:09:43 +03:00
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.