Title: Haar Wavelets
1Haar Wavelets
- A first look
- Ref Walker (ch1)
- Jyun-Ming Chen, Spring 2001
2Introduction
- Simplest hand calculation suffice
- A prototype for studying more sophisticated
wavelets - Related to Haar transform, a mathematical
operation
3Haar Transform
- Assume discrete signal (analog function occurring
at discrete instants) - Assume equally spaced samples (number of samples
2n)
- Decompose the signal into two sub-signals of half
its length - Running average (trend)
- Running difference (fluctuation)
4Haar transform, 1-level
- Running difference
- Denoted by
- Meaning of superscript explained later
- Running average
- Multiplication by is needed to ensure
energy conservation (see later)
5Example
6Inverse Transform
7Small Fluctuation Feature
- Magnitudes of the fluctuation subsignal (d) are
often significantly smaller than those of the
original signal - Logical samples are from continuous analog
signal with very short time increment - Has application to signal compression
8Energy Concerns
- The 1-level Haar transform conserves energy
9Proof of Energy Conservation
10Haar Transform, multi-level
11Compaction of Energy
- Compare with 1-level
- Can be seen more clearly by cumulative energy
profile
12Cumulative Energy Profile
13Algebraic Operations
- Addition subtraction
- Constant multiple
- Scalar product
14Haar Wavelets
- 1-level Haar wavelets
- wavelet plus/minus wavy nature
- Translated copy of mother wavelet
- support of wavelet 2
- The interval where function is nonzero
Property 1. If a signal f is (approximately)
constant over the support of a Haar wavelet, then
the fluctuation value is (approximately) zero.
15Haar Scaling Functions
- 1-level scaling functions
- Graph translated copy of father scaling function
- Support 2
16Haar Wavelets (cont)
- 2-level Haar scaling functions
- support 4
- 2-level Haar wavelets
- support 4
17Multiresolution Analysis (MRA)
18MRA
19MRA
20Example
21Example (cont)
Decomposition coefficients obtained by inner
product with basis function
22Haar MRA
23More on Scaling Functions (Haar)
- They are in fact related
- Pj is called the synthesis filter (more later)
24Ex Haar Scaling Functions
25Ex Haar Scaling Functions
26More on Wavelets (Haar)
- They are in fact related
- Qj is called the synthesis filter (more later)
27Ex Haar Wavelets
28Ex Haar Wavelets
Synthesis Filter Q1
Synthesis Filter Q2
29Analysis Filters
- There is another set of matrices that are related
to the computation of analysis/decomposition
coefficient - In the Haar case, they are the transpose of each
other - Later well show that this is a property unique
to orthogonal wavelets
30Analysis/Decomposition (Haar)
A2
A3
B2
Analysis Filter Aj
Analysis Filter Bj
B3
A1
B1
31Synthesis Filters
- On the other hand, synthesis filters have to do
with reconstructing the signal from MRA results
32Synthesis/Reconstruction (Haar)
Synthesis Filter Pj
Synthesis Filter Qj
33Conclusion/Exercise