Derivation of Wiener Filter 1

Preliminaries

Before we begin the derivation let us get some definitions in place. Consider the system below where an image v(m, n) of dimension M xN is fed into a filter whose spatial domain representation is h(m, n) and the output is u(m, n). We will frequently use the terms defined in the following subsections in the derivation which begins with section 2

Figure 1: Block diagram representing Image Filtering

1.1

Convolution

In the case of linear and time-invariant systems, convolution with the impulse response of the filter captures the relation between the input and output signals. u(m, n) = v(m, n) ∗ h(m, n) =

=

M X N X m0 =1 n0 =1 M X N X m0 =1

(1)

h(m − m0 , n − n0 )v(m0 , n0 )

(2)

v(m − m0 , n − n0 )h(m0 , n0 )

(3)

n0 =1

Note that * denotes a convolution between two signals not the point wise multiplication. Another concept that we would heavily rely upon is that the FT of a convolution of two is simply the product of the FT of the original signals. Hence, U (ω1 , ω2 ) = V (ω1 , ω2 )H(ω1 , ω2 ) (4) Also there is a relation between the Power Spectral Densities of the input and output which goes as follows Suu (ω1 , ω2 ) = |H(ω1 , ω2 )|2 Svv (ω1 , ω2 ) 1

(5)

1.2

Cross-Correlation Ruv (k, l) = E[u(m, n)v(m − k, n − l)]

(6)

When both the signals in the above equation are the same then this operation is called Autocorrelation. Remark: DSP enthusiasts may note that the above definitions are gonna hold only if the following conditions are satisfied: 1) u and v are jointly stationary, meaning their joint probability density function does not change with time 2) The filter h is space invariant, meaning that if the input image is translated in space, then so shall the output image.

1.3

Relationship between Power Spectral Density and Autocorrelation

Finally the last ingredient to be collected. Presumably you have seen the definition of PSD in terms of the Fourier transform of the signal on my blog. But, that’s not the only way to compute it. PSD can also be written in terms of the Autocorrelation function. It is in fact the Fourier Transform of the Autocorrelation function. Do keep this in mind as we are ready to go ahead with the derivation.

2

Derivation

So we are going to derive the equation in its canonical form, i.e. when the input image also passes through another known filter before the addition of noise. For example, when we try to take a photograph under poor illumination with low shutter speed, then there is a possibility of motion blur. Also the image is noisy because of the limitations of the image acquisition sensor (charge-coupled device in digital cameras). In the world of signal processing the system is represented as follows: In figure 2 h(m, n) is the impulse response or the point spread function (PSF) for the phenomenon of motion blur , meaning that this is the image of a point that would be formed by the camera if there was no noise. While in general there are different techniques for estimating this PSF but in our 2

Figure 2: Block diagram representing the scenario for Wiener Filtering case of noise filtering h(m, n) is simply a delta function since convolution of a signal with a delta function gives the same signal. η(m, n) is the noise which is added to the blurred image. Our job is to find the filter, defined by its impulse response g(m, n), which acts on the noisy signal and produces an output uˆ(m, n) which is as similar as possible to u(m, n), i.e. σe2 = E[{u(m, n) − uˆ(m, n)}2 ]

(7)

Now according to A.K.Jain’s ”Fundamentals of Digital Image Processing” this Mean Squared Error attains its minimum value when the orthogonality condition holds i.e. E[{u(m, n) − uˆ(m, n)}v(m0 , n0 )] = 0

(8) ∞ X

Ruv (m − m0 , n − n0 ) =

g(m − k, n − l)Rvv (k − m0 , l − n0 )

k,l=−∞

(9) If you have some difficulty seeing this then simply write uˆ(m, n) as a convolution of v(m, n) and g(m, n). Then multiply it with v(m, n) and take expectation using the formula of autocorrelation. A little jugglery with the indices would tell us that equation 9 is equivalent to Ruv (m, n) =

∞ X

g(m − k, n − l)Rvv (k, l)

(10)

k,l=−∞

