Professional Documents
Culture Documents
Chapter 5 Image Restoration - 01
Chapter 5 Image Restoration - 01
5.1 Introduction
5.2 Noise Model
5.3 Restoration in the Presence of Noise – Spatial Noise Filters
5.4 Periodic Noise Reduction – Frequency Domain Filters
5.5 Linear, Position-Invariant Degradation
5.6 Estimating the Degradation Function
5.7 Inverse Filtering
5.8 Minimum Mean Square Error – Wiener Filter
5.9 Constrained Least Square Filters
5.10 Geometric Mean Filter
5.11 Geometric Transformations
5.1 Introduction
z: grey level
µ: mean value
σ2: standard deviation
Histogram and p(z)
of noise – triple
Gaussian noises
z Rayleigh noise
The histogram shows there are
three peak of Rayleigh type noise,
hence the noise model can
assumed as
3
2 − ( z − ak )2 / bk
p ( z ) = ∑ ( z − ak )e
k =1 bk
z Gamma noise (Erlang noise)
z Exponential noise
z Uniform noise
z Impulse (salt-and-pepper) noise
This section discusses various noise filters for image restoration when the
degradation function H(u, v)=1 and the noises are position independent. That is,
noise is the only source for degradation of the image.
z Mean filters
A mean filter uses a convolution mask of the size mxn to result in one
pixel in the output image.
In the above, (x, y) is the location of the output pixel
and (s, t) is the location of a pixel in the mask.
◆ Arithmetic mean filter find the arithmetic average, while the other find
the geometric average. Averaging causes blurring (low-pass filtering).
(a) Original X-ray
image
(b) Gaussian noise
(c) Result of
arithmetic mean
filter - blurring
(d) Result of
geometric mean
filter - blurring
z Harmonic mean filter
(c) Filtered by
contra-harmonic
mean filter Q=1.5
(d) Filtered by
contra-harmonic
filter Q= -1.5
◆ Result of using wrong parameters in contra-harmonic mean filter
z Min filters
To filter out salt noise (white dots)
z Midpoint filters
Use the sum of Max and Min filter to remove pepper and salt noises,
Gaussian noise and uniform noises
z Alpha-trimmed mean (ATM) filter for Gaussian + salt-and-pepper noise
This filter first remove the d/2 lowest and the d/2 highest grey level in the
mask and leave mn-d pixels denoted by gr(s, t), them average these pixels to
give the resultant output
Averaging causes blurring
of the image, mL and σ L describes the local noise in the mask, then the
2
The adaptive median filtering algorithm works in two level: level A and B
If zmin<zmed<zmax, then
A1>0 & A2<0, and zmed
cannot be impulse noise,
so GO to level B.
Otherwise zmed is impulse
and output the original zxy
If zmin<zxy<zmax, then
B1>0 & B2<0, and zxy
cannot be impulse noise,
so output zxy.
Otherwise zxy is impulse
and output the median zmed
Butterworth Gaussian
notch filter notch filter
Ideal notch filter
where
2 2 2 2
⎛ M⎞ ⎛ N⎞ ⎛ M⎞ ⎛ N⎞
D1 (u , v ) = ⎜ u − u0 − ⎟ + ⎜ v − v0 − ⎟ and D2 (u , v ) = ⎜ u + u0 − ⎟ + ⎜ v + v0 − ⎟
⎝ 2 ⎠ ⎝ 2⎠ ⎝ 2 ⎠ ⎝ 2⎠
η ( x, y ) = F −1
{H (u, v)G (u, v)} (5.4.12)
size (2a+1)x(2b+1)
a b
1 ⎡ fˆ ( x + s, y + t ) − fˆ ( x, y ) ⎤
σ ( x, y )
2
∑ ∑
(2a + 1)(2b + 1) s =− a s =−b ⎢⎣ ⎥⎦ (5.4.14)
a b
1
fˆ ( x, y ) ∑ ∑
(2a + 1)(2b + 1) s =− a s =−b
fˆ ( x + s, y + t )
2
and η ( x, y ) are, respectively, the average
values of g ( x, y )η ( x, y ) , g ( x, y), η ( x, y) , η (x, y)
2