SLIDE 8 8
5.0
☺ Can be computed in O(DlogD) time using FFT (provided D is a power of 2) Difficult to use if one wants to deal with sequences of different length Not really amenable to deal with “signals with spots” (time-varying energy)
An alternative to DFT is to use wavelets, which takes a different perspective:
- A signal can be represented as a sum of contributions, each at a different
resolution level
- Discrete Wavelet Transform (DWT) can be computed in O(D) time
Also used in the JPEG2000 standard for compressing images
Experimental results however show that the superiority of DWT w.r.t. DFT is
dependent on the specific dataset
200 400 600
Good for wavelets bad for Fourier Good for Fourier bad for wavelets
200 400 600
- "/
- As with DFT, the time series is decomposed into
a linear combinations of base elements
- The Haar DWT, applied to a series of length
D = 2n , pairs samples, stores their difference and passes their average to the next stage
- This process is repeated recursively, which leads
to 2n − 1 difference values and one final average (which is 0 for normalized series) s = (3,2,4,6,5,6,2,2) Differences Averages (1,-2,-1,0) (2.5,5,5.5,2) (-3.5,3.5) (3.75,3.75) (0) (3. 75)
Haar 0 Haar 1 Haar 2 Haar 3 Haar 4 Haar 5 Haar 6 Haar 7
20 40 60 80 100 120 140 X X'
DWT