WAVELET TUTORIALS.

Slides:



Advertisements
Similar presentations
Wavelet Transform A Presentation
Advertisements

Islamic university of Gaza Faculty of engineering Electrical engineering dept. Submitted to: Dr.Hatem Alaidy Submitted by: Ola Hajjaj Tahleel.
University of Ioannina - Department of Computer Science Wavelets and Multiresolution Processing (Background) Christophoros Nikou Digital.
Transform Techniques Mark Stamp Transform Techniques.
Applications in Signal and Image Processing
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Filter implementation of the Haar wavelet Multiresolution approximation in general Filter implementation of DWT Applications - Compression The Story of.
Digital Signal Processing
Time and Frequency Representations Accompanying presentation Kenan Gençol presented in the course Signal Transformations instructed by Prof.Dr. Ömer Nezih.
Lecture05 Transform Coding.
Time-Frequency and Time-Scale Analysis of Doppler Ultrasound Signals
Short Time Fourier Transform (STFT)
Lecture 19 The Wavelet Transform. Some signals obviously have spectral characteristics that vary with time Motivation.
Wavelet Transform A very brief look.
Wavelet Transform. What Are Wavelets? In general, a family of representations using: hierarchical (nested) basis functions finite (“compact”) support.
Multi-Resolution Analysis (MRA)
Introduction to Wavelets
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 project
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
Fourier Transforms Revisited
SAMPLING & ALIASING. OVERVIEW Periodic sampling, the process of representing a continuous signal with a sequence of discrete data values, pervades the.
Random Processes and LSI Systems What happedns when a random signal is processed by an LSI system? This is illustrated below, where x(n) and y(n) are random.
Chapter 4: Sampling of Continuous-Time Signals
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
1 Chapter 8 The Discrete Fourier Transform 2 Introduction  In Chapters 2 and 3 we discussed the representation of sequences and LTI systems in terms.
Lecture 1 Signals in the Time and Frequency Domains
Wavelets: theory and applications
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
The Story of Wavelets.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
The Wavelet Tutorial Dr. Charturong Tantibundhit.
Lecture 13 Wavelet transformation II. Fourier Transform (FT) Forward FT: Inverse FT: Examples: Slide from Alexander Kolesnikov ’s lecture notes.
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
Fundamentals of Electric Circuits Chapter 18 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Wavelet transform Wavelet transform is a relatively new concept (about 10 more years old) First of all, why do we need a transform, or what is a transform.
ECE472/572 - Lecture 13 Wavelets and Multiresolution Processing 11/15/11 Reference: Wavelet Tutorial
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Chapter 2 Signals and Spectra (All sections, except Section 8, are covered.)
1 Using Wavelets for Recognition of Cognitive Pattern Primitives Dasu Aravind Feature Group PRISM/ASU 3DK – 3DK – September 21, 2000.
“Digital stand for training undergraduate and graduate students for processing of statistical time-series, based on fractal analysis and wavelet analysis.
Wavelets and Multiresolution Processing (Wavelet Transforms)
CCN COMPLEX COMPUTING NETWORKS1 This research has been supported in part by European Commission FP6 IYTE-Wireless Project (Contract No: )
1 Wavelet Transform. 2 Definition of The Continuous Wavelet Transform CWT The continuous-time wavelet transform (CWT) of f(x) with respect to a wavelet.
Time frequency localization M-bank filters are used to partition a signal into different frequency channels, with which energy compact regions in the frequency.
1 Chapter 02 Continuous Wavelet Transform CWT. 2 Definition of the CWT The continuous-time wavelet transform (CWT) of f(t) with respect to a wavelet 
The Wavelet Tutorial: Part2 Dr. Charturong Tantibundhit.
Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note.
1 CMPB 345: IMAGE PROCESSING DISCRETE TRANSFORM 2.
Chapter2 : SIGNALS 1st semester King Saud University
Lecture 3: The Sampling Process and Aliasing 1. Introduction A digital or sampled-data control system operates on discrete- time rather than continuous-time.
The Story of Wavelets Theory and Engineering Applications
By Dr. Rajeev Srivastava CSE, IIT(BHU)
Wavelets Introduction.
Oh-Jin Kwon, EE dept., Sejong Univ., Seoul, Korea: 2.3 Fourier Transform: From Fourier Series to Fourier Transforms.
Short Time Fourier Transform (STFT) CS474/674 – Prof. Bebis.
Wavelet Transform Advanced Digital Signal Processing Lecture 12
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Chapter 4 Dynamical Behavior of Processes Homework 6 Construct an s-Function model of the interacting tank-in-series system and compare its simulation.
Multiresolution Analysis (Chapter 7)
Spectral Analysis Spectral analysis is concerned with the determination of the energy or power spectrum of a continuous-time signal It is assumed that.
SAMPLING & ALIASING.
Sampling rate conversion by a rational factor
CS Digital Image Processing Lecture 9. Wavelet Transform
Multi-resolution analysis
UNIT II Analysis of Continuous Time signal
Advanced Digital Signal Processing
Wavelet transform Wavelet transform is a relatively new concept (about 10 more years old) First of all, why do we need a transform, or what is a transform.
Fundamentals of Electric Circuits Chapter 18
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Presentation transcript:

