Complex Wavelets

75 downloads 203 Views 2MB Size Report
Discrete Wavelet Transform. Basics of DWT. Advantages and Limitations. 2. Dual -Tree Complex Wavelet Transform. The Hilbert Transform Connection.
Outline

Complex Wavelets Arnab Ghoshal 600.658 - Seminar on Shape Analysis and Retrieval

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

1 of 37

Outline

Outline 1

Discrete Wavelet Transform Basics of DWT Advantages and Limitations

2

Dual-Tree Complex Wavelet Transform The Hilbert Transform Connection Hilbert Transform Pairs of Wavelet Bases

3

Results 1-D Signals 2-D Signals

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

2 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Outline 1

Discrete Wavelet Transform Basics of DWT Advantages and Limitations

2

Dual-Tree Complex Wavelet Transform The Hilbert Transform Connection Hilbert Transform Pairs of Wavelet Bases

3

Results 1-D Signals 2-D Signals

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

3 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

How do Electrical Engineers Dream of Wavelets? Filter banks Use a set of filters to analyze the frequency content of a signal Lots of redundant information! Can we do better? Decimated filter banks Subsample the frequency bands Same length as that of the original signal (|γ| + |λ| = |X | = |Y |) Theoretically possible to design ˜ g˜ , h, g ) which will give filters (h, perfect reconstruction CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

4 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

How do Electrical Engineers Dream of Wavelets? Filter banks Use a set of filters to analyze the frequency content of a signal Lots of redundant information! Can we do better? Decimated filter banks Subsample the frequency bands Same length as that of the original signal (|γ| + |λ| = |X | = |Y |) Theoretically possible to design ˜ g˜ , h, g ) which will give filters (h, perfect reconstruction CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

5 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

How do Electrical Engineers Dream of Wavelets? Filter banks Use a set of filters to analyze the frequency content of a signal Lots of redundant information! Can we do better? Decimated filter banks Subsample the frequency bands http://perso.wanadoo.fr/polyvalens/clemens/lifting

Same length as that of the original signal (|γ| + |λ| = |X | = |Y |) Theoretically possible to design ˜ g˜ , h, g ) which will give filters (h, perfect reconstruction

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

6 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

How do Electrical Engineers Dream of Wavelets? Filter banks Use a set of filters to analyze the frequency content of a signal Lots of redundant information! Can we do better? Decimated filter banks Subsample the frequency bands http://perso.wanadoo.fr/polyvalens/clemens/lifting

Same length as that of the original signal (|γ| + |λ| = |X | = |Y |) Theoretically possible to design ˜ g˜ , h, g ) which will give filters (h, perfect reconstruction

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

7 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Fully Decimated Wavelet Tree

[1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

8 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Fully Decimated Wavelet Tree

[1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

9 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Wavelet Bases Orthogonal filter-bank Even length filters (length = M + 1) P Shift orthogonal: n h0a (n)h0a (n + 2k) = δ(k) Alternating flip: h1a (n) = (−1)n h0a (M − n) Scaling and wavelet functions

√ P a 2 n h0 (n)φa (2t − n) √ P Wavelet function: ψ a (t) = 2 n h1a (n)φa (2t − n) Scaling function: φa (t) =

Caveat Wavelets need not be orthogonal! In fact, JPEG2000 uses 5/3 and 9/7 bi-orthogonal filters CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

10 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Wavelet Bases Orthogonal filter-bank Even length filters (length = M + 1) P Shift orthogonal: n h0a (n)h0a (n + 2k) = δ(k) Alternating flip: h1a (n) = (−1)n h0a (M − n) Scaling and wavelet functions

√ P a 2 n h0 (n)φa (2t − n) √ P Wavelet function: ψ a (t) = 2 n h1a (n)φa (2t − n) Scaling function: φa (t) =

Caveat Wavelets need not be orthogonal! In fact, JPEG2000 uses 5/3 and 9/7 bi-orthogonal filters CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

11 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Wavelet Bases Orthogonal filter-bank Even length filters (length = M + 1) P Shift orthogonal: n h0a (n)h0a (n + 2k) = δ(k) Alternating flip: h1a (n) = (−1)n h0a (M − n) Scaling and wavelet functions

√ P a 2 n h0 (n)φa (2t − n) √ P Wavelet function: ψ a (t) = 2 n h1a (n)φa (2t − n) Scaling function: φa (t) =

Caveat Wavelets need not be orthogonal! In fact, JPEG2000 uses 5/3 and 9/7 bi-orthogonal filters CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

12 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Fundamental Properties of Wavelets Advantages Non-redundant orthonormal bases, perfect reconstruction Multiresolution decomposition, attractive for object matching Fast O(n) algorithms with short filters, compact support Limitations Lack of adaptivity Poor frequency resolution Shift variance Wavelet coefficients behave unpredictably when the signal is shifted DWT lacks phase information CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

13 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Fundamental Properties of Wavelets Advantages Non-redundant orthonormal bases, perfect reconstruction Multiresolution decomposition, attractive for object matching Fast O(n) algorithms with short filters, compact support Limitations Lack of adaptivity Poor frequency resolution Shift variance Wavelet coefficients behave unpredictably when the signal is shifted DWT lacks phase information CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

14 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Shift Variance of DWT

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

15 of 37

DWT Dual-Tree Wavelets Results Reference

Basics of DWT Advantages and Limitations

Shift Variance of DWT

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

16 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Outline 1

Discrete Wavelet Transform Basics of DWT Advantages and Limitations

2

Dual-Tree Complex Wavelet Transform The Hilbert Transform Connection Hilbert Transform Pairs of Wavelet Bases

3

Results 1-D Signals 2-D Signals

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

17 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Frequency Ananlysis of Real Signals Every real signal has equal amounts of positive and negative frequency components jωt

−jωt

cos(ωt) = e +e 2 jωt −jωt sin(ωt) = e −e 2 Hilbert transform: y (t) = H{x(t)}, iff Y (ω) = −jX (ω), ω > 0 and Y (ω) = jX (ω), ω < 0 y (θ) = x(θ − π2 ), θ > 0 and y (θ) = x(θ + π2 ), θ < 0

The signal z(t) = x(t) + jH{x(t)} has no negative frequencies (analytic signal) Fourier Transform: Real sin and cos form a Hilbert transform pair!

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

18 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Frequency Ananlysis of Real Signals Every real signal has equal amounts of positive and negative frequency components jωt

−jωt

cos(ωt) = e +e 2 jωt −jωt sin(ωt) = e −e 2 Hilbert transform: y (t) = H{x(t)}, iff Y (ω) = −jX (ω), ω > 0 and Y (ω) = jX (ω), ω < 0 y (θ) = x(θ − π2 ), θ > 0 and y (θ) = x(θ + π2 ), θ < 0

The signal z(t) = x(t) + jH{x(t)} has no negative frequencies (analytic signal) Fourier Transform: Real sin and cos form a Hilbert transform pair!

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

19 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Frequency Ananlysis of Real Signals Every real signal has equal amounts of positive and negative frequency components jωt

−jωt

cos(ωt) = e +e 2 jωt −jωt sin(ωt) = e −e 2 Hilbert transform: y (t) = H{x(t)}, iff Y (ω) = −jX (ω), ω > 0 and Y (ω) = jX (ω), ω < 0 y (θ) = x(θ − π2 ), θ > 0 and y (θ) = x(θ + π2 ), θ < 0

The signal z(t) = x(t) + jH{x(t)} has no negative frequencies (analytic signal) Fourier Transform: Real sin and cos form a Hilbert transform pair!

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

20 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Frequency Ananlysis of Real Signals Every real signal has equal amounts of positive and negative frequency components jωt

−jωt

cos(ωt) = e +e 2 jωt −jωt sin(ωt) = e −e 2 Hilbert transform: y (t) = H{x(t)}, iff Y (ω) = −jX (ω), ω > 0 and Y (ω) = jX (ω), ω < 0 y (θ) = x(θ − π2 ), θ > 0 and y (θ) = x(θ + π2 ), θ < 0

The signal z(t) = x(t) + jH{x(t)} has no negative frequencies (analytic signal) Fourier Transform: Real sin and cos form a Hilbert transform pair!

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

21 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Frequency Ananlysis of Real Signals Every real signal has equal amounts of positive and negative frequency components jωt

−jωt

cos(ωt) = e +e 2 jωt −jωt sin(ωt) = e −e 2 Hilbert transform: y (t) = H{x(t)}, iff Y (ω) = −jX (ω), ω > 0 and Y (ω) = jX (ω), ω < 0 y (θ) = x(θ − π2 ), θ > 0 and y (θ) = x(θ + π2 ), θ < 0

The signal z(t) = x(t) + jH{x(t)} has no negative frequencies (analytic signal) Fourier Transform: Real sin and cos form a Hilbert transform pair!

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

22 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

23 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

24 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

25 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

26 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

27 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

Hilbert Transform Pairs of Wavelet Bases

We want to find ψ b (t) = H{ψ a (t)} Very hard to find ψ b (t) having finite support Design both the wavelets simultaneously [2] Assume H0b (ω) = H0a (ω)e −jθ(ω) Hilbert transform condition on wavelets and scaling functions ω is satisfied by: H0b (ω) = H0a (ω)e −j 2 ⇔ h0b (n) = h0a (n − 12 ) The half-sample delay can only be approximated with finite length filters [1]

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

28 of 37

DWT Dual-Tree Wavelets Results Reference

Hilbert Transform Complex Wavelet Bases

1-D Dual-Tree Wavelets

Picture courtesy:

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

Dr. Trac D. Tran (520.646 Lecture notes)

29 of 37

DWT Dual-Tree Wavelets Results Reference

1-D Signals 2-D Signals

Outline 1

Discrete Wavelet Transform Basics of DWT Advantages and Limitations

2

Dual-Tree Complex Wavelet Transform The Hilbert Transform Connection Hilbert Transform Pairs of Wavelet Bases

3

Results 1-D Signals 2-D Signals

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

30 of 37

DWT Dual-Tree Wavelets Results Reference

1-D Signals 2-D Signals

Level 2 Wavelets for Shifted Step Functions

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

31 of 37

DWT Dual-Tree Wavelets Results Reference

1-D Signals 2-D Signals

Original Signal

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

32 of 37

DWT Dual-Tree Wavelets Results Reference

DWT:

1-D Signals 2-D Signals

Level 1

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

33 of 37

DWT Dual-Tree Wavelets Results Reference

Complex Wavelets:

1-D Signals 2-D Signals

Level 1

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

34 of 37

DWT Dual-Tree Wavelets Results Reference

DWT:

1-D Signals 2-D Signals

Level 3

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

35 of 37

DWT Dual-Tree Wavelets Results Reference

Complex Wavelets:

1-D Signals 2-D Signals

Level 3

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

36 of 37

DWT Dual-Tree Wavelets Results Reference

References N. G. Kingsbury Complex wavelets for shift invariant analysis and filtering of signals Journal of Applied and Computational Harmonic Analysis, 10(3):234-253,2001.

I. W. Selesnick Hilbert Transform Pairs of Wavelet Bases IEEE Signal Processing Letters, 8(6):170-173, June 2001.

I. Daubechies Ten Lectures on Wavelets CBMS-NSF Regional Conference Series in Applied Mathematics, SIAM, Vol. 61, Philadelphia, PA 1992.

CS658: Seminar on Shape Analysis and Retrieval

Complex Wavelets

37 of 37