image restoration unit4-191105055541 (1).ppt

kumarankit06875 23 views 47 slides Jun 20, 2024
Slide 1
Slide 1 of 47
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47

About This Presentation

PPT ON IMAGE RESORATION


Slide Content

The main objective of restoration is to improve
the quality of a digital image which has been
degraded due to Various phenomena like:
Motion
Improper focusing of Camera during image
acquisition.
Noise
Modified from restoration.ppt by
Yu Hen Hu

The purpose of image restoration is to restore a degraded/distorted
image to its original content and quality.
Restoration involves following process:-
Modeling of Degradation
Applying the inverse process to recover the original image
Modified from restoration.ppt by
Yu Hen Hu

Wewillassumethatadegradationfunctionexists,
which,togetherwithadditivenoise,operatesonthe
inputimagef(x,y)toproduceadegradedimageg(x,y).
Theobjectiveofrestorationistoobtainanestimatefor
theoriginalimagefromitsdegradedversiong(x,y)
whilehavingsomeknowledgeaboutthedegradation
functionHandthenoise
Modified from restoration.ppt by
Yu Hen Hu

the degraded image in the spatial domain is
Modified from restoration.ppt by
Yu Hen Hu
Therefore, in the frequency domain it is

The Principal source of noise in digital images arise
during image Acquisition and transmission.
In Acquiring images with Camera and Light levels are
major factor affecting the amount of noise in resulting
image.
Images are corrupted during transmission due to
interferences in the channel used for transmission.for
example:image is transmitted using a wireless network
might be corrupted due to atmospheric disturbances.
Modified from restoration.ppt by
Yu Hen Hu

