Professional Documents
Culture Documents
FILTER
INTRODUCTION
• The Wiener filter was proposed by Norbert Wiener in
1940.
• It was published in 1949
• Its purpose is to reduce the amount of a noise in a
signal.
• This is done by comparing the received signal with a
estimation of a desired noiseless signal.
• Wiener filter is not an adaptive filter as it assumes
input to be stationery.
DESCRIPTION
• It takes a statistical approach to solve its goal
• Goal of the filter is to remove the noise from a signal
• Before implementation of the filter it is assumed that
the user knows the spectral properties of the original
signal and noise.
• Spectral properties like the power functions for both
the original signal and noise.
• And the resultant signal required is as close to the
original signal
DESCRIPTION
• Signal and noise are both linear stochastic
processes with known spectral properties.
• The aim of the process is to have minimum mean-
square error
• That is, the difference between the original signal
and the new signal should be as less as possible.
Important Equations
• Considering we need to design a wiener filter in
frequency domain as W(u,v)
• Restored image will be given as;
Xn(u,v) = W(u,v).Y(u,v)
e 2 = E { (f − fˆ)2 }
Obtained from [1]
where E {i} is the expected value of the argument.
• Where the equation represents the mean square
error.
By assuming that
• The wiener filter can be represented by the
equation: 1. the noise and the image are uncorrelated;
2. one or the other has zero mean;
3. the intensity levels in the estimate are a linear fu
the levels in the degraded image.
Important Equations
Important Equations
If the noise is zero, then the Wiener filter reduces to the invers
filter.
• The signal to noise ration can be approximated
using One
the of
following equation:
the most important measures is the signal-to-noise ratio
approximated using frequency domain quantities such as
M −1 N −1
∑∑ F (u, v ) 2
u =0 v =0
SNR = M −1 N −1
(5.8-3)
∑∑ N (u, v ) 2
u =0 v =0
• Low noise gives high SNR and High noise gives Low
SNR. The value is a good metric used in
characterizing the performance of restoration
algorithm
The mean square error given in statistical form in (5.8-1) can be
Important Equations
approximated also in terms a summation involving the original
and restored images:
• The MSE in statistical form can be calculated as:
ACS-7205-001 Digital Image Processing (Fall Term, 2011-12) Page 291
MN x =0 y =0
and restored images:
M −1 N −1
the original
(5.8-4)
1 2
MSE =
MN ∑from∑
Obtained
f (x , y ) − ˆ
f (x , y )
(5.8-4)
x =0 y =[1]
0
• If restored
IfIfone
onesignal
considers
considersisthe
considered
therestored
restoredimage as
imageto besignal
to signal and
and
be signal the
anddifference
the difference
difference
between between
this image theand therestored
original to and degraded
be noise, as
we can define a
between this
signal-to-noise image and
ratio
the noise, then we can obtain
inthe
theoriginal
spatialtodomain
be noise,
aswe can define a
SNR in spatial domain
signal-to-noise ratio in the∑
spatial
∑ domain
M −1 N −1
fˆ(x , y ) as 2
x =0 y =0
SNR = M −1 N −1
2 (5.8-5)
∑ M∑ f (x , y ) − fˆ(x , y )
−1 N −1
x =0 y =0
∑ ∑ f (x, y)
Obtained from ˆ[1] 2
The closer f and fˆ are, the larger this ratio will be.
x =0 y =0
SNR = 2
If we are dealing with white noise, the spectrum N (u, v ) is a
M −1 N −1
∑ ∑ f (x, y) − f (x, y)
x =0 y =0
Important Equations
The closer f and fˆ are, the larger this ratio will be.
2
• ButIf itweisare
sometimes
dealing withhard to estimate
white noise, N (u, v )
the poweris a
the spectrum
spectrum of either
constant, which thethings
simplifies un-degraded
considerably.image
However,or the
noise.
F (u, v ) 2 is usually unknown.
• In that case we assume a constant K, that is then
added to allisterms
An approach of H|(u,v)|^2
used frequently when these quantities are not
• The neworequation
known in that case becomes:
cannot be estimated:
1 H (u , v ) 2
ˆ
F (u, v) = G(u, v)
H (u, v) H (u, v) + K
2 (5.8-6)
Obtained from [1]
where K is a specified constant that is added to all terms of
H (u, v) 2 .
Working Example 1
ACS-7205-001 Digital Image Processing (Fall Term, 2011-12)
7205-001 Digital Image Processing (Fall Term, 2011-12)
Page 293
Page 293
ample We apply
• 5.13:
Example the filtercomparisons
5.13: Further
Further to theoffollowing
comparisons set of
of Wiener
Wiener images
filtering
filtering
205-001 Digital Image Processing (Fall Term, 2011-12)
ACS-7205-001 Digital Image Processing (Fall Term, 2011-12) Page 293 Page 2