SlideShare a Scribd company logo
We value our relationship
We value our relationships.
7 January 2016
© 2014We value our relationship
7 January 2016
Chandrashekhar Padole
Title for Presentation
Journey from
Vector Algebra to Wavelet Transform
(Time-Frequency Analysis)
@Copyright
Presenter: Chandra7 January 2016 2
Objective
Topics to be covered (Various Transforms):
• Vector Algebra
•Discrete Fourier Transform
•KL transform
•PCA
•Wavelet Transform
•Wigner Distribution
@Copyright
Presenter: Chandra7 January 2016 3
Applications
•Pattern Recognition Problems
• Biometrics: Face, Fingerprint, IRIS etc
• Automotive: Lane , Vehicle, Pedestrian, Sleeping Pattern, Signal
etc
• Manufacturing: object, documents etc
• GIS, Healthcare, Military and so on
•Analysis-Synthesis (Graphic Equalizer, noise removal,
image restoration etc)
•Data-Mining (content based image retrieval, audio mining
based on emotions etc)
•Transmission and Compression of data
@Copyright
Presenter: Chandra7 January 2016 4
Agenda
• Vector Algebra
•QA
•Fourier Transform
•QA
•K-L Transform
•PCA
•QA
•Wavelet Transform
•QA
•Wigner Distribution
•QA
@Copyright
Presenter: Chandra7 January 2016 5
Take-off for Vector Algebra
@Copyright
Presenter: Chandra7 January 2016 6
Preliminaries in Vector Algebra
•Vector P=3 i + 4 j
•P quantity to be analyzed or represented as P
•Projection or mapping of P onto unit vectors i and j will be
3 and 4 resp.
•Measurement of projection is obtained by using
mathematical tool or operator.
•In this case, operator is dot
product (inner product)
@Copyright
Presenter: Chandra7 January 2016 7
Contd..
• e.g. P.i=[ 3i+4j] . [ i]=[3i+4j].[1i+0j]=3
•And P.j=[ 3i+4j] . [ j]=[3i+4j].[0i+1j]=4
•Significance of i and j-
•In 2D space problem
• i is the vector which represents horizontal property
(feature/dimension/axis),
• j is for vertical property
• k- depth property in 3D
@Copyright
Presenter: Chandra7 January 2016 8
Let’s Look at some Real-life Problems
Two Cupboards
@Copyright
Presenter: Chandra7 January 2016 9
Contd..
Chemist
@Copyright
Presenter: Chandra7 January 2016 10
Contd..
Carpenter
@Copyright
Presenter: Chandra7 January 2016 11
Rewind
• P=3i + 4j
•Px = P. i= 3
•Py= P . j= 4
•Operator we used for measurement of projection is dot
product or inner product
•[ 3 4 2][2 1 2]T = 3.2 + 4.1+ 2.2=6 +4+4= 14
•It is also a correlation (zero-shift) between two vectors
• P properties component value/coefficient
•It’s a analysis process
@Copyright
Presenter: Chandra7 January 2016 12
Contd..
•To synthesize combine component values along with
property vectors to get original P
i.e. combine ( 3 and 4) as 3i+4j= P
•What we had till now , is 2D problem. Same terminology and
process can be extended for 3 D space problem….
@Copyright
Presenter: Chandra7 January 2016 13
3D Space Problem
• P= ai+bj+ck
• analysis : find { a,b,c}
• synthesis : combine a,b,c
•In 2D space problem – 2 analysis vectors
•In 3D space problem – 3 analysis vectors
@Copyright
Presenter: Chandra7 January 2016 14
Investigation in A-S Problem
• Can there be more than 3 analysis vectors ..?
if so , give examples..
•Can each analysis vector be multi valued ( as opposed to
double/triple valued vector in 2D /3D analysis) ?
•If both answers are positive, can vector algebra analysis
theory be extended to those problems?
@Copyright
Presenter: Chandra7 January 2016 15
Stop for Queries
@Copyright
Presenter: Chandra7 January 2016 16
Replacing VA by DFT
•Use of DFT – frequency analysis
•Why it is needed?
• to measure/analyze the variation of physical quantity
(such as pressure, intensity, voltage , current etc) with
respect to one or more independent variables
•Representation of physical quantity with respect to
independent variables is called as function or signal
•Variation need not to be periodic and mostly it is aperiodic
in real life problems
• For aperiodic DFT will analyze variations in signal
@Copyright
Presenter: Chandra7 January 2016 17
Take-off for Vector Algebra
@Copyright
Presenter: Chandra7 January 2016 18
Fourier Idea
@Copyright
Presenter: Chandra7 January 2016 19
Frequency Analysis
• Definition of DFT
• Computations steps in DFT
• Its physical significance
•Definition of DFT
for N-point DFT
∑
−
=
−
=
1
0
2
)()(
N
n
N
nkj
enxkX
π
@Copyright
Presenter: Chandra7 January 2016 20
Computations in DFT
• Signal to be analyzed is 64 points in length
x(n)
analog discrete
0 10 20 30 40 50 60 70
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0.5
0 10 20 30 40 50 60 70
-0 .5
-0 .4
-0 .3
-0 .2
-0 .1
0
0 .1
0 .2
0 .3
0 .4
0 .5
@Copyright
Presenter: Chandra7 January 2016 21
K=0
)/2sin()/2cos(
2
NnkjNnke N
nk
j
ππ
π
+=
−
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
0
0.5
1
COSINE SEQUENCE
Amplitude
n
@Copyright
Presenter: Chandra7 January 2016 22
K=1
)/2sin()/2cos(
2
NnkjNnke N
nk
j
ππ
π
+=
−
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCEAmplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
@Copyright
Presenter: Chandra7 January 2016 23
K=2
)/2sin()/2cos(
2
NnkjNnke N
nk
j
ππ
π
+=
−
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
@Copyright
Presenter: Chandra7 January 2016 24
K=3
)/2sin()/2cos(
2
NnkjNnke N
nk
j
ππ
π
+=
−
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCEAmplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
@Copyright
Presenter: Chandra7 January 2016 25
K=31
)/2sin()/2cos(
2
NnkjNnke N
nk
j
ππ
π
+=
−
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
@Copyright
Presenter: Chandra7 January 2016 26
DFT- Overall Physical Significance
0 10 20 30 40 50 60 70
-0. 5
-0. 4
-0. 3
-0. 2
-0. 1
0
0. 1
0. 2
0. 3
0. 4
0. 5
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
0
0.5
1
COSINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
a1+jb1
a5+jb5
Dot
Product
a2+jb2
a3+jb3
a4+jb4
X(1)
X(31)
X(2)
X(3)
X(4)
∑
−
=
−
=
1
0
2
)()(
N
n
N
nkj
enxkX
π
@Copyright
Presenter: Chandra7 January 2016 27
DFT- Phase Information
clear all;
close all;
N=64;
t=0:N-1;
f=1;
ws=sin(2*pi*f*t/N);
figure,
subplot(2,1,1)
stem(ws);
wc=cos(2*pi*f*t/N);
subplot(2,1,2)
stem(wc);
%ps=sin(2*pi*f*t/N);
%ps=sin(2*pi*f*t/N + (pi/8));
%ps=sin(2*pi*f*t/N + (pi/4));
ps=sin(2*pi*f*t/N + (3*pi/8));
%ps=sin(2*pi*f*t/N + (pi/2));
figure,
stem(ps);
a=sum(ps.*ws);
b=sum(ps.*wc);
ph_ang=atan(b/a);
@Copyright
Presenter: Chandra7 January 2016 28
Contd..
0 10 20 30 40 50 60 70
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
SINE SEQUENCE
Amplitude
n
0 10 20 30 40 50 60 70
-1
-0.5
0
0.5
1
COSINE SEQUENCE
Amplitude
n
Dot
Product
a=32
b= 0
ph_ang=0
a=0
b= 32
ph_ang=pi/2
a= 22.67
b= 22.67
ph_ang=pi/4
0 10 20 30 40 50 60 70
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0 10 20 30 40 50 60 70
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
ph=0
ph=3*pi/8
ph=pi/2
0 10 20 30 40 50 60 70
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
ph=pi/8
a= 29.56
b= 12.24
ph_ang=pi/8
0 10 20 30 40 50 60 70
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
ph=pi/4
a= 12.24
b= 29.56
ph_ang=pi/4
@Copyright
Presenter: Chandra7 January 2016 29
Relation bet VA and DFT
Vector algebra -2/3D space DFT
No of analysis vectors 2/3 N
No of elements in each
vector
2/3 N
Projection measurement
method
Inner Product Inner Product
@Copyright
Presenter: Chandra7 January 2016 30
Fourier Idea
Jean Baptiste Joseph
Fourier (1768 - 1830).
Fourier was a French
mathematician, who was
taught by Lagrange and
Laplace
@Copyright
Presenter: Chandra7 January 2016 31
Application –Example
Music Equalizer
Audio file recorded
with studio setting
N-point FFT
N-point
User setting
Modified FFT
IFFT
@Copyright
Presenter: Chandra7 January 2016 32
Stop for Queries and Discussion
@Copyright
Presenter: Chandra7 January 2016 33
New terminology:
•quantity to be analyzed: signal /function
•Analysis vectors : basis vectors
• Thus, collection of basis vectors forms basis set
•Properties of basis set
• Completeness
• Orthogonal
• orthonormal
@Copyright
Presenter: Chandra7 January 2016 34
Completeness
• e.g. we have a function P=3i+4j+2k
• while analyzing we used only two basis vectors , i and k;
• using projection over these two vectors will not give
proper reconstruction
• But having so , we can achieve dimensionality reduction
which useful in data compression
•Dimensionality extension is possible?
XOR Problem
@Copyright
Presenter: Chandra7 January 2016 35
Orthogonal
•Information carried by one basis function should not be included in any
other basis function from basis set
that’s a orthogonality
•Mathematically, if i.j=0, then I and j are orthogonal .
• In Fourier transform , and are orthogonal if
•In Fourier transform within basis function , two sub basis
function ,sin and cosine, are also orthogonal and used for
determining the phase of that frequency
N
nk
j
e
π2
N
mk
j
e
π2
nm ≠
∑
∞
−∞=
=
n
wmwn 0sinsin ∑
∞
−∞=
=
n
wnwn 0cossin
@Copyright
Presenter: Chandra7 January 2016 36
2D Fourier Transform
2D FT basis images for 8x8
@Copyright
Presenter: Chandra7 January 2016 37
Thank you
Queries?
@Copyright
Presenter: Chandra7 January 2016 38
Objective
Topics to be covered (Various Transforms):
• Vector Algebra( part I)
•Discrete Fourier Transform( part I)
•KL transform (part II)
•PCA ( part II)
•Wavelet Transform( part II)
•Wigner Distribution
@Copyright
Presenter: Chandra7 January 2016 39
Take-off for KL-Transform
@Copyright
Presenter: Chandra7 January 2016 40
Agenda
• Vector Algebra
•QA
•Fourier Transform
•QA
•K-L Transform
•PCA
•QA
•Wavelet Transform
•QA
•Wigner Distribution
•QA
@Copyright
Presenter: Chandra7 January 2016 41
KL Transform
• Basis vectors adopt to the data
•Powerful tool when reducing the dimensionality
•de-correlates the data => less redundancy
•Key idea: Represent the data in a more compact manner
•Used for PCA (to be discussed later)
•Thus , it provides the good and compact representation in
transformed domain
•Basis functions are derived from data itself
@Copyright
Presenter: Chandra7 January 2016 42
Contd..
Procedure to obtain KL transform basis functions
•Collect data
• subtract mean from the data (optional)
•Organize the data in matrix
• If sources are M and elements/dimensions in each
source data are N
• Then place a data in NxM matrix
•Calculate covariance of the matrix to get NxN matrix
•Calculate eigen vectors and eigen values
• N eigen vector and each vector will have N elements
• N eigen values corresponding to each eigen vector
@Copyright
Presenter: Chandra7 January 2016 43
PCA –Example
@Copyright
Presenter: Chandra7 January 2016 44
Contd..
@Copyright
Presenter: Chandra7 January 2016 45
Contd..
calculating covariance
Calculating eigen vectors and values
@Copyright
Presenter: Chandra7 January 2016 46
Contd..
@Copyright
Presenter: Chandra7 January 2016 47
Contd..
Reconstruction/restoration
@Copyright
Presenter: Chandra7 January 2016 48
Contd..
Matlab function used in PCA
• cov
• eig
@Copyright
Presenter: Chandra7 January 2016 49
Stop for Queries and Application
@Copyright
Presenter: Chandra
1st Person
7 January 2016 50
PCA- Face Recognition
1 2 7
MxNAveraging
2D-> 1D
Matrix
MNx40
2nd Person
1 2 7
40th Person
1 2 3
MNxMN
Cov Eig
MNxMN
MN
X
1
KL Transform
(Eigen Vectors)
Eigen Values
PCA1D-2D
@Copyright
Presenter: Chandra7 January 2016 51
WAVELET TRANSFORM
@Copyright
Presenter: Chandra7 January 2016 52
Need of WT
• Gives good resolution in time as well as frequency domain.
•It also gives locations of different frequency spectral
components during that particular instant of time.
•This is the main advantage of wavelet Transform over FT &
STFT.
•WT is used to mainly analyze non stationary signals, i.e.,
whose frequency response varies in time.
@Copyright
Presenter: Chandra7 January 2016 53
Take-off for Wavelet Transform
@Copyright
Presenter: Chandra7 January 2016 54
What is wavelet ?
• The term wavelet means a small wave , i.e. a window
function of finite length.
• It a oscillatory in which high frequency components exist
only for a short duration of time and low frequency exist
throughout the signal.
• The main feature of wavelet is that it can be of finite or
infinite duration but most of the energy of wavelet is
confined to a particular interval of time thus making it time
limited window function.
@Copyright
Presenter: Chandra7 January 2016 55
Properties of Wavelet
For any function to be a wavelet function must satisfy
following properties:
1.The function integrates to zero:
∞
-∞∫Ψ(t) dt = 0.
2.It is square integrable or, equivalently has finite energy:
∞
-∞∫Ψ(t)2 dt < ∞.
3.The admissibility condition:
∞
C ≡ -∞∫ (Ψ(ω)2) / (ω) dω
Such that 0<C<∞.
@Copyright
Presenter: Chandra7 January 2016 56
Contd..
• Property 1 is suggestive of a function that is oscillatory or
that has a wavy appearance. Thus, in contrast to a sinusoidal
function, it is a “small wave” or a wavelet.
•Property 2 implies that most of the energy inΨ(t) is
confined to a finite duration.
•Property 3 is known as admissibility condition and is
sufficient condition that leads to the Inverse CWT but it is
not a necessary condition to obtain a mapping from the set
of CWTs back to L2R.
These properties are easily satisfied and there are an infinite
number of functions that qualify as mother wavelets.
@Copyright
Presenter: Chandra7 January 2016 57
Some Mother Wavelets
Mother wavelet: It’s a basic wavelet function at t=0 without
performing any scaling and shifting operation i.e.Ψ(t).
Morlet wavelet Haar
DB4
@Copyright
Presenter: Chandra7 January 2016 58
Definition of Wavelet Transform
∫
∞
∞
−
= dt
a
bt
a
tfbaW )(
1
)(),( ψ
Where,
x(t) = Input signal which is to be
transformed
Ψ(t) = Mother wavelet
b = Time shift parameter
a = Scaling parameter
1/sqrt(a)=normalizing factor which ensures
that energy of remains constant for all values of
a & b.
@Copyright
Presenter: Chandra7 January 2016 59
MRA
Signal to be analyzed
@Copyright
Presenter: Chandra7 January 2016 60
Contd..
@Copyright
Presenter: Chandra7 January 2016 61
Contd..
@Copyright
Presenter: Chandra7 January 2016 62
Contd..
@Copyright
Presenter: Chandra7 January 2016 63
Chirp function
@Copyright
Presenter: Chandra7 January 2016 64
Time-Frequency Resolution
@Copyright
Presenter: Chandra7 January 2016 65
DWT Calculation
Mallat Algorithm:
@Copyright
Presenter: Chandra7 January 2016 66
Stop for Calculation of WT
@Copyright
Presenter: Chandra7 January 2016 67
2D DWT
Music Equalizer
@Copyright
Presenter: Chandra7 January 2016 68
Matlab Code
[im1,n]=imread( ‘lena.jpg‘);
im=double(im1);
wname='haar';
[A_1,H_1,V_1,D_1] = DWT2(im,wname);
[A_2,H_2,V_2,D_2] = DWT2(A_1,wname);
[A_3,H_3,V_3,D_3] = DWT2(A_2,wname);
[A_4,H_4,V_4,D_4] = DWT2(A_3,wname);
@Copyright
Presenter: Chandra7 January 2016 69
Thank you
Queries?

More Related Content

Viewers also liked

Dct and adaptive filters
Dct and adaptive filtersDct and adaptive filters
Dct and adaptive filters
GIET,Bhubaneswar
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
Oka Danil
 
Brief Review of Fourier Analysis
Brief Review of Fourier AnalysisBrief Review of Fourier Analysis
Brief Review of Fourier Analysis
op205
 
3 f6 security
3 f6 security3 f6 security
3 f6 securityop205
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filters
op205
 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filters
op205
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filters
op205
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
op205
 
More on DFT
More on DFTMore on DFT
More on DFT
op205
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
op205
 
3F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part13F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part1
op205
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsChandrashekhar Padole
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
SARITHA REDDY
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
op205
 

Viewers also liked (15)

Dct and adaptive filters
Dct and adaptive filtersDct and adaptive filters
Dct and adaptive filters
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
 
Brief Review of Fourier Analysis
Brief Review of Fourier AnalysisBrief Review of Fourier Analysis
Brief Review of Fourier Analysis
 
3 f6 security
3 f6 security3 f6 security
3 f6 security
 
Basics of Analogue Filters
Basics of Analogue FiltersBasics of Analogue Filters
Basics of Analogue Filters
 
Implementation of Digital Filters
Implementation of Digital FiltersImplementation of Digital Filters
Implementation of Digital Filters
 
Design of IIR filters
Design of IIR filtersDesign of IIR filters
Design of IIR filters
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
More on DFT
More on DFTMore on DFT
More on DFT
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
3F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part13F3 – Digital Signal Processing (DSP) - Part1
3F3 – Digital Signal Processing (DSP) - Part1
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
 

Similar to Time frequency analysis_journey

Sparse fourier transform
Sparse fourier transformSparse fourier transform
Sparse fourier transform
Aarthi Raghavendra
 
Introduction to Principle Component Analysis
Introduction to Principle Component AnalysisIntroduction to Principle Component Analysis
Introduction to Principle Component Analysis
Sunjeet Jena
 
Lec07 aggregation-and-retrieval-system
Lec07 aggregation-and-retrieval-systemLec07 aggregation-and-retrieval-system
Lec07 aggregation-and-retrieval-system
United States Air Force Academy
 
Final_Talk_Tool_Team
Final_Talk_Tool_TeamFinal_Talk_Tool_Team
Final_Talk_Tool_TeamMehdi Lamee
 
Solar System Processing with LSST: A Status Update
Solar System Processing with LSST: A Status UpdateSolar System Processing with LSST: A Status Update
Solar System Processing with LSST: A Status Update
Mario Juric
 
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
University of Pavia
 
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
jfrchicanog
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at Spotify
Chris Johnson
 
Computational methods for nanoscale bio sensors
Computational methods for nanoscale bio sensorsComputational methods for nanoscale bio sensors
Computational methods for nanoscale bio sensors
University of Glasgow
 
Learning to Adapt to Sensor Changes and Failures
Learning to Adapt to Sensor Changes and FailuresLearning to Adapt to Sensor Changes and Failures
Learning to Adapt to Sensor Changes and Failures
Craig Knoblock
 
Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)
Vienna Data Science Group
 
