Histogram Equalization, Opencv Python, Histogram Manipulation, Image Enhancement, Opencv.
(the given histogram) to another distribution (a wider and more uniform distribution of intensity values) so the intensity values are spread over the whole range. # get the value from cumulative sum for every index in flat, and set that as img_new img_new = cs[flat] # we see a much more evenly