Histogram Equalization, Opencv Python, Histogram Manipulation, Image Enhancement, Opencv.
[<matplotlib.lines.Line2D at 0x1d0b5f8bd60>] Get CDF: # 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 distributed histogram plt.hist(img_new, bins=50) How does it work? Equalization implies mapping one distribution