Wavelet Transform Theory
Wavelet Transform Theory
Prof. Mark Fowler Department of Electrical Engineering State University of New York at Binghamton
The coefficients of the decomposition can be computed efficiently (e.g., using O(N) operations).
Wavelets
desired properties are mathematical imposed the needed expansion functions are then derived
Multiresolution Viewpoint
Multiresolution Approach
Stems from image processing field
consider finer and finer approximations to an image
We build these spaces as follows: Let V0 be the space spanned by the integer translations of a fundamental signal (t), called the scaling function:
that is, if f(t) is in V0 then it can be represented by:
f (t ) =
a (t k )
k k
So far we can use just about any function (t), but well see that to get the nesting only certain scaling functions can be used.
7
(t ) =
h ( n)
n
2 (2t n)
where the expansion coefficient is h(n) 2 This is the requirement on the scaling function to ensure nesting: it must satisfy this equation
called the multiresolution analysis (MRA) equation this is like a differential equation that the scaling function is the solution to
8
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)
MRA Equation
< j , k (t ), j ,l (t ) >= j , k (t ) j ,l (t ) dt = 0
j , k , l Z
Consider that V0 is the lowest resolution of interest How do we characterize the space W0 ?
we need to find an ON basis for W0, say { 0,k (t )} where the basis functions arise from translating a single function (well worry about the scaling part later):
0, k (t ) = (t k )
10
(t ) =
h ( n)
1 n
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 h1(n) (t)
11
MR Equation (MRE)
12
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)
Much of wavelet theory addresses the origin, characteristics, and ramifications of this relationship between h1(n) and h(n)
requirements on h(n) and h1(n) to achieve ON expansions how the MRE and WE lead to a filter bank structure requirements on h(n) and h1(n) to achieve other desired properties extensions beyond the ON case
13
a 2
k k
j/2
(2 j t k )
! V 2 V1 V0 V1 V2 ! L2
this is in general not the most useful expansion
14
c
k
j0 ( k ) 2
j0 / 2
(2 t k ) +
j0
d (k )2
j k j = j0
j/2
(2 j t k )
Low-Resolution Approximation
Wavelet Details
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
d (k )2
j k j =
j/2
(2 j t k )
L2 = ! W 2 W1 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
f (t ) f (t )
j0 , k (t ) dt
j , k (t ) dt
We will see how to compute these without resorting to computing inner products
we will use the coefficients h1(n) and h(n) instead of the wavelet and scaling function, respectively we look at a relationship between the expansion coefficients at one level and those at the next level of resolution
17
! V 2 V1 V0 V1 V2 ! L2
L2 = V j0 W j0 W j0 +1 W j0 + 2 !
Wavelet Series Expansion of a continuous-time signal f(t):
f (t ) =
c
k
j0 ( k ) 2
j0 / 2
(2 t k ) +
j0
d (k )2
j k j = j0
j/2
(2 j t k )
MR equation (MRE) provides link between the scaling functions at successive levels of resolution:
(t ) =
h( n)
n
1 n
2 ( 2t n), n Z
Wavelet equation (WE) provides link between a resolution level and its complement
(t ) =
h (n)
2 ( 2t n), n Z
18
MR Equation (MRE)
19
20
h( n )
n
2 ( 2t n)
(t ) =
h (n)
1 n
2 ( 2t n)
t 2 jt k
We get:
MRE WE
(2 j t k ) =
h( m 2k ) 2 ( 2 j +1t m)
(2 j t k ) =
h1 ( m 2k ) 2 ( 2 j +1t m)
Connects Vj to Vj+1
Connects Wj to Vj+1
21
h( m 2 k )
m
2 ( 2 j +1t m)
(2 j t k ) =
h (m 2k )
1 m
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
d j (k ) =
h ( m 2k )
1 m
c j +1 (m)
c j (k ) =
h(m 2k )c
m
j +1 ( m )
d j (k ) =
h (m 2k )c
1 m
j +1 ( m)
22
Convolution-Decimation Structure
New Notation For Convenience: h(n) h0(n)
c j (k ) =
h (m 2k )c
0 m
j +1 ( m)
d j (k ) =
h (m 2k )c
1 m
j +1 ( m)
y0 ( n) = c j +1 (n) h0 (n) =
Convolution
h (m n)c
0 m
y1 ( n) = c j +1 (n) h1 (n) =
j +1 ( m)
h (m n)c
1 m
j +1 ( m)
Decimation n=0 1 2 3 4 5 6 7 8 9
k=0 n = 2k =0
1 2
2 4
3 6
4 8
23
(2 j t k ) =
h( m 2k )
m
2 ( 2 j +1t m)
(2 j t k ) =
h ( m 2k )
1 m
2 (2 j +1t m)
c j (k ) =
h(m 2k )c
m
j +1 ( m )
d j (k ) =
h (m 2k )c
1 m
j +1 ( m)
cj+1(k)
HPF h1(-n)
dj(k)
LPF h0(-n)
cj(k)
24
cj+1(k) Vj+1
LPF h0(-n)
LPF h0(-n)
LPF h0(-n)
Vj-2
/8 HPF h1(-n)
/4 2
/2
Wj
Vj+1
LPF h0(-n)
HPF h1(-n)
Wj-1
LPF h0(-n)
HPF h1(-n)
Wj-2
LPF h0(-n)
Vj-2
26
Time
27
WAVELET TRANSFORM
Freq
Time
28
Q1 Q2
l8(1) to l8(8)
Q256
l8q(1) to l8q(8)
Frequency
Bits allocated to quantizers to minimize MSE Then allocations less than Bmin are set to zero Eliminates negligible cells Side info sent to describe allocations
Time
29