mirror of
https://github.com/opencv/opencv.git
synced 2026-11-16 14:27:47 -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.