08.10.2016 Views

Foundations of Data Science

2dLYwbK

2dLYwbK

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.8 Expressing a Function in Terms <strong>of</strong> Wavelets<br />

Given a wavelet system with scale function φ and mother wavelet ψ we wish to express<br />

a function f(x) in terms <strong>of</strong> an orthonormal basis <strong>of</strong> the wavelet system. First we will express<br />

f(x) in terms <strong>of</strong> scale functions φ jk (x) = φ(2 j x − k). To do this we will build a tree<br />

similar to that in Figure 11.2 for the Haar system only computing the coefficients will be<br />

much more complex. Recall that the coefficients at a level in the tree are the coefficients<br />

to represent f(x) using scale functions with the precision <strong>of</strong> the level.<br />

Let f(x) = ∑ ∞<br />

k=0 a jkφ j (x − k) where the a jk are the coefficients in the expansion <strong>of</strong><br />

f(x) using level j scale functions. Since the φ j (x − k) are orthogonal<br />

a jk =<br />

Expanding φ j in terms <strong>of</strong> φ j+1 yields<br />

a jk =<br />

=<br />

∫ ∞<br />

x=−∞<br />

∑d−1<br />

m=0<br />

∫ ∞<br />

x=−∞<br />

f(x)<br />

c m<br />

∫ ∞<br />

x=−∞<br />

∑d−1<br />

m=0<br />

∑d−1<br />

= c m a j+1,2k+m<br />

m=0<br />

Let n = 2k + m. Now m = n − 2k. Then<br />

a jk =<br />

f(x)φ j (x − k)dx.<br />

c m φ j+1 (2x − 2k − m)dx<br />

f(x)φ j+1 (2x − 2k − m)dx<br />

∑d−1<br />

n=2k<br />

c n−2k a j+1,n (11.4)<br />

In construction the tree similar to that in Figure 11.2, the values at the leaves are<br />

the values <strong>of</strong> the function sampled in the intervals <strong>of</strong> size 2 −j . Equation 11.4 is used to<br />

compute values as one moves up the tree. The coefficients in the tree could be used if we<br />

wanted to represent f(x) using scale functions. However, we want to represent f(x) using<br />

one scale function whose scale is the support <strong>of</strong> f(x) along with wavelets which gives us<br />

an orthogonal set <strong>of</strong> basis functions. To do this we need to calculate the coefficients for<br />

the wavelets.. The value at the root <strong>of</strong> the tree is the coefficient for the scale function.<br />

We then move down the tree calculating the coefficients for the wavelets.<br />

Finish by calculating wavelet coefficients<br />

maybe add material on jpeg<br />

Example: Add example using D 4 .<br />

Maybe example using sinc<br />

370

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!