Docsity

An Introduction to Wavelets - Matrix Methods for Signal Processing | EECS 551, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download An Introduction to Wavelets - Matrix Methods for Signal Processing | EECS 551 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

AN INTRODUCTION TO WAVELETS

or:

THE WAVELET TRANSFORM:

WHAT’S IN IT FOR YOU?

Andrew E. Yagle and Byung-Jae Kwak Dept. of Electrical Engineering and Computer Science The University of Michigan, Ann Arbor MI

Presentation to Ford Motor Co. May 21, 1996

©c 1996 by Andrew E. Yagle

OUTLINE OF PRESENTATION

  1. Signal Representation using Orthonormal Bases 1.1 Definitions and Properties 1.2 Example: Fourier Series 1.3 Example: Bandlimited Signals 1.4 Example: Wavelet Transform
  2. Multiresolution Analysis 2.1 Multiresolution Subspaces 2.2 Wavelet Scaling Functions 2.3 Wavelet Basis Functions 2.4 Summary of Wavelet Design
  3. Wavelet Transforms 3.1 Haar Function→Haar Transform 3.2 Sinc Function→LP Wavelet 3.3 Splines→Battle-Lemarie 3.4 General Properties 3.5 2-D Wavelet Transform
  4. Applications of Wavelets 4.1 Sparsification of Operators 4.2 Compression of Signals 4.3 Localized Denoising 4.4 Tomography under Wavelet Constraints

1.1 Properties

Let {φi(t)} be a complete orthonormal basis set. Then for any L^2 signal x(t) we have:

x(t) =

∑^ ∞

i=−∞

xiφi(t) expansion

xi =

−∞

x(t)φ∗ i (t)dt orthonormal

xN (t) =

∑^ N

i=−N

xiφi(t) →

lim N →∞

||x(t) − xN (t)|| = 0 complete

  1. Instead of processing the uncountably infinite x(t), we may process the countably infinite xi;
  2. We may process the FINITE {xi, |i| ≤ N } with arbitrarily small error if N sufficiently large;
  3. xN (t) is the best approximation to x(t) using only 2N + 1 xi;
  4. Each xi carries different information about x(t)– no redundancy.
  5. Easy to compute xi and update xN (t).

1.2 Example: Fourier Series

Let x(t) be defined for 0 < t < P (periodic?)

Then x(t) has the orthonormal expansion

x(t) =

∑^ ∞

n=−∞

xnej^2 πnt/P

xn =

P

∫ P

0

x(t)e−j^2 πnt/P

  1. Convergence in L^2 norm; Gibbs phenomenon at discontinuities;
  2. Note basis functions orthogonal in SCALE.

Approximation of square wave using N = 15: (uncountably infinite → 15)

1.4 Example: Wavelet Transform

Let x(t) ∈ L^2.

Then x(t) has the orthonormal expansion

x(t) =

∑^ ∞

i=−∞

j=−∞

xij 2 −i/^2 ψ(2−it − j)

xij =

−∞

x(t)2−i/^2 ψ(2−it − j)

  1. Note double-indexed xij ;
  2. Basis functions areorthogonal in both SCALE AND TRANSLATION;
  3. Therefore localized in time and frequency;
  4. Note scale-dependent shift in t: 2ij
  5. Need 2−i/^2 to make || 2 −i/^2 ψ(2−it − j)|| = 1.

How do we find such basis functions?

2. MULTIRESOLUTION ANALYSIS

2.1 Multiresolution Subspaces

DEF: A multiresolution analysis is a sequence of closed subspaces Vi such that:

  1. { 0 } ⊂... ⊂ V 2 ⊂ V 1 ⊂ V 0 ⊂ V− 1 ⊂... ⊂ L^2
  2. x(t) ∈ Vi ⇔ x(2it) ∈ V 0
  3. x(t) ∈ V 0 ⇔ x(t − j) ∈ V 0
  4. ∃orthonormal basis so V 0 = SP AN {φ(t − j)} Latter implies Vi = SP AN { 2 −i/^2 φ(2−it − j)}

Example: Piecewise constant functions

  1. Approximate function by piecewise constant steps
  2. Smaller steps → more accurate approximation
  3. Step size 2i^ → project onto Vi (want small i)

2.3 Wavelet Basis Functions

Define {Wi} as orthogonal complements of {Vi}:

  1. Wi=orthogonal complement of Vi in Vi− 1
  2. Vi− 1 = Vi

Wi,

=direct sum

W 1

W 0

W− 1

... = L^2

  1. Still have x(t) ∈ Wi ⇔ x(2it) ∈ W 0
  2. Need basis ψ(t) so W 0 = SP AN {ψ(t − j)}
  3. Compare the above to V 0 = SP AN {φ(t − j)}

ψ(t) ∈ W 0 ⊂ V− 1 → ψ(t) ∈ V− 1

→ ψ(t) =

∑^ ∞

n=−∞

hn 21 /^2 φ(2t − n)

Taking Fourier transform and H(ejω^ ) = DT F T [hn] →

Ψ(ω) =

H(ejω/^2 )Φ(ω/2)

ψ(t) ∈ W 0 ⊥ V 0 → ψ(t) ⊥ {φ(t − j)} →

