DIP Module 2 V3
DIP Module 2 V3
Slide #1
In this PPT
1.What is a Histogram ?
2.Basic Image Types and
their Histograms
3.Histogram Equalization
4.Applications of Histogram
Equalization
Strive for Excellence
Slide #2
1. What is a Histogram ?
• The histogram of a digital image with intensity levels in the
range [0, L-1] is a discrete function
• h(rk) = nk where
3. Histogram Equalization
• Technique to improve the contrast in images.
• It accomplishes it by stretching out the intensity range of an
image
• The objective of this technique is to give a linear trend to the
cumulative probability function associated to the image.
3. Histogram Equalization
• Consider continuous intensity values and let r denote the
intensities of an image to be processed, with r in the range
[0,L-1]
• We consider Transformations(Intensity Mappings) of the form
s = T(r) 0 ≤ r ≤ L – 1
• that produce an output intensity level s for every pixel in the
input image having intensity r. We assume that
1. T(r) is a monotonically increasing function in the range
[0,L-1]
2. 0 ≤ T(r) ≤ L – 1 for 0≤r ≤ L–1
• We may sometimes have to use the inverse also
r = T-1 (s) for 0≤ s ≤ L–1
• In which case the 1 condition changes to
st
Monotonically Increasing
Functions
4. Histogram Equalization
Application