WAVELET TUTORIALS

FOURIER TRANSFORM (FT) Frequency-Amplitude representation of a signal FT gives the frequency information of the signal, which means that it tells us how much of each frequency exists in the signal, but it does not tell us when in time these frequency components exist.

x(t)=cos(2*pi*10*t)+cos(2*pi*25*t)+cos(2*pi*50*t)+cos(2*pi*100*t) Example of Stationary Signal: x(t)=cos(2*pi*10*t)+cos(2*pi*25*t)+cos(2*pi*50*t)+cos(2*pi*100*t) Is a stationary signal, because it has frequencies of 10, 25, 50, and 100 Hz at any given time instant. Information regarding the time instant of occurance of a frequency is not required FT of the signal shows spectrum with amplitudes to corresponding frequency

Example of Non Stationary Signal: A signal whose frequency constantly changes in time Signal with four different frequency components at four different time intervals, hence a non-stationary signal. The interval 0 to 300 ms = 100 Hz 300 to 600 ms = 50 Hz 600 to 800 ms = 25Hz 800 to 1000 ms = 10 Hz sinusoid. The FT has four peaks, corresponding to four frequencies with amplitudes.

Limitations of Fourier Transform: FT is not a suitable technique for non-stationary signal, except if for non-stationary signals, we are only interested in what spectral components exist in the signal, but not interested where these occur. Inference: When the time localization of the spectral components are needed, a transform giving the TIME-FREQUENCY REPRESENTATION of the signal is needed.