Practical data analysis with wine
Practical data analysis with winePractical data analysis with wine
Practical data analysis with wine
TOSHI STATS Co.,Ltd.
 
Sequential Probability Ratio Test for Sparse Signals
Sequential Probability Ratio Test for Sparse SignalsSequential Probability Ratio Test for Sparse Signals
Sequential Probability Ratio Test for Sparse Signals
Mohamed Seif
 
Initial acquisition in digital communication systems by Fuyun Ling, v1.2
Initial acquisition in digital communication systems by Fuyun Ling, v1.2Initial acquisition in digital communication systems by Fuyun Ling, v1.2
Initial acquisition in digital communication systems by Fuyun Ling, v1.2
Fuyun Ling
 
A Multiple-Shooting Differential Dynamic Programming Algorithm
A Multiple-Shooting Differential Dynamic Programming AlgorithmA Multiple-Shooting Differential Dynamic Programming Algorithm
A Multiple-Shooting Differential Dynamic Programming Algorithm
Etienne Pellegrini
 
Collaborative Filtering with Spark
Collaborative Filtering with SparkCollaborative Filtering with Spark
Collaborative Filtering with Spark
Chris Johnson
 
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization ProblemsEfficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
jfrchicanog
 
An Slight Overview of the Critical Elements of Spatial Statistics
An Slight Overview of the Critical Elements of Spatial StatisticsAn Slight Overview of the Critical Elements of Spatial Statistics
An Slight Overview of the Critical Elements of Spatial StatisticsTony Fast
 
