Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.

Slides:



Advertisements
Similar presentations
Signal Processing in the Discrete Time Domain Microprocessor Applications (MEE4033) Sogang University Department of Mechanical Engineering.
Advertisements

Computer Vision Lecture 7: The Fourier Transform
Lecture 7: Basis Functions & Fourier Series
Engineering Mathematics Class #15 Fourier Series, Integrals, and Transforms (Part 3) Sheng-Fang Huang.
Fourier Transform (Chapter 4)
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,
Chapter Four Image Enhancement in the Frequency Domain.
Review of Frequency Domain
Chapter 4 Image Enhancement in the Frequency Domain.
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.
Signals and Systems Discrete Time Fourier Series.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
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.
CH#3 Fourier Series and Transform
Systems: Definition Filter
Discrete-Time and System (A Review)
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.
Image Processing Fourier Transform 1D Efficient Data Representation Discrete Fourier Transform - 1D Continuous Fourier Transform - 1D Examples.
Fourier Series Summary (From Salivahanan et al, 2002)
Transforms. 5*sin (2  4t) Amplitude = 5 Frequency = 4 Hz seconds A sine wave.
CISE315 SaS, L171/16 Lecture 8: Basis Functions & Fourier Series 3. Basis functions: Concept of basis function. Fourier series representation of time functions.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
Image Enhancement in the Frequency Domain Spring 2006, Jen-Chang Liu.
Module 2 SPECTRAL ANALYSIS OF COMMUNICATION SIGNAL.
Chapter 7: The Fourier Transform 7.1 Introduction
Fourier Series. Introduction Decompose a periodic input signal into primitive periodic components. A periodic sequence T2T3T t f(t)f(t)
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
EE104: Lecture 5 Outline Review of Last Lecture Introduction to Fourier Transforms Fourier Transform from Fourier Series Fourier Transform Pair and Signal.
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.
Zhongguo Liu_Biomedical Engineering_Shandong Univ. Chapter 8 The Discrete Fourier Transform Zhongguo Liu Biomedical Engineering School of Control.
Lecture 7: Sampling Review of 2D Fourier Theory We view f(x,y) as a linear combination of complex exponentials that represent plane waves. F(u,v) describes.
ENG4BF3 Medical Image Processing Image Enhancement in Frequency Domain.
October 29, 2013Computer Vision Lecture 13: Fourier Transform II 1 The Fourier Transform In the previous lecture, we discussed the Hough transform. There.
Course Outline (Tentative) Fundamental Concepts of Signals and Systems Signals Systems Linear Time-Invariant (LTI) Systems Convolution integral and sum.
Spatial Frequencies Spatial Frequencies. Why are Spatial Frequencies important? Efficient data representation Provides a means for modeling and removing.
Chapter 2. Signals and Linear Systems
CH#3 Fourier Series and Transform
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.
Fourier Transform.
Digital Image Processing Lecture 9: Filtering in Frequency Domain Prof. Charlene Tsai.
Chapter 13 Discrete Image Transforms
Frequency domain analysis and Fourier Transform
ENEE 322: Continuous-Time Fourier Transform (Chapter 4)
The Frequency Domain Digital Image Processing – Chapter 8.
Fourier transform.
The Fourier Transform.
CH#3 Fourier Series and Transform 1 st semester King Saud University College of Applied studies and Community Service 1301CT By: Nour Alhariqi.
Math for CS Fourier Transforms
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Convergence of Fourier series It is known that a periodic signal x(t) has a Fourier series representation if it satisfies the following Dirichlet conditions:
Jean Baptiste Joseph Fourier
Chapter 2. Signals and Linear Systems
DIGITAL SIGNAL PROCESSING ELECTRONICS
Lecture 1.26 Spectral analysis of periodic and non-periodic signals.
Image Enhancement in the
UNIT II Analysis of Continuous Time signal
ENG4BF3 Medical Image Processing
Chapter 8 The Discrete Fourier Transform
Advanced Digital Signal Processing
Notes Assignments Tutorial problems
Lecture 17 DFT: Discrete Fourier Transform
Chapter 8 The Discrete Fourier Transform
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Chapter 8 The Discrete Fourier Transform
Signals & Systems (CNET - 221) Chapter-4
Lecture 4 Image Enhancement in Frequency Domain
ENEE222 Elements of Discrete Signal Analysis Lab 9 1.
Presentation transcript:

Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai

2 Introduction The Fourier Transform is generally used to decompose a signal into various sinusoidal components. For an image, the output of the transformation is the representation of the image in frequency space, while the input image is the real space equivalent. In the Fourier space image, each point represents a particular frequency contained in the real domain image. Jean Baptiste Joseph Fourier

3 Significance The Fourier Transform allows us to perform tasks which would be impossible to perform any other way; its efficiency allows us to perform other tasks more quickly. The Fourier Transform provides a powerful alternative to linear spatial filtering; it is more efficient to use the Fourier transform than a spatial filter for a large filter. The Fourier Transform also allows us to isolate and process particular image frequencies, and so perform low-pass and high-pass filtering with a great degree of precision.

4 Some Intuition A periodic function may be written as the sum of sines and cosines of varying amplitudes and frequencies. Examples =>

5 Some Intuition Some functions will require only a finite number of functions in their decomposition; others will require an infinite number.

6 1-D Continuous f(x) is a linear combination of simple periodic patterns. Where Spatial frequency (measured in whole cycle per unit of x) Simple periodic patterns Weight function for the given frequency Image co- ordinate Fourier transform Inverse Fourier transform

7 1-D Discrete (con ’ d) In image processing, we deal with a discrete function. Since we only have to obtain a finite number of values, we only need a finite number of functions to do it. For example: , which we may take as a discrete approximation to the square wave of figure (a). This can be expressed as the sum of two sine functions, (b) and (c) (a) (b) (c)

8 Definition of 1-D DFT Suppose is a sequence of length N. Define its discrete Fourier transform where We can express this definition as matrix multiplication Where F is an NxN matrix defined by

9 Definition of 1-D DFT So that Given N, we shall define Then we can write

10 Example Suppose so that N=4. Then Then we have

11 The Inverse DFT Difference with forward transform: Inverse DFT: Inverse DFT can also be expressed as matrix product (1). There is no scaling factor 1/N (2). The sign inside the exponential function has been changed to positive where

12 Matlab Functions: fft/ifft Example: » a=[ ] » b=fft(a) i i i i i i i i » ifft(b) i i i i i i i i i

13 Properties of 1-D DFT Linearity: Suppose f and g are two vectors of same length, and p and q are scalars, with h = pf + qg. If F,G and H are the DFT’s of f,g and h, then Shifting: Suppose we multiply each element x n of a vector x by (-1) n i.e., we change the sign of every second element. Let the resulting vector be denoted x’. Then DFT X’ of x’ is equal to the DFT X of x with the swapping of the left and right halves. H = pF + qG Applications of some of the properties are shown in next lecture

14 Example » x = [ ] » x1 = (-1).^[0:7].*x x1 = » X=fft(x') X = i i i i i i » X1=fft(x1') X1 = i i i i i i Then the DFT X1 of x1 is equal to the DFT X of x with the swapping of the left and right halves.

15 Properties of 1-D DFT (con ’ d) Conjugate symmetry: If x is real, and of length N, then its DFT X satisfies the condition,where is the complex conjugate of for all k=1,2,3,…,N-1. (check out previous slide) Circular convolution: Suppose x and y are two vectors of the same length N. Then we define their convolution to be the vector,, where

16 Example Thus

17 Properties of 1-D DFT (con ’ d) Circular convolution: can be defined in terms of polynomial products.  Suppose p(u) the polynomial in u whose coefficients are elements of x. Let q(u) be the polynomial whose coefficients are elements of y. From the product p(u)q(u)(1+u N ), and extract the coefficients of u N to u 2N-1, these will be the required circular convolution  Example: we have and Then we expand Extracting the coefficients of u4,u5,…., u7 we obtain

18 Importance of Convolution Suppose x and y are vectors of equal length. Then the DFT of their circular convolution is equal to the element-by-element product of the DFT's of x and y. If Z,X,Y are the DFT’s of z=x*y, x and y respectively, then Z=X.Y » fft(cconv(a,b)') ans = 1.0e+002 * i i » fft(a').*fft(b') ans = 1.0e+002 * i i Example:

19 More on DFT In general, the transform into the frequency domain will be a complex valued function, that is, with magnitude and phase. The DC coefficient: The value F(0) average of the input series.

20 Some Properties of Transform Pair Scaling relationship: Time Shift / Frequency Modulation: The transform of a delta function at the origin is a constant The transform of a constant function is a DC value only. 1/N f(x) F(u) f(x) F(u) Unit impulse

21