Introduction to Transforms

Slides:



Advertisements
Similar presentations
DCSP-11 Jianfeng Feng
Advertisements

Parallel Fast Fourier Transform Ryan Liu. Introduction The Discrete Fourier Transform could be applied in science and engineering. Examples: ◦ Voice recognition.
Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
Lecture 7: Basis Functions & Fourier Series
Lecture 15 Orthogonal Functions Fourier Series. LGA mean daily temperature time series is there a global warming signal?
Frequency Domain The frequency domain
Fourier Transform – Chapter 13. Image space Cameras (regardless of wave lengths) create images in the spatial domain Pixels represent features (intensity,
Signal Spaces.
School of Computing Science Simon Fraser University
Deconstructing periodic driving voltages (or any functions) into their sinusoidal components: It's easy to build a periodic functions by choosing coefficients.
Orthogonal Sets (12/2/05) Recall that “orthogonal” matches the geometric idea of “perpendicular”. Definition. A set of vectors u 1,u 2,…,u p in R n is.
MSP1 References Jain (a text book?; IP per se; available) Castleman (a real text book ; image analysis; less available) Lim (unavailable?)
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Orthogonal Transforms
Time and Frequency Representation
Discrete Time Periodic Signals A discrete time signal x[n] is periodic with period N if and only if for all n. Definition: Meaning: a periodic signal keeps.
The Frequency Domain Sinusoidal tidal waves Copy of Katsushika Hokusai The Great Wave off Kanagawa at
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
CH#3 Fourier Series and Transform
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.
Graphics CSE 581 – Interactive Computer Graphics Mathematics for Computer Graphics CSE 581 – Roger Crawfis (slides developed from Korea University slides)
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Hadamard matrices and the hadamard conjecture
Math 307 Spring, 2003 Hentzel Time: 1:10-2:00 MWF Room: 1324 Howe Hall Instructor: Irvin Roy Hentzel Office 432 Carver Phone
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
6.837 Linear Algebra Review Patrick Nichols Thursday, September 18, 2003.
Fourier series. The frequency domain It is sometimes preferable to work in the frequency domain rather than time –Some mathematical operations are easier.
Image Enhancement in the Frequency Domain Spring 2006, Jen-Chang Liu.
Spectral Analysis AOE March 2011 Lowe 1. Announcements Lectures on both Monday, March 28 th, and Wednesday, March 30 th. – Fracture Testing –
CS654: Digital Image Analysis Lecture 12: Separable Transforms.
Mathematical foundationsModern Seismology – Data processing and inversion 1 Some basic maths for seismic data processing and inverse problems (Refreshement.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Background Any function that periodically repeats itself.
Fourier Analysis of Discrete Time Signals
ES 240: Scientific and Engineering Computation. Introduction to Fourier Series Trigonometric Fourier Series  Outline –Introduction –Visualization –Theoretical.
Signals & Systems Lecture 13: Chapter 3 Spectrum Representation.
Astronomical Data Analysis I
Inverse DFT. Frequency to time domain Sometimes calculations are easier in the frequency domain then later convert the results back to the time domain.
CH#3 Fourier Series and Transform
Motivation: Wavelets are building blocks that can quickly decorrelate data 2. each signal written as (possibly infinite) sum 1. what type of data? 3. new.
5.0 Discrete-time Fourier Transform 5.1 Discrete-time Fourier Transform Representation for discrete-time signals Chapters 3, 4, 5 Chap 3 Periodic Fourier.
Fourier Transform.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
Dr. Abdul Basit Siddiqui FUIEMS. QuizTime 30 min. How the coefficents of Laplacian Filter are generated. Show your complete work. Also discuss different.
CS654: Digital Image Analysis Lecture 11: Image Transforms.
Chapter 13 Discrete Image Transforms
Linear Algebra Review Tuesday, September 7, 2010.
Digital Image Processing Lecture 7: Image Enhancement in Frequency Domain-I Naveed Ejaz.
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
الفريق الأكاديمي لجنة الهندسة الكهربائية 1 Discrete Fourier Series Given a periodic sequence with period N so that The Fourier series representation can.
Continuous-time Fourier Series Prof. Siripong Potisuk.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
References Jain (a text book?; IP per se; available)
Integral Transform Method
ECE 3301 General Electrical Engineering
Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER.
Quantum One.
Net 222: Communications and networks fundamentals (Practical Part)
Fourier Integrals For non-periodic applications (or a specialized Fourier series when the period of the function is infinite: L) -L L -L- L
Image Processing, Leture #14
Chapter 8 The Discrete Fourier Transform
Notes Assignments Tutorial problems
Fourier Analysis Lecture-8 Additional chapters of mathematics
The Fourier Transform Intro: Marisa, Nava, Compression Scheme project. Relies heavily on Fourier Transform.
Chapter 8 The Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Linear Vector Space and Matrix Mechanics
LECTURE 02: BASIC PROPERTIES OF SIGNALS
Signals and Spectral Methods
The Frequency Domain Any wave shape can be approximated by a sum of periodic (such as sine and cosine) functions. a--amplitude of waveform f-- frequency.
Presentation transcript:

Introduction to Transforms Rutgers University Discrete Mathematics for ECE 14:332:202

The Basic Idea We have a signal could be a function or a vector (sampled function) Given a set of basis functions/vectors, we wish to find the coefficients that will weight the functions, so that when summed, they will add to our original signal. The signal now has now been transformed into this set of coefficients

Fourier Series In the Fourier Series, we transform a continuous (has a value for every possible t) periodic signal into a weighted sum of sines and cosines. The more terms that are added to the sum, the better our approximation to the original signal. In a sense, we are “discretizing” the continuous function by representing as a finite set of coefficients (really need infinite set to have exact representation)

Square Wave Example Consider the periodic square wave, that oscillates between +1 and -1 with period T.

Fourier Series We can make an approximation to the square wave by a sine wave of period T. fa(t) = b1sin(2π/T)

Fourier Series Adding another term gives us a better approximation, that term being a sine with period T/3. fa(t) = b1sin(2π/T) + b3sin(3*2π/T)

Fourier Series Continuing to add terms our representation becomes better. Here we have all terms up to the 21st Harmonic. fa(t) = b1sin(2π/T) + b3sin(3*2π/T) + … + b21sin(21*2π/T)

Fourier Series With enough terms calculated to adequately represent our signal, we then have a “discrete representation” of our periodic function. The original signal can now be represented by the set of coefficients (bn’s) that multiply by our basis functions to give us the approximation. Finding these coefficients is known as the Forward Transform, and getting back our signal from the coefficients and our known set of basis functions, is known as the Inverse Transform

Sampled Signals (Vectors) We will learn the concept of transforms by working with sampled signals, the N samples being placed in a row vector: x = [x0 x1 x2 … xN-1] We also must have a set of basis vectors, b0, ... , bN-1, each of length N, that comprise the rows of a matrix B

Vector Transforms Consider the trivial example where we have 4 basis vectors: e0 = [1 0 0 0] e1 = [0 1 0 0] e2 = [0 0 1 0] e3 = [0 0 0 1] Obviously, we can form any 4 element vector by a weighted sum of the unit vectors, which is easy to do: x = [x0 x1 x2 x3] = x0e0 + x1e1 + x2e2 + x3e3

Vector Transforms The set of unit vectors is a trivial basis, so we may be interested in some other set of basis vectors. We can represent a signal by a weighted sum of a (well-chosen) set of basis vectors (of the same size). x = [x0 x1 x2 … xN-1] = u0b0 + u1b1 + u2b2 + … + uN-1bN-1 The vector, x, has now been transformed into the vector of coefficients, u. This is also known as “changing the basis”

Vector Transforms The equation: x = [x0 x1 x2 … xN-1] = u0b0 + u1b1 + u2b2 + … + uN-1bN-1 can be compactly written in matrix notation as where x and u are row vectors, and B is an NxN matrix whose rows are the basis vectors, b0 … bN-1

The Forward Transform We wish to find the vector of coefficients u = xB-1 Computing the inverse of the matrix, B, is not necessary if all of the bi’s forming the rows of B are orthogonal, that for all k≠j, bjbkT = dot(bi,bj) = 0 Also, |bk| = bkbkT, and in the case of the Hadamard and FFT matrices, |bk| = N Because of the orthogonality property, we can compute the elements of u by the equation: uk = (x·bkT) / |bk|

Orthogonality That two vectors are orthogonal can be interpreted geometrically as being perpendicular in N-dimensional space, such that their dot product is 0.

The Hadamard Basis Vectors The rows of the Hadamard Matrix create N orthogonal vectors of +1’s and -1’s Hadamard Basis Vectors of Order 8 We can represent any 8 element vector by a weighted sum of these 8 orthogonal vectors

The DCT Basis Vectors Another possible basis – these vectors represent sampled cosines of different frequencies