Professional Documents
Culture Documents
ImageProcessing4 ImageEnhancement (PointProcessing)
ImageProcessing4 ImageEnhancement (PointProcessing)
IMAGE ENHANCEMENT
(POINT PROCESSING)
Contents
y Image f (x, y)
Point Processing
Original Negative
s = 1.0 - r
Image Image
Point Processing Example:
Negative Images (cont…)
s = intensitymax - r
Point Processing Example:
Thresholding
Intensity Transformations
Basic Grey Level Transformations
transformations
Three of the most
common are shown
here
Linear
Negative/Identity
Logarithmic
Log/Inverse log
Power law
nth power/nth root
Logarithmic Transformations
s = log(1 + r)
Logarithmic Transformations (cont…)
Original Image Enhanced Image x
x
s = log(1 + r)
We usually set c to 1
Grey levels must be in the range [0.0, 1.0]
Power Law Transformations
Power law transformations have the following form
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
s=c*rγ
Map a narrow range
of dark input values
into a wider range of
output values or vice
versa
Varying γ gives a whole
family of curves
Power Law Transformations (cont…)
s=rγ
We usually set c to 1
Grey levels must be in the range [0.0, 1.0]
Power Law Example
Power Law Example (cont…)
γ = 0.6
1
0.9
0.8
Transformed Intensities
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
Old Intensities
Power Law Example (cont…)
γ = 0.4
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 Example (cont…)
γ = 0.3
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 Example (cont…)
right show a
s = r 0.6
magnetic resonance
(MR) image of a
fractured human s=
spine r
s = r 0.4
0 .3
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…)
of a runway is
shown s = r 3.0
This time
power law
transforms are
s = r 4.0
s=
used to darken r 5 .0
the image
Different curves
highlight
different detail
Gamma Correction
Similar to thresholding
Other levels can be
suppressed or maintained
Useful for highlighting features
in an image
Bit Plane Slicing