Some important noise probability density functions
–Gaussian noise
–Rayleigh noise
-Erlang gamma noise
–Exponential noise
–Impulse),(),(),(
),(),(),(
vuNvuFvuG
yxyxfyxg

 
Modified from restoration.ppt by Yu Hen Hu
Degradation models :
noise only

The PDF of a Gaussian random variable z given by:
Modified from restoration.ppt by
Yu Hen Hu
z represents intensity,
ž is the mean(average) value of z ,
is its standarddeviation.
is the variance of z.

The Gaussian noise arises in an image due to factors
such as electronic circuit noiseand sensor noise
due to poor illumination. The images acquired by
image scanners exhibit this phenomenon.
Modified from restoration.ppt by
Yu Hen Hu

Rayleigh noise is specified as
Modified from restoration.ppt by
Yu Hen Hu

RayleighnoisePDFishelpfulincharacterizing
noisephenomenainrangeimaging.(e.g-X-
ray,ultravioletimagingwhichdependuponthe
frequencyoflight)
Modified from restoration.ppt by
Yu Hen Hu

Erlang noise is specified as
Modified from restoration.ppt by
Yu Hen Hu
Here a > 0 and b is a positive integer. The mean and variance are
given by

Gamma noise finds in laser imaging.
Modified from restoration.ppt by
Yu Hen Hu

Exponential noise is specified as
Modified from restoration.ppt by
Yu Hen Hu
Here a > 0. The mean and variance are given by
Exponential pdf is a special case of Erlang pdf with b =1.Used in laser imaging.

Impulse (salt-and-pepper) noise (bipolar) is
specified as
Modified from restoration.ppt by
Yu Hen Hu
If b>a, intensity b will appear as a light dot on the image and a appears as a
dark dot If either Pa or Pb is zero the noise is called unipolar.If neither
probability is zero, and especially if they are approximatly equal, impulse noise
value will resemble salt and peeper granules randomely distributed over the
image.for this reason , bipolar impulse noise is called salt and peeper noise.

Modified from restoration.ppt by
Yu Hen Hu

Modified from restoration.ppt by
Yu Hen Hu

Mean filters
›Arithmetic mean filter
›Geometric mean filter
›Harmonic mean filter
›Contra-harmonic mean
filter
Order statistics filters
›Median filter
›Max and min filters
›Mid-point filter
›alpha-trimmed filters
Adaptive filters
›Adaptive local noise
reduction filter
›Adaptive median filter
Modified from restoration.ppt by
Yu Hen Hu

Arithmetic mean filter:
Modified from restoration.ppt by
Yu Hen Hu
The arithmetic mean filter computed the average value of the corrupted
image g(x,y) in the area defined by Sxy. Let Sxy represent the set of
coordinates in a rectangular neighborhood of size m x n, centered at the
point (x,y).
Effect:The Mean filter simply smoothes the variations in an
image.noise is reduced as a result of blurring

Modified from restoration.ppt by
Yu Hen Hu
Effect:
Geometric mean filter achieves smoothing comparable to the
arithmetic mean filter but it preserves more details (It means
loss less image detail in the process)

Modified from restoration.ppt by
Yu Hen Hu

Modified from restoration.ppt by
Yu Hen Hu
Effect:
Harmonic mean filter works well for salt noise and other types of
noise (such as Gaussian) but fails for pepper noise.

Modified from restoration.ppt by
Yu Hen Hu
Here Q is the order of the filter. This filter is well suited for
reducing the effects of salt-pepper noise. For positive values of Q,
eliminates pepper noise; for negative values of Q, it eliminates salt
noise. This filter cannot reduce both simultaneously.
Notice that contraharmonic filter reduces to the arithmetic mean
filter when Q = 0 and to the harmonic mean filter if Q = -1.

Modified from restoration.ppt by
Yu Hen Hu

Median filter:It replaces the pixel value by the median of the
intensity levels in the neighborhood of that pixel:
Effect:
Median filters provide excellent results for certain types of
noise with considerably less blurring than linear smoothing
filters of the same size. These filters are very effective against
both bipolar and unipolar noise. The same filter can be
applied more than once to yield better results.
Modified from restoration.ppt by
Yu Hen Hu

 
,
( , )
ˆ
( , ) ( , )
xy
s t S
f x y median g s t

 Modified from restoration.ppt by
Yu Hen Hu
Effective for
removing salt-
and-paper
(impulsive)
noise.

Max filters:
Modified from restoration.ppt by
Yu Hen Hu
This filter is useful for finding the brightest points in an image;
therefore, its effective against pepper noise.
Min filters:
This filter is useful for finding the darkest points in an
image;therefore, its effective against salt noise.( it reduces the salt
noise because it will eliminate the higher gray values in the
subimage.

Modified from restoration.ppt by
Yu Hen Hu

It computes the midpoint between the maximum and
minimum values of intensities:
Modified from restoration.ppt by
Yu Hen Hu
This filter is a combination of order statistics and averaging and
works best for Gaussian and uniform noise contaminations.

if we delete d/2 highest intensity values and d/2 lowest
intensity values of g(s,t) in the neighbourhood s
xy., denote the
rest as g
r(s.t), a filter that averages what is left is alpha-
trimmed mean filter:
Modified from restoration.ppt by
Yu Hen Hu
d can range from 0 to mn-1. When d = 0, this filter reduces to
the arithmetic mean filter, when d = mn-1, this filter reduces
to a median filter. For other values of d, the filter is useful in
situation with noise of multiple types, such as a combination
of salt-and-pepper and Gaussian noise.

Modified from restoration.ppt by
Yu Hen Hu

Adaptive filters are those filters whose behavior
changes based on the statistical characteristics of the
image inside the filter region defined by a
rectangular window size Sxy.
It is better than the mean filter and order statistics
filter.
Two types of filter
›Adaptive local noise reduction filter
›Adaptive median filter
Modified from restoration.ppt by
Yu Hen Hu

It uses two statistical parameters, mean and variance for the
elimination of noise.
Mean Parameter:It gives the average gray value.
Variance:It provides the estimate of the contrast in the image.
the adaptive filter is:
Modified from restoration.ppt by
Yu Hen Hu

The response of filter is based on four quantities:-
G(x,y) the value of noisy image at (x,y).
 the variance of noise corrupting f(x,y) to form g(x,y).
m
L local mean of pixels in the S
xy
The local variance of the pixels in S
xy
Modified from restoration.ppt by
Yu Hen Hu

The behavior of the Adaptive filter is
obtained as:

Modified from restoration.ppt by
Yu Hen Hu

Modified from restoration.ppt by
Yu Hen Hu

Adaptive filter achieves approximately the same
performance in noise cancellation but adds much less
blurring than the mean filters.
Adaptive filtering typically yields considerably
better results in overall performance at the price of
filter complexity.
Modified from restoration.ppt by
Yu Hen Hu

It can handle impulse noise with larger probabilities than
traditional median filter. It operates on a rectangular region
S
xy, whose size is changing. Window size is variable to
improve efficiency
Adaptive median filter has 3 goals:
to remove impulse noise,
To provide smoothing
to reduce distortion
Modified from restoration.ppt by
Yu Hen Hu

Three cases were implemented:
With Salt and Pepper noise alone
With non impulsive noise alone
With both included
Variations in the window size were introduced
Modified from restoration.ppt by
Yu Hen Hu

Modified from restoration.ppt by
Yu Hen Hu
Salt and Pepper
Standard Median output
Adaptive median Output

Modified from restoration.ppt by
Yu Hen Hu
Gaussian Noise
Standard Median output
Adaptive Median Output

Modified from restoration.ppt by
Yu Hen Hu
Gaussian and impulsive Noise
Standard Median output
Adaptive Median output

The adaptive median filter successfully removes
impulsive noise from images. It does a reasonably
good job of smoothening images that contain non-
impulsive noise.
When both types of noise are present, the
algorithm is not as successful in removing
impulsive noise and its performance deteriorates.
Modified from restoration.ppt by
Yu Hen Hu

Thisnoisetypicallycomesfromelectricalor
electromechanicalinterferenceduringimageacquisition.
Itcanbereducedviafrequencydomainfiltering.
Theimageiscorruptedbysinusoidalnoiseofvarious
frequencies.
Theparametersofperiodicnoiseareestimatedbyinspection
ofFourierspectrumoftheimage.
Modified from restoration.ppt by
Yu Hen Hu

Bandreject filters
Bandpass filters
Notch aFilters
Modified from restoration.ppt by
Yu Hen Hu

Bandreject filters remove or attenuate frequencies
about the origin of the Fourier transform.
Ideal Bandreject Filter:
Modified from restoration.ppt by
Yu Hen Hu
Where
D(u,v) :distance from the origin of the centered freq.
Do :Radial centre
W-width of the band

Modified from restoration.ppt by
Yu Hen Hu