470 likes | 1.04k Views
Haar Wavelets. A first look Ref: Walker (ch1) Jyun-Ming Chen, Spring 2001. Introduction. Simplest; hand calculation suffice A prototype for studying more sophisticated wavelets Related to Haar transform, a mathematical operation.
E N D
Haar Wavelets A first look Ref: Walker (ch1) Jyun-Ming Chen, Spring 2001
Introduction • Simplest; hand calculation suffice • A prototype for studying more sophisticated wavelets • Related to Haar transform, a mathematical operation
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) Haar Transform
Running difference Denoted by: Meaning of superscript explained later Running average Multiplication by is needed to ensure energy conservation (see later) Haar transform, 1-level
Small 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
Energy Concerns • Energy of signals • The 1-level Haar transform conserves energy
f Haar Transform, multi-level
Compaction of Energy • Compare with 1-level • Can be seen more clearly by cumulative energy profile
Definition Cumulative Energy Profile
Algebraic Operations • Addition & subtraction • Constant multiple • Scalar product
1-level Haar wavelets “wavelet”: plus/minus wavy nature Translated copy of mother wavelet support of wavelet =2 The interval where function is nonzero Haar Wavelets Property 1. If a signal f is (approximately) constant over the support of a Haar wavelet, then the fluctuation value is (approximately) zero.
1-level scaling functions Graph: translated copy of father scaling function Support = 2 Haar Scaling Functions
2-level Haar scaling functions support = 4 2-level Haar wavelets support = 4 Haar Wavelets (cont)
Natural basis: Therefore: Multiresolution Analysis (MRA)
Note: the coefficient vectors MRA
If do it all the way through, representing the average of all data MRA
Example (cont) Decomposition coefficients obtained by inner product with basis function
They are in fact related Pj is called the synthesis filter (more later) More on Scaling Functions (Haar)
Synthesis Filter P3 Ex: Haar Scaling Functions
Synthesis Filter P1 Synthesis Filter P2 Ex: Haar Scaling Functions
They are in fact related Qj is called the synthesis filter (more later) More on Wavelets (Haar)
Synthesis Filter Q3 Ex: Haar Wavelets
Ex: Haar Wavelets Synthesis Filter Q1 Synthesis Filter Q2
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 we’ll show that this is a property unique to orthogonal wavelets Analysis Filters
Analysis/Decomposition (Haar) A2 A3 B2 Analysis Filter Aj Analysis Filter Bj B3 A1 B1
On the other hand, synthesis filters have to do with reconstructing the signal from MRA results Synthesis Filters
Q1 P1 Q2 P2 Q3 P3 Synthesis/Reconstruction (Haar) Synthesis Filter Pj Synthesis Filter Qj