Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.

Slides:



Advertisements
Similar presentations
Computer Vision Lecture 7: The Fourier Transform
Advertisements

Digital Kommunikationselektronik TNE027 Lecture 5 1 Fourier Transforms Discrete Fourier Transform (DFT) Algorithms Fast Fourier Transform (FFT) Algorithms.
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
Sampling theory Fourier theory made easy
Fourier Transform (Chapter 4)
Frequency Domain The frequency domain
1 Chapter 16 Fourier Analysis with MATLAB Fourier analysis is the process of representing a function in terms of sinusoidal components. It is widely employed.
DFT/FFT and Wavelets ● Additive Synthesis demonstration (wave addition) ● Standard Definitions ● Computing the DFT and FFT ● Sine and cosine wave multiplication.
Fourier Transform – Chapter 13. Image space Cameras (regardless of wave lengths) create images in the spatial domain Pixels represent features (intensity,
Digital Signal Processing
Chapter 8: The Discrete Fourier Transform
Computer Graphics Recitation 6. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
Methods for Digital Image Processing
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
Lecture 13 The frequency Domain (1)
Fourier theory made easy (?). 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
Fourier Analysis D. Gordon E. Robertson, PhD, FCSB School of Human Kinetics University of Ottawa.
Digital Image Processing Final Project Compression Using DFT, DCT, Hadamard and SVD Transforms Zvi Devir and Assaf Eden.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
Orthogonal Transforms
Lecture 12: Introduction to Discrete Fourier Transform Sections 2.2.3, 2.3.
Fourier Transform 2D Discrete Fourier Transform - 2D
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Chapter 12 Fast Fourier Transform. 1.Metropolis algorithm for Monte Carlo 2.Simplex method for linear programming 3.Krylov subspace iteration (CG) 4.Decomposition.
Fourier Theory in Seismic Processing (From Liner and Ikelle and Amundsen) Temporal aliasing Spatial aliasing.
Goals For This Class Quickly review of the main results from last class Convolution and Cross-correlation Discrete Fourier Analysis: Important Considerations.
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Topic 7 - Fourier Transforms DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Discrete-Time and System (A Review)
University of Ioannina - Department of Computer Science Filtering in the Frequency Domain (Fundamentals) Digital Image Processing Christophoros Nikou
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
Motivation Music as a combination of sounds at different frequencies
CSC361/661 Digital Media Spring 2002
: Chapter 14: The Frequency Domain 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 19.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
1 Chapter 5 Image Transforms. 2 Image Processing for Pattern Recognition Feature Extraction Acquisition Preprocessing Classification Post Processing Scaling.
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
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.
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.
revision Transfer function. Frequency Response
Fourier Transform.
CS 376b Introduction to Computer Vision 03 / 17 / 2008 Instructor: Michael Eckmann.
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.
Fourier transform.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Hülya Yalçın ©1 Fourier Series. Hülya Yalçın ©2 3.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Integral Transform Method
CS 591 S1 – Computational Audio
Image Enhancement in the
Dr. Nikos Desypris, Oct Lecture 3
Digital Image Procesing Discrete Walsh Trasform (DWT) in Image Processing Discrete Hadamard Trasform (DHT) in Image Processing DR TANIA STATHAKI READER.
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F() is the spectrum of the function.
Fourier Transform.
UNIT II Analysis of Continuous Time signal
2D Fourier transform is separable
4. DIGITAL IMAGE TRANSFORMS 4.1. Introduction
Fourier series Periodic functions and signals may be expanded into a series of sine and cosine functions
Chapter 8 The Discrete Fourier Transform
Fourier Transforms.
Chapter 8 The Discrete Fourier Transform
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:

Transforms

5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave

5*sin(2  4t) Amplitude = 5 Frequency = 4 Hz Sampling rate = 256 samples/second seconds Sampling duration = 1 second A sine wave signal

An undersampled signal

The Nyquist Frequency The Nyquist frequency is equal to one-half of the sampling frequency. The Nyquist frequency is the highest frequency that can be measured in a signal.

Fourier series Periodic functions and signals may be expanded into a series of sine and cosine functions

The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal)

The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal) Continuous Fourier Transform: close your eyes if you don’t like integrals

The Fourier Transform A transform takes one function (or signal) and turns it into another function (or signal) Continuous Fourier Transform:

A transform takes one function (or signal) and turns it into another function (or signal) The Discrete Fourier Transform: The Fourier Transform

Fast Fourier Transform The Fast Fourier Transform (FFT) is a very efficient algorithm for performing a discrete Fourier transform FFT principle first used by Gauss in 18?? FFT algorithm published by Cooley & Tukey in 1965 In 1969, the 2048 point analysis of a seismic trace took 13 ½ hours. Using the FFT, the same task on the same machine took 2.4 seconds!

Famous Fourier Transforms Sine wave Delta function

Famous Fourier Transforms Gaussian

Famous Fourier Transforms Sinc function Square wave

Famous Fourier Transforms Sinc function Square wave

Famous Fourier Transforms Exponential Lorentzian

FFT of FID

Effect of changing sample rate

Lowering the sample rate: –Reduces the Nyquist frequency, which –Reduces the maximum measurable frequency –Does not affect the frequency resolution

Effect of changing sampling duration

Reducing the sampling duration: –Lowers the frequency resolution –Does not affect the range of frequencies you can measure

Effect of changing sampling duration

Measuring multiple frequencies

L: period; u and v are the number of cycles fitting into one horizontal and vertical period, respectively of f(x,y).

Discrete Fourier Transform

Discrete Fourier Transform (DFT). When applying the procedure to images, we must deal explicitly with the fact that an image is: –Two-dimensional –Sampled –Of finite extent These consideration give rise to the The DFT of an NxN image can be written:

Discrete Fourier Transform For any particular spatial frequency specified by u and v, evaluating equation 8.5 tell us how much of that particular frequency is present in the image. There also exist an inverse Fourier Transform that convert a set of Fourier coefficients into an image.

PSD The magnitudes correspond to the amplitudes of the basic images in our Fourier representation. The array of magnitudes is termed the amplitude spectrum (or sometime ‘spectrum’). The array of phases is termed the phase spectrum. The power spectrum is simply the square of its amplitude spectrum:

FFT The Fast Fourier Transform is one of the most important algorithms ever developed –Developed by Cooley and Tukey in mid 60s. –Is a recursive procedure that uses some cool math tricks to combine sub-problem results into the overall solution.

DFT vs FFT

Periodicity assumption The DFT assumes that an image is part of an infinitely repeated set of “tiles” in every direction. This is the same effect as “circular indexing”.

Periodicity and Windowing Since “tiling” an image causes “fake” discontinuities, the spectrum includes “fake” high- frequency components Spatial discontinuities

Discrete Cosine Transform Real-valued

DCT in Matrix Form

Discrete Sine Transform Most Convenient when N=2 p - 1

DST in Matrix Form

DCT Basis Functions*

(Log Magnitude) DCT Example*

Hartley Transform Alternative to Fourier Produces N Real Numbers Use Cosine Shifted 45 o to the Right

Square Hartley Transform

Rectangular Hartley Transform

Hartley in Matrix Form

What is an even function? the function f is even if the following equation holds for all x in the domain of f:

Hartley Convolution Theorem Computational Alternative to Fourier Transform If One Function is Even, Convolution in one Domain is Multiplication in Hartley Domain

Rectangular Wave Transforms Binary Valued {1, -1} Fast to Compute Examples –Hadamard –Walsh –Slant –Haar

Hadamard Transform Consists of elements of +/- 1 A Normalized N x N Hadamard matrix satisfies the relation H H t = I

Walsh Transform, N=4 * Gonzalez, Wintz

Non-ordered Hadamard Transform H 8

Sequency In a Hadamard Transform, the Number of Sign Changes in a Row Divided by Two It is Possible to Construct an H matrix with Increasing Sequency per row

Ordered Hadamard Transform

Ordered Hadamard Transform * * Gonzalez, Wintz

Haar Transform Derived from Haar Matrix Sampling Process in which Subsequent Rows Sample the Input Data with Increasing Resolution Different Types of Differential Energy Concentrated in Different Regions –Power taken two at a time –Power taken a power of two at a time, etc.

Haar Transform *, H 4 * Castleman

Karhunen-Loeve Transform Variously called the K-L, Hotelling, or Eignevector Continuous Form Developed by K-L Discrete Version Credited to Hotelling Transforms a Signal into a Set of Uncorrelated Representational Coefficients Keep Largest Coefficients for Image Compression

Discrete K-L

Singular Value Decomposition

If A is symmetric, then U=V Kernel Depends on Image Being Transformed Need to Compute AA t and A t A and Find the Eigenvalues Small Values can be Ignored to Yield Compression

Transform Domain Filtering Similar to Fourier Domain Filtering Applicable to Images in which Noise is More Easily Represented in Domain other than Fourier –Vertical and horizontal line detection: Haar transform produces non-zero entries in first row and/or first column