THE SHORT TERM FOURIER TRANSFORM (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. The width of this window must be equal to the segment of the signal where its stationarity is valid. STFT of the signal is nothing but the FT of the signal multiplied by a window function. For every t' and f a new STFT coefficient is computed

Example: STFT For the same non stationary signal Computation of STFT: Gaussian function are the windowing functions located at t=t1', t=t2' and t=t3'. These will correspond to three different FT’s at three different times. A true time-frequency representation (TFR) of the signal is obtained Example: STFT For the same non stationary signal

INFERENCE FROM STFT: Consider the STFT, the "x" and "y" axes are time and frequency, respectively Graph is symmetric with respect to midline of the frequency axis. FT of a real signal is always symmetric, since STFT is nothing but a windowed version of the FT the STFT is also symmetric in frequency. There are four peaks corresponding to four different frequency components. Unlike FT, these four peaks are located at different time intervals along the time axis. Remember that the original signal had four spectral components located at different times.

THE UNCERTAINTY PRINCIPLE PROBLEM WITH STFT : States that, we cannot exactly know what frequency exists at what time instance, but we can only know what frequency bands exist at what time Only time intervals in which, certain band of frequencies exists is known pose a resolution problem influenced by window function FT has no resolution problem in the frequency domain, since exp{jwt} function, lasts at all times from - to + (infinite length ) STFT resolution is dependent on window which is of finite length

CASE STUDY FOR STFT: Case I: Consider three windows of different length, and compute the STFT. Window function is a Gaussian function in the form: w(t)=exp(-a*(t^2)/2); where ‘a’ determines the length of the window, and t is the time. Case I: A most narrow window. STFT having a very good time resolution, but relatively poor frequency resolution. The four peaks are well separated from each other in time. In frequency domain, every peak covers a range of frequencies

CASE STUDY FOR STFT: Case II: Case III: A wider window Peaks are not well separated from each other in time Frequency domain the resolution is much better. Case III: Much wide window Time resolution is totally lost

Conclusion from Case Study of STFT: Narrow windows give good time resolution, but poor frequency resolution. Wide windows give good frequency resolution, but poor time resolution Wide windows may violate the condition of stationarity. Choice of window function is application dependent. Wavelet transform (WT) solves the dilemma of resolution to a certain extent

MULTIRESOLUTION ANALYSIS (MRA) An alternative approach to analyze any signal regardless of Heisenberg uncertainty principle of the transform used. Analyzes the signal at different frequencies with different resolutions. Every spectral component is not resolved equally as was the case in the STFT Designed to give good time resolution and poor frequency resolution at high frequencies (narrow window length) and good frequency resolution and poor time resolution at low frequencies (wide window length) Signals in practical applications have high frequency components for short durations and low frequency components for long durations

THE CONTINUOUS WAVELET TRANSFORM (CWT): An alternative approach to overcome the resolution problem in STFT. Wavelet means a small wave. The smallness refers to the condition that the window function is of finite length (compactly supported). The wave refers to the condition that this function is oscillatory. Wavelet analysis is done in a similar way to the STFT in the sense that the signal is multiplied with a function similar to the window function in the STFT Differences between the STFT and the CWT.  The Fourier transforms of the windowed signals are not taken, and therefore single peak will be seen corresponding to a sinusoid, i.e., negative frequencies are not computed. The width of the window is changed as the transform is computed for every single spectral component, which is probably the most significant characteristic of the wavelet transform.

THE CONTINUOUS WAVELET TRANSFORM (CWT): The continuous wavelet transform is defined as follows the transformed signal is a function of two variables, = Translation s = Scale (t) = Transforming function called the mother wavelet Mother is a prototype for generating the other window functions which implies that the functions with different region of support that are used in the transformation process are derived from one main function. Translation (same sense as in STFT) is related to the location of the window, as the window is shifted through the signal. This term, obviously, corresponds to time information in the transform domain.   Scale is defined as (1/frequency). 1/s multiplication term is for energy normalization purposes so that the transformed signal will have the same energy at every scale. 

The Scale (s): Scaling, is a mathematical operation, either dilates or compresses a signal High scales (low frequencies ) correspond to global information of a signal (that usually spans the entire signal) i.e., dilated signals, whereas low scales (high frequencies ) correspond to detailed information of a hidden pattern in the signal (that usually lasts a relatively short time) i.e., compressed signals. compressed version of f(t) if s > 1 and an expanded (dilated) version of f(t) if s < 1 Wavelet Transform scaling term is used in the denominator, and hence opposite of the above statements holds, i.e., scales s > 1 dilates the signals whereas scales s < 1 , compresses the signal

COMPUTATION OF THE CWT x(t) is the signal to be analyzed. Mother wavelet is chosen the computation starts with s=1 and CWT is computed for all values of s, smaller and larger than 1. Practical purposes, the signals are bandlimited, and therefore, computation of the transform for a limited interval of scales is usually adequate. The analysis starts from high frequencies and proceed towards low frequencies. The first value of s will correspond to the most compressed wavelet. As the value of s is increased, the wavelet will dilate. Wavelet is placed in signal at t=0. The wavelet function at s=1 is obtained from the equation.

COMPUTATION OF THE CWT The final result is CWT at t=0, s=1. or  =0, s=1 in the time-scale plane. The wavelet at scale s=1 is then shifted towards the right by  amount to the location t=, and the above equation is computed to get the transform value at t=, s=1 in the time-frequency plane. This procedure is repeated until the wavelet reaches the end of the signal. One row of points on the time-scale plane for the scale s=1 is now completed. s is increased by a small value and process repeats.

Example: CWT For the same non stationary signal For signal composed of four frequency components at 30 Hz (highest), 20 Hz, 10 Hz and 5 Hz (lowest). WT has a good time and poor frequency resolution at high frequencies, and good frequency and poor time resolution at low frequencies

TIME AND FREQUENCY RESOLUTIONS (CWT): Every box represents a value of WT in time-frequency plane. Boxes have non-zero area implies value of a point in the time-frequency plane is not known. All the points in the time-frequency plane that falls into a box represent one value of the WT Widths and heights of the boxes change, the area is constant Boxes represents an equal portion of the time-frequency plane, but giving different proportions to time and frequency low frequencies, the height of the boxes are shorter (better frequency resolutions, less ambiguity regarding the value of the exact frequency), widths are longer (poor time resolution, more ambiguity regarding the value of the exact time). At higher frequencies the width of the boxes decreases, i.e., the time resolution gets better, and the heights of the boxes increase, i.e., the frequency resolution gets poorer

Summarising… The STFT case the representation in time-frequency plane consists of squares (constant window length). Regardless of the dimensions of the boxes, the areas of all boxes, both in STFT and WT, are the same and determined by Heisenberg's inequality. The area of a box is fixed for each window function (STFT) or mother wavelet (CWT), whereas different windows or mother wavelets can result in different areas. All areas are lower bounded by 1/4pi the areas of the boxes cannot be reduced (due to the Heisenberg's uncertainty principle). On the other hand, for a given mother wavelet the dimensions of the boxes can be changed, while keeping the area the same. This is exactly what wavelet transform does

