SlideShare a Scribd company logo
1 of 37
Computer Vision
Spring 2012 15-385,-685
Instructor: S. Narasimhan
Wean Hall 5409
T-R 10:30am – 11:50am
Frequency domain analysis and
Fourier Transform
Lecture #4
How to Represent Signals?
• Option 1: Taylor series represents any function using
polynomials.
• Polynomials are not the best - unstable and not very
physically meaningful.
• Easier to talk about “signals” in terms of its “frequencies”
(how fast/often signals change, etc).
Jean Baptiste Joseph Fourier (1768-1830)
• Had crazy idea (1807):
• Any periodic function
can be rewritten as a
weighted sum of Sines and
Cosines of different
frequencies.
• Don’t believe it?
– Neither did Lagrange,
Laplace, Poisson and
other big wigs
– Not translated into
English until 1878!
• But it’s true!
– called Fourier Series
– Possibly the greatest tool
used in Engineering
A Sum of Sinusoids
• Our building block:
• Add enough of them to
get any signal f(x) you
want!
• How many degrees of
freedom?
• What does each control?
• Which one encodes the
coarse vs. fine structure of
the signal?

 
x
Asin(
Fourier Transform
• We want to understand the frequency  of our signal. So, let’s
reparametrize the signal by  instead of x:

 
x
Asin(
f(x) F()
Fourier
Transform
F() f(x)
Inverse Fourier
Transform
• For every  from 0 to inf, F() holds the amplitude A and phase
 of the corresponding sine
– How can F hold both? Complex number trick!
)
(
)
(
)
( 

 iI
R
F 

2
2
)
(
)
( 
 I
R
A 


)
(
)
(
tan 1



R
I


Time and Frequency
• example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t)
Time and Frequency
= +
• example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t)
Frequency Spectra
• example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t)
= +
Frequency Spectra
• Usually, frequency is more interesting than the phase
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
= +
=
Frequency Spectra
=
1
1
sin(2 )
k
A kt
k




Frequency Spectra
Frequency Spectra
FT: Just a change of basis
.
.
.
* =
M * f(x) = F()
IFT: Just a change of basis
.
.
.
* =
M-1 * F() = f(x)
Fourier Transform – more formally
Arbitrary function Single Analytic Expression
Spatial Domain (x) Frequency Domain (u)
Represent the signal as an infinite weighted sum
of an infinite number of sinusoids
   





 dx
e
x
f
u
F ux
i 
2
(Frequency Spectrum F(u))
1
sin
cos 


 i
k
i
k
eik
Note:
Inverse Fourier Transform (IFT)
   




 dx
e
u
F
x
f ux
i 
2
• Also, defined as:
   





 dx
e
x
f
u
F iux
1
sin
cos 


 i
k
i
k
eik
Note:
• Inverse Fourier Transform (IFT)
   




 dx
e
u
F
x
f iux

2
1
Fourier Transform
Fourier Transform Pairs (I)
angular frequency ( )
iux
e
Note that these are derived using
angular frequency ( )
iux
e
Note that these are derived using
Fourier Transform Pairs (I)
Fourier Transform and Convolution
h
f
g 

   





 dx
e
x
g
u
G ux
i 
2
   
 








 dx
d
e
x
h
f ux
i


 
2
 
     
 
 










 dx
e
x
h
d
e
f x
u
i
u
i 





 2
2
 
   
 
 








 '
' '
2
2
dx
e
x
h
d
e
f ux
i
u
i 




Let
Then
   
u
H
u
F

Convolution in spatial domain
Multiplication in frequency domain

Fourier Transform and Convolution
h
f
g 
 FH
G 
fh
g  H
F
G 

Spatial Domain (x) Frequency Domain (u)
So, we can find g(x) by Fourier transform
g  f  h
G  F  H
FT FT
IFT
Properties of Fourier Transform
Spatial Domain (x) Frequency Domain (u)
Linearity    
x
g
c
x
f
c 2
1     
u
G
c
u
F
c 2
1 
Scaling  
ax
f 





a
u
F
a
1
Shifting  
0
x
x
f   
u
F
e ux
i 0
2

Symmetry  
x
F  
u
f 
Conjugation  
x
f 
 
u
F 

Convolution    
x
g
x
f     
u
G
u
F
Differentiation
 
n
n
dx
x
f
d
   
u
F
u
i
n

2
frequency ( )
ux
i
e 
2

Note that these are derived using
Properties of Fourier Transform
Example use: Smoothing/Blurring
• We want a smoothed function of f(x)
     
x
h
x
f
x
g 

H(u) attenuates high frequencies in F(u) (Low-pass Filter)!
• Then
    






 2
2
2
2
1
exp 
u
u
H
     
u
H
u
F
u
G 

2
1
u
 
u
H
  






 2
2
2
1
exp
2
1