9553477.ppt
9553477.ppt9553477.ppt
9553477.ppt
Omer Tariq
 

Similar to Time frequency analysis_journey (20)

Sparse fourier transform
Sparse fourier transformSparse fourier transform
Sparse fourier transform
 
Introduction to Principle Component Analysis
Introduction to Principle Component AnalysisIntroduction to Principle Component Analysis
Introduction to Principle Component Analysis
 
PhD_presentation
PhD_presentationPhD_presentation
PhD_presentation
 
Lec07 aggregation-and-retrieval-system
Lec07 aggregation-and-retrieval-systemLec07 aggregation-and-retrieval-system
Lec07 aggregation-and-retrieval-system
 
Final_Talk_Tool_Team
Final_Talk_Tool_TeamFinal_Talk_Tool_Team
Final_Talk_Tool_Team
 
Solar System Processing with LSST: A Status Update
Solar System Processing with LSST: A Status UpdateSolar System Processing with LSST: A Status Update
Solar System Processing with LSST: A Status Update
 
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
Dengue Vector Population Forecasting Using Multisource Earth Observation Prod...
 
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
Efficient Identification of Improving Moves in a Ball for Pseudo-Boolean Prob...
 
Algorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at SpotifyAlgorithmic Music Recommendations at Spotify
Algorithmic Music Recommendations at Spotify
 
