Orthogonal Transforms

Slides:



Advertisements
Similar presentations
IPIM, IST, José Bioucas, Convolution Operators Spectral Representation Bandlimited Signals/Systems Inverse Operator Null and Range Spaces Sampling,
Advertisements

Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
The Discrete Fourier Transform. The spectrum of a sampled function is given by where –  or 0 .
LECTURE Copyright  1998, Texas Instruments Incorporated All Rights Reserved Use of Frequency Domain Telecommunication Channel |A| f fcfc Frequency.
Fourier Transform (Chapter 4)
Fourier Transform – Chapter 13. Image space Cameras (regardless of wave lengths) create images in the spatial domain Pixels represent features (intensity,
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
Chapter 4 Image Enhancement in the Frequency Domain.
Methods for Digital Image Processing
Anuj Dawar.
Fourier Theory and its Application to Vision
Chapter 4 Image Enhancement in the Frequency Domain.
Digital Image Processing Final Project Compression Using DFT, DCT, Hadamard and SVD Transforms Zvi Devir and Assaf Eden.
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.
New Approach to Quantum Calculation of Spectral Coefficients Marek Perkowski Department of Electrical Engineering, 2005.
Signals and Systems Discrete Time Fourier Series.
Unit 7 Fourier, DFT, and FFT 1. Time and Frequency Representation The most common representation of signals and waveforms is in the time domain Most signal.
EE D Fourier Transform.
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.
Fast Fourier Transforms
Orthogonal Matrices and Spectral Representation In Section 4.3 we saw that n  n matrix A was similar to a diagonal matrix if and only if it had n linearly.
Goals For This Class Quickly review of the main results from last class Convolution and Cross-correlation Discrete Fourier Analysis: Important Considerations.
CHAPTER 8 DSP Algorithm Implementation Wang Weilian School of Information Science and Technology Yunnan University.
EE D Fourier Transform. Bahadir K. Gunturk EE Image Analysis I 2 Summary of Lecture 2 We talked about the digital image properties, including.
CS654: Digital Image Analysis Lecture 15: Image Transforms with Real Basis Functions.
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
Digital Signal Processing – Chapter 10
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
CS654: Digital Image Analysis Lecture 12: Separable Transforms.
Part I: Image Transforms DIGITAL IMAGE PROCESSING.
EE104: Lecture 5 Outline Review of Last Lecture Introduction to Fourier Transforms Fourier Transform from Fourier Series Fourier Transform Pair and Signal.
Digital Signal Processing Chapter 3 Discrete transforms.
Basic ideas of Image Transforms are derived from those showed earlier.
Image transformations Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University.
Inverse DFT. Frequency to time domain Sometimes calculations are easier in the frequency domain then later convert the results back to the time domain.
7- 1 Chapter 7: Fourier Analysis Fourier analysis = Series + Transform ◎ Fourier Series -- A periodic (T) function f(x) can be written as the sum of sines.
Dr. Scott Umbaugh, SIUE Discrete Transforms.
CS654: Digital Image Analysis Lecture 13: Discrete Fourier Transformation.
Fourier Transform.
Professor A G Constantinides 1 Discrete Fourier Transforms Consider finite duration signal Its z-tranform is Evaluate at points on z-plane as We can evaluate.
Fast Fourier Transforms. 2 Discrete Fourier Transform The DFT pair was given as Baseline for computational complexity: –Each DFT coefficient requires.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
CS654: Digital Image Analysis Lecture 11: Image Transforms.
Chapter 13 Discrete Image Transforms
BYST Xform-1 DIP - WS2002: Fourier Transform Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Fourier Transform and Image.
The Frequency Domain Digital Image Processing – Chapter 8.
Fourier transform.
بسم الله الرحمن الرحيم Digital Signal Processing Lecture 14 FFT-Radix-2 Decimation in Frequency And Radix -4 Algorithm University of Khartoum Department.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
References Jain (a text book?; IP per se; available)
Jean Baptiste Joseph Fourier
Introduction to Transforms
DIGITAL SIGNAL PROCESSING ELECTRONICS
An Example of 1D Transform with Two Variables
Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER.
2D Fourier transform is separable
Discrete Cosine Transform (DCT)
4.1 DFT In practice the Fourier components of data are obtained by digital computation rather than by analog processing. The analog values have to be.
4. DIGITAL IMAGE TRANSFORMS 4.1. Introduction
Chapter 8 The Discrete Fourier Transform
Lecture 17 DFT: Discrete Fourier Transform
1-D DISCRETE COSINE TRANSFORM DCT
Chapter 8 The Discrete Fourier Transform
Digital Image Procesing Unitary Transforms Discrete Fourier Trasform (DFT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Chapter 8 The Discrete Fourier Transform
Digital Image Procesing Unitary Transforms Discrete Fourier Trasform (DFT) in Image Processing DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL.
Lecture 4 Image Enhancement in Frequency Domain
Digital Image Processing
Presentation transcript:

Orthogonal Transforms Fourier

Review Introduce the concepts of base functions: For Reed-Muller, FPRM For Walsh Linearly independent matrix Non-Singular matrix Examples Butterflies, Kronecker Products, Matrices Using matrices to calculate the vector of spectral coefficients from the data vector Our goal is to discuss the best approximation of a function using orthogonal functions

Orthogonal Functions

Orthogonal Functions

Note that these are arbitrary functions, we do not assume sinusoids

Illustrate it for Walsh and RM

Mean Square Error

Mean Square Error

Important result

We want to minimize this kinds of errors. Other error measures are also used.

Unitary Transforms

Unitary Transforms Unitary Transformation for 1-Dim. Sequence Series representation of Basis vectors : Energy conservation : Here is the proof

Unitary Transformation for 2-Dim. Sequence Definition : Basis images : Orthonormality and completeness properties Orthonormality : Completeness :

Unitary Transformation for 2-Dim. Sequence Separable Unitary Transforms separable transform reduces the number of multiplications and additions from to Energy conservation

Properties of Unitary Transform Covariance matrix

Example of arbitrary basis functions being rectangular waves

This determining first function determines next functions

1

Small error with just 3 coefficients

This slide shows four base functions multiplied by their respective coefficients

This slide shows that using only four base functions the approximation is quite good End of example

Orthogonality and separability

Orthogonal and separable Image Transforms

Extending general transforms to 2-dimensions

Forward transform inverse transform separable

Fourier Transforms in new notations We emphasize generality Matrices

Fourier Transform separable

Extension of Fourier Transform to two dimensions

Discrete Fourier Transform (DFT) New notation

Fast Algorithms for Fourier Transform Task for students: Draw the butterfly for these matrices, similarly as we have done it for Walsh and Reed-Muller Transforms 2 Pay attention to regularity of kernels and order of columns corresponding to factorized matrices

Fast Factorization Algorithms are general and there is many of them

1-dim. DFT (cont.) Calculation of DFT : Fast Fourier Transform Algorithm (FFT) Decimation-in-time algorithm Derivation of decimation in time

Decimation in Time versus Decismation in Frequency

1-dim. DFT (cont.) FFT (cont.) Decimation-in-time algorithm (cont.) Butterfly for Derivation of decimation in time Please note recursion

1-dim. DFT (cont.) FFT (cont.) Decimation-in-frequency algorithm (cont.) Derivation of Decimation-in-frequency algorithm

Decimation in frequency butterfly shows recursion 1-dim. DFT (cont.) FFT (cont.) Decimation-in-frequency algorithm (cont.)

Conjugate Symmetry of DFT For a real sequence, the DFT is conjugate symmetry

Use of Fourier Transforms for fast convolution

Calculations for circular matrix

By multiplying

W * = Cw* In matrix form next slide

w * = Cw*

Here is the formula for linear convolution, we already discussed for 1D and 2D data, images

Linear convolution can be presented in matrix form as follows:

As we see, circular convolution can be also represented in matrix form

Important result

Inverse DFT of convolution

Thus we derived a fast algorithm for linear convolution which we illustrated earlier and discussed its importance. This result is very fundamental since it allows to use DFT with inverse DFT to do all kinds of image processing based on convolution, such as edge detection, thinning, filtering, etc.

2-D DFT

2-D DFT

Circular convolution works for 2D images

2-Dim. DFT (cont.) example Circular convolution works for 2D images So we can do all kinds of edge-detection, filtering etc very efficiently 2-Dim. DFT (cont.) example (a) Original Image (b) Magnitude (c) Phase

2-Dim. DFT (cont.) Properties of 2D DFT Separability

(d) resulting spectrum 2-Dim. DFT (cont.) Properties of 2D DFT (cont.) Rotation (a) a sample image (b) its spectrum (c) rotated image (d) resulting spectrum

2-Dim. DFT (cont.) Properties of 2D DFT Circular convolution and DFT Correlation

2-Dim. DFT (cont.) Calculation of 2-dim. DFT Direct calculation Complex multiplications & additions : Using separability Using 1-dim FFT Complex multiplications & additions : ??? Three ways of calculating 2-D DFT

Questions to Students You do not have to remember derivations but you have to understand the main concepts. Much software for all discussed transforms and their uses is available on internet and also in Matlab, OpenCV, and similar packages. How to create an algorithm for edge detection based on FFT? How to create a thinning algorithm based on DCT? How to use DST for convolution – show example. Low pass filter based on Hadamard. Texture recognition based on Walsh