Today s lecture. The Fourier transform. Sampling, aliasing, interpolation The Fast Fourier Transform (FFT) algorithm

Similar documents
Today s lecture. Local neighbourhood processing. The convolution. Removing uncorrelated noise from an image The Fourier transform

Lecture # 06. Image Processing in Frequency Domain

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

Lecture 5. The Digital Fourier Transform. (Based, in part, on The Scientist and Engineer's Guide to Digital Signal Processing by Steven Smith)

CS711008Z Algorithm Design and Analysis

Lecture 4 Filtering in the Frequency Domain. Lin ZHANG, PhD School of Software Engineering Tongji University Spring 2016

Image Analysis. 3. Fourier Transform

Filtering in the Frequency Domain

Fourier Series Example

IMAGE ENHANCEMENT: FILTERING IN THE FREQUENCY DOMAIN. Francesca Pizzorni Ferrarese

Signals and Systems Lecture (S2) Orthogonal Functions and Fourier Series March 17, 2008

ECG782: Multidimensional Digital Signal Processing

Computer Vision. Filtering in the Frequency Domain

Fourier Transform in Image Processing. CS/BIOEN 6640 U of Utah Guido Gerig (slides modified from Marcel Prastawa 2012)

University of Connecticut Lecture Notes for ME5507 Fall 2014 Engineering Analysis I Part III: Fourier Analysis

Contents. Signals as functions (1D, 2D)

Mathematics for Chemists 2 Lecture 14: Fourier analysis. Fourier series, Fourier transform, DFT/FFT

Contents. Signals as functions (1D, 2D)

Fourier Series and Fourier Transforms

Contents. Signals as functions (1D, 2D)

Fourier Transform and Frequency Domain


Lecture 34. Fourier Transforms

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Fourier Transform and its Applications

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

5. THE CLASSES OF FOURIER TRANSFORMS

Fast Fourier Transform

Linear Operators and Fourier Transform

Fourier Transform 2D

3. Lecture. Fourier Transformation Sampling

! Circular Convolution. " Linear convolution with circular convolution. ! Discrete Fourier Transform. " Linear convolution through circular

Topic 3: Fourier Series (FS)

Digital Image Processing. Image Enhancement: Filtering in the Frequency Domain

BME 50500: Image and Signal Processing in Biomedicine. Lecture 2: Discrete Fourier Transform CCNY

Fourier Transform and Frequency Domain

f (t) K(t, u) d t. f (t) K 1 (t, u) d u. Integral Transform Inverse Fourier Transform

Analysis II: Fourier Series

ECE Digital Image Processing and Introduction to Computer Vision. Outline

Discrete-time Fourier transform (DTFT) representation of DT aperiodic signals Section The (DT) Fourier transform (or spectrum) of x[n] is

Continuous-time Fourier Methods

3 rd class Mech. Eng. Dept. hamdiahmed.weebly.com Fourier Series

26. The Fourier Transform in optics

Communication Signals (Haykin Sec. 2.4 and Ziemer Sec Sec. 2.4) KECE321 Communication Systems I

Unstable Oscillations!

G52IVG, School of Computer Science, University of Nottingham

Signal Processing COS 323

Convolution Spatial Aliasing Frequency domain filtering fundamentals Applications Image smoothing Image sharpening

Multimedia Signals and Systems - Audio and Video. Signal, Image, Video Processing Review-Introduction, MP3 and MPEG2

a k cos kω 0 t + b k sin kω 0 t (1) k=1

PHYS 502 Lecture 3: Fourier Series

Review: Continuous Fourier Transform

Scientific Computing: An Introductory Survey

CS 4495 Computer Vision. Frequency and Fourier Transforms. Aaron Bobick School of Interactive Computing. Frequency and Fourier Transform

2 Fourier Transforms and Sampling

Exploring Fourier Transform Techniques with Mathcad Document 1: Introduction to the Fourier Transform

E2.5 Signals & Linear Systems. Tutorial Sheet 1 Introduction to Signals & Systems (Lectures 1 & 2)

!Sketch f(t) over one period. Show that the Fourier Series for f(t) is as given below. What is θ 1?

LES of Turbulent Flows: Lecture 3

Fourier Series and Transforms

Biomedical Engineering Image Formation II

Sound & Vibration Magazine March, Fundamentals of the Discrete Fourier Transform

Digital Image Processing

Math 56 Homework 5 Michael Downs

10 Motivation for Fourier series

Lecture 7 ELE 301: Signals and Systems

ENT 315 Medical Signal Processing CHAPTER 2 DISCRETE FOURIER TRANSFORM. Dr. Lim Chee Chin

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

Images have structure at various scales

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Fourier transform. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Basics about Fourier analysis

LES of Turbulent Flows: Lecture 4 (ME EN )

A523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2011

FILTERING IN THE FREQUENCY DOMAIN

8/19/16. Fourier Analysis. Fourier analysis: the dial tone phone. Fourier analysis: the dial tone phone

Thinking in Frequency

Fourier transforms. R. C. Daileda. Partial Differential Equations April 17, Trinity University

Dr. David A. Clifton Group Leader Computational Health Informatics (CHI) Lab Lecturer in Engineering Science, Balliol College

PHYS 391 Fourier Transform Primer Eric Torrence with modifications by Dean Livelybrooks, March 2014

Information and Communications Security: Encryption and Information Hiding

4.3 The Discrete Fourier Transform (DFT) and the Fast Fourier Transform (FFT)

Signals, Instruments, and Systems W5. Introduction to Signal Processing Sampling, Reconstruction, and Filters

Fourier Series : Dr. Mohammed Saheb Khesbak Page 34

PART 1. Review of DSP. f (t)e iωt dt. F(ω) = f (t) = 1 2π. F(ω)e iωt dω. f (t) F (ω) The Fourier Transform. Fourier Transform.

Fourier Series & The Fourier Transform

Transforms and Orthogonal Bases

DISCRETE FOURIER TRANSFORM

Fourier series. Complex Fourier series. Positive and negative frequencies. Fourier series demonstration. Notes. Notes. Notes.

PS403 - Digital Signal processing

Algorithms of Scientific Computing

L29: Fourier analysis

Fall 2011, EE123 Digital Signal Processing

ECSE 512 Digital Signal Processing I Fall 2010 FINAL EXAMINATION

Fourier Transform with Rotations on Circles and Ellipses in Signal and Image Processing

Image Filtering, Edges and Image Representation

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I

FOURIER ANALYSIS using Python

Series FOURIER SERIES. Graham S McDonald. A self-contained Tutorial Module for learning the technique of Fourier series analysis

Transcription:

Today s lecture The Fourier transform What is it? What is it useful for? What are its properties? Sampling, aliasing, interpolation The Fast Fourier Transform (FFT) algorithm

Jean Baptiste Joseph Fourier Born 21 March 1768, Auxerre (Bourgogne region). Died 16 May 1830, Paris. Same age as Napoleon Bonaparte. Permanent Secretary of the French Academy of Sciences (1822-1830). Foreign member of the Royal Swedish Academy of Sciences (1830).

The Fourier transform = + + +...

Fourier analysis

Fourier example

Fourier example

Fourier example

Fourier example

Complex numbers i= 1 i i= 1 x =a+i b x * =a i b * 2 2 (complex conjugate) 2 x x =a +b = x b x=arctan( ) a e i φ =cos φ+i sin φ x = A ei φ (Euler s formula)

Fourier basis function e iωx = cos(ω x )+i sin(ω x ) ω=2 π f = T 2π T

Fourier basis function e Ae iωx iωx * = cos(ω x )+i sin(ω x ) i ω x +A e is a real-valued function This is why we need negative frequencies At frequency ω we have weight A, at frequency -ω we have weight A*.

Fourier basis function Ae iωx * i ω x +A e e iωx is a real-valued function = cos(ω x )+i sin(ω x ) A= A {cos φ+i sin φ} Ae iωx * i ω x +A e =2 A cos(ω x+φ)

Fourier transform F (ω) = f (x) = f (x) e = F (ω1 )e + i ω1 x F (ω2 )e + i ω2 x F (ω3 )e + i ω3 x... i ω x + + +... dx

Inverse Fourier transform f (x) = 1 2π ω=2 π μ f ( x ) = frequency (periods/second) radial frequency (radian/second) F (ω) e iωx dω F (μ) ei 2 π μ x dμ

Spatial impulse 1 cosine 2 impulses sine 2 impulses box sinc sinc box Gaussian white noise Notice the symmetry! Gaussian white noise Frequency Fourier transform pairs

Fourier transform F (ω) = i ω x f (x) e dx ω=0 F (0) = f (x) d x Does this even exist???

Fourier transform F (ω) = f(x) i ω x f (x) e dx F(ω) ωc smooth function band limit (cutoff frequency) F(ω) = 0, ω > ωc

Sampling spatial domain continuous function sampling function sampled function frequency domain

Reconstruction spatial domain sampled function reconstruction function continuous function frequency domain

Aliasing spatial domain continuous function sampling function sampled function frequency domain

Aliasing Sampling distance

Aliasing

Avoid aliasing frequency domain continuous function sampling function sampled function F(ω) = 0, ω > ωc ωc ωs > 2ωc ωs Minimum sampling frequency Nyquist frequency

Example: aliasing

Example: aliasing When we downsample, we only keep this part!

Example: aliasing The spectrum is replicated, higher frequencies being duplicated as lower frequencies.

Example: Moire

Example: Moire

Discrete Fourier transform spatial domain continuous function sampled function continuous image discrete image frequency domain

Discrete Fourier transform N 1 F [k ] = i f [n] e 2π kn N n=0 N 1 f [ n] = 1 N F [k] e i 2 kn N k =0 Main difference with F(ω) is that F[k] is defined on a limited domain (N samples), and that these samples are assumed to repeat periodically: F[k] = F[k+N]. In the same way, f[n] is defined by N samples, which are assumed to repeat periodically: f[n] = f[n+n].

Discrete Fourier transform The DFT only has positive frequencies!?!?!? Remember: it is periodic! F[k] = F[k+N] Thus: F[-k] = F[N-k] k 0 N

Fourier transform in 2D, 3D, etc. Simplest thing there is! the FT is separable: Perform transform along x-axis, Perform transform along y-axis of result, Perform transform along z-axis of result, (etc.) m m v n m n M 1 F [u, v ] = N 1 m=0 n=0 u i 2 f [n, m] e un vm N M M 1 = u N 1 m=0 n=0 i f [n, m] e 2 un N i e 2 vm M

2D Fourier transform pairs sine box FT

2D Fourier transform pairs pillbox Gauss FT

2D transform example 1

2D transform example 1

2D transform example 2

2D transform example 2

2D transform example 3

2D transform example 3

2D transform example 4

2D transform example 4

2D transform example 5

2D transform example 5

Properties of the Fourier transform Spatial scaling Linear Amplitude scaling Addition Translation phase change real, even Symmetry real, even real, odd imaginary, odd

Properties of the Fourier transform Rotation

What is more important? Jean Baptiste Joseph Fourier magnitude phase

What is more important? magnitude phase

The Fast Fourier Transform (FFT) Clever algorithm to compute the DFT. Runs in O(N log N) time, rather than O(N2) time. Because of symmetry of the forward and inverse Fourier transforms, FFT can also compute the IDFT. i F [k ] =F even [k ]+F odd [k ]e 2π k N i F [k +M ] =F even [k ] F odd [k ]e N = 2n 0 M-1 N = 2M 2π k N N-1

Summary of today s lecture The Fourier transform decomposes a function (image) into trigonometric basis functions (sines & cosines). The Fourier transform is used to analyse frequency components of an image. Aliasing can be understood through the Fourier transform FFT is a fast algorithm to compute the DFT 2D FT is separable

Reading assignment The Fourier transform and the DFT Sampling and aliasing Sections 4.3, 4.5.4 The FFT Sections 4.2, 4.4, 4.5, 4.6, 4.11.1 Section 4.11.3 Exercises: 4.3 4.4 4.22