Professional Documents
Culture Documents
Imagerestoration Degradation Functionnew
Imagerestoration Degradation Functionnew
Image Restoration:
Estimating the Degradation Function
• Degradation Model
g ( x, y ) H [ f ( x, y )] ( x, y )
g ( x, y ) h ( x, y ) * f ( x, y ) ( x, y )
G (u , v) H (u , v) F (u , v) N (u , v)
Observation
Experimentation
Mathematical modeling
5
of
31
Estimating by Image Observation
• We look for a small section of the image that has strong
signal content ( g s ( x, y ) ) and then construct an un-
degradation of this section by using sample gray levels
( fˆs ( x, y ) ).
Gs (u , v)
H s (u , v)
Fˆs (u , v)
High
turbulence
Negligible k=0.0025
turbulence
Mid Low
turbulence turbulence
k=0.001 k=0.00025
8
of
31
Estimating by Modeling
T
sin( ua )e j ua
ua
9
of
31
Estimating by Modeling
if x0 (t ) at / T and y0 (t ) bt / T
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
T
H (u, v) sin[ (ua vb)]e j ( ua vb )
(ua vb)
H.R. Pourreza
10
of
31
Inverse Filtering
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
If the degradation has zero or very small values, then the ratio
N/H could easily dominate our estimation of F .
Filtering with H
cut off outside a
radius of 40
Full inverse
Filtering
Filtering with H
cut off outside a
H.R. Pourreza
radius of 85
12
of
Minimum Mean Square Error
31
Filtering (Wiener Filtering)
This approach incorporate both the degradation
Images taken from Gonzalez & Woods, Digital Image Processing (2002)
e 2 E[( f fˆ ) 2 ]
2
S (u , v) N (u , v) power spectrum of the noise
2
S f (u , v) F (u , v) power spectrum of the undegraded image
14
of
Minimum Mean Square Error
31
Filtering (Wiener Filtering)
1 H (u , v )
2
Fˆ (u, v) 2
G (u, v)
H (u, v) H (u, v) S (u, v) / S f (u , v)
Constant Unknown
1 H ( u , v )
2
Fˆ (u , v) 2
G (u, v)
H (u, v) H (u , v) K
15
of
31
Wiener Filtering
Reduced
noise
variance
17
of
31
Constrained Least Squares Filtering
The method we discuss here requires knowledge of only the mean and variance
of the noise.
18
of
31
Constrained Least Squares Filtering
MNx1
If we use vector-matrix form
Note that H matrix is
g Hf η high-dimensional!
MNxMN
MNx1
Method
M 1 N 1 2
min C [ 2 f ( x, y )]
x 0 y 0
~
subject to constraint || g H f ||2 || η ||2
The frequency domain solution is given as
0 1 0
~ *
H (u , v)
F (u , v) 2
G (u , v) p ( x, y ) 1 4 1
| H (u , v) | | P (u , v) |
2
0 1 0
19
of
31
Constrained Least Squares Filtering
It is possible to adjust the parameter interactively until acceptable results
are achieved.
Define a residual vector r as
~
r g Hf
|| r ||2 || η ||2 a Eq. 1
1
H (u , v)
*
*
H (u , v)
Fˆ (u , v) 2
2
G (u , v)
| H (u , v ) | H (u , v) [ S (u , v) / S f (u , v)]
2
1 M 1 N 1
MSE f ( x, y ) fˆ ( x, y )
MN x 0 y 0
• Signal to Noise Ratio
M 1 N 1
fˆ ( x, y )
x 0 y 0
SNR
M 1 N 1
ˆ
f ( x, y ) f ( x, y )
x 0 y 0
2