SlideShare a Scribd company logo
1 of 39
Download to read offline
Fourier Transform
in
Image Processing
CS/BIOEN 6640 U of Utah
Guido Gerig
(slides modified from
Marcel Prastawa 2012)
Basis Decomposition
• Write a function as a weighted sum of
basis functions
• What is a good set of basis functions?
• How do you determine the weights?
)
(
)
( x
B
w
x
f i
i


Sine Waves
• Use sine waves of different frequencies
as basis functions?
Limitation of Sines
• Sines are odd / anti-symmetric:
• Sine basis cannot create even
functions:
Limitation of Cosines
• Cosines are even / symmetric functions:
• Cosine basis cannot create odd
functions:
Combine Cosines and Sines
• Allow creation of both even and odd
functions with different combinations:
Odd
Even
Why Sines and Cosines?
• Represent functions as a combination of
basis with different frequencies
Why Sines and Cosines?
• Represent functions as a combination of
basis with different frequencies
• Intuitive description of signals / images:
– how much high frequency content?
– what do the low freq. content look like?
Why Sines and Cosines?
• Represent functions as a combination of
basis with different frequencies
• Intuitive description of signals / images:
– how much high frequency content?
– what do the low freq. content look like?
• Image processing “language”:
– remove noise by reducing high freq content
– explains sampling / perception phenomena
Jean Baptiste Joseph Fourier
Basic contributions 1807:
• Fourier Series: Represent any periodic function as a
weighted combination of sine and cosines of different
frequencies.
• Fourier Transform: Even non-periodic functions with
finite area: Integral of weighted sine and cosine
functions.
• Functions (signals) can be completely reconstructed
from the Fourier domain without loosing any
information.
The Fourier Transform
Reminder: Euler’s Identity
• From calculus
• j is the imaginary part of a complex
number
x
j
x
e sin
cos 

jx
Fourier Transform
• Forward, mapping to frequency domain:
• Backward, inverse mapping to time
domain:
+
Space and Frequency
Fourier Series
• Projection or change of basis
• Coordinates (coeffs) in Fourier basis:
• Rewrite f as:
1
Fourier Series: f(t) →F(s)
source: http://en.wikipedia.org/wiki/Fourier_series
Fourier Series: Approximation
Visualisation of an approximation of a
square wave by taking the first 1, 2, 3
and 4 terms of its Fourier series
Visualisation of an approximation of a
sawtooth wave of the same amplitude
and frequency for comparison
Source: http://en.wikipedia.org/wiki/Fourier_series
Demonstration
http://www.falstad.com/fourier/
Fourier Basis
• Why Fourier basis?
– Can represent integrable functions with
finite support (J P Fourier 1807)
• Also
– Orthonormal in [-pi, pi]
– Periodic signals with different frequencies
– Continuous, differentiable basis
Orthonormality
-3 -2 -1 1 2 3
-1.0
-0.5
0.5
1.0
Example: Cos(x), Cos(2x), Cos(x)*Cos(2x)
cos cos 2 0
Fourier Transform
• Forward, mapping to frequency domain:
• Backward, inverse mapping to time
domain:
+
Sifting Property
• See text book DIP 4.2.3
Common Transform Pairs
Dirac delta - constant
Digital Image Processing, 3rd ed.
Digital Image Processing, 3rd ed.
www.ImageProcessingPlace.com
© 1992–2008 R. C. Gonzalez & R. E. Woods
Gonzalez & Woods
Chapter 4
Filtering in the Frequency Domain
Chapter 4
Filtering in the Frequency Domain
Common Transform Pairs
Rectangle – sinc
sinc(x) = sin(x) / x
Common Transform Pairs
Cosine - Two symmetric Diracs
Common Transform Pairs
Gaussian – Gaussian (inverse variance)
Common Transform Pairs
Comb – comb (inverse width)
Quiz
What is the FT of a triangle function?
Hint: how do you get triangle function from the
functions shown so far?
Answer
Triangle = box convolved with box
So its FT is sinc * sinc
Quiz
• What is the FT?
• Hint: use FT properties and express as
functions with known transforms
Answer
f(x) = Π(x /4) – Λ(x /2) + .5Λ(x)
FT is linear, so
F(s) = 4sinc(4s) - 2sinc2(2s) + .5sinc2(s)
Fourier Transform
F(s) = 4sinc(4s) - 2sinc2(2s) + .5sinc2(s)
F(s)
InverseFourier
f(x)
Cut-off High Frequencies
f(x)
F(s)
InverseFourier
F(s) = (4sinc(4s) - 2sinc2(2s) + .5sinc2(s))*(HeavisidePi(w/8)
1D: Common Transform Pairs
Summary
source
FT Properties: Convolution
• See book DIP 4.2.5:
• Convolution in space/time domain is
equiv. to multiplication in frequency
domain.
Important Application
Filtering in frequency Domain
FT Properties

More Related Content

Similar to CS6640_F2014_Fourier_I.pdf (20)

Lec11.ppt
Lec11.pptLec11.ppt
Lec11.ppt
 
Fourier transform in X-ray crystallography .ppt
Fourier transform in X-ray crystallography .pptFourier transform in X-ray crystallography .ppt
Fourier transform in X-ray crystallography .ppt
 
Fourier image
Fourier imageFourier image
Fourier image
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 
Fourier_Series.pptx
Fourier_Series.pptxFourier_Series.pptx
Fourier_Series.pptx
 
lec-4.ppt
lec-4.pptlec-4.ppt
lec-4.ppt
 
lec-4.ppt
lec-4.pptlec-4.ppt
lec-4.ppt
 
lec-4.ppt
lec-4.pptlec-4.ppt
lec-4.ppt
 
FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
Functions.pptx
Functions.pptxFunctions.pptx
Functions.pptx
 
Wavelet Transform and DSP Applications
Wavelet Transform and DSP ApplicationsWavelet Transform and DSP Applications
Wavelet Transform and DSP Applications
 
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
Discrete Fourier Series | Discrete Fourier Transform | Discrete Time Fourier ...
 
Infinite series
Infinite seriesInfinite series
Infinite series
 
Wavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGAWavelet Based Image Compression Using FPGA
Wavelet Based Image Compression Using FPGA
 
Daubechies wavelets
Daubechies waveletsDaubechies wavelets
Daubechies wavelets
 
240 spatial encoding
240 spatial encoding240 spatial encoding
240 spatial encoding
 
240 spatial encoding
240 spatial encoding240 spatial encoding
240 spatial encoding
 
Functions
Functions Functions
Functions
 
Lecture 9-online
Lecture 9-onlineLecture 9-online
Lecture 9-online
 
Nabaa
NabaaNabaa
Nabaa
 

Recently uploaded

Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 

Recently uploaded (20)

Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 

CS6640_F2014_Fourier_I.pdf