SlideShare a Scribd company logo
1 of 56
Download to read offline
Image Restoration
Image Restoration
◼ Restoration is a process of reconstruction or
recovering an image that has been degraded by
using some a priori knowledge of the
degradation phenomenon.
◼ It is objective which means that restoration
techniques are oriented toward modeling the
degradation and applying the inverse process in
order to recover the original image.
2
Degradations
4
Degradation/Restoration Model
◼ The problem of restoration is to obtain
an estimate, f^(x,y), of the original image.
◼ The more we know about H and η, the
closer f^(x,y) will be to f(x,y).
Degradation/Restoration Model
◼ In the Spatial domain
◼ In the Frequency domain
◼ IF we know the values of H and N, we could
recover F as given
◼ This may not practical. Even though we may have
some statistical information about the noise. As
well H(,u,v) may be close to, or equal to zero. 5
)
,
(
)
,
(
*
)
,
(
)
,
( y
x
y
x
f
y
x
h
y
x
g 
+
=
)
,
(
)
,
(
).
,
(
)
,
( v
u
N
v
u
F
v
u
H
v
u
G +
=
)
,
(
)
,
(
)
,
(
)
,
(
v
u
H
v
u
N
v
u
G
v
u
F
−
=
Noise Properties and models
◼ The principle source of noise arises during image
acquisition and/or transmission.
◼ Assuming noise is independent of spatial coordinates
and uncorrelated with respect to the image itself.
◼ Concerning with the statistical behavior of the gray-
level values in the noise component.
◼ Considering random variables characterized by a
Probability Density Function (PDF).
6
Gaussian noise
◼ It is used frequently in practice
7
Uniform noise







−
=
otherwise
0
if
1
)
(
b
z
a
a
b
z
p
12
)
(
2
2
2 a
b
b
a
−
=
+
=


Mean:
Variance:
◼ Less practical, used for random number
generator
9
Impulse (salt-and-pepper) noise
• If b>a, gray-level b will appear
as a light dot. Conversely, level
a will appear like a dark dot if
either Pa or Pb is zero.
Periodic noise
◼ Arise from electrical or
electromechanical interference during
image acquisition
◼ Spatial dependence
◼ Observed in the frequency domain
Sinusoidal noise:
Complex conjugate
pair in frequency
domain
Estimation of noise parameters
◼ Periodic noise
◼ Observe the frequency spectrum
◼ Random noise with unknown PDFs
◼ Case 1: imaging system is available
◼ Capture images of “flat” environment
◼ Case 2: noisy images available
◼ Take a strip from constant area
◼ Draw the histogram and observe it
◼ Measure the mean and variance
Observe the histogram
Gaussian uniform
◼ Histogram is an estimate of PDF
Measure the mean and variance


=
S
z
i
i
i
z
p
z )
(



−
=
S
z
i
i
i
z
p
z )
(
)
( 2
2



Gaussian: , 
Uniform: a, b
Restoration in the presence of noise-
spatial filtering
◼ A method of choice in situations when
only additive noise is present
◼ Enhancement and restoration become
almost indistinguishable disciplines when
only additive noise is present
16
Additive noise only
g(x,y)=f(x,y)+(x,y)
G(u,v)=F(u,v)+N(u,v)
Spatial filters for de-noising
additive noise
◼ Skills similar to image enhancement
◼ Mean filters
◼ Order-statistics filters
◼ Adaptive filters
Mean filters
◼ Arithmetic mean: Noise is reduced as a
result of blurring
◼ Geometric mean: It tends to lose less
image detail compared with mean filter


=
xy
S
t
s
t
s
g
mn
y
x
f
)
,
(
)
,
(
1
)
,
(
ˆ
Window centered at (x,y)
mn
S
t
s
t
s
g
y
x
f
xy
/
1
)
,
(
)
,
(
)
,
(
ˆ







=

Mean filters (cont.)
◼ Harmonic mean filter
◼ Contra-harmonic mean filter




+
=
xy
xy
S
t
s
Q
S
t
s
Q
t
s
g
t
s
g
y
x
f
)
,
(
)
,
(
1
)
,
(
)
,
(
)
,
(
ˆ


=
xy
S
t
s t
s
g
mn
y
x
f
)
,
( )
,
(
1
)
,
(
ˆ
Q=-1, harmonic
Q=0, airth. mean
Q=+, ?
21
22
Order-statistics filters
I. Median filter: provides excellent noise
reduction capabilities with considerably less
blurring than linear smoothing filters
II. Max and Min filter: Max filter is useful for
finding the brightest points. It is effective for
pepper noise
22
23
Order-statistics filters
II. Max and Min filter: Min filter is useful for finding
the darkest points. It reduces salt noise
III. Midpoint filter: this filter combines order
statistics and averaging. It works well for
Gaussian and uniform noise
23
24
25
Adaptive filters
◼ The behavior changes based on statistical
characteristics of the image inside the filter
region defined by window Sxy.
◼ Its performance superior to the previous
filter
◼ Local noise reduction filter:
ML-local mean of the pixels in Sxy
26
Adaptive filters
- Variance of the noise to form g(x,y)
- Local variance of the pixels in Sxy
◼ If =0 → zero-noise case
◼ If >> → f^(x,y)≈g(x,y) the variance is
associated with edges; no noise
◼ If = → noise is reduced by averaging
27
2
n

2
L

2
n

2
n

2
L

2
n

2
L

28
Periodic noise reduction
◼ Pure sine wave
◼ Appear as a pair of impulse (conjugate) in
the frequency domain
)
sin(
)
,
( 0
0 y
v
x
u
A
y
x
f +
=






+
+
−
−
−
−
= )
2
,
2
(
)
2
,
2
(
2
)
,
( 0
0
0
0






v
v
u
u
v
v
u
u
A
j
v
u
F
Periodic noise reduction
(cont.)
◼ Bandreject filters
◼ Bandpass filters
◼ Notch filters
Bandreject filters
* Reject an isotropic frequency
ideal Butterworth Gaussian
Bandreject filters
32
Bandreject filters (Cont.)
noisy spectrum
bandreject
filtered
Bandpass filters
◼ Hbp(u,v)=1- Hbr(u,v)
 
)
,
(
)
,
(
1
v
u
H
v
u
G bp
−

Notch filters
◼ Reject(or pass) frequencies in predefined
neighborhoods about a center frequency
ideal
Butterworth Gaussian
Notch filters (Cont.)
Notch filters (Cont.)
Horizontal
Scan lines
Notch
pass
DFT
Notch
pass
Notch
reject
Estimating the degradation function
◼ Estimation by Image observation
◼ Estimation by experimentation
◼ Estimation by modeling
Estimation by image observation
◼ Take a window in the image
◼ Simple structure
◼ Strong signal content
◼ Estimate the original image in the window
)
,
(
ˆ
)
,
(
)
,
(
v
u
F
v
u
G
v
u
H
s
s
s =
known
estimate
Estimation by experimentation
◼ If the image acquisition system is ready
◼ Obtain the impulse response
impulse Impulse response
Estimation by experimentation
(Cont.)
43
Estimation by modeling
◼ A degradation model proposed by
Hufnagel and Stanley is based on the
physical characteristics of atmospheric
turbulence.This model has a familiar
form:
44
Estimation by modeling
◼ Ex. Atmospheric model
6
/
5
2
2
)
(
)
,
( v
u
k
e
v
u
H +
−
=
original k=0.0025
k=0.001 k=0.00025
Estimation by modeling
Estimation by modeling
Estimation by modeling: example
original Apply motion model
Inverse filtering
◼ The simplest approach is direct inverse filtering
In the presence of noise, substituting the
following eqn. into the above Eqn.
Yields,
49
Inverse filtering
◼ With the estimated degradation function
H(u,v)
G(u,v)=F(u,v)H(u,v)+N(u,v)
=>
)
,
(
)
,
(
)
,
(
)
,
(
)
,
(
)
,
(
ˆ
v
u
H
v
u
N
v
u
F
v
u
H
v
u
G
v
u
F +
=
=
Estimate of
original image
Problem: 0 or small values
Unknown
noise
Sol: limit the frequency
around the origin
Min. Mean Square Error (Wiener)
filtering
◼ Incorporating both the degradation fn. and
statistical characteristics of noise into the
restoration process
◼ Assume noise and image are uncorrelated
◼ Based on these conditions, the minimum of the
error function is given in the frequency domain
by the expression
51
Min. Mean Square Error (Wiener)
filtering
Min. Mean Square Error (Wiener)
filtering
Where,
53
• If Sη and Sf are not known, we set ratio (Sη /Sf ) with
specified constant K
• If Sη =0 (absence of noise), the filter reduces to the ideal
inverse filter
54
Image Restoration in Matlab
Image Restoration in Matlab (Cont.)

More Related Content

What's hot

Isolation of aliphatic hydrocarbons from tomato paste
Isolation of aliphatic hydrocarbons from tomato pasteIsolation of aliphatic hydrocarbons from tomato paste
Isolation of aliphatic hydrocarbons from tomato pasteJustin Delimo
 
It's the weather
It's the weatherIt's the weather
It's the weather123marian
 
Lec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical ImagesLec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical ImagesUlaş Bağcı
 
Arte del dibujo (Art of drawing, the complete course)
Arte del dibujo (Art of drawing, the complete course)Arte del dibujo (Art of drawing, the complete course)
Arte del dibujo (Art of drawing, the complete course)Eduardo Sagredo
 
Curso prático de desenho 02
Curso prático de desenho 02Curso prático de desenho 02
Curso prático de desenho 02Artes e Encantos
 
Deep Learning A-Z™: Boltzmann Machines - Contrastive Divergence
Deep Learning A-Z™: Boltzmann Machines  - Contrastive DivergenceDeep Learning A-Z™: Boltzmann Machines  - Contrastive Divergence
Deep Learning A-Z™: Boltzmann Machines - Contrastive DivergenceKirill Eremenko
 
Microphones-Type, Characteristics, design, Applications, techniques, Patterns
Microphones-Type, Characteristics, design, Applications, techniques, PatternsMicrophones-Type, Characteristics, design, Applications, techniques, Patterns
Microphones-Type, Characteristics, design, Applications, techniques, PatternsSankaranarayanan K B
 
12.06 Celebrating the Life of Asa Fox
12.06 Celebrating the Life of Asa Fox12.06 Celebrating the Life of Asa Fox
12.06 Celebrating the Life of Asa FoxJulesWilkinson
 
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2Mukesh Chinta
 
Deep Learning A-Z™: Boltzmann Machines - Restricted Boltzmann Machine
Deep Learning A-Z™: Boltzmann Machines  - Restricted Boltzmann MachineDeep Learning A-Z™: Boltzmann Machines  - Restricted Boltzmann Machine
Deep Learning A-Z™: Boltzmann Machines - Restricted Boltzmann MachineKirill Eremenko
 
Loudspeaker-Types, designs, Application & Crossover
Loudspeaker-Types, designs, Application & CrossoverLoudspeaker-Types, designs, Application & Crossover
Loudspeaker-Types, designs, Application & CrossoverSankaranarayanan K B
 
Noise models presented by Nisha Menon K
Noise models presented by Nisha Menon KNoise models presented by Nisha Menon K
Noise models presented by Nisha Menon KNisha Menon K
 
Origami step by step
Origami step by stepOrigami step by step
Origami step by stepcrijarin333
 
E um rinoceronte dobrado
E um rinoceronte dobradoE um rinoceronte dobrado
E um rinoceronte dobradoLayse Bernardo
 
0100. čOvek Bez Lica
0100. čOvek Bez Lica0100. čOvek Bez Lica
0100. čOvek Bez LicaTompa *
 

What's hot (20)

Isolation of aliphatic hydrocarbons from tomato paste
Isolation of aliphatic hydrocarbons from tomato pasteIsolation of aliphatic hydrocarbons from tomato paste
Isolation of aliphatic hydrocarbons from tomato paste
 
Mastering
MasteringMastering
Mastering
 
It's the weather
It's the weatherIt's the weather
It's the weather
 
Lec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical ImagesLec3: Pre-Processing Medical Images
Lec3: Pre-Processing Medical Images
 
Arte del dibujo (Art of drawing, the complete course)
Arte del dibujo (Art of drawing, the complete course)Arte del dibujo (Art of drawing, the complete course)
Arte del dibujo (Art of drawing, the complete course)
 
Curso prático de desenho 02
Curso prático de desenho 02Curso prático de desenho 02
Curso prático de desenho 02
 
Deep Learning A-Z™: Boltzmann Machines - Contrastive Divergence
Deep Learning A-Z™: Boltzmann Machines  - Contrastive DivergenceDeep Learning A-Z™: Boltzmann Machines  - Contrastive Divergence
Deep Learning A-Z™: Boltzmann Machines - Contrastive Divergence
 
Microphones-Type, Characteristics, design, Applications, techniques, Patterns
Microphones-Type, Characteristics, design, Applications, techniques, PatternsMicrophones-Type, Characteristics, design, Applications, techniques, Patterns
Microphones-Type, Characteristics, design, Applications, techniques, Patterns
 
12.06 Celebrating the Life of Asa Fox
12.06 Celebrating the Life of Asa Fox12.06 Celebrating the Life of Asa Fox
12.06 Celebrating the Life of Asa Fox
 
Digital Image Fundamentals - II
Digital Image Fundamentals - IIDigital Image Fundamentals - II
Digital Image Fundamentals - II
 
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2
Attacks, Concepts and Techniques - Cisco: Intro to Cybersecurity Chap-2
 
TFP.03
TFP.03TFP.03
TFP.03
 
Deep Learning A-Z™: Boltzmann Machines - Restricted Boltzmann Machine
Deep Learning A-Z™: Boltzmann Machines  - Restricted Boltzmann MachineDeep Learning A-Z™: Boltzmann Machines  - Restricted Boltzmann Machine
Deep Learning A-Z™: Boltzmann Machines - Restricted Boltzmann Machine
 
unit-3.ppt
unit-3.pptunit-3.ppt
unit-3.ppt
 
Loudspeaker-Types, designs, Application & Crossover
Loudspeaker-Types, designs, Application & CrossoverLoudspeaker-Types, designs, Application & Crossover
Loudspeaker-Types, designs, Application & Crossover
 
Noise models presented by Nisha Menon K
Noise models presented by Nisha Menon KNoise models presented by Nisha Menon K
Noise models presented by Nisha Menon K
 
Origami step by step
Origami step by stepOrigami step by step
Origami step by step
 
Surah al Jinn
Surah al JinnSurah al Jinn
Surah al Jinn
 
E um rinoceronte dobrado
E um rinoceronte dobradoE um rinoceronte dobrado
E um rinoceronte dobrado
 
0100. čOvek Bez Lica
0100. čOvek Bez Lica0100. čOvek Bez Lica
0100. čOvek Bez Lica
 

Similar to Ch5_Restoration (1).pdf

Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restorationMd Shabir Alam
 
Image restoration1
Image restoration1Image restoration1
Image restoration1moorthim7
 
Image denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic NoisesImage denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic NoisesSakshiAggarwal85
 
Image Degradation & Resoration
Image Degradation & ResorationImage Degradation & Resoration
Image Degradation & ResorationSanjay Saha
 
restoration_recon_chap5_GW.pdf
restoration_recon_chap5_GW.pdfrestoration_recon_chap5_GW.pdf
restoration_recon_chap5_GW.pdfSUBHASHREEBASU5
 
Lecture 6-2023.pdf
Lecture 6-2023.pdfLecture 6-2023.pdf
Lecture 6-2023.pdfssuserff72e4
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)Shajun Nisha
 
Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithmsMohammad Sunny
 