H(ejω^ )G∗(ejω^ ) + H(ej(ω+π))G∗(ej(ω+π)) = 0

2.3 Wavelet Basis Functions, continued

This leads to hn = g 1 −n(−1)n

  1. Now have ψ(t) in terms of φ(t)
  2. Wi = SP AN { 2 −i/^2 ψ(2−it − j)}
  3. But {Wi} (unlike {Vi}) are orthogonal spaces
  4. So { 2 −i/^2 ψ(2−it−j)} is a complete orthonormal basis for L^2.

Note that gn is a lowpass filter while

hn = g 1 −n(−1)n^ → H(ejω^ ) = −e−jω^ G∗(ej(ω+π))

is a bandpass filter.

This shows the distinction between

  1. wavelet scaling (φ(t)) and
  2. wavelet basis (ψ(t)) functions: Scaled ψ(t) sweep out different frequency bands.

3. WAVELET TRANSFORMS

3.1 Haar Function→Haar Transform

  1. Vi = {piecewise constant functions}
  2. x(t) changes levels at t = j 2 i
  3. SMALLER i → better resolution

Consider DECREASE in resolution:

In going from Vi to coarser Vi+1 ⊂ Vi:

  1. Replace x(t) over the two intervals [2ij, 2 i(j + 1)] and [2i(j + 1), 2 i(j + 2)]
  2. with x(t) over interval [2i+1(j/2), 2 i+1(j/2 + 1)]
  3. Note that [2i+1(j/2), 2 i+1(j/2 + 1)] = [2ij, 2 i(j + 1)]

[2i(j + 1), 2 i(j + 2)]

How do we do this?

Replace x(t) with its average (which is its projection onto Vi+1) and with its difference (which is its projection onto Wi+1) over the longer interval.

3.1 Haar Function→Haar Transform: Example

x(t) = sin(t)

Projection onto Vi:

xi(t) =

sin(2ij), if 2ij < t < 2 i(j + 1); sin(2i(j + 1)), if 2i(j + 1) < t < 2 i(j + 2);

Projection onto Vi+1: xi+1(t) = [sin(2ij) + sin(2i(j + 1))]/2, if 2i+1(j/2) < t < 2 i+1(j/2 + 1) Same interval; replace 2 values with average.

Projection onto Wi+1: x′ i+1(t) = [sin(2ij) + sin(2i(j + 1))]/2, if 2i+1(j/2) < t < 2 i+1(j/2 + 1) Replace 2 values with difference.

3.2 Sinc Function→LP Wavelet

  1. V 0 = {functions bandlimited to [−π, π]
  2. V−i = {functions bandlimited to [− 2 iπ, 2 iπ]
  3. W−i = {functions bandlimited to [− 2 i+1π, − 2 iπ]

[2iπ, 2 i+1π]

Note Vi=space of lowpass signals while Wi=space of bandpass signals

φ(t) = sin( πtπt ) (lowpass) ψ(t) = sin( πt/πt/ 2 2)cos(3πt/2) (bandpass)

G(ejω^ ) =

2 , if |ω| < π 2 ; 0 , if otherwise.

H(ejω^ ) =

2 e−jω^ , if π 2 < |ω| < π; 0 , if otherwise.

Scaling function φ(t) Basis function ψ(t)

3.2 Sinc Function→LP Wavelet, continued

  1. LP=Littlewood-Paley wavelet
  2. Octave-band decomposition
  3. Constant-Q filtering

3.4 General Properties of Wavelets

  1. φ(t) is lowpass filter ψ(t) is bandpass filter Sometimes need BOTH (e.g., DC for L-P)
  2. Localized in both time and frequency: a. xij has information about x(t) for t ≈ 2 ij or j ≈ 2 −it b. Since ψ(t) is bandpass, xij has information about X(ω) for ω ≈ 2 −icenter frequency
  3. Sampling rate is scale-dependent:
  4. Ψ(0) = 0 always; often also zero moments:

∫ (^) ∞

−∞

tkψ(t)dt =

dkΨ dωk^

|ω=0 = 0

Battle-Lemarie: based on kth-order spline. → first k + 1 moments zero.

3.5 2-D Wavelet Transform

Just perform wavelet transform in both variables:

f (x, y) =

f (^) j,ni,m 2 −i/^2 ψ(2−ix−j)2−m/^2 ψ(2−my−n)

f (^) j,ni,m =

f (x, y)2−i/^2 ψ(2−ix−j)2−m/^2 ψ(2−my−n)dx dy

There is another decomposition that is more useful:

x(t) =

∑^ ∞

i=−∞

j=−∞

xij 2 −i/^2 ψ(2−it − j) =

∑^ ∞

j=−∞

cNj 2 −N/^2 φ(2−N^ t−j)+

∑^ N

i=−∞

j=−∞

xij 2 −i/^2 ψ(2−it−j)

where

xij =

−∞

x(t)2−i/^2 ψ(2−it − j)

cNj =

−∞

x(t)2−N/^2 φ(2−N^ t − j)

The scaling function at scale N replaces the effects of all basis functions at scales coarser (larger) than N.