Beruflich Dokumente
Kultur Dokumente
IMAGE RESTORATION
Degradation model:
g ( x, y ) f ( x, y ) h ( x, y ) ( x, y )
2 1
for a z b
Rayleigh noise p( z ) b - a
2
0 otherwise
( z a )e ( z a ) / b for z a
2
p( z ) b
0 for z a
Impulse (salt & pepper) noise
Erlang (Gamma) noise
Pa for z a
a b z b1
( z a )e az for z 0 p( z ) Pb for z b
p( z ) (b 1)!
0 0
for z 0 otherwise
1
4/5/2020
Image Degradation with Additive Noise Image Degradation with Additive Noise (cont.)
g ( x, y ) f ( x, y ) ( x, y ) g ( x, y ) f ( x, y ) ( x, y )
Histogram Histogram
(Images from Rafael C. Gonzalez and Richard E. (Images from Rafael C. Gonzalez and Richard E.
Wood, Digital Image Processing, 2nd Edition. Wood, Digital Image Processing, 2nd Edition.
2
4/5/2020
• 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
Estimation of Noise
3
4/5/2020
g ( x, y ) f ( x, y ) h ( x, y ) ( x, y ) Image
Original
image corrupted
To remove this part by AWGN
Works well for salt noise but fails for pepper noise
4
4/5/2020
g ( s, t ) Q 1 Image
corrupted
Image
fˆ ( x, y )
( s ,t )S xy corrupted
g ( s, t ) Q by pepper by salt
noise with noise with
( s ,t )S xy prob. = 0.1 prob. = 0.1
Works well for images containing salt OR pepper type noise.
Image Image
Positive Q is suitable for eliminating pepper noise. obtained obtained
Negative Q is suitable for eliminating salt noise. using a 3x3 using a 3x3
contra- contra-
For Q = 0, the filter reduces to an arithmetic mean filter. harmonic harmonic
For Q = -1, the filter reduces to a harmonic mean filter. mean filter mean filter
With Q = 1.5 With Q=-1.5
5
4/5/2020
3 4 Image Image
obtained obtained
using a 3x3 using a 3x3
max filter min filter
6
4/5/2020
7
4/5/2020
Image 2
Image 2 Image 2 Image 2 obtained
obtained obtained obtained using a 5x5
using a 5x5 using a 5x5 using a 5x5 alpha-
arithmetic geometric median filter trimmed
mean filter mean filter mean filter
with d = 5
8
4/5/2020
Adaptive, Local Noise Reduction Filter Adaptive Noise Reduction Filter: Example
Purpose: want to preserve edges Image Image
corrupted obtained
Concept: by additive using a 7x7
1. If 2 is zero, No noise Gaussian arithmetic
the filter should return g(x,y) because g(x,y) = f(x,y) noise with mean filter
zero mean
2. If L2 is high relative to 2, Edges (should be preserved), and 2=1000
the filter should return the value close to g(x,y) Image
Image obtained
3. If L2 = 2, Areas inside objects obtained using a 7x7
the filter should return the arithmetic mean value mL using a 7x7 adaptive
geometric noise
Formula:
mean filter reduction
2
fˆ ( x, y ) g ( x, y ) 2 g ( x, y ) mL
filter
L (Images from Rafael C. Gonzalez and Richard E.
Wood, Digital Image Processing, 2nd Edition.
9
4/5/2020
Methods:
1. Estimation by Image Observation
2. Estimation by Experiment
10