Code covered by the BSD License
21 Feb 2013
22 Feb 2013)
The above describes histogram equalization on a grayscale image
Watch this File
The code computes the probabilities per pixel and further spreads them over the whole band of [0,255] to obtain histogram equalization.
I have only dded the screenshot