Taking DTFT on both sides of the equation 10 gives Suv (ω1 , ω2 ) = G(ω1 , ω2 )Svv (ω1 , ω2 ) Suv (ω1 , ω2 ) G(ω1 , ω2 ) = Svv (ω1 , ω2 ) 3

(11) (12)

So if we find Suv and Svv then we are done, ain’t we !! Observe that ∞ X

v(m, n) =

h(m − k, n − l)u(k, l) + η(m, n)

(13)

k,l=−∞

Let us find the PSD on both sides of the equation Svv (ω1 , ω2 ) = |H(ω1 , ω2 )|2 Suu (ω1 , ω2 ) + Sηη (ω1 , ω2 )

(14)

Now that Svv is out of the way, let us try to find Suv which is FT of Ruv . Ruv (m − m0 , n − n0 ) = E[u(m, n)v(m0 , n0 )]; ∞ X = h(m0 − k, n0 − l)Ruu (m − k, n − l)

(15) (16)

k,l=−∞

Do the jugglery with the indices again and we get Ruv (m, n) =

∞ X

h(−(m − k), −(n − l))Ruu (k, l)

(17)

k,l=−∞

= h(−m, −n) ∗ Ruu (m, n)

(18)

Take our favorite FT on both sides of this equation and you get Suv (ω1 , ω2 ) = H ∗ (ω1 , ω2 )Suu (ω1 , ω2 )

(19)

Using equations 12, 14 and 19 we get the canonical form of Wiener Filter in frequency domain G(ω1 , ω2 ) =

H ∗ (ω1 , ω2 )Suu (ω1 , ω2 ) |H(ω1 , ω2 )|2 Suu (ω1 , ω2 ) + Sηη (ω1 , ω2 )

(20)

For the purpose of noise filtering we can set H(ω1 , ω2 ) = 1∀ ω1 , ω2 and we get our result...yay!! G(ω1 , ω2 ) =

Suu (ω1 , ω2 ) Suu (ω1 , ω2 ) + Sηη (ω1 , ω2 )

4

(21)

Derivation of Wiener Filter 1 Preliminaries

Consider the system below where an image v(m, n) of dimension MxN is fed into ... definition of PSD in terms of the Fourier transform of the signal on my blog.

149KB Sizes 0 Downloads 281 Views

Recommend Documents

Hyperspectral Data Compression using a Wiener Filter ...
Aug 26, 2013 - Consider HSI data as member of two independent domains: spatialand spectral ... HSI Data. Archive File. LZMA. Compressed. Metadata. Frontend processing: Z-Chrome spectral compression. Backend processing: spatial ... Sample data from si

1 Introduction and Preliminaries
generalized (f,g)−nonexpansive mappings in a linear norm space E. We ... Let K be a nonempty subset of a metric space (E,d) and T a mapping from K to E. We.

AIFFD Preliminaries - GitHub
Apr 26, 2015 - On Biostatistics and Clinical Trial blog. • SAS support. 0.2 Linear Models in R. Linear models – e.g., analysis of variance, simple linear ...

Mathematical Preliminaries - GitHub
Theorem 13 The set of rational numbers, Q, is countable. Proof: For every q .... example, such a truth table for formula (2.2) would look like this: 7Another symbol ...

Convergence in total variation on Wiener chaos 1 ...
Theorem 1.1 If k ⩾ 2 is an integer, if F is an element of the kth Wiener chaos Hk satisfying. E[F2]=1 and ... when the target law is Gaussian (see [5]). Therefore, to ...

Mathematical Derivation of Modified Edge ...
Jan 1, 2001 - Electronic Engineering, Tokyo Institute of Technology, To- kyo, 152-8552 ...... ceived the B.S. degree from Kanto Gakuin. University in 1972 and ...

