Professional Documents
Culture Documents
Wavelet Charts
Wavelet Charts
1
What is a Wavelet Transform?
• Decomposition of a signal into constituent parts
• Note that there are many ways to do this. Some are:
– Fourier series: harmonic sinusoids; single integer index
– Fourier transform (FT): nonharmonic sinusoids; single real index
– Walsh decomposition: “harmonic” square waves; single integer index
– Karhunen-Loeve decomp: eigenfunctions of covariance; single real index
– Short-Time FT (STFT): windowed, nonharmonic sinusoids; double index
• provides time-frequency viewpoint
– Wavelet Transform: time-compacted waves; double index
• Wavelet transform also provides time-frequency view
– Decomposes signal in terms of duration-limited, band-pass components
• high-frequency components are short-duration, wide-band
• low-frequency components are longer-duration, narrow-band
– Can provide combo of good time-frequency localization and orthogonality
• the STFT can’t do this
– More precisely, wavelets give time-scale viewpoint
• this is connected to the multi-resolution viewpoint of wavelets
2
General Characteristics of Wavelet Systems
• Signal decomposition: build signals from “building blocks”, where the
building blocks (i.e. basis functions) are doubly indexed.
• The components of the decomposition (i.e. the basis functions) are
localized in time-frequency
– ON can be achieved w/o sacrificing t-f localization
• The coefficients of the decomposition can be computed efficiently (e.g.,
using O(N) operations).
4
Why are Wavelets Effective?
• Provide unconditional basis for large signal class
– wavelet coefficients drop-off rapidly
– thus, good for compression, denoising, detection/recognition
– goal of any expansion is
• have the coefficients provide more info about signal than time-domain
• have most of the coefficients be very small (sparse representation)
– FT is not sparse for transients
• Accurate local description and separation of signal characteristics
– Fourier puts localization info in the phase in a complicated way
– STFT can’t give localization and orthogonality
• Wavelets can be adjusted or adapted to application
– remaining degrees of freedom are used to achieve goals
• Computation of wavelet coefficient is well-suited to computer
– no derivatives of integrals needed
– turns out to be a digital filter bank
5
Multiresolution Viewpoint
6
Multiresolution Approach
• Stems from image processing field
– consider finer and finer approximations to an image
• Define a nested set of signal spaces
! ⊂ V− 2 ⊂ V−1 ⊂ V0 ⊂ V1 ⊂ V2 ⊂ ! ⊂ L2
f (t ) = ∑ a φ (t − k )
k
k
• So far we can use just about any function φ(t), but we’ll see that to get
the nesting only certain scaling functions can be used.
7
Multiresolution Analysis (MRA) Equation
• Now that we have V0 how do we make the others and ensure that they
are nested?
• If we let V1 be the space spanned by integer translates of φ(2t) we get
the desired property that V1 is indeed a space of functions having
higher resolution.
• Now how do we get the nesting?
• We need that any function in V0 also be in V1 ; in particular we need
that the scaling function (which is in V0 ) be in V1 , which the requires
that
φ (t ) = ∑ h ( n)
n
2φ (2t − n)
8
The h(n) Specify the Scaling Function
• Thus, the coefficients h(n) determine the scaling function
– for a given set of h(n), φ(t)
• may or may not exist
• may or may not be unique
• Want to find conditions on h(n) for φ(t) to exist and be unique, and also:
– to be orthogonal (because that leads to an ON wavelet expansion)
– to give wavelets that have desirable properties
h(n) φ(t)
n t
MRA
Equation
h(n)
h(n)must
must
satisfy
satisfy
conditions
conditions 9
Whence the Wavelets?
• The spaces Vj represent increasingly higher resolution spaces
• To go from Vj to higher resolution Vj+1 requires the addition of “details”
– These details are the part of Vj+1 not able to be represented in Vj
– This can be captured through the “orthogonal complement of Vj w.r.t Vj+1
• Call this orthogonal complement space Wj
– all functions in Wj are orthogonal to all functions in Vj
– That is:
∫
< φ j , k (t ),ψ j ,l (t ) >= φ j , k (t )ψ j ,l (t ) dt = 0 ∀j , k , l ∈ Z
ψ 0, k (t ) = ψ (t − k )
10
Finding the Wavelets
• The wavelets are the basis functions for the Wj spaces
– thus, they lie in Vj+1
• In particular, the function ψ (t ) lies in the space V1 so it can be
expanded as
ψ (t ) = ∑ h ( n)
n
1 2φ (2t − n), n ∈ Z
• This is a fundamental result linking the scaling function and the wavelet
– the h1(n) specify the wavelet, via the specified scaling function
ψ(t)
h1(n)
n t
Wavelet
Equation
(WE)
hh1(n) must
1(n) must
satisfy
satisfy
conditions
conditions 11
Wavelet-Scaling Function Connection
• There is a fundamental connection between the scaling function and its
coefficients h(n) , the wavelet function and its coefficients h1(n):
h(n) φ(t)
n MR t
Equation
(MRE)
ψ(t)
h1(n)
n t
Wavelet
Equation
(WE)
12
Relationship Between h1(n) and h(n)
– ON between V0 and W0 : ∫
ψ (t )φ (t − k ) dt = δ (k )
• Given the h(n) that define the desired scaling function, then the h1(n)
that define the wavelet function are given by
h1 ( n) = (−1) n h( N − 1 − n)
13
The Resulting Expansions
• Let f(t) be in L2(R)
• There are three ways of interest that we can expand f(t)
! ⊂ V− 2 ⊂ V−1 ⊂ V0 ⊂ V1 ⊂ V2 ⊂ ! ⊂ L2
14
The Resulting Expansions (cont.)
L2 = V j0 ⊕ W j0 ⊕ W j0 +1 ⊕ W j0 + 2 ⊕ !
– This is most useful in practice: j0 is usually chosen according to application
• Also in practice, the upper value of j is chosen to be finite
15
The Resulting Expansions (cont.)
∞
f (t ) = ∑ ∑
k
d j (k )2 j / 2ψ (2 j t − k )
j = −∞
L2 = ! ⊕ W− 2 ⊕ W−1 ⊕ W0 ⊕ W1 ⊕ W2 ⊕ !
– This is most similar to the “true” wavelet decomposition as it was originally
developed
– This is not that useful in practice: j0 is usually chosen to be finite according
to application
16
The Expansion Coefficients cj (k) and dj(k)
0
• We consider here only the simple, but important, case of ON expansion
– i.e., the φ’s are ON, the ψ’s are ON, and the φ’s are ON to the ψ’s
• Then we can use standard ON expansion theory:
c j0 (k ) = f (t ),ϕ j0 , k (t ) =
∫ f (t )ϕ j0 , k (t ) dt
d j (k ) = f (t ),ψ j , k (t ) =
∫ f (t )ψ j , k (t ) dt
17
Summary of Multiresolution View
• Nested Resolution spaces:
! ⊂ V− 2 ⊂ V−1 ⊂ V0 ⊂ V1 ⊂ V2 ⊂ ! ⊂ L2
• Wavelet Spaces provide orthogonal complement between resolutions
L2 = V j0 ⊕ W j0 ⊕ W j0 +1 ⊕ W j0 + 2 ⊕ !
• Wavelet equation (WE) provides link between a resolution level and its
complement
ψ (t ) = ∑ h (n)
n
1 2φ ( 2t − n), n ∈ Z
18
Summary of Multiresolution View (cont.)
• There is a fundamental connection between the scaling function and its
coefficients h(n) , the wavelet function and its coefficients h1(n):
h(n) φ(t)
n MR t
Equation
(MRE)
How are h1(n) and
h(n) related?
ψ(t)
h1(n)
n t
Wavelet
Equation
(WE)
19
Filter Banks and DWT
20
Generalizing the MRE and WE
• Here again are the MRE and the WE:
φ (t ) = ∑ h( n )
n
2φ ( 2t − n) ψ (t ) = ∑ h (n)
n
1 2φ ( 2t − n)
• We get:
MRE WE
φ (2 j t − k ) = ∑m
h( m − 2k ) 2φ ( 2 j +1t − m) ψ (2 j t − k ) = ∑
m
h1 ( m − 2k ) 2φ ( 2 j +1t − m)
21
Linking Expansion Coefficients Between Scales
• Start with the Generalized MRA and WE:
φ (2 j t − k ) = ∑m
h( m − 2k ) 2φ ( 2 j +1t − m) ψ (2 j t − k ) = ∑
m
h1 ( m − 2k ) 2φ ( 2 j +1t − m)
c j ( k ) = f (t ),ϕ j , k (t ) d j (k ) = f (t ),ψ j , k (t )
c j (k ) = ∑ h( m − 2k )
m
f (t ),2( j +1) / 2 ϕ (2 j +1t − m) d j (k ) = ∑ h ( m − 2k )
m
1 f (t ),2( j +1) / 2 ϕ (2 j +1t − m)
c j +1 (m)
c j (k ) = ∑ h(m − 2k )c
m
j +1 ( m ) d j (k ) = ∑ h (m − 2k )c
m
1 j +1 ( m)
22
Convolution-Decimation Structure
New Notation For Convenience: h(n) →h0(n)
c j (k ) = ∑ h (m − 2k )c
m
0 j +1 ( m) d j (k ) = ∑ h (m − 2k )c
m
1 j +1 ( m)
Convolution
y0 ( n) = c j +1 (n) ∗ h0 (−n) y1 ( n) = c j +1 (n) ∗ h1 (−n)
= ∑ h (m − n)c
m
0 j +1 ( m) = ∑ h (m − n)c
m
1 j +1 ( m)
Decimation
n=0 1 2 3 4 5 6 7 8 9
k=0 1 2 3 4
n = 2k =0 2 4 6 8
23
Summary of Progression to Convolution-
Decimation Structure
MRE WE
φ (2 j t − k ) = ∑ m
h( m − 2k ) 2φ ( 2 j +1t − m) ψ (2 j t − k ) = ∑
m
h1 (m − 2k ) 2φ (2 j +1t − m)
c j (k ) = ∑ h(m − 2k )c
m
j +1 ( m ) d j (k ) = ∑ h (m − 2k )c
1 j +1 ( m)
m
HPF dj(k)
↓2
h1(-n)
cj+1(k)
LPF cj(k)
↓2
h0(-n)
24
Computing The Expansion Coefficients
• The above structure can be cascaded:
– given the scaling function coefficients at a specified level all the lower
resolution c’s and d’s can be computed using the filter structure
HPF dj(k)
↓2
h1(-n) Wj
cj+1(k)
Vj+1
LPF cj(k) HPF dj-1(k)
↓2 ↓2
h0(-n) Vj h1(-n) Wj-1
LPF cj-2(k)
↓2
h0(-n) Vj-2
25
Filter Bank Generation of the Spaces
Vj-1
Vj
Vj+1
Vj-2
LPF
↓2
h0(-n) 26
DISCRETE FOURIER TRANSFORM
Freq
Time
27
WAVELET TRANSFORM
Freq
Time
28
WT-BASED COMPRESSION EXAMPLE
Side Info
Time 29