mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
0bbba847a4
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) |
||
---|---|---|
.. | ||
doc | ||
include/opencv2/imgproc | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |