Wavelet Analysis Objectives: To Review Fourier Transform and Analysis

Slides:



Advertisements
Similar presentations
Wavelets and Filter Banks
Advertisements

University of Ioannina - Department of Computer Science Wavelets and Multiresolution Processing (Background) Christophoros Nikou Digital.
Applications in Signal and Image Processing
Introduction and Overview Dr Mohamed A. El-Gebeily Department of Mathematical Sciences KFUPM
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Wavelet.
Time and Frequency Representations Accompanying presentation Kenan Gençol presented in the course Signal Transformations instructed by Prof.Dr. Ömer Nezih.
Chapter 7 Wavelets and Multi-resolution Processing.
Undecimated wavelet transform (Stationary Wavelet Transform)
Lecture 19 The Wavelet Transform. Some signals obviously have spectral characteristics that vary with time Motivation.
Wavelet Transform. What Are Wavelets? In general, a family of representations using: hierarchical (nested) basis functions finite (“compact”) support.
Multi-Resolution Analysis (MRA)
Signal Analysis and Processing for SmartPET D. Scraggs, A. Boston, H Boston, R Cooper, A Mather, G Turk University of Liverpool C. Hall, I. Lazarus Daresbury.
Introduction to Wavelets
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 project
Fundamentals of Multimedia Chapter 8 Lossy Compression Algorithms (Wavelet) Ze-Nian Li and Mark S. Drew 건국대학교 인터넷미디어공학부 임 창 훈.
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Introduction to Wavelets -part 2
ECE 501 Introduction to BME ECE 501 Dr. Hang. Part V Biomedical Signal Processing Introduction to Wavelet Transform ECE 501 Dr. Hang.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
ENG4BF3 Medical Image Processing
The Wavelet Tutorial: Part3 The Discrete Wavelet Transform
Details, details… Intro to Discrete Wavelet Transform The Story of Wavelets Theory and Engineering Applications.
CSE &CSE Multimedia Processing Lecture 8. Wavelet Transform Spring 2009.
Wavelets and Filter Banks
Lecture 13 Wavelet transformation II. Fourier Transform (FT) Forward FT: Inverse FT: Examples: Slide from Alexander Kolesnikov ’s lecture notes.
WAVELET TRANSFORM.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
WAVELET (Article Presentation) by : Tilottama Goswami Sources:
Chapter 7: The Fourier Transform 7.1 Introduction
Wavelet-based Coding And its application in JPEG2000 Monia Ghobadi CSC561 final project
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
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.
DCT.
1 Using Wavelets for Recognition of Cognitive Pattern Primitives Dasu Aravind Feature Group PRISM/ASU 3DK – 3DK – September 21, 2000.
The Discrete Wavelet Transform
Digital Image Processing Lecture 21: Lossy Compression Prof. Charlene Tsai.
Wavelet Transform Yuan F. Zheng Dept. of Electrical Engineering The Ohio State University DAGSI Lecture Note.
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
In The Name of God The Compassionate The Merciful.
Wavelets (Chapter 7) CS474/674 – Prof. Bebis. STFT - revisited Time - Frequency localization depends on window size. –Wide window  good frequency localization,
1 Chapter 8 The Discrete Fourier Transform (cont.)
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Wavelet Transform Advanced Digital Signal Processing Lecture 12
Jean Baptiste Joseph Fourier
Wavelets Transform & Multiresolution Analysis
k is the frequency index
Linear Algebra Review.
Digital Image Processing Lecture 21: Lossy Compression
Image Sampling Moire patterns
Advanced Wireless Networks
Wavelets : Introduction and Examples
Sampling rate conversion by a rational factor
CS Digital Image Processing Lecture 9. Wavelet Transform
Multi-resolution analysis
Fourier Transform.
All about convolution.
Image Sampling Moire patterns
Researchlab 4 Presentation
CSCE 643 Computer Vision: Image Sampling and Filtering
CSCE 643 Computer Vision: Thinking in Frequency
Introduction To Wavelets
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.
Filtering Part 2: Image Sampling
k is the frequency index
Image Sampling Moire patterns
Lecture 5: Resampling, Compositing, and Filtering Li Zhang Spring 2008
Image Coding and Compression
Visual Communication Lab
Lesson Week 8 Fourier Transform of Time Functions (DC Signal, Periodic Signals, and Pulsed Cosine)
Chapter 15: Wavelets (i) Fourier spectrum provides all the frequencies
Presentation transcript:

Wavelet Analysis Objectives: To Review Fourier Transform and Analysis To Introduce Wavelet Transform and Analysis To learn the basic differences between Fourier and Wavelet transforms Go through an example

Review of Fourier Transform Wavelet analysis is performed in a similar way to the Fourier analysis. In Fourier analysis, the 1-D Fourier coefficients were computed using integration: The building blocks of Fourier transform are the sin and cos functions. The sin and cos functions are infinite. They are periodic functions that started at some point in the past and will continue to times in the future. These functions are smooth and do not adapt to the sharp changes in a given signal. Fourier analysis can tell us the frequency composition of a given signal but are unable to reveal information on where they have occurred.

Review of Fourier Transform Similarly, the 2-D versions that are used in image processing are written as: As we discussed in Chapter (4), the larger the absolute value of the Fourier coefficient, the better the adaptation of the frequency with the signal. As you may recall we called the F(0) in 1-D case and F(0,0) in the 2-D case the average signal or the DC signal.

