Title: Continuous Wavelet Transform
1Institute for Advanced Studies in Basic Sciences
Zanjan
Continuous Wavelet Transformation
Mahdi Vasighi
2Table of content
- Introduction
- Fourier Transformation
- Short-Time Fourier Transformation
- Continuous Wavelet Transformation
- Applications of CWT
3Introduction
Most of the signals in practice, are TIME-DOMAIN
signals in their raw format. It means that
measured signal is a function of time.
Why do we need the frequency information?
In many cases, the most distinguished information
is hidden in the frequency content of the signal.
4Stationary signal
- Frequency content of stationary signals do not
change in time. - All frequency components exist at all times
5Transformation
- Fourier Transformation (FT) is probably the most
popular transform being used (especially in
electrical engineering and signal processing),
There are many other transforms that are used
quite often by engineers and mathematicians - Hilbert transform
- Short-Time Fourier transform (STFT)
- Radon Transform,
- Wavelet transform, (WT)
- Every transformation technique has its own area
of - application, with advantages and disadvantages.
6Fourier Transformation
In 19th century, the French mathematician J.
Fourier, showed that any periodic function can be
expressed as an infinite sum of periodic complex
exponential functions.
7Raw Signal (time domain)
x(t)
cos(2?ft)
81 Hz
? x(t).cos(2?ft) -8.8e-15
92 Hz
? x(t).cos(2?ft) -5.7e-15
103 Hz
? x(t).cos(2?ft) -4.6e-14
114 Hz
? x(t).cos(2?ft) -2.2e-14
124.8 Hz
? x(t).cos(2?ft) 74.5
135 Hz
? x(t).cos(2?ft) 100
145.2 Hz
? x(t).cos(2?ft) 77.5
156 Hz
? x(t).cos(2?ft) 1.0e-14
1620, 80, 120 Hz
FT
17Non-Stationary signal
- Frequency content of stationary signals change in
time.
20 Hz
80 Hz
120 Hz
18 FT
19So, how come the spectrums of two entirely
different signals look very much alike? Recall
that the FT gives the spectral content of the
signal, but it gives no information regarding
where in time those spectral components appear.
20Almost all biological signals are non-stationary.
Some of the most famous ones are ECG (electrical
activity of the heart , electrocardiograph), EEG
(electrical activity of the brain,
electroencephalogram), and EMG (electrical
activity of the muscles, electromyogram).
21Short-Time Fourier Transformation
Can we assume that , some portion of a
non-stationary signal is stationary?
?
The answer is yes.
In STFT, the signal is divided into small
enough segments, where these segments (portions)
of the signal can be assumed to be stationary.
For this purpose, a window function "w" is chosen.
22FT
X
23FT
X
24FT
X
25FT
X
26FT
X
27FT
X
28FT
X
29FT
X
30FT
X
31FT
X
32FT
X
33time-frequency representation (TFR)
Window width 0.05 Time step 100 milisec
Amplitude
Time step
Frequency
34FT
STFT
35Narrow windows give good time resolution, but
poor frequency resolution.
36Wide windows give good frequency resolution, but
poor time resolution
37?
What kind of a window to use
The answer, of course, is application
dependent If the frequency components are well
separated from each other in the original signal,
than we may sacrifice some frequency resolution
and go for good time resolution, since the
spectral components are already well separated
from each other.
The Wavelet transform (WT) solves the dilemma of
resolution to a certain extent, as we will see.
38Multi Resolution Analysis
MRA, as implied by its name, analyzes the signal
at different frequencies with different
resolutions. Every spectral component is not
resolved equally as was the case in the STFT.
MRA is designed to give good time resolution and
poor frequency resolution at high frequencies and
good frequency resolution and poor time
resolution at low frequencies.
This approach makes sense especially when the
signal at hand has high frequency components for
short durations and low frequency components for
long durations.
39Continuous Wavelet Transformation
The continuous wavelet transform was developed
as an alternative approach to the short time
Fourier transform to overcome the resolution
problem. The wavelet analysis is done in a
similar way to the STFT analysis, in the sense
that the signal is multiplied with a function,
wavelet, similar to the window function in the
STFT, and the transform is computed separately
for different segments of the time domain signal.
wavelet
40Mexican hat
Morlet
41t 0 Scale 1
X
?(s,t)
x(t)
Inner product
42t 50 Scale 1
X
?(s,t)
x(t)
Inner product
43t 100 Scale 1
X
?(s,t)
x(t)
Inner product
44t 150 Scale 1
X
?(s,t)
x(t)
Inner product
45t 200 Scale 1
X
?(s,t)
x(t)
Inner product
46t 200 Scale 1
0
X
?(s,t)
x(t)
Inner product
47t 0 Scale 10
X
?(s,t)
x(t)
Inner product
48t 50 Scale 10
X
?(s,t)
x(t)
Inner product
49t 100 Scale 10
X
?(s,t)
x(t)
Inner product
50t 150 Scale 10
X
?(s,t)
x(t)
Inner product
51t 200 Scale 10
X
?(s,t)
x(t)
Inner product
52 Scale 10
0
X
?(s,t)
x(t)
Inner product
53 Scale 20
X
?(s,t)
x(t)
Inner product
54 Scale 30
X
?(s,t)
x(t)
Inner product
55 Scale 40
X
?(s,t)
x(t)
Inner product
56 Scale 50
X
?(s,t)
x(t)
Inner product
57As seen in the above equation , the transformed
signal is a function of two variables, ? and s ,
the translation and scale parameters,
respectively. ?(t) is the transforming function,
and it is called the mother wavelet.
If the signal has a spectral component that
corresponds to the value of s, the product of the
wavelet with the signal at the location where
this spectral component exists gives a relatively
large value.
58Magnitude
20 Hz
50 Hz
120 Hz
Translation increment50 milisecond Scale
inc.0.5
5910 Hz
20 Hz
60 Hz
120 Hz
60CWT Applications
- Identifying time-scale (time-frequency) scheme
- Frequency filtering (Noise filtering)
Wavelet Synthesis Reconstructing signal using
selected range of scales
61CWT result for non-stationary signal (10 20 Hz )
62CWT Applications
- Solving peak overlapping problem in different
analytical techniques (simultaneous determination)
63(No Transcript)
64S20
65S50
66S100
67S150
68S200
69S250
70(No Transcript)
71Unknown mixture spectrum
Calibration model
72(No Transcript)
73The combination of both continuous wavelet and
chemometrics techniques
Canadian Journal of Analytical Sciences and
Spectroscopy 49 (2004) 218
Spectrophotometric Multicomponent Determination
of Tetramethrin, Propoxur and Piperonyl Butoxide
in Insecticide Formulation by Principal Component
Regression and Partial Least Squares Techniques
with Continuous Wavelet Transform
A continuous wavelet transform (CWT) followed by
a principal component regression (PCR) and
partial least squares (PLS) were applied for the
quantitative determination of tetramethrin (TRM),
propoxur (PPS) and piperonil butoxide (PPR) in
their formulations. A CWT was applied to the
absorbance data. The resulting CWT-coefficients
(xblock) and concentration set (y-block) were
used for the construction of CWT-PCR and CWT-PLS
calibrations. The combination of both continuous
wavelet and chemometrics techniques indicates
good results for the determination of insecticide
in synthetic mixtures and commercial formulation.
74References
Mathworks, Inc. Wavelet Toolbox Help Robi
Polikar, The Wavelet Tutorial Multiresolution
Wavelet Analysis of Event Related Potentials for
the Detection of Alzheimer's Disease, Iowa State
University, 06/06/1995 Robi Polikar An
Introduction to Wavelets, IEEE Computational
Sciences and Engineering, Vol. 2, No 2, Summer
1995, pp 50-61. Continuous wavelet and
derivative transforms for the simultaneous
quantitative analysis and dissolution test of
levodopabenserazide tablets, Journal of
Pharmaceutical and Biomedical Analysis (2007) In
press. Determination of bismuth and copper using
adsorptive stripping voltammetry couple with
continuous wavelet transform, Talanta 71 (2007)
324332 Canadian Journal of Analytical Sciences
and Spectroscopy 49 (2004) 218
75Thanks for your attention