Files
opencv-MIRROR/modules/imgproc/src
Andrey Kamaev 0bbba847a4 Fix equalization formula in equalizeHist function & rewrite in C++
Old implementation did

    lut[i] = 255 * (count(Y <= i)) / (width * height)

which actually shifts uniform histograms.
From now histogram is equalized as

    C = count(Y == min(Y))
    lut[i] = 255 * (count(Y <= i) - C) / (width * height - C)
2012-12-15 15:29:15 +04:00
..
2012-06-07 17:21:29 +00:00
2012-10-22 19:13:18 +04:00
2012-10-17 15:32:23 +04:00
2012-06-09 15:00:04 +00:00
2012-10-11 13:45:21 +04:00
2012-06-09 15:00:04 +00:00
2012-06-09 15:00:04 +00:00
2012-06-08 03:15:08 +00:00
2012-06-09 15:00:04 +00:00