mirror of
https://github.com/opencv/opencv.git
synced 2026-12-01 21:58:44 -06: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.