x
x
h
• Let us use a Gaussian kernel

 
x
h
x
Does not look anything like what we have seen
Magnitude of the FT
Image Processing in the Fourier Domain
Image Processing in the Fourier Domain
Does not look anything like what we have seen
Magnitude of the FT
Convolution is Multiplication in Fourier Domain
*
f(x,y)
h(x,y)
g(x,y)
|F(sx,sy)|
|H(sx,sy)|
|G(sx,sy)|
Low-pass Filtering
Let the low frequencies pass and eliminating the high frequencies.
Generates image with overall
shading, but not much detail
High-pass Filtering
Lets through the high frequencies (the detail), but eliminates the low
frequencies (the overall shape). It acts like an edge enhancer.
Boosting High Frequencies
Most information at low frequencies!
Fun with Fourier Spectra
Next Class
• Image resampling and image pyramids
• Horn, Chapter 6

More Related Content

Similar to lec-4.ppt

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformationWasim Shah
 
fouriertransform.pdf
fouriertransform.pdffouriertransform.pdf
fouriertransform.pdfShamsAli42
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformNimithaSoman
 
IVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersIVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersCharles Deledalle
 
SP_SNS_C3.pptx
SP_SNS_C3.pptxSP_SNS_C3.pptx
SP_SNS_C3.pptxIffahSkmd
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transformvijayanand Kandaswamy
 
SP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxSP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxIffahSkmd
 
03-03-01-ACA-Input-TF-Fourier.pdf
03-03-01-ACA-Input-TF-Fourier.pdf03-03-01-ACA-Input-TF-Fourier.pdf
03-03-01-ACA-Input-TF-Fourier.pdfAlexanderLerch4
 
SP_SNS_C2.pptx
SP_SNS_C2.pptxSP_SNS_C2.pptx
SP_SNS_C2.pptxIffahSkmd
 
Ch1 representation of signal pg 130
Ch1 representation of signal pg 130Ch1 representation of signal pg 130
Ch1 representation of signal pg 130Prateek Omer
 
Seismic data processing lecture 4
Seismic data processing lecture 4Seismic data processing lecture 4
Seismic data processing lecture 4Amin khalil
 
Digital Signal Processing Tutorial Using Python
Digital Signal Processing Tutorial Using PythonDigital Signal Processing Tutorial Using Python
Digital Signal Processing Tutorial Using Pythonindracjr
 
communication system Chapter 3
communication system Chapter 3communication system Chapter 3
communication system Chapter 3moeen khan afridi
 
DISP-2003_L01B_20Feb03.ppt
DISP-2003_L01B_20Feb03.pptDISP-2003_L01B_20Feb03.ppt
DISP-2003_L01B_20Feb03.pptgopal556359
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformSandilya Sridhara
 

Similar to lec-4.ppt (20)

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
Presentation on fourier transformation
Presentation on fourier transformationPresentation on fourier transformation
Presentation on fourier transformation
 
Ft and FFT
Ft and FFTFt and FFT
Ft and FFT
 
8169399.ppt
8169399.ppt8169399.ppt
8169399.ppt
 
fouriertransform.pdf
fouriertransform.pdffouriertransform.pdf
fouriertransform.pdf
 
EC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transformEC8352- Signals and Systems - Unit 2 - Fourier transform
EC8352- Signals and Systems - Unit 2 - Fourier transform
 
IVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filtersIVR - Chapter 3 - Basics of filtering II: Spectral filters
IVR - Chapter 3 - Basics of filtering II: Spectral filters
 
SP_SNS_C3.pptx
SP_SNS_C3.pptxSP_SNS_C3.pptx
SP_SNS_C3.pptx
 
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image TransformDIGITAL IMAGE PROCESSING - Day 4 Image Transform
DIGITAL IMAGE PROCESSING - Day 4 Image Transform
 
SP_BEE2143_C1.pptx
SP_BEE2143_C1.pptxSP_BEE2143_C1.pptx
SP_BEE2143_C1.pptx
 
03-03-01-ACA-Input-TF-Fourier.pdf
03-03-01-ACA-Input-TF-Fourier.pdf03-03-01-ACA-Input-TF-Fourier.pdf
03-03-01-ACA-Input-TF-Fourier.pdf
 
5fourierseries
5fourierseries5fourierseries
5fourierseries
 
SP_SNS_C2.pptx
SP_SNS_C2.pptxSP_SNS_C2.pptx
SP_SNS_C2.pptx
 
Wavelet Transform and DSP Applications
Wavelet Transform and DSP ApplicationsWavelet Transform and DSP Applications
Wavelet Transform and DSP Applications
 
Ch1 representation of signal pg 130
Ch1 representation of signal pg 130Ch1 representation of signal pg 130
Ch1 representation of signal pg 130
 
Seismic data processing lecture 4
Seismic data processing lecture 4Seismic data processing lecture 4
Seismic data processing lecture 4
 
Digital Signal Processing Tutorial Using Python
Digital Signal Processing Tutorial Using PythonDigital Signal Processing Tutorial Using Python
Digital Signal Processing Tutorial Using Python
 
communication system Chapter 3
communication system Chapter 3communication system Chapter 3
communication system Chapter 3
 
DISP-2003_L01B_20Feb03.ppt
DISP-2003_L01B_20Feb03.pptDISP-2003_L01B_20Feb03.ppt
DISP-2003_L01B_20Feb03.ppt
 