Fourier Transform and Wavelets This is what Fourier analysis does with a signal: Wavelets are smaller functions with abnormal shapes. They are small signals (waves) and that is the reason we call them wavelets. In wavelet analysis, we use an integration mechanism similar to that of Fourier Transform to compute the wavelet coefficients:

Wavelet Transform The idea is to take a wavelet, a small wave that we call mother wavelet, and scale and shift (one step at a time and usually a power of 2) to create a new small signal. Then to measure how well a similar size segment on the original image adapts to the wavelet. This results in some coefficients that represent the level of adaptation. The larger the absolute value the better the match. The set of coefficients is called wavelet coefficients. They are real values.

Wavelet Transform The main steps for performing wavelet analysis of a signal are: 1. Take a wavelet and compare it to a section at the start of the original signal. 2. Calculate a number, C, that represents how closely correlated the wavelet is with this section of the signal. The higher the value of C, the more the similarity. Note that the results will depend on the shape of the wavelet you choose. Note that the results will depend on the shape of the wavelet you choose.

Wavelet Transform Shift the wavelet to the right and repeat steps 1 and 2 until you've covered the whole signal. 4. Scale (stretch) the wavelet and repeat steps 1 through 3. 5. Repeat steps 1 through 4 for all scales.

Wavelet Transform When you are done, you'll have the coefficients produced at different scales by different sections of the signal. The coefficients constitute the results of a regression of the original signal performed on the wavelets. This is what wavelet analysis does to a signal:

Discrete Wavelet Transform As we did in Fourier analysis, we will use the Discrete Wavelet Transform (DWT) to perform image processing on a computer. How do we make the discrete function?   To perform DWT, we need to sample both the signal and the wavelet and the rest of the work is similar to filtering process you have done so far. Basically, you create a filter of the wavelet coefficients and will go through the original signal. There is however one more thing to keep in mind. The filtering process, at a very basic level looks like this: So the original signal, S, will pass through two complementary filters and emerges as two signals, A and D, of the same size as the original signal.

Discrete Wavelet Transform The decomposition of S can be done in multi-levels. Thus, the result of one level of decomposition can be passed to the next filtering stage. Although both the high and low-pass parts can be passed through a filter, commonly only the low-pass part is passed to the next stage. Thus, only the low-pass part will go through further decomposition: It is possible to reconstruct the original image by putting together the decomposed pieces in a reverse process which is called Inverse Wavelet Transform.

Example: Discrete Wavelet Transform One of the oldest wavelet transform is Haar transform. This transform is identified by 2 coefficients. The normalized coefficients for this transform are: Low-Decomposition : C1 = 0.7071 C2 = 0.7071 High_Decomposition : C1 = -0.7071 C2 = 0.7071   Low-Reconstruction : C1 = 0.7071 C2 = 0.7071 High-Reconstruction : C1 = 0.7071 C2 = -0.7071 Suppose we wish to analyze A = [2 4 0 8] with Haar wavelet transform. Note that the 4 points we have shown here might be sample points for a continuous signal. We have represented that signal with these 4 points. This is a sampling process. The next thing we need to do is to build the array of filter coefficients (C), which is a 4x4 array one for low pass filtering and the other for high pass. The process is the same in both cases.

Example: Discrete Wavelet Transform Multiply C by A, the result is the coefficient matrix for the signal in wavelet domain. So if you have used the low-pass decomposition coefficients, you will get the low-pass transformed result and vice versa. Note that I have used wrap around method to fix the problem with the last row.

Example: Discrete Wavelet Transform Low-pass Decomposition result is: High-pass Decomposition result is: As you may have noticed, we started with a 1-D array of four elements, A, and end up getting two arrays of the same size, one for the low-pass and the other for the high-pass part.

Example: Discrete Wavelet Transform To avoid this, a process called down sampling is used where only every other coefficient is considered instead and both the low- and high-pass parts are combined in one matrix. We can do the Inverse Wavelet Transform to obtain the original A. We will use the High- and Low-pass reconstruction coefficients in the reverse order.

Time to reveal a big secrete First: In the previous example with the Haar wavelet, you perhaps have noticed that we only need to know the low-pass decomposition filter is and we can create the other filters from that. Second: Suppose I have a wavelet with 4 coefficients: C0 , C1 , C2 , and C3. If I can show: Previous C20 + C21 + C22 + C23= 1 Example: 0.70712 + 0.70712 = 1 and C0 C2 + C3C1 = 0 0.7071 + (-.7071) = 0 Then the reconstruction matrix is the inverse of the decomposition matrix. This type of wavelets are known as orthogonal wavelets.

Assignment Daubechies discovered a class of wavelets that are very well known. These wavelets range from highly localized to very smooth. They are usually written with a dbN notation where db denotes “Daubechies” wavelet type and N reflects the number of coefficients. For example db1 is the same as the Haar wavelet that we used in the previous example. Here is the coefficients for db2: Lo_D = [ -0.1294 0.2241 0.8365 0.4830] Hi_D = [-0.4830 0.8365 -0.2241 -0.1294]  Lo_R = [0.4830 0.8365 0.2241 -0.1294]  Hi_R = [-0.1294 -0.2241 0.8365 -0.4830]   Where Lo and Hi denote “Low” and “High” and D and R denotes “Decomposition” and “Reconstruction” respectively. Use MATLAB to perform (as shown in the previous example): 1) Decomposition of a signal with downsampling 2) Reconstruction A = [2 4 0 6 8 0 4 8]

Image Transform Original Image Haar Wavelet Decomposition Level 1