Beruflich Dokumente
Kultur Dokumente
Black white
10
Original Object A Bitmap Image 96 96 9 255 255
(8bits Grey Scale)
65
92 175 210 255 255
Black white
70
90 175 162 165 255
0 1 2 3 4 5 6 … ………..255
y
Image Histograms
zThe histogram of an image shows us the
distribution of grey levels in the image
zMassively useful in image processing,
especially in segmentation
Frequencies
their histograms
z Notice the relationships
between the images and
their histograms
z Note that the high contrast
image has the most
evenly spaced histogram
Histogram Equalisation
Equalisation Examples
1
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
Equalisation Examples
2
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
4
3
Equalisation Transformation Functions
r s = T[ r] s
s = intensitymax - r
Original Negative
s = 1.0 - r
Image Image
Point Processing Example:
Thresholding
z Thresholding transformations are particularly
useful for segmentation in which we want to
isolate an object of interest from a background
s = log(1 + r)
Power Law Transformations
z Power law transformations have the following form
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
z s=c*rγ
z Map a narrow range
of dark input values
into a wider range of
output values or vice
versa
z Varying γ gives a whole
family of curves
Power Law Example (cont…)
γ = 0.3
1
Transformed Intensities 0.9
0.8
0.7
0.6
Original image 0.5
0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Original Intensities
Power Law Example (cont…)
z The images to the
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
right show a
s = r 0.6
magnetic resonance
(MR) image of a
fractured human
spine s=
s = r 0.4
r 0.3
z Different curves
highlight different
detail
Power Law Example
Power Law Example (cont…)
γ = 5.0
1
0.9
Transformed Intensities
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0
0 0.2 0.4 0.6 0.8 1
Original Intensities
Power Law Transformations (cont…)
z An aerial photo
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
of a runway is
shown s = r 3.0
z This time
power law
transforms are
s = r 4.0
used to darken s=
r 5.0
the image
z Different curves
highlight
different detail
Gray Level Slicing
zHighlights a specific range of grey levels
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
{Similar to thresholding
{Other levels can be
suppressed or maintained
{Useful for highlighting features
in an image
Working with Photoshop for processing a digital image
Summary
10 25 40 s=
0.0 , r <= threshold
where s refers to the processed image pixel value
y a pixel’s intensity level and r refers to the original image pixel value.