Professional Documents
Culture Documents
Ch5 Restoration
Ch5 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
Degradation/Restoration Model
6
Gaussian noise
7
Uniform noise
9
Periodic noise
◼ 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
Measure the mean and variance
Gaussian: ,
Uniform: a, b
Restoration in the presence of noise-
spatial filtering
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
ˆf ( x, y ) = 1
g ( s, t )
mn ( s ,t )S xy Window centered at (x,y)
g ( s ,
( s ,t )S xy
t ) Q +1
fˆ ( x, y ) = Q=-1, harmonic
g ( s, t )
( s ,t )S xy
Q
22
Order-statistics filters
II. Max and Min filter: Min filter is useful for finding
the darkest points. It reduces salt 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:
◼ If
L >> n → f (x,y)≈g(x,y) the variance is
2 2
^
27
28
Periodic noise reduction
f ( x, y ) = A sin(u0 x + v0 y )
A u0 v0 u0 v0
F (u , v) = − j (u − , v − ) − (u + ,v + )
2 2 2 2 2
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
filtered
bandreject
Bandpass filters
◼ Hbp(u,v)=1- Hbr(u,v)
−1 G (u , v) H bp (u , v)
Notch filters
◼ Reject(or pass) frequencies in predefined
neighborhoods about a center frequency
ideal
Butterworth Gaussian
Notch filters (Cont.)
Notch filters (Cont.)
Horizontal
Notch
Scan lines DFT pass
Notch Notch
pass reject
Estimating the degradation function
43
Estimation by modeling
44
Estimation by modeling
− k ( u 2 + v 2 )5 / 6
◼ Ex. Atmospheric model H (u , v ) =e
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
Yields,
49
Inverse filtering
=> ˆ G (u , v) N (u , v)
F (u , v) = = F (u , v) +
H (u , v) H (u , v)