Iaetsd vlsi implementation of gabor filter based image edge detection
Iaetsd vlsi implementation of gabor filter based image edge detectionIaetsd vlsi implementation of gabor filter based image edge detection
Iaetsd vlsi implementation of gabor filter based image edge detectionIaetsd Iaetsd
 
Image pre processing-restoration
Image pre processing-restorationImage pre processing-restoration
Image pre processing-restorationAshish Kumar
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image RestorationMathankumar S
 

Similar to Ch5_Restoration (1).pdf (20)

Digital Image restoration
Digital Image restorationDigital Image restoration
Digital Image restoration
 
Chap6 image restoration
Chap6 image restorationChap6 image restoration
Chap6 image restoration
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Image restoration and reconstruction
Image restoration and reconstructionImage restoration and reconstruction
Image restoration and reconstruction
 
Image restoration1
Image restoration1Image restoration1
Image restoration1
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 
Image denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic NoisesImage denoising with unknown Non-Periodic Noises
Image denoising with unknown Non-Periodic Noises
 
Unit3 dip
Unit3 dipUnit3 dip
Unit3 dip
 
Image Degradation & Resoration
Image Degradation & ResorationImage Degradation & Resoration
Image Degradation & Resoration
 
restoration_recon_chap5_GW.pdf
restoration_recon_chap5_GW.pdfrestoration_recon_chap5_GW.pdf
restoration_recon_chap5_GW.pdf
 
