SlideShare a Scribd company logo
HISTOGRAM TRANSFORMATION
IN IMAGE PROCESSING AND ITS
APPLICATIONS
Image Enhancement (Spatial)
 Image enhancement:
1. Improving the interpretability or perception of
information in images for human viewers
2. Providing `better' input for other automated
image processing techniques
 Spatial domain methods:
operate directly on pixels
 Frequency domain methods:
operate on the Fourier transform of an image
Contents
 Histogram
 Histogram transformation
 Histogram equalization
 Contrast streching
 Applications
Histogram
0 1 1 2 4
2 1 0 0 2
5 2 0 0 4
1 1 2 4 1 0
1
2
3
4
5
6
7
0 1 2 3 4 5 6
• The (intensity or brightness) histogram shows how many
times a particular grey level (intensity) appears in an image.
For example, 0 - black, 255 – white
image histogram
Histogram
• An image has low contrast when the complete range of
possible values is not used. Inspection of the histogram
shows this lack of contrast.
Histogram of color images
• RGB color can be converted to a gray scale
value by
Y = 0.299R + 0.587G + 0.114B
• Y: the grayscale component in the YIQ color
space used in NTSC television.
• The weights reflect the eye's brightness sensitivity to the
color primaries.
Histogram of color images
• Histogram: individual histograms of RED, GREEN and
BLUE
Blue
Histogram of color images
R G
B
Histogram equalization (HE)
• Ttransforms the intensity values so that the histogram
of the output image approximately matches the flat
(uniform) histogram
Histogram equalization
• As for the discrete case the following formula applies:
k = 0,1,2,...,L-1
L: number of grey levels in image (e.g., 255)
nj: number of times j-th grey level appears in image
n: total number of pixels in the image
·(L-1)
Histogram equalization
Input image
HE image
Histogram equalization
Input image
HE image
Histogram projection (HP)
• Assigns equal display space to every occupied raw
signal level, regardless of how many pixels are at that
same level. In effect, the raw signal histogram is
"projected" into a similar-looking display histogram.
Histogram projection
HE HP
IR image
Histogram projection
• occupied (used) grey level: there is at least one pixel with
that grey level
• B(k): the fraction of occupied grey levels at or below
grey level k
• B(k) rises from 0 to 1 in discrete uniform steps of 1/n,
where n is the total number of occupied levels
• HP transformation:
sk = 255 ·B(k).
Plateau equalization
• By clipping the histogram count at a saturation or
plateau value, one can produce display allocations
intermediate in character between those of HP and HE.
Plateau equalization
HE PE
Input image
Plateau equalization
• The PE algorithm computes the distribution not for the full image
histogram but for the histogram clipped at a plateau (or saturation)
value in the count.
• When that plateau value is set at 1, we generate B(k) and so perform
HP;
• When it is set above the histogram peak, we generate F(k) and so
perform HE.
• At intermediate values, we generate an intermediate distribution
which we denote by P(k).
• PE transformation:
sk = 255· P(k)
Contrast streching (CS)
 By stretching the histogram we attempt to use the
available full grey level range.
The appropriate CS transformation :
sk = 255·(rk-min)/(max-min)
Contrast streching
Input image
HE image
Contrast streching
CS does not help here
HE
Input image
HE image
Contrast streching
CS
HE
Input image
Contrast streching
HE
CS
79, 136
CS
Cutoff
fraction: 0.8
Input image
Contrast streching
Applications
CT lung studies
Thresholding
Normalization
Normalization of MRI images
Presentation of high dynamic images (IR, CT)
CT lung studies
Yinpeng Jin HE taken in a part of the image
Thresholding
Thresholding
 converting a greyscale image to a binary one for example,
when the histogram is bi-modal
threshold: 120
Thresholding
when the histogram is not bi-modal
threshold: 80 threshold: 120

More Related Content

PPT
Histogram.ppt Histogram equilization to improve the image quality
PPTX
HISTOGRAM_EQUALİZATİON FOR UNDERGRADUATE .pptx
PPT
ModuleII.ppt
PPT
ModuleII.ppt
PPT
ModuleII.ppt
PPTX
Discrete fourier and cosine transform (DCT,DFT)
PPTX
Image Enhacement for the image improvement
Histogram.ppt Histogram equilization to improve the image quality
HISTOGRAM_EQUALİZATİON FOR UNDERGRADUATE .pptx
ModuleII.ppt
ModuleII.ppt
ModuleII.ppt
Discrete fourier and cosine transform (DCT,DFT)
Image Enhacement for the image improvement

Similar to chapter-2.1 Histogram.ppt (20)

PDF
G0813841
PDF
Histogram Equalization.pdf
PPTX
ch-2.2 histogram image processing .pptx
PPT
Histogram equalization
PDF
Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...
PPT
Histogram power point presentation for students
PPT
_Histogram.ppt............................
PPTX
Identification of image in class hist.pptx
PPTX
Histogram based Enhancement
PPTX
Histogram based enhancement
PDF
A Study for Applications of Histogram in Image Enhancement
PDF
ModuleII090.pdf
PPS
Icdecs 2011
PDF
DIP_Lecture5.pdf
PDF
DIP_Lecture5.pdf
PDF
IRJET- Histogram Specification: A Review
PDF
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
PDF
Image Enhancement
PDF
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
PDF
Performance Evaluation of Filters for Enhancement of Images in Different Appl...
G0813841
Histogram Equalization.pdf
ch-2.2 histogram image processing .pptx
Histogram equalization
Comparison of Histogram Equalization Techniques for Image Enhancement of Gray...
Histogram power point presentation for students
_Histogram.ppt............................
Identification of image in class hist.pptx
Histogram based Enhancement
Histogram based enhancement
A Study for Applications of Histogram in Image Enhancement
ModuleII090.pdf
Icdecs 2011
DIP_Lecture5.pdf
DIP_Lecture5.pdf
IRJET- Histogram Specification: A Review
Study on Contrast Enhancement with the help of Associate Regions Histogram Eq...
Image Enhancement
A Comparative Study of Histogram Equalization Based Image Enhancement Techniq...
Performance Evaluation of Filters for Enhancement of Images in Different Appl...
Ad

Recently uploaded (20)

PPTX
Sports and Dance -lesson 3 powerpoint presentation
PPTX
1751884730-Visual Basic -Unitj CS B.pptx
PDF
APNCET2025RESULT Result Result 2025 2025
PDF
MCQ Practice CBT OL Official Language 1.pptx.pdf
PPT
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
DOCX
mcsp232projectguidelinesjan2023 (1).docx
PPTX
Prokaryotes v Eukaryotes PowerPoint.pptx
PPT
APPROACH TO DEVELOPMENTALlllllllllllllllll
PDF
L-0018048598visual cloud book for PCa-pdf.pdf
PPTX
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
PPTX
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
PDF
Biography of Mohammad Anamul Haque Nayan
PPTX
Principles of Inheritance and variation class 12.pptx
PPTX
Cerebral_Palsy_Detailed_Presentation.pptx
PPTX
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
PPTX
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
PPTX
microtomy kkk. presenting to cryst in gl
PDF
Prostaglandin E2.pdf orthoodontics op kharbanda
PPTX
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
PPTX
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
Sports and Dance -lesson 3 powerpoint presentation
1751884730-Visual Basic -Unitj CS B.pptx
APNCET2025RESULT Result Result 2025 2025
MCQ Practice CBT OL Official Language 1.pptx.pdf
Gsisgdkddkvdgjsjdvdbdbdbdghjkhgcvvkkfcxxfg
mcsp232projectguidelinesjan2023 (1).docx
Prokaryotes v Eukaryotes PowerPoint.pptx
APPROACH TO DEVELOPMENTALlllllllllllllllll
L-0018048598visual cloud book for PCa-pdf.pdf
Nervous_System_Drugs_PPT.pptxXXXXXXXXXXXXXXXXX
chapter 3_bem.pptxKLJLKJLKJLKJKJKLJKJKJKHJH
Biography of Mohammad Anamul Haque Nayan
Principles of Inheritance and variation class 12.pptx
Cerebral_Palsy_Detailed_Presentation.pptx
PE3-WEEK-3sdsadsadasdadadwadwdsdddddd.pptx
cse couse aefrfrqewrbqwrgbqgvq2w3vqbvq23rbgw3rnw345
microtomy kkk. presenting to cryst in gl
Prostaglandin E2.pdf orthoodontics op kharbanda
FINAL PPT.pptx cfyufuyfuyuy8ioyoiuvy ituyc utdfm v
Autonomic_Nervous_SystemM_Drugs_PPT.pptx
Ad

chapter-2.1 Histogram.ppt