EC8093 Unit 3
EC8093 Unit 3
Image Restoration
Dr.S.Deepa
Mrs.V.Subashree
Mrs.B.Sathyabhama
Panimalar Engineering College
Contents
3.1 • Introduction
Introduction
Restoration
• The principle goal of restoration technique is to improve quality of
image in some predefined sense.
• An image may be corrupted by so many degradations which starts
from the stage of image acquisition itself.
Goal • Images can be degraded by noise, blur and distortion (or)
artifacts.
2. Atmospheric turbulence
3. Misfocus of lens
Frequency
Algebraic
Domain
Approach
Approach
Whereas the
Frequency domain algebraic approach
techniques are of involves manipulation
relatively less of large systems of
computational simultaneous
complexity equations.
3.2
Image Degradation/
Restoration Model
Image Degradation/ Restoration Model
g ( x, y) = f ( x, y) h( x, y) + ( x, y) (1)
Frequency Domain
Where the terms in capital letters are the Fourier Transforms of the
corresponding terms in Eq(1)
Eq(1) and (2) are the basis for all restoration models.
3.3
Linear Position
Invariant Degradations
Linear Position Invariant Degradations
Linear Position Invariant Degradations (Contd…)
Additivity Property
Homogeneity Property
Linear Position Invariant Degradations (Contd…)
Linear Position Invariant Degradations (Contd…)
Noise Models
Noise Models
The principal sources of noise in digital image arise
– during image acquisition and / or transmission.
• During Image Acquisition
– in acquiring images with a CCD camera, light levels and
sensor temperature are major factors affecting the
amount of noise in the resulting image.
– Quality of Sensing Elements used
• During Image Transmission
– due to interference in the channel used for
transmission,
– Example : an image transmitted using a wireless
network might be corrupted as a result of lightning or
other atmospheric disturbances.
Spatial and Frequency Properties of
Noise
White noise:
The Fourier spectrum of noise is constant.
This terminology is a carryover from the physical
properties of white light, which contains nearly all
frequencies in the visible spectrum in equal
properties.
2 • Rayleigh Noise
Commonly
3 • Erlang Noise
Used PDF
4 • Exponential Noise
5 • Uniform Noise
6 • Impulse Noise
Gaussian Noise
Are used frequently in practice
The PDF of a Gaussian random variable,
Z, is given by:
1 − ( z − ) 2 / 2 2
p( z ) = e
2
Rayleigh Noise
The PDF of Rayleigh noise:
2
( z − a )e −( z − a ) / b for z a
2
p( z ) = b
0 for z a
Erlang Noise (Gamma Noise)
The PDF of Erlang noise :
b b −1 −( z − a ) 2 / b
a z e for z a
p( z ) = (b − 1)!
0 for z a
Exponential Noise
The PDF of Exponential Noise is given by
− az
p ( z ) = ae
Uniform Noise
1
for a z b
p( z ) = b - a
0 otherwise
Salt and Pepper Noise
3.5
Image Restoration
Filters
Image Restoration Filters
Disadvantage:
▪ Fails to remove pepper Noise
Contra Harmonic mean filter
The restored image using Harmonic Mean Filter is
given by
▪ Best suited for eliminating the effects of salt and pepper noise
ADVANTAGES
▪ Achieves better results
▪ Image filtered with adaptive filters are sharper
Adaptive Median Filtering
The median filter performs relatively well on impulse noise as
long as the spatial density of the impulse noise is not large.
❖ Notch Filters
1
H (u, v) = 2n
D(u, v)W
1+ 2 2
D (u , v ) − D0
2
1 D 2 ( u ,v ) − D02
−
2 D ( u ,v )W
H (u, v) = 1 − e
Band Reject Filters (cont…)
Band-Pass Filters
Opposite operation of a band-reject fiter
H bp = 1 − H br (u , v)
Notch Filters
Types
❖ Ideal Notch Filter
0 if D1 (u, v) D 0 or D 2 (u, v) D 0
H (u, v) =
1 otherwise
Where,
D1 (u , v) = (u − M / 2 − u0 ) + (v − N / 2 − v0 )
2
2 1/ 2
D (u, v) = (u − M / 2 + u )
2 0
2
+ (v − N / 2 + v )
0
2 1/ 2
Notch Filters (Contd…)
1
H (u, v) = n
D 2
1+ 0
D1 (u, v) D2 (u, v)
Notch Filters
Rejects (or passes) frequencies in predefined neighborhoods
about a center frequency
Ideal
Must appear in
symmetric pairs about
the origin.
Butterworth
Gaussian
Notch Pass Filter
H np (u , v) = 1 − H nr (u , v)
Types
▪ Inverse Filters
Curtain of noise
Cutting off values of the ratio outside a radius of 40, 70,85.
Wiener filtering
Wiener filtering
White noinse
Wiener filtering