Professional Documents
Culture Documents
Image Enhancement
Image
Enhancement
S.Sivanantharajah
Lecture 05
2014/11/15
Enhancement Types:
RADIOMETRIC ENHANCEMENT
Modification of brightness values of each pixel in
an image data set independently (Point
operations).
SPATIAL ENHANCEMENT
Modification of pixel values based on the values
of surrounding pixels. (Local operations)
SPECTRAL ENHANCEMENT
Enhancing images by transforming the values of
each pixel on a multiband basis
CONTRAST
Amount of difference between average gray level
of an object and that of surroundings
Difference in illumination or gray level values in an
image
RADIOMETRIC ENHANCEMENT
Modification of brightness values of each
pixel in an image data set independently
(Point operations).
Brings out contrast in the image
Applied separately to each band of data.
Enhancement applied to one band may
not be appropriate to other bands.
Contrast Enhancement falls under
Radiometric enhancement
Fundamentals of Remote Sensing S.Sivanantharajah
Image Histogram
Histogram- distribution of gray describes the
statistical levels(pixel values) in an image in terms
of the number of pixels( or percentage against the
total number of pixels) at each gray level.
11/14/2014
Band1
Band 3
FCC (4,2,1)
Fundamentals of Remote Sensing S.Sivanantharajah
Band2
Band4
Contrast Enhancement
Expands the original input values to make use of the
total range of the sensitivity of the display device.
The density values in a scene are literally pulled
farther apart, that is, expanded over a greater range.
The effect is to increase the visual contrast between
two areas of different uniform densities.
This enables the analyst to discriminate easily
between areas initially having a small difference in
density.
11/14/2014
Y = ax + b
grey
shade
min DN
max DN
Linear stretch
0
0
DN
255
transfer function
Fundamentals of Remote Sensing S.Sivanantharajah
11/14/2014
Computations
Y = ax+b Eq. 1
The values of 'a' and 'b' are computed from the equations.
a =
(Ymax - Ymin )/Xmax - Xmin
b =
(Xmax Ymin - Xmin Ymax )/Xmax - Ymin
where,
X =
Input pixel value
Y =
Output pixel value
Xmin, Xmax , Ymin and Ymax are the min and max input and
output values
DN - DNmin
DN1= ---------------- . 255
DNmax Dnmin
For Example DN value 100 will become
59 after the enhancement
X Xmin
Y= -------------- . 255
Xmax - Xmin
DN DNmin
DN1 = ---------------- . 255
DNmax - DNmin
Linear stretch
Linear stretch
Histogram
Distribution of Grey Values
(Jensen 1996)
TM band 4
Look Up Table
There is only one entry for a
combination of an Input and
Output ( No Duplicate Entries)
Data is not destroyed once an
irreversible operation is
performed
Need to only change the LUT if
another operation is to be
performed
Fundamentals of Remote Sensing S.Sivanantharajah
O/P
10
20
64
30
128
40
191
50
255
11/14/2014
Y = (x)
Increases or decreases contrast in different
regions of histogram
Transfer Function Types:
Mathematical
* Logarithmic
* Inverse Log
* Exponential
* Square
* Square root
* Cube
* Cube Root
Statistical
* Histogram Equalization
* Gaussian Stretch
Trigonometrical
* Arc tangent ( tan-1)
11/14/2014
11/14/2014
SPATIAL ENHANCEMENT
SPATIAL ENHANCEMENT
Modification of pixel values based on the
values of surrounding pixels. (Local
operations)
While radiometric enhancements operate on each
pixel individually, spatial enhancement modifies pixel
values based on the values of surrounding pixels.
Spatial enhancement deals largely with spatial
frequency, which is the difference between the
highest and lowest values of a contiguous set of
pixels.
Spatial Filtering
Spatial Frequency
Spatial Frequency
Spatial Filtering
This technique increases the analysts ability to
discriminate detail.
This is known as local operation i.e. pixel value is
modified based on the values surrounding it.
Main purpose of this technique is to
SPATIAL FREQUENCY:
variation of the Digital
Count per space unit.
11/14/2014
Spatial enhancement
Spatial enhancement
Convolution Filtering
Technique
Mask window is placed over part of image
Convolution Formula is applied over the part of image
(Sum of the Weighted product is obtained (coefficient
of mask x raw DN value)/ sum of coefficients)
Central value replaced by the output value
Window shifted by one pixel & procedure is repeated
for the entire image.
Fundamentals of Remote Sensing S.Sivanantharajah
Filters
are Algorithms for filtering
Composed of
11/14/2014
Convolution Process
c1 c2 c3
c4 c5 c6
Convolution Process
c1
c2
c3
c4
c5
c6
c7
c8
c9
c7 c8 c9
c7 c8 c9
Filter
Filter
Input Image
Input Image
Convolution Process
Convolution Process
c1
c2
c3
c4
c5
c6
c7
c8
c9
C2
BV2
C3
BV3
C4
BV4
C5
BV5
C6
BV6
C7
BV7
C8
BV8
C9
BV9
c1
cc12
cc23
cc31
cc12
cc23
c3
c4
cc45
cc56
cc64
cc45
cc56
c6
c7
cc78
cc89
cc97
cc78
cc89
c9
c1
c2
c3
c4
c5
c6
c7
c8
c9
BV5, out = ( C1* BV1 + C2* BV2 + C3* BV3 + C4* BV4 +
C5* BV5 + C6* BV6 + C7* BV7 + C8* BV8 +
C1* BV9 )
Input Image
Ci
Input Image
Fundamentals of Remote Sensing S.Sivanantharajah
Convolution Process
Please Note that:
Central Pixel
Window mask
010
111
010
11/14/2014
Filtering
After filtering
MEDIAN FILTER:
TYPES:
MEAN
MEDIAN
MODE
Effect
- Retains sharpness of linear feature along with
smootherning of image
MEAN FILTER:
-
weights of
MODE FILTER:
1
1
1
3x3 mean filter mask 1
1
1
1
1
1
Effect smoothens the image
blurring the image at edges
3x3
5x5
7x7
3x3
5x5
7x7
10
11/14/2014
Low
pass
Filter
-1 -1 -1
-1 8 -1
-1 -1 -1
1
or
Edge Detection
Zero-Sum Kernels
Zero-sum kernels are kernels in which
the sum of all coefficients in the kernel
equals zero.
This generally causes the output values
to be:
zero in areas where all input values are
equal (no edges)
extreme in areas of high spatial
frequency (high values become much
higher, low values become much lower)
Edge Enhancement
Edge Detection
Therefore, a zero-sum kernel is an edge
detector, which usually smoothes out or zeros
out areas of low spatial frequency and creates
a sharp contrast where spatial frequency is
high, which is at the edges between
homogeneous (homogeneity is low spatial
frequency) groups of pixels.
The 3 x 3 kernel
-1
-1 -1
1
-2
1
1
1
1
Fundamentals of Remote Sensing S.Sivanantharajah
Kernel
-1
-1
-1
-1
16
-1
-1
-1
1
11
11/14/2014
Edge Enhancement
Edge Detection
BEFORE
AFTER
204 200 197
204 200 197
201 106 209
201 9
209
198 200 210
198 200 210
...the low value gets lower. Inversely, when the kernel is used
on a set of pixels in which a relatively high value is
surrounded by lower values...
BEFORE
AFTER
64 60 57
64 60 57
61 125 69
61 187 69
58 60
70
58 60 70
...the high value becomes higher. In either case, spatial
frequency is increased by this kernel.
Fundamentals of Remote Sensing S.Sivanantharajah
Original image
3 x 3 Edge Detection
Edge Enhancement
Original Image
Enhancement
3x3 Edge
SPECTRAL ENHANCEMENT
Enhancing images by transforming the values
of each pixel on a multiband basis.(Image
Transformation)
Spectral Enhancement
12
11/14/2014
Vegetation Indices
This group of algorithms contains a
number of simple band combinations
that are commonly used for either
vegetation or mineral delineation.
Indices are used extensively in mineral
exploration and vegetation analyses to
bring out small differences between
various rock types and vegetation
classes.
Fundamentals of Remote Sensing S.Sivanantharajah
NDVI
= (TM 4 TM 3)/(TM 4 + TM 3)
VI = Vegetation Index
= TM 4/TM 3
Clay Minerals = TM 5/7
Ferrous Minerals = TM 5/4
Ferric Minerals (iron oxide) = TM 3/1
NDVI
For Landsat TM NDVI = (Band 4 Band3/(Band 4 + Band3)
Normalized Difference Vegetation Index (NDVI) = (IR R)/(IR + R)
The NDVI itself varies between -1.0 and +1.0.
Negative values of NDVI (values approaching -1)
correspond to deep water.
Values close to zero (-0.1 to 0.1) generally correspond to
barren areas of rock, sand, or snow.
Low, positive values represent shrub and grassland
(approximately 0.2 to 0.4), while high values indicate
temperate and tropical rainforests (values approaching 1).
The typical range is between about -0.1 (for a not very
green area) to 0.6 (for a very green area).
NDVI
Increasing positive NDVI values, shown
in increasing shades of green on the
images, indicate increasing amounts of
green vegetation.
NDVI values near zero and decreasing
negative values indicate non-vegetated
features such as barren surfaces (rock
and soil) and water, snow, ice, and
clouds.
Fundamentals of Remote Sensing S.Sivanantharajah
13
11/14/2014
Applications - NDVI
Indices are used extensively in mineral
exploration and vegetation analysis to bring
out small differences between various rock
types and vegetation classes. In many cases,
judiciously chosen indices can highlight and
enhance differences that cannot be observed in
the display of the original color bands.
Certain combinations of TM ratios are routinely
used by geologists for interpretation of Landsat
imagery for mineral type. For example: Red
5/7, Green 5/4, Blue 3/1.
Fundamentals of Remote Sensing S.Sivanantharajah
14