• Abid K's avatar
    Update samples/python2/hist.py · 96b2898f
    Abid K authored
    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.
    96b2898f
hist.py 3.39 KB