Ec8093-Digital Image Processing: Dr.K.Kalaivani Associate Professor Dept. of EIE Easwari Engineering College
Ec8093-Digital Image Processing: Dr.K.Kalaivani Associate Professor Dept. of EIE Easwari Engineering College
PROCESSING
Dr.K.Kalaivani
Associate Professor
Dept. of EIE
Easwari Engineering College
UNIT III
IMAGE RESTORATION
2
• As in enhancement, goal of restoration tech., is to improve an
image in some predefined manner
3
The Degradation Function
4
Spatially-invariant degradation affects all pixels in the
image the same
5
Examples of spatially-variant degradations include
imperfections in a lens or object motion
6
7
Frequency Domain Filters
8
9
The Fourier transform is performed on three
spatial domain functions:
10
The output of the filter operation undergoes an
inverse Fourier transform to give the restored
image
The frequency domain filters incorporate
information regarding the noise and the PSF into
their model, and are based on the mathematical
model given as
11
In order to obtain the restored image, the general
form is as follows:
12
Observation of noise images shows they may be
stationary – subimages tend to be self-similar
13
Inverse Filter
14
15
16
• inverse filtration gives poor results in pixels suffering from noise since
the noise is not taken into account
17
WIENER FILTERING
MINIMUM MEAN SQUARE ERROR FILTERING
18
19
20
21
Geometric Transformations
22
Geometric Transforms
23
These methods are often referred to as rubber-
sheet transforms, because the image is modeled
as a sheet of rubber and stretched and shrunk,
as required to correct for any spatial distortion
24
The methods are used in map making, image
registration, image morphing, and other
applications requiring spatial modification
25
The more sophisticated geometric transforms,
require two steps:
1. Spatial transform
2. Gray level interpolation
26
Spatial Transforms
27
• Spatial transforms can be modeled as:
28
• To find these equations requires identifying a set of points
in the original image that match points in the distorted
image, called tiepoints
29
• A geometrically distorted image can be
restored in the following way
30
31
32
• In step 2, using a bilinear model for the mapping
equations, the four corner points are used to generate the
equations:
34
35
• The difficulty in the above example arises when we try to
determine the value of d(41.4,20.6)
36
Gray Level Interpolation
37
38
1. Nearest neighbor method
• Each pixel is assigned the value of the closest pixel in the distorted
image
• It does not necessarily provide optimal results, but has the advantage
of being easy to implement and computationally fast
39
2. Neighborhood average method
40
3. Bilinear interpolation method
• Bilinear interpolation is the most complex, slowest, but has the best
results
41
• The constants, ki , are different than the
constants used in the spatial mapping equations
42
43
44
45
46
• For applications requiring even higher quality
results, such as medical imaging or computer-
aided design (CAD) graphics, more
mathematically complex methods can be used
47
The Geometric Restoration Procedure
48
• Many variations of this method are possible
49