Professional Documents
Culture Documents
WINSEM2022-23 CSE4019 ETH VL2022230503082 2023-03-07 Reference-Material-I
WINSEM2022-23 CSE4019 ETH VL2022230503082 2023-03-07 Reference-Material-I
WINSEM2022-23 CSE4019 ETH VL2022230503082 2023-03-07 Reference-Material-I
g ( x, y) h( x, y) * f ( x, y) ( x, y)
Frequency domain
g ( x, y) Restoration Filter fˆ ( x, y)
Noise Models
Sources of noise
Image acquisition, digitization,
transmission
White noise
The Fourier spectrum of noise is
constant
Assuming
Noise is independent of spatial
coordinates
Noise is uncorrelated with respect to
the image itself
Gaussian noise
The PDF of a Gaussian random variable,
z,
1 ( z ) 2 / 2 2
p( z ) e
2
Mean:
Standard deviation:
Variance: 2
70% of its values will be in the range
( ), ( )
95% of its values will be in the range
( 2 ), ( 2 )
Rayleigh noise
The PDF of Rayleigh noise,
2
( z a )e ( z a ) 2 / b
for z a
p( z ) b
0 for z a
Mean: a b/4
b( 4 )
Variance: 2
4
Erlang (Gamma) noise
The PDF of Erlang noise, a0 , b
is a positive integer,
a b z b 1 a z
e for z 0
p( z ) (b 1)!
0 for z 0
b
Mean:
a
b
Variance: 2
2
a
Exponential noise
The PDF of exponential noise, a0 ,
ae a z for z 0
p( z )
0 for z 0
1
Mean:
a
1
Variance: 2
2
a
Uniform noise
The PDF of uniform noise,
1
if a z b
p( z ) b a
0 otherwise
ab
Mean:
2
Variance:
(b a ) 2
2
12
Impulse (salt-and-pepper) noise
The PDF of (bipolar) impulse noise,
Pa for z a
p( z ) Pb for z b
0
otherwise
b a : gray-level b will appear as a
light dot, while level a will appear like
a dark dot
Unipolar: either Pa or Pb is zero
Usually, for an 8-bit image, a =0
(black) and b =0 (white)
Modeling
Gaussian
Electronic circuit noise, sensor noise due
to poor illumination and/or high
temperature
Rayleigh
Range imaging
Exponential and gamma
Laser imaging
Impulse
Quick transients, such as faulty switching
Uniform
Least descriptive
Basis for numerous random number
generators
Periodic noise
Arises typically from electrical or
electromechanical interference
Reduced significantly via frequency
domain filtering
Restoration in the Presence of Noise
Only-Spatial Filtering
Degradation
Spatial domain
g ( x, y) f ( x, y) ( x, y)
Frequency domain
ˆf ( x, y ) 1
g ( s, t )
mn ( s ,t )S xy
Geometric mean filter
1
mn
fˆ ( x, y ) g ( s, t )
( s ,t )S xy
Harmonic mean filter
Works well for salt noise, but fails fpr
pepper noise
mn
fˆ ( x, y )
1
( s ,t )S xy g ( s, t )
Contraharmonic mean filter
Q0 : eliminates pepper noise
Q0 : eliminates salt noise
g ( s ,
( s ,t )S xy
t ) Q 1
fˆ ( x, y )
g ( s, t )
( s ,t )S xy
Q
Usage
Arithmetic and geometric mean filters:
suited for Gaussian or uniform noise
Contraharmonic filters: suited for
impulse noise
Order-statistics filters
Median filter
Effective in the presence of both bipolar
and unipolar impulse noise
fˆ ( x, y ) median{g ( s, t )}
( s ,t )S xy
Max and min filters
max filters reduce pepper noise
fˆ ( x, y ) max {g ( s, t )}
( s ,t )S xy
fˆ ( x, y ) min {g ( s, t )}
( s ,t )S xy
Midpoint filter
Works best for randomly distributed noise,
like Gaussian or uniform noise
1
fˆ ( x, y )
mn d
g ( s, t )
( s ,t )S xy
r