Lecture 6-2023.pdf
Lecture 6-2023.pdfLecture 6-2023.pdf
Lecture 6-2023.pdf
 
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
ESTIMATING NOISE PARAMETER & FILTERING (Digital Image Processing)
 
Module 31
Module 31Module 31
Module 31
 
Image denoising algorithms
Image denoising algorithmsImage denoising algorithms
Image denoising algorithms
 
1873 1878
1873 18781873 1878
1873 1878
 
1873 1878
1873 18781873 1878
1873 1878
 
Iaetsd vlsi implementation of gabor filter based image edge detection
Iaetsd vlsi implementation of gabor filter based image edge detectionIaetsd vlsi implementation of gabor filter based image edge detection
Iaetsd vlsi implementation of gabor filter based image edge detection
 
Image pre processing-restoration
Image pre processing-restorationImage pre processing-restoration
Image pre processing-restoration
 
M.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit ivM.sc.iii sem digital image processing unit iv
M.sc.iii sem digital image processing unit iv
 
Digital Image Processing - Image Restoration
Digital Image Processing - Image RestorationDigital Image Processing - Image Restoration
Digital Image Processing - Image Restoration
 

Recently uploaded

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...drmkjayanthikannan
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 

Recently uploaded (20)

Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 

Ch5_Restoration (1).pdf

  • 2. Image Restoration ◼ Restoration is a process of reconstruction or recovering an image that has been degraded by using some a priori knowledge of the degradation phenomenon. ◼ It is objective which means that restoration techniques are oriented toward modeling the degradation and applying the inverse process in order to recover the original image. 2
  • 4. 4 Degradation/Restoration Model ◼ The problem of restoration is to obtain an estimate, f^(x,y), of the original image. ◼ The more we know about H and η, the closer f^(x,y) will be to f(x,y).
  • 5. Degradation/Restoration Model ◼ In the Spatial domain ◼ In the Frequency domain ◼ IF we know the values of H and N, we could recover F as given ◼ This may not practical. Even though we may have some statistical information about the noise. As well H(,u,v) may be close to, or equal to zero. 5 ) , ( ) , ( * ) , ( ) , ( y x y x f y x h y x g  + = ) , ( ) , ( ). , ( ) , ( v u N v u F v u H v u G + = ) , ( ) , ( ) , ( ) , ( v u H v u N v u G v u F − =
  • 6. Noise Properties and models ◼ The principle source of noise arises during image acquisition and/or transmission. ◼ Assuming noise is independent of spatial coordinates and uncorrelated with respect to the image itself. ◼ Concerning with the statistical behavior of the gray- level values in the noise component. ◼ Considering random variables characterized by a Probability Density Function (PDF). 6
  • 7. Gaussian noise ◼ It is used frequently in practice 7
  • 9. 9 Impulse (salt-and-pepper) noise • If b>a, gray-level b will appear as a light dot. Conversely, level a will appear like a dark dot if either Pa or Pb is zero.
  • 10.
  • 11. Periodic noise ◼ Arise from electrical or electromechanical interference during image acquisition ◼ Spatial dependence ◼ Observed in the frequency domain
  • 13. Estimation of noise parameters ◼ Periodic noise ◼ Observe the frequency spectrum ◼ Random noise with unknown PDFs ◼ Case 1: imaging system is available ◼ Capture images of “flat” environment ◼ Case 2: noisy images available ◼ Take a strip from constant area ◼ Draw the histogram and observe it ◼ Measure the mean and variance
  • 15. ◼ Histogram is an estimate of PDF Measure the mean and variance   = S z i i i z p z ) (    − = S z i i i z p z ) ( ) ( 2 2    Gaussian: ,  Uniform: a, b
  • 16. Restoration in the presence of noise- spatial filtering ◼ A method of choice in situations when only additive noise is present ◼ Enhancement and restoration become almost indistinguishable disciplines when only additive noise is present 16
  • 18. Spatial filters for de-noising additive noise ◼ Skills similar to image enhancement ◼ Mean filters ◼ Order-statistics filters ◼ Adaptive filters
  • 19. Mean filters ◼ Arithmetic mean: Noise is reduced as a result of blurring ◼ Geometric mean: It tends to lose less image detail compared with mean filter   = xy S t s t s g mn y x f ) , ( ) , ( 1 ) , ( ˆ Window centered at (x,y) mn S t s t s g y x f xy / 1 ) , ( ) , ( ) , ( ˆ        = 
  • 20. Mean filters (cont.) ◼ Harmonic mean filter ◼ Contra-harmonic mean filter     + = xy xy S t s Q S t s Q t s g t s g y x f ) , ( ) , ( 1 ) , ( ) , ( ) , ( ˆ   = xy S t s t s g mn y x f ) , ( ) , ( 1 ) , ( ˆ Q=-1, harmonic Q=0, airth. mean Q=+, ?
  • 21. 21
  • 22. 22 Order-statistics filters I. Median filter: provides excellent noise reduction capabilities with considerably less blurring than linear smoothing filters II. Max and Min filter: Max filter is useful for finding the brightest points. It is effective for pepper noise 22
  • 23. 23 Order-statistics filters II. Max and Min filter: Min filter is useful for finding the darkest points. It reduces salt noise III. Midpoint filter: this filter combines order statistics and averaging. It works well for Gaussian and uniform noise 23
  • 24. 24
  • 25. 25
  • 26. Adaptive filters ◼ The behavior changes based on statistical characteristics of the image inside the filter region defined by window Sxy. ◼ Its performance superior to the previous filter ◼ Local noise reduction filter: ML-local mean of the pixels in Sxy 26
  • 27. Adaptive filters - Variance of the noise to form g(x,y) - Local variance of the pixels in Sxy ◼ If =0 → zero-noise case ◼ If >> → f^(x,y)≈g(x,y) the variance is associated with edges; no noise ◼ If = → noise is reduced by averaging 27 2 n  2 L  2 n  2 n  2 L  2 n  2 L 
  • 28. 28
  • 29. Periodic noise reduction ◼ Pure sine wave ◼ Appear as a pair of impulse (conjugate) in the frequency domain ) sin( ) , ( 0 0 y v x u A y x f + =       + + − − − − = ) 2 , 2 ( ) 2 , 2 ( 2 ) , ( 0 0 0 0       v v u u v v u u A j v u F
  • 30. Periodic noise reduction (cont.) ◼ Bandreject filters ◼ Bandpass filters ◼ Notch filters
  • 31. Bandreject filters * Reject an isotropic frequency ideal Butterworth Gaussian
  • 35. Bandpass filters ◼ Hbp(u,v)=1- Hbr(u,v)   ) , ( ) , ( 1 v u H v u G bp − 
  • 36. Notch filters ◼ Reject(or pass) frequencies in predefined neighborhoods about a center frequency ideal Butterworth Gaussian
  • 40. Estimating the degradation function ◼ Estimation by Image observation ◼ Estimation by experimentation ◼ Estimation by modeling
  • 41. Estimation by image observation ◼ Take a window in the image ◼ Simple structure ◼ Strong signal content ◼ Estimate the original image in the window ) , ( ˆ ) , ( ) , ( v u F v u G v u H s s s = known estimate
  • 42. Estimation by experimentation ◼ If the image acquisition system is ready ◼ Obtain the impulse response impulse Impulse response
  • 44. Estimation by modeling ◼ A degradation model proposed by Hufnagel and Stanley is based on the physical characteristics of atmospheric turbulence.This model has a familiar form: 44
  • 45. Estimation by modeling ◼ Ex. Atmospheric model 6 / 5 2 2 ) ( ) , ( v u k e v u H + − = original k=0.0025 k=0.001 k=0.00025
  • 48. Estimation by modeling: example original Apply motion model
  • 49. Inverse filtering ◼ The simplest approach is direct inverse filtering In the presence of noise, substituting the following eqn. into the above Eqn. Yields, 49
  • 50. Inverse filtering ◼ With the estimated degradation function H(u,v) G(u,v)=F(u,v)H(u,v)+N(u,v) => ) , ( ) , ( ) , ( ) , ( ) , ( ) , ( ˆ v u H v u N v u F v u H v u G v u F + = = Estimate of original image Problem: 0 or small values Unknown noise Sol: limit the frequency around the origin
  • 51. Min. Mean Square Error (Wiener) filtering ◼ Incorporating both the degradation fn. and statistical characteristics of noise into the restoration process ◼ Assume noise and image are uncorrelated ◼ Based on these conditions, the minimum of the error function is given in the frequency domain by the expression 51
  • 52. Min. Mean Square Error (Wiener) filtering
  • 53. Min. Mean Square Error (Wiener) filtering Where, 53 • If Sη and Sf are not known, we set ratio (Sη /Sf ) with specified constant K • If Sη =0 (absence of noise), the filter reduces to the ideal inverse filter
  • 54. 54
  • 56. Image Restoration in Matlab (Cont.)