Lecture 48
Lecture 48 –– Towards selecting Towards selecting
wavelets through vanishing moments wavelets through vanishing moments wavelets through vanishing moments wavelets through vanishing moments
Dr Aditya Abhyankar Dr. Aditya Abhyankar
Wavelet Transform Wavelet Transform Wavelet Transform Wavelet Transform
y Decomposes signal into two separate series
y Single series to Single series to y Double series to represent most
coarse version
y Double series to represent refined version
coarse version version S l F
y Scaling Function y Wavelet Function
Wavelet Transform: Specialty Wavelet Transform: Specialty Wavelet Transform: Specialty Wavelet Transform: Specialty
y Scaling and Translation are indeed g Hallmarks of Wavelet transform
y They lead us to MultiResolutioAnalysis (MRA) !!
(MRA) !!
Relationship Relationship Relationship Relationship
y As the spaces and spans are clear nowp p
y Intuitionally, we observe a relationship between these spaces!
betwee t ese spaces!
V 2 ⊂ V 1 ⊂ V0 ⊂ V1 ⊂ V2
...V− ⊂ V− ⊂ V ⊂ V ⊂ V ...
y Intuitively we can see that as we move towards right, i.e. up the ladder, we are moving towards
2( )
L ℜ
2 Band MRA Filter Bank 2 Band MRA Filter Bank 2 Band MRA Filter Bank 2 Band MRA Filter Bank
H0(z) 2 2 H1(z)
[ ]
p n +
2 2 G1( )
G0(z) 2 2 G1(z)
S th i
Analysis Synthesis
2 Band MRA Filter Bank
2 Band MRA Filter Bank V0 2 Band MRA Filter Bank
2 Band MRA Filter Bank [ ]
p n p n0[ ]
0
H0(z) [ ]
p n
2
[ ] q n V1
0[ ] q n
G0( ) 2
W0
G0(z) 2
Framework Framework Framework Framework
y Gave us power to move up or down the p p ladder
y We can now indeed zoom-in or zoom-e ca ow ee oo o oo out of any part of the signal
y This makes the entire analysis ‘scalable’!!
y This makes the entire analysis scalable !!
y Scalability stems out of multi-resolution framework !
framework !
Framework Framework Framework Framework
y Leads us to two questionsq
1) How do we go about selecting the mother wavelet and scale of analysis?ot e wave et a sca e o a a ys s?
2) What is the procedure to calculate scaling and wavelet coefficients?
scaling and wavelet coefficients?
How Fourier Works
How Fourier Works –– Basis Basis Functions !!
Functions !!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
cos(2 1 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
cos(2 1 )π n < y n[ ], cos(2 1 )π n >
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
sin(2 1 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
sin(2 1 )π n < y n[ ], sin(2 1 )π n >
5.4573e-013
[ ] 0 6 i (2 3 ) 0 8 (2 8 )
5.4573e 013
[ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
cos(2 3 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ], cos(2 3 )
y n π n
< >
cos(2 3 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
sin(2 3 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
sin(2 3 )π n < y n[ ], sin(2 3 )π n >
1.4997e+003
[ ] 0 6 i (2 3 ) 0 8 (2 8 )
1.4997e 003
[ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ] 0 6 i (2 3 ) 0 8 (2 8 ) [ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
cos(2 8 )π n
[ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
How Fourier Works!!
[ ], cos(2 8 )
y n π n
< >
cos(2 8 )π n
[ ] 0 6 i (2 3 ) 0 8 (2 8 )
2.0004e+003
[ ] 0.6 sin(2 3 ) 0.8 cos(2 8 )
y n = π n + π n
Application Application Application Application
y Detecting hidden jump discontinuityg j p y
y Consider function
, 0 1
t t 2
⎧ ≤ <
⎪⎪ 2
( ) 1
1, 1
2 g t
t t
= ⎨⎪
⎪ − ≤ <
⎪⎩
y Clear jump at t=0.5
, 2
⎪⎩
j p
Application Application Application Application
y Detecting hidden jump discontinuityg j p y
y Let’s integrate
⎧ 2 1
2 , 0 2
( ) ( )
t t
h t g t dt
⎧ ≤ <
=
∫
= ⎨⎪⎪ 2 ( ) ( )1 1, 1
2 2 2
h t g t dt
t t t
= = ⎨
⎪ − + ≤ <
⎪⎩
∫
y Cusp jump at t=0.5
⎩
p j p
Application Application Application Application
y Detecting hidden jump discontinuityg j p y
y Let’s integrate again
⎧ 3 1
6 , 0 2
( ) ( )
t t
f t h t dt
⎧ ≤ <
=
∫
= ⎨⎪⎪ 3 2 ( ) ( )1 1, 1
6 2 2 8 2
f t h t dt
t t t
t
= = ⎨
⎪ − + − ≤ <
⎪⎩
∫
y Appears smooth to eye
⎩
pp y
Coefficients Coefficients Coefficients Coefficients
y Who gives us coefficients of scaling g g equation?
y Haaraa
In search of coefficients In search of coefficients In search of coefficients In search of coefficients
y We can thinks of using three guiding g g g theorems !
In search of coefficients In search of coefficients In search of coefficients In search of coefficients
y We can thinks of using three guiding g g g theorems !
y Theorem 1:eo e :
∑
For the scaling equation ( ) 2 (2 ), with non-vanishing coefficients { } only for ,
k k M k k N
x h x k
h N k M
φ = φ −
≤ ≤
∑
g { } y ,
its ( ) is with a compact support contained in interval [ , ]
k k N
x N M
φ
=
In search of coefficients In search of coefficients In search of coefficients In search of coefficients
y We can thinks of using three guiding g g g theorems !
y Theorem 2:eo e :
If the scaling function ( ) has compact support on φ x 0 -1 and if, { ( - )} are linearly independent, then n ( ) 0, for n<0 and -1.
x N x k
h h n n N
φ
≤ ≤
= = >
Hence N is the length of the sequence.
In search of coefficients In search of coefficients In search of coefficients In search of coefficients
y We can thinks of using three guiding theorems !
theorems !
y Theorem 3:
If h li ffi i { }h If the scaling coefficieents { }
satisfy the condition for existence and hk
orthogonality of ( ), then
( ) k 2 (2 )
x
x g x k
φ
ϕ = ∑ φ −
where, ( 1)
k
k
k N k
g h −
∞
= ± −
, -
and, ( - ) ( - )∞ ϕ x l φ x k dx δl k 0,l k
∞
= = ≠
∫
Properties of scaling coefficients Properties of scaling coefficients Properties of scaling coefficients Properties of scaling coefficients
Properties of scaling coefficients Properties of scaling coefficients Properties of scaling coefficients Properties of scaling coefficients
Thank You!
Thank You!
Thank You!
Thank You!
Questions ??