Discrete Fourier Transform. FFT and Its Applications FFTSHIFT Shift zero-frequency component to the center of spectrum. For vectors, FFTSHIFT(X) swaps.

Slides:



Advertisements
Similar presentations
Introduction to Engineering MATLAB – 11 Plotting - 4 Agenda Multiple curves Multiple plot.
Advertisements

MATLAB Session 5 ES 156 Signals and Systems 2007 HSEAS Prepared by Frank Tompkins.
Image Enhancement in the Frequency Domain (2)
1.3 ARRAYS, FILES, AND PLOTS + FOURIER SERIES BY MR. Q.
IMAGE PROCESSING IN FREQUENCY SPACE Erkki Rämö1.
EE D Discrete Fourier Transform (DFT). Bahadir K. Gunturk2 2D Discrete Fourier Transform 2D Fourier Transform 2D Discrete Fourier Transform (DFT)
Coordinates. You are used to reading and plotting coordinates in this quadrant This is called the first quadrant.
7.1Graphing Ordered Pairs Objectives: Plot points using the coordinate system Identify the quadrant associated with a point Identify the coordinates of.
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 11 Representation.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 1: Introduction.
Lab8 (Signal & System) Instructor: Anan Osothsilp Date: 17 April 07.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 8 Image Compression.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 11 Representation & Description Chapter 11 Representation.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 3 Filtering in.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 4 Image Restoration.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 10 Image Segmentation.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 12 Object Recognition Chapter 12 Object Recognition.
Image Fourier Transform Faisal Farooq Q: How many signal processing engineers does it take to change a light bulb? A: Three. One to Fourier transform the.
Frequency domain Image Processing Comp344 Tutorial Kai Zhang.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 9 Morphological.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 6 Color Image.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 7 Wavelets.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 5 Geometric Transformations.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 10 Image Segmentation Chapter 10 Image Segmentation.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
© 2010 Gatesmark, LLC Digital Image Processing Using MATLAB ® 2nd edition Gonzalez, Woods, & Eddins Chapter 1 Introduction.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 2: Digital Image Fundamentals.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 5 Image Restoration Chapter 5 Image Restoration.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 9 Morphological Image Processing Chapter 9 Morphological.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 8 Image Compression Chapter 8 Image Compression.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 6 Color Image Processing Chapter 6 Color Image.
Lecture 12: Introduction to Discrete Fourier Transform Sections 2.2.3, 2.3.
CSC589 Introduction to Computer Vision Lecture 8
Digital Image Processing CCS331
Discrete Fourier Transform. FFT and Its Applications FFTSHIFT Shift zero-frequency component to the center of spectrum. For vectors, FFTSHIFT(X) swaps.
Chapter 7: The Fourier Transform 7.1 Introduction
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Frequancy Domain Filtering (FDF) Lab 5. Using FFT (Fast Fourier Transform ) algorithm DFT (Discrete Fourier Transform) & inverse DFT.
CS112 Scientific Computation Department of Computer Science Wellesley College Numb3rs Number and image types.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
© 2004 R. C. Gonzalez, R. E. Woods, and S. L. Eddins Digital Image Processing Using MATLAB ® Chapter 2 Fundamentals Chapter.
Lecture Eight Matlab for spatial filtering and intro to DFTs Figures from Gonzalez and Woods, Digital Image Processing, Copyright 2002, Gonzalez, Woods,
Discrete Fourier Transform in 2D – Chapter 14. Discrete Fourier Transform – 1D Forward Inverse M is the length (number of discrete samples)
Geometrical Transformations 2 Adapted from Fundamentals of Interactive Computer Graphics, Foley and van Dam, pp , by Geb Thomas.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
ENG College of Engineering Engineering Education Innovation Center 1 2D Plots 2 in MATLAB Topics Covered: 1.More about 2-D plots  Placing multiple.
Honors Geometry.  We learned how to set up a polygon / vertex matrix  We learned how to add matrices  We learned how to multiply matrices.
Motion Detection Frame 1Frame 2 Anomalous activity.
Digital Image Processing Lecture 9: Filtering in Frequency Domain Prof. Charlene Tsai.
MA/CS375 Fall MA/CS 375 Fall 2002 Lecture 5.
Matlab Class 8 Xiaotao Su, Ph.D. Visual Psychophysicist & IT Group Leader Rutgers Center for Cognitive Science (RuCCS) and Chris Kourtev.
Basic command Vectors and matrices in Scilab Data types: (real or complex) numbers, vectors, matrices, polynomials, strings, functions, … –Vectors in Scilab:
X is a matrix of size 4 x 2 (4 rows by 2 columns).
Frequency Domain Processing
Shuttle Sort Example 1st pass Comparisons: 1
Image Enhancement in the
Discrete Fourier Transform
Using Matrices with Transformations
EEE 244-6: Fourier Transform (FFT) and Signal Processing
2D Discrete Fourier Transform (DFT)
Example: x vectors could be point values in several spectral bands (channels)
Determining the Function Obtained from a Series of Transformations.
Shuttle Sort Example 1st pass Comparisons: 1
Lecture 4 Image Enhancement in Frequency Domain
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
EE150: Signals and Systems 2016-Spring
Presentation transcript:

Discrete Fourier Transform

FFT and Its Applications FFTSHIFT Shift zero-frequency component to the center of spectrum. For vectors, FFTSHIFT(X) swaps the left and right halves of X. For matrices, FFTSHIFT(X) swaps the first and third quadrants and the second and fourth quadrants. For N-D arrays, FFTSHIFT(X) swaps "half-spaces" of X along each dimension.

Example of 1-D Fourier Transform

fftBox.m – Plot Fourier Spectrum % % Script file: fftBox.m % Fourier Spectrum Plot of Box function % X1=linspace(0,1,17); Y1=ones(1,length(X1)); X2=linspace(1,16,241); Y2=zeros(1,length(X2)); X=[X1 X2]; Y=[Y1 Y2]; W=abs(fftshift(fft(Y))); subplot(2,1,1) plot(X,Y,'r'); axis([0 16, 0,1.2]); title('Box function') subplot(2,1,2) plot(W,'b-'); title('Fourier Spectrum of Box function')

2-D Discrete Fourier Transform

Example of 2-D FFT Matlab Code % Script file: fourier.m - 2D Fourier Transform % Pictures on P.113 of Gonzalez, Woods, Eddins m=128; n=128; f=zeros(m,n); f(56:71,48:79)=255; F0=fft2(f); S0=abs(F0); Fc=fftshift(fft2(f)); Sc=abs(Fc); Fd=fft2(fftshift(f)); Sd=log(1+abs(Fc)); subplot(2,2,1) imshow(f,[]) subplot(2,2,2) imshow(S0,[]) subplot(2,2,3) imshow(Sc,[ ]) subplot(2,2,4) imshow(Sd,[ ])

2-D FFT with CenterShift

2-D FFT on Texture Images