Professional Documents
Culture Documents
Histogram Equalization
Image Enhancement: Histogram
Based Methods
Dark image
Bright image
We consider the gray values in the input image and output
image as random variables in the interval [0, 1].
ds
pin (r )
dr
Therefore, the output histogram is given by
1
pout ( s ) pin (r ) 1 r T 1 ( s ) 1, 0 s 1
pin (r ) r T 1 ( s )
NB: The gray values in output are also (0, 1/7, 2/7, …, 1).
# pixels Fraction
of # pixels
# pixels
Gray values