Digital Image Processing: Image Restoration: Noise Removal
Digital Image Processing: Image Restoration: Noise Removal
Image Restoration:
Noise Removal
Contents
In this lecture we will look at image
restoration techniques used for noise removal
– What is image restoration?
– Noise and images
– Noise models
– Noise removal using spatial domain filtering
– Periodic noise
– Noise removal using frequency domain filtering
What is Image Restoration?
Image restoration attempts to restore
images that have been degraded
– Identify the degradation process and attempt
to reverse it
– Similar to image enhancement, but more
objective
Reasons for Noises
– Rayleigh
– Erlang
– Exponential
Uniform
– Uniform Impulse
– Impulse
• Salt and pepper noise
Noise Example
The test pattern to the right is
ideal for demonstrating the
addition of noise
The following slides will show
the result of adding noise Image
based on various models to
this image
Histogram to go here
Histogram
Noise Example (cont…)
Histogram to go here
fˆ ( x, y )
g ( s ,
( s ,t )S xy
t ) Q
Image
Original Corrupted
Image By Gaussian
Noise
Image
Corrupted
By Pepper
Noise
Result of
Filtering Above
With 3*3
Contraharmonic
Q=1.5
Noise Removal Examples (cont…)
Image
Corrupted
By Salt
Noise
Result of
Filtering Above
With 3*3
Contraharmonic
Q=-1.5
Contraharmonic Filter:
Min Filter:
fˆ ( x, y ) min {g ( s, t )}
( s ,t )S xy
Image Result of 1
Corrupted Pass With A
By Salt And 3*3 Median
Pepper Noise Filter
Result of 2 Result of 3
Passes With Passes With
A 3*3 Median A 3*3 Median
Filter Filter
Noise Removal Examples (cont…)
Image Image
Corrupted Corrupted
By Pepper By Salt
Noise Noise
Result Of Result Of
Filtering Filtering
Above Above
With A 3*3 With A 3*3
Max Filter Min Filter
Noise Removal Examples (cont…)
Image Image Further
Corrupted Corrupted
By Uniform By Salt and
Noise Pepper Noise
Filtered By Filtered By
5*5 Arithmetic 5*5 Geometric
Mean Filter Mean Filter
Filtered By Filtered By
5*5 Median 5*5 Alpha-Trimmed
Filter Mean Filter
Periodic Noise
Typically arises due to
electrical or electromagnetic
interference
Gives rise to regular noise
patterns in an image
Frequency domain
techniques in the Fourier
domain are most effective
at removing periodic noise
Band Reject Filters
Removing periodic noise form an image
involves removing a particular range of
frequencies from that image
Band reject filters can be used for this purpose
An ideal band reject filter is given as follows:
W
1 if D(u, v) D0 2
W W
H (u , v) 0 if D0 D(u, v) D0
2 2
1 if D(u, v) D0 W
2
Band Reject Filters (cont…)
The ideal band reject filter is shown below,
Images taken from Gonzalez & Woods, Digital Image Processing (2002)