Computational methods for nanoscale bio sensors
Computational methods for nanoscale bio sensorsComputational methods for nanoscale bio sensors
Computational methods for nanoscale bio sensors
 
Learning to Adapt to Sensor Changes and Failures
Learning to Adapt to Sensor Changes and FailuresLearning to Adapt to Sensor Changes and Failures
Learning to Adapt to Sensor Changes and Failures
 
Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)Deeplearning ai june-sharable (1)
Deeplearning ai june-sharable (1)
 
Practical data analysis with wine
Practical data analysis with winePractical data analysis with wine
Practical data analysis with wine
 
Sequential Probability Ratio Test for Sparse Signals
Sequential Probability Ratio Test for Sparse SignalsSequential Probability Ratio Test for Sparse Signals
Sequential Probability Ratio Test for Sparse Signals
 
Initial acquisition in digital communication systems by Fuyun Ling, v1.2
Initial acquisition in digital communication systems by Fuyun Ling, v1.2Initial acquisition in digital communication systems by Fuyun Ling, v1.2
Initial acquisition in digital communication systems by Fuyun Ling, v1.2
 
A Multiple-Shooting Differential Dynamic Programming Algorithm
A Multiple-Shooting Differential Dynamic Programming AlgorithmA Multiple-Shooting Differential Dynamic Programming Algorithm
A Multiple-Shooting Differential Dynamic Programming Algorithm
 