Stein's method on Wiener chaos 1 Introduction and ...
(iv) If h is bounded and absolutely continuous (then, in particular, ..... It follows that E[f (F) − Ff(F)] = E(f (F)(1 − 〈DF,−DL−1F〉H)) so that relations (3.35)–.

ASYMPTOTIC INDEPENDENCE OF MULTIPLE WIENER ... - CiteSeerX
Oct 1, 2012 - Abstract. We characterize the asymptotic independence between blocks consisting of multiple Wiener-Itô integrals. As a consequence of this characterization, we derive the celebrated fourth moment theorem of Nualart and Peccati, its mul

grammar- derivation 1_by_Solinet_@_www.englishgarden.nice ...
grammar- derivation 1_by_Solinet_@_www.englishgarden.nice-forum.com.pdf. grammar- derivation 1_by_Solinet_@_www.englishgarden.nice-forum.com.pdf.

syntactic derivation and the theory of matching ...
Requirements for the Degree. DOCTOR OF .... In the past five years, I have received a solid training at USC, thanks to the teaching of the ..... 1 This distinction was adopted from computer science when formal grammar was postulated in the.

Comparison inequalities on Wiener space - Department of Statistics ...
on Wiener space, and are illustrated via various examples. ... Email: [email protected]; IN's was supported in part by the (french) ..... independent copy of G of the form ̂Gt = W(gt), with gt ∈ H such that fp,s ⊗1 gt = 0 for all p â

Wiener March 2016 calendar.pdf
Created by: Adam Taylor. Description: Subject: SF2030. 12:30pm - 2pm Angela Alioto. Where: Original Joe's, 601 Union St, San Francisco, CA 94133, United States. Calendar: Scott-City Business. Created by: Adam Taylor. Mon Mar 7, 2016. 1:30pm - 5pm Lan

Rigorous derivation of the equations describing objects ...
confined to a straight layer Ωe = ω × (0,ϵ), where ω is a 2-D domain. We shall show that the weak solutions in the 3D domain converge to the strong solution of a ...

Derivation of forward and adjoint operators for least ...
tic model, and the second uses data from the Sigsbee 2a model. INTRODUCTION. We derive and implement operators for shot-profile migration and.

On the Complexity of System Throughput Derivation for ...
degrees of freedom are enabled in WLAN management for performance optimization in ... achievable system throughput for a given static network setup: namely ...

Nelson, Derivation of the Schrodinger Equation from Newtonian ...
Nelson, Derivation of the Schrodinger Equation from Newtonian Mechanics.pdf. Nelson, Derivation of the Schrodinger Equation from Newtonian Mechanics.pdf.

Automatic derivation of qualitative and quantitative ...
The analysis uses as input the minimal cut sets gen- erated for an ... The output of this analysis is a set of function ..... two data sources SR and SL, two display units DR and .... Agency, E. A. S. Certification specifications for large aeroplanes

Direct, physically motivated derivation of the contagion ...
May 25, 2011 - (Color online) Schematic showing an infection poten- tially spreading from ... We now apply our argument to six interrelated classes of random ...

Derivation of the velocity divergence constraint for low ...
Nov 6, 2007 - Email: [email protected]. NIST Technical ... constraint from the continuity equation, which now considers a bulk source of mass. We.

Derivation of forward and adjoint operators for least ...
rect inverse solution using constant velocity Green's functions (Co- hen and .... tion 9, a Green's function propagates the energy from the point source to all ...

Essential derivation of Varieties and the imminent challenges to Indian ...
and plant variety protection in India to usher in an era of incentives and benefit sharing for the plant breeders. Key words: ..... to maintain Heterosis data obtained from crossing inbred lines. .... asked to open their breeding records to an.

Derivation of the energy–momentum and Klein–Gordon ...
In a previous note, we have provided a formal derivation of the transverse Doppler shift of special relativity from the generalization of El Naschie's complex time. Here, we show that the relativistic energy–momentum equation, and hence the Kleinâ€

Wiener Feb 2016 calendar.pdf
Created by: Adam Taylor. Description: Subject: Ethics Commission. 12:30pm - 1pm Jerry Dodson. Where: City Hall, Room 274. Calendar: Scott-City Business. Created by: Adam Taylor. Description: Subject: 160 Folsom. 1:30pm - 5pm Land Use and Transportati

Comparison inequalities on Wiener space
Abstract: We define a covariance-type operator on Wiener space: for F and G two random variables in .... ΓGi,Gj instead of Bi,j and Ci,j respectively. The proofs ...