THE WAVELET SYNTHESIS: The reconstruction is possible by using the equation C is a constant that depends on the wavelet used. The success of the reconstruction depends on this constant called, the admissibility constant, to satisfy the following admissibility condition where ^() is the FT of  (t) and implies that ^() (0) = 0, which is hence the wavelet must be oscillatory for above equation to be satisfied.

THE DISCRETE WAVELET TRANSFORM (DWT) SUBBAND CODING:Decompose discrete time signals A time-scale representation of a digital signal is obtained using digital filtering techniques CWT is a correlation between a wavelet at different scales and the signal with the scale (or the frequency) being used as a measure of similarity DWT filters of different cutoff frequencies are used to analyze the signal at different scales Let the discrete sequence be x[n], where n is an integer. Procedure starts with passing this signal (sequence) through a half band digital LPF with impulse response h[n]. Filtering a signal corresponds to the mathematical operation of convolution of the signal with the impulse response of the filter. The convolution operation in discrete time is defined as follows:

THE DISCRETE WAVELET TRANSFORM (DWT) Low pass filtering halves the resolution, but leaves the scale unchanged.The signal is then subsampled by 2 since half of the number of samples are redundant. This doubles the scale. The DWT analyzes the signal at different frequency bands with different resolutions by decomposing the signal into a coarse approximation and detail information. DWT employs two sets of functions, called scaling functions and wavelet functions, which are associated with low pass h(n) and highpass filters g(n), respectively. where yhigh[k] and ylow[k] are the outputs of the highpass and lowpass filters, respectively, after subsampling by 2

THE DISCRETE WAVELET TRANSFORM (DWT)

Inverse DWT: Difficulties: The above procedure is followed in reverse order for the reconstruction. The signals at every level are upsampled by two, passed through the synthesis filters g’[n], and h’[n] (highpass and lowpass, respectively), and then added. Difficulties: If the filters are not ideal halfband, then perfect reconstruction cannot be achieved. Although it is not possible to realize ideal filters, under certain conditions it is possible to find filters that provide perfect reconstruction. The most famous ones are the ones developed by Ingrid Daubechies, and they are known as Daubechies’ wavelets

APPLICATIONS OF THE WAVELETS TYPES OF WAVELETS Haar Wavelets Shannon Wavelet Meyer Wavelets Daubechies Wavelets Coifmann Wavelets APPLICATIONS OF THE WAVELETS Data processing Data compression Solution of differential equations