Академический Документы
Профессиональный Документы
Культура Документы
Image Restoration
a ( x, y ) ( s, t ) ( s x, t y ) N 0 ( x, y )
t 0 s 0
1 ( z ) 2 / 2 2
p( z ) e
2
70% values of z fall in the range [(-),(+)]
95% values of z fall in the range [(-2),(+2)]
Exponential noise
ae az for z 0
p( z )
0 for z 0
The mean and variance of
this density are given by
If either Pa or Pb is zero,
the impulse noise is
called unipolar
a and b usually are
extreme values because
impulse corruption is
usually large compared
with the strength of the
image signal
It is the only type of
noise that can be
04/25/17 distinguished from Dr. A. Nagaraja Rao
A Sample Image
Periodic noise
Parameters can be estimated by inspection of
the spectrum
Noise PDFs
From sensor specifications
If imaging sensors are available, capture a set
of images of plain environments
If only noisy images are available, parameters
of the PDF involved can be estimated from
small patches of constant regions of the noisy
images
2 1
2 i i( z ( x , y )
N S 1 ( xi , yi )S Dr. A. Nagaraja Rao
) 2
04/25/17
Restoration in the Presence of Noise
Only (De-Noising)
Mean filters 1
Arithmetic mean filter
f ( x, y ) g ( s, t )
mn ( s ,t )S x , y
g(x,y) is the corrupted image 1
Sx,y is the mask mn
Mean
Filtering Geometric
Mean
Filtering
3x3 3x3
Contraharmon Contraharmon
ic Q=1.5 ic Q=-1.5
5x5 Mean
Filtering 5x5 Geo-
Mean
Filtering
f ( x, y ) g ( x, y ) [ g ( x, y ) m ]
L
2
L2 2 L
If , the output takes the mean value
2
That is: is set to be 1
L 2
Adaptive
Filtering
Geo-
Mean
Filtering
n =1
1 D 2 ( u ,v ) D02
2 D ( u ,v )W
H (u, v) 1 e
H bp (u, v) 1 H br (u , v)
D1 (u, v) u M / 2 u0 v N / 2 v0
2
2 1/ 2
D (u , v) u M / 2 u v N / 2 v
2 2 1/ 2
2 0 0
n=2
H np (u , v) 1 H nr (u, v)
Notch pass
Spectrum of
filter
image
IFT of NP Result of
filtered image NR filter
w( x s, y t ) ( x s, y t )]
[ g ( x, y ) w( x, y ) ( x, y ]}2
Assumption:
w( x s, y t ) w( x, y ) for a s a and b t b
w( x, y ) ( x, y ) w( x, y ) ( x, y )
04/25/17 Dr. A. Nagaraja Rao
Optimum Notch Filtering
b
1
s a
a
( x, y )
2
{[ g ( x s, y t )
(2a 1)(2b 1) t b
w( x s, y t ) ( x s, y t )]
[ g ( x, y ) w( x, y ) ( x, y )}2
To minimize 2 ( x, y )
2 ( x, y )
0
w( x, y )
solve
g ( x, y ) ( x, y ) g ( x, y ) ( x, y )
w( x, y )
2 ( x, y ) 2 ( x, y )
f ( x, y ) g ( x, y ) w( x, y ) ( x, y ) w( x, y )
g ( x, y ) ( x, y )
g ( x, y ) f ( x, y )
Image size: 512x512
a=b=15
04/25/17 Dr. A. Nagaraja Rao
Linear, Position-Invariant
Degradation
Degradation Model
g ( x, y ) H [ f ( x, y )] ( x, y )
In the absence of additive noise:
For scalar values of a and b, H is
linear
H [if:
a f ( x, y ) b f ( x, y )] a H [ f ( x, y )] b H [ f 2 ( x, y )]
1 2 1
H is Position-Invariant if:
g ( x, y ) H [ f ( x, y )] H [ f ( x , y )] g ( 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)
H (u, v)
Now, we construct a function on a large
scale, but having the same shape.
High
turbulence
k=0.0025
Negligible
turbulence
Low
Mid turbulence
turbulence k=0.00025
k=0.001
04/25/17 Dr. A. Nagaraja Rao
Estimating by Modeling
Blurring by linearT motion:
g ( x, y ) f [ x x0 (t ), y y0 (t )]dt
T
H (u , v) e 2uat / T dt 0
0
T
sin( ua )e j ua
ua T
G (u, v) F (u, v) e j 2 [ux0 ( t ) vy0 (t )]dt
T 0
H (u, v) e j 2 [ ux0 ( t ) vy0 ( t )]
dt
0
if x0 (t ) at / T and y0 (t ) 0
Filtering with H
cut off outside
a radius of 40
Full inverse
Filtering
Filtering with H
cut off outside a
radius of 70
Filtering with H
cut off outside
04/25/17 Dr. A. Nagaraja Rao a radius of 85
Minimum Mean Square Error Filtering
(Wiener Filtering)
This approach incorporate both the degradation
function and statistical characteristic of noise
into the restoration process.
Image and
noise are
random process
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
Constan Unknow
t n
1 H (u , v)
2
F (u , v) 2
G (u , v)
H (u , v) H (u , v) K
Reduce
d noise
varianc
e
x r ( x, y )
y s ( x, y )
x r ( x, y ) c1 x c2 y c3 xy c4
y s ( x, y ) c5 x c6 y c7 xy c8
v( x, y ) ax by cxy d