Collaborative Filtering with Spark
Collaborative Filtering with SparkCollaborative Filtering with Spark
Collaborative Filtering with Spark
 
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization ProblemsEfficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
Efficient Hill Climber for Constrained Pseudo-Boolean Optimization Problems
 
An Slight Overview of the Critical Elements of Spatial Statistics
An Slight Overview of the Critical Elements of Spatial StatisticsAn Slight Overview of the Critical Elements of Spatial Statistics
An Slight Overview of the Critical Elements of Spatial Statistics
 
9553477.ppt
9553477.ppt9553477.ppt
9553477.ppt
 

Recently uploaded

一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
theahmadsaood
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
StarCompliance.io
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
ocavb
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
James Polillo
 

Recently uploaded (20)

一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
tapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive datatapal brand analysis PPT slide for comptetive data
tapal brand analysis PPT slide for comptetive data
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
 
一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单一比一原版(TWU毕业证)西三一大学毕业证成绩单
一比一原版(TWU毕业证)西三一大学毕业证成绩单
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 

Time frequency analysis_journey

  • 1. We value our relationship We value our relationships. 7 January 2016 © 2014We value our relationship 7 January 2016 Chandrashekhar Padole Title for Presentation Journey from Vector Algebra to Wavelet Transform (Time-Frequency Analysis)
  • 2. @Copyright Presenter: Chandra7 January 2016 2 Objective Topics to be covered (Various Transforms): • Vector Algebra •Discrete Fourier Transform •KL transform •PCA •Wavelet Transform •Wigner Distribution
  • 3. @Copyright Presenter: Chandra7 January 2016 3 Applications •Pattern Recognition Problems • Biometrics: Face, Fingerprint, IRIS etc • Automotive: Lane , Vehicle, Pedestrian, Sleeping Pattern, Signal etc • Manufacturing: object, documents etc • GIS, Healthcare, Military and so on •Analysis-Synthesis (Graphic Equalizer, noise removal, image restoration etc) •Data-Mining (content based image retrieval, audio mining based on emotions etc) •Transmission and Compression of data
  • 4. @Copyright Presenter: Chandra7 January 2016 4 Agenda • Vector Algebra •QA •Fourier Transform •QA •K-L Transform •PCA •QA •Wavelet Transform •QA •Wigner Distribution •QA
  • 5. @Copyright Presenter: Chandra7 January 2016 5 Take-off for Vector Algebra
  • 6. @Copyright Presenter: Chandra7 January 2016 6 Preliminaries in Vector Algebra •Vector P=3 i + 4 j •P quantity to be analyzed or represented as P •Projection or mapping of P onto unit vectors i and j will be 3 and 4 resp. •Measurement of projection is obtained by using mathematical tool or operator. •In this case, operator is dot product (inner product)
  • 7. @Copyright Presenter: Chandra7 January 2016 7 Contd.. • e.g. P.i=[ 3i+4j] . [ i]=[3i+4j].[1i+0j]=3 •And P.j=[ 3i+4j] . [ j]=[3i+4j].[0i+1j]=4 •Significance of i and j- •In 2D space problem • i is the vector which represents horizontal property (feature/dimension/axis), • j is for vertical property • k- depth property in 3D
  • 8. @Copyright Presenter: Chandra7 January 2016 8 Let’s Look at some Real-life Problems Two Cupboards
  • 9. @Copyright Presenter: Chandra7 January 2016 9 Contd.. Chemist
  • 10. @Copyright Presenter: Chandra7 January 2016 10 Contd.. Carpenter
  • 11. @Copyright Presenter: Chandra7 January 2016 11 Rewind • P=3i + 4j •Px = P. i= 3 •Py= P . j= 4 •Operator we used for measurement of projection is dot product or inner product •[ 3 4 2][2 1 2]T = 3.2 + 4.1+ 2.2=6 +4+4= 14 •It is also a correlation (zero-shift) between two vectors • P properties component value/coefficient •It’s a analysis process
  • 12. @Copyright Presenter: Chandra7 January 2016 12 Contd.. •To synthesize combine component values along with property vectors to get original P i.e. combine ( 3 and 4) as 3i+4j= P •What we had till now , is 2D problem. Same terminology and process can be extended for 3 D space problem….
  • 13. @Copyright Presenter: Chandra7 January 2016 13 3D Space Problem • P= ai+bj+ck • analysis : find { a,b,c} • synthesis : combine a,b,c •In 2D space problem – 2 analysis vectors •In 3D space problem – 3 analysis vectors
  • 14. @Copyright Presenter: Chandra7 January 2016 14 Investigation in A-S Problem • Can there be more than 3 analysis vectors ..? if so , give examples.. •Can each analysis vector be multi valued ( as opposed to double/triple valued vector in 2D /3D analysis) ? •If both answers are positive, can vector algebra analysis theory be extended to those problems?
  • 15. @Copyright Presenter: Chandra7 January 2016 15 Stop for Queries
  • 16. @Copyright Presenter: Chandra7 January 2016 16 Replacing VA by DFT •Use of DFT – frequency analysis •Why it is needed? • to measure/analyze the variation of physical quantity (such as pressure, intensity, voltage , current etc) with respect to one or more independent variables •Representation of physical quantity with respect to independent variables is called as function or signal •Variation need not to be periodic and mostly it is aperiodic in real life problems • For aperiodic DFT will analyze variations in signal
  • 17. @Copyright Presenter: Chandra7 January 2016 17 Take-off for Vector Algebra
  • 19. @Copyright Presenter: Chandra7 January 2016 19 Frequency Analysis • Definition of DFT • Computations steps in DFT • Its physical significance •Definition of DFT for N-point DFT ∑ − = − = 1 0 2 )()( N n N nkj enxkX π
  • 20. @Copyright Presenter: Chandra7 January 2016 20 Computations in DFT • Signal to be analyzed is 64 points in length x(n) analog discrete 0 10 20 30 40 50 60 70 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0 10 20 30 40 50 60 70 -0 .5 -0 .4 -0 .3 -0 .2 -0 .1 0 0 .1 0 .2 0 .3 0 .4 0 .5
  • 21. @Copyright Presenter: Chandra7 January 2016 21 K=0 )/2sin()/2cos( 2 NnkjNnke N nk j ππ π += − 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 0 0.5 1 COSINE SEQUENCE Amplitude n
  • 22. @Copyright Presenter: Chandra7 January 2016 22 K=1 )/2sin()/2cos( 2 NnkjNnke N nk j ππ π += − 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCEAmplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n
  • 23. @Copyright Presenter: Chandra7 January 2016 23 K=2 )/2sin()/2cos( 2 NnkjNnke N nk j ππ π += − 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n
  • 24. @Copyright Presenter: Chandra7 January 2016 24 K=3 )/2sin()/2cos( 2 NnkjNnke N nk j ππ π += − 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCEAmplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n
  • 25. @Copyright Presenter: Chandra7 January 2016 25 K=31 )/2sin()/2cos( 2 NnkjNnke N nk j ππ π += − 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n
  • 26. @Copyright Presenter: Chandra7 January 2016 26 DFT- Overall Physical Significance 0 10 20 30 40 50 60 70 -0. 5 -0. 4 -0. 3 -0. 2 -0. 1 0 0. 1 0. 2 0. 3 0. 4 0. 5 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 0 0.5 1 COSINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n a1+jb1 a5+jb5 Dot Product a2+jb2 a3+jb3 a4+jb4 X(1) X(31) X(2) X(3) X(4) ∑ − = − = 1 0 2 )()( N n N nkj enxkX π
  • 27. @Copyright Presenter: Chandra7 January 2016 27 DFT- Phase Information clear all; close all; N=64; t=0:N-1; f=1; ws=sin(2*pi*f*t/N); figure, subplot(2,1,1) stem(ws); wc=cos(2*pi*f*t/N); subplot(2,1,2) stem(wc); %ps=sin(2*pi*f*t/N); %ps=sin(2*pi*f*t/N + (pi/8)); %ps=sin(2*pi*f*t/N + (pi/4)); ps=sin(2*pi*f*t/N + (3*pi/8)); %ps=sin(2*pi*f*t/N + (pi/2)); figure, stem(ps); a=sum(ps.*ws); b=sum(ps.*wc); ph_ang=atan(b/a);
  • 28. @Copyright Presenter: Chandra7 January 2016 28 Contd.. 0 10 20 30 40 50 60 70 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 SINE SEQUENCE Amplitude n 0 10 20 30 40 50 60 70 -1 -0.5 0 0.5 1 COSINE SEQUENCE Amplitude n Dot Product a=32 b= 0 ph_ang=0 a=0 b= 32 ph_ang=pi/2 a= 22.67 b= 22.67 ph_ang=pi/4 0 10 20 30 40 50 60 70 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 0 10 20 30 40 50 60 70 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 ph=0 ph=3*pi/8 ph=pi/2 0 10 20 30 40 50 60 70 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 ph=pi/8 a= 29.56 b= 12.24 ph_ang=pi/8 0 10 20 30 40 50 60 70 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 ph=pi/4 a= 12.24 b= 29.56 ph_ang=pi/4
  • 29. @Copyright Presenter: Chandra7 January 2016 29 Relation bet VA and DFT Vector algebra -2/3D space DFT No of analysis vectors 2/3 N No of elements in each vector 2/3 N Projection measurement method Inner Product Inner Product
  • 30. @Copyright Presenter: Chandra7 January 2016 30 Fourier Idea Jean Baptiste Joseph Fourier (1768 - 1830). Fourier was a French mathematician, who was taught by Lagrange and Laplace
  • 31. @Copyright Presenter: Chandra7 January 2016 31 Application –Example Music Equalizer Audio file recorded with studio setting N-point FFT N-point User setting Modified FFT IFFT
  • 32. @Copyright Presenter: Chandra7 January 2016 32 Stop for Queries and Discussion
  • 33. @Copyright Presenter: Chandra7 January 2016 33 New terminology: •quantity to be analyzed: signal /function •Analysis vectors : basis vectors • Thus, collection of basis vectors forms basis set •Properties of basis set • Completeness • Orthogonal • orthonormal
  • 34. @Copyright Presenter: Chandra7 January 2016 34 Completeness • e.g. we have a function P=3i+4j+2k • while analyzing we used only two basis vectors , i and k; • using projection over these two vectors will not give proper reconstruction • But having so , we can achieve dimensionality reduction which useful in data compression •Dimensionality extension is possible? XOR Problem
  • 35. @Copyright Presenter: Chandra7 January 2016 35 Orthogonal •Information carried by one basis function should not be included in any other basis function from basis set that’s a orthogonality •Mathematically, if i.j=0, then I and j are orthogonal . • In Fourier transform , and are orthogonal if •In Fourier transform within basis function , two sub basis function ,sin and cosine, are also orthogonal and used for determining the phase of that frequency N nk j e π2 N mk j e π2 nm ≠ ∑ ∞ −∞= = n wmwn 0sinsin ∑ ∞ −∞= = n wnwn 0cossin
  • 36. @Copyright Presenter: Chandra7 January 2016 36 2D Fourier Transform 2D FT basis images for 8x8
  • 37. @Copyright Presenter: Chandra7 January 2016 37 Thank you Queries?
  • 38. @Copyright Presenter: Chandra7 January 2016 38 Objective Topics to be covered (Various Transforms): • Vector Algebra( part I) •Discrete Fourier Transform( part I) •KL transform (part II) •PCA ( part II) •Wavelet Transform( part II) •Wigner Distribution
  • 39. @Copyright Presenter: Chandra7 January 2016 39 Take-off for KL-Transform
  • 40. @Copyright Presenter: Chandra7 January 2016 40 Agenda • Vector Algebra •QA •Fourier Transform •QA •K-L Transform •PCA •QA •Wavelet Transform •QA •Wigner Distribution •QA
  • 41. @Copyright Presenter: Chandra7 January 2016 41 KL Transform • Basis vectors adopt to the data •Powerful tool when reducing the dimensionality •de-correlates the data => less redundancy •Key idea: Represent the data in a more compact manner •Used for PCA (to be discussed later) •Thus , it provides the good and compact representation in transformed domain •Basis functions are derived from data itself
  • 42. @Copyright Presenter: Chandra7 January 2016 42 Contd.. Procedure to obtain KL transform basis functions •Collect data • subtract mean from the data (optional) •Organize the data in matrix • If sources are M and elements/dimensions in each source data are N • Then place a data in NxM matrix •Calculate covariance of the matrix to get NxN matrix •Calculate eigen vectors and eigen values • N eigen vector and each vector will have N elements • N eigen values corresponding to each eigen vector
  • 43. @Copyright Presenter: Chandra7 January 2016 43 PCA –Example
  • 45. @Copyright Presenter: Chandra7 January 2016 45 Contd.. calculating covariance Calculating eigen vectors and values
  • 47. @Copyright Presenter: Chandra7 January 2016 47 Contd.. Reconstruction/restoration
  • 48. @Copyright Presenter: Chandra7 January 2016 48 Contd.. Matlab function used in PCA • cov • eig
  • 49. @Copyright Presenter: Chandra7 January 2016 49 Stop for Queries and Application
  • 50. @Copyright Presenter: Chandra 1st Person 7 January 2016 50 PCA- Face Recognition 1 2 7 MxNAveraging 2D-> 1D Matrix MNx40 2nd Person 1 2 7 40th Person 1 2 3 MNxMN Cov Eig MNxMN MN X 1 KL Transform (Eigen Vectors) Eigen Values PCA1D-2D
  • 51. @Copyright Presenter: Chandra7 January 2016 51 WAVELET TRANSFORM
  • 52. @Copyright Presenter: Chandra7 January 2016 52 Need of WT • Gives good resolution in time as well as frequency domain. •It also gives locations of different frequency spectral components during that particular instant of time. •This is the main advantage of wavelet Transform over FT & STFT. •WT is used to mainly analyze non stationary signals, i.e., whose frequency response varies in time.
  • 53. @Copyright Presenter: Chandra7 January 2016 53 Take-off for Wavelet Transform
  • 54. @Copyright Presenter: Chandra7 January 2016 54 What is wavelet ? • The term wavelet means a small wave , i.e. a window function of finite length. • It a oscillatory in which high frequency components exist only for a short duration of time and low frequency exist throughout the signal. • The main feature of wavelet is that it can be of finite or infinite duration but most of the energy of wavelet is confined to a particular interval of time thus making it time limited window function.
  • 55. @Copyright Presenter: Chandra7 January 2016 55 Properties of Wavelet For any function to be a wavelet function must satisfy following properties: 1.The function integrates to zero: ∞ -∞∫Ψ(t) dt = 0. 2.It is square integrable or, equivalently has finite energy: ∞ -∞∫Ψ(t)2 dt < ∞. 3.The admissibility condition: ∞ C ≡ -∞∫ (Ψ(ω)2) / (ω) dω Such that 0<C<∞.
  • 56. @Copyright Presenter: Chandra7 January 2016 56 Contd.. • Property 1 is suggestive of a function that is oscillatory or that has a wavy appearance. Thus, in contrast to a sinusoidal function, it is a “small wave” or a wavelet. •Property 2 implies that most of the energy inΨ(t) is confined to a finite duration. •Property 3 is known as admissibility condition and is sufficient condition that leads to the Inverse CWT but it is not a necessary condition to obtain a mapping from the set of CWTs back to L2R. These properties are easily satisfied and there are an infinite number of functions that qualify as mother wavelets.
  • 57. @Copyright Presenter: Chandra7 January 2016 57 Some Mother Wavelets Mother wavelet: It’s a basic wavelet function at t=0 without performing any scaling and shifting operation i.e.Ψ(t). Morlet wavelet Haar DB4
  • 58. @Copyright Presenter: Chandra7 January 2016 58 Definition of Wavelet Transform ∫ ∞ ∞ − = dt a bt a tfbaW )( 1 )(),( ψ Where, x(t) = Input signal which is to be transformed Ψ(t) = Mother wavelet b = Time shift parameter a = Scaling parameter 1/sqrt(a)=normalizing factor which ensures that energy of remains constant for all values of a & b.
  • 59. @Copyright Presenter: Chandra7 January 2016 59 MRA Signal to be analyzed
  • 63. @Copyright Presenter: Chandra7 January 2016 63 Chirp function
  • 64. @Copyright Presenter: Chandra7 January 2016 64 Time-Frequency Resolution
  • 65. @Copyright Presenter: Chandra7 January 2016 65 DWT Calculation Mallat Algorithm:
  • 66. @Copyright Presenter: Chandra7 January 2016 66 Stop for Calculation of WT
  • 67. @Copyright Presenter: Chandra7 January 2016 67 2D DWT Music Equalizer
  • 68. @Copyright Presenter: Chandra7 January 2016 68 Matlab Code [im1,n]=imread( ‘lena.jpg‘); im=double(im1); wname='haar'; [A_1,H_1,V_1,D_1] = DWT2(im,wname); [A_2,H_2,V_2,D_2] = DWT2(A_1,wname); [A_3,H_3,V_3,D_3] = DWT2(A_2,wname); [A_4,H_4,V_4,D_4] = DWT2(A_3,wname);
  • 69. @Copyright Presenter: Chandra7 January 2016 69 Thank you Queries?