Eece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transformEece 301 note set 14 fourier transform
Eece 301 note set 14 fourier transform
 

Recently uploaded

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
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
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
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
 
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
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
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
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Recently uploaded (20)

VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
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
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
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
 
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...
 
Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
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
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

lec-4.ppt

  • 1. Computer Vision Spring 2012 15-385,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am
  • 2. Frequency domain analysis and Fourier Transform Lecture #4
  • 3. How to Represent Signals? • Option 1: Taylor series represents any function using polynomials. • Polynomials are not the best - unstable and not very physically meaningful. • Easier to talk about “signals” in terms of its “frequencies” (how fast/often signals change, etc).
  • 4. Jean Baptiste Joseph Fourier (1768-1830) • Had crazy idea (1807): • Any periodic function can be rewritten as a weighted sum of Sines and Cosines of different frequencies. • Don’t believe it? – Neither did Lagrange, Laplace, Poisson and other big wigs – Not translated into English until 1878! • But it’s true! – called Fourier Series – Possibly the greatest tool used in Engineering
  • 5. A Sum of Sinusoids • Our building block: • Add enough of them to get any signal f(x) you want! • How many degrees of freedom? • What does each control? • Which one encodes the coarse vs. fine structure of the signal?    x Asin(
  • 6. Fourier Transform • We want to understand the frequency  of our signal. So, let’s reparametrize the signal by  instead of x:    x Asin( f(x) F() Fourier Transform F() f(x) Inverse Fourier Transform • For every  from 0 to inf, F() holds the amplitude A and phase  of the corresponding sine – How can F hold both? Complex number trick! ) ( ) ( ) (    iI R F   2 2 ) ( ) (   I R A    ) ( ) ( tan 1    R I  
  • 7. Time and Frequency • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t)
  • 8. Time and Frequency = + • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t)
  • 9. Frequency Spectra • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t) = +
  • 10. Frequency Spectra • Usually, frequency is more interesting than the phase
  • 18. FT: Just a change of basis . . . * = M * f(x) = F()
  • 19. IFT: Just a change of basis . . . * = M-1 * F() = f(x)
  • 20. Fourier Transform – more formally Arbitrary function Single Analytic Expression Spatial Domain (x) Frequency Domain (u) Represent the signal as an infinite weighted sum of an infinite number of sinusoids           dx e x f u F ux i  2 (Frequency Spectrum F(u)) 1 sin cos     i k i k eik Note: Inverse Fourier Transform (IFT)          dx e u F x f ux i  2
  • 21. • Also, defined as:           dx e x f u F iux 1 sin cos     i k i k eik Note: • Inverse Fourier Transform (IFT)          dx e u F x f iux  2 1 Fourier Transform
  • 22. Fourier Transform Pairs (I) angular frequency ( ) iux e Note that these are derived using
  • 23. angular frequency ( ) iux e Note that these are derived using Fourier Transform Pairs (I)
  • 24. Fourier Transform and Convolution h f g             dx e x g u G ux i  2                dx d e x h f ux i     2                        dx e x h d e f x u i u i        2 2                    ' ' ' 2 2 dx e x h d e f ux i u i      Let Then     u H u F  Convolution in spatial domain Multiplication in frequency domain 
  • 25. Fourier Transform and Convolution h f g   FH G  fh g  H F G   Spatial Domain (x) Frequency Domain (u) So, we can find g(x) by Fourier transform g  f  h G  F  H FT FT IFT
  • 26. Properties of Fourier Transform Spatial Domain (x) Frequency Domain (u) Linearity     x g c x f c 2 1      u G c u F c 2 1  Scaling   ax f       a u F a 1 Shifting   0 x x f    u F e ux i 0 2  Symmetry   x F   u f  Conjugation   x f    u F   Convolution     x g x f      u G u F Differentiation   n n dx x f d     u F u i n  2 frequency ( ) ux i e  2  Note that these are derived using
  • 28. Example use: Smoothing/Blurring • We want a smoothed function of f(x)       x h x f x g   H(u) attenuates high frequencies in F(u) (Low-pass Filter)! • Then             2 2 2 2 1 exp  u u H       u H u F u G   2 1 u   u H           2 2 2 1 exp 2 1    x x h • Let us use a Gaussian kernel    x h x
  • 29. Does not look anything like what we have seen Magnitude of the FT Image Processing in the Fourier Domain
  • 30. Image Processing in the Fourier Domain Does not look anything like what we have seen Magnitude of the FT
  • 31. Convolution is Multiplication in Fourier Domain * f(x,y) h(x,y) g(x,y) |F(sx,sy)| |H(sx,sy)| |G(sx,sy)|
  • 32. Low-pass Filtering Let the low frequencies pass and eliminating the high frequencies. Generates image with overall shading, but not much detail
  • 33. High-pass Filtering Lets through the high frequencies (the detail), but eliminates the low frequencies (the overall shape). It acts like an edge enhancer.
  • 35. Most information at low frequencies!
  • 36. Fun with Fourier Spectra
  • 37. Next Class • Image resampling and image pyramids • Horn, Chapter 6