SlideShare ist ein Scribd-Unternehmen logo
1 von 54
Fourier Transform


Naveen Sihag
Mathematical Background:
                Complex Numbers
• A complex number x is of the form:



             a: real part, b: imaginary part

• Addition



• Multiplication
Mathematical Background:
            Complex Numbers (cont’d)
• Magnitude-Phase (i.e.,vector) representation



                              Magnitude:

                     Phase:
        φ
                                Phase – Magnitude notation:
Mathematical Background:
           Complex Numbers (cont’d)
• Multiplication using magnitude-phase representation




• Complex conjugate



• Properties
Mathematical Background:
           Complex Numbers (cont’d)
• Euler’s formula




• Properties
                    j
Mathematical Background:
           Sine and Cosine Functions
• Periodic functions
• General form of sine and cosine functions:
Mathematical Background:
Sine and Cosine Functions
  Special case: A=1, b=0, α=1


                           π




                       π
Mathematical Background:
    Sine and Cosine Functions (cont’d)

   • Shifting or translating the sine function by a const b




Note: cosine is a shifted sine function:
                                        π
                       cos(t ) = sin(t + )
                                        2
Mathematical Background:
      Sine and Cosine Functions (cont’d)
• Changing the amplitude A
Mathematical Background:
      Sine and Cosine Functions (cont’d)
• Changing the period T=2π/|α|
     consider A=1, b=0: y=cos(αt)
                                               α =4
                                         period 2π/4=π/2

                                           shorter period
                                          higher frequency
                                        (i.e., oscillates faster)

                                    Frequency is defined as f=1/T

        Alternative notation: sin(αt)=sin(2πt/T)=sin(2πft)
Image Transforms
• Many times, image processing tasks are best
  performed in a domain other than the spatial domain.
• Key steps:
   (1) Transform the image
   (2) Carry the task(s) in the transformed domain.
   (3) Apply inverse transform to return to the spatial domain.
Transformation Kernels

• Forward Transformation                        forward transformation kernel


               M −1 N −1
T (u , v) =    ∑∑ f ( x, y)r ( x, y, u, v)
               x =0 y =0
                                             u = 0,1,..., M − 1, v =0,1,..., N − 1


                                                inverse transformation kernel
• Inverse Transformation
               M −1 N −1
f ( x, y ) =   ∑∑ T (u, v)s( x, y, u, v)
               u =0 v =0
                                             x = 0,1,..., M − 1, y = 0,1,..., N − 1
Kernel Properties

• A kernel is said to be separable if:

           r ( x, y, u, v) = r1 ( x, u )r2 ( y, v)

• A kernel is said to be symmetric if:

          r ( x, y, u , v) = r1 ( x, u )r1 ( y, v)
Notation

• Continuous Fourier Transform (FT)

• Discrete Fourier Transform (DFT)

• Fast Fourier Transform (FFT)
Fourier Series Theorem
• Any periodic function can be expressed as a weighted
  sum (infinite) of sine and cosine functions of varying
  frequency:




             is called the “fundamental frequency”
Fourier Series (cont’d)




                   α1

              α2


              α3
Continuous Fourier Transform (FT)

• Transforms a signal (i.e., function) from the spatial
  domain to the frequency domain.




      (IFT)


                      where
Why is FT Useful?

• Easier to remove undesirable frequencies.

• Faster perform certain operations in the frequency
  domain than in the spatial domain.
Example: Removing undesirable frequencies

                            noisy signal   frequencies




To remove certain        remove high       reconstructed
                         frequencies       signal
frequencies, set their
corresponding F(u)
coefficients to zero!
How do frequencies show up in an image?

• Low frequencies correspond to slowly varying
  information (e.g., continuous surface).
• High frequencies correspond to quickly varying
  information (e.g., edges)




        Original Image      Low-passed
Example of noise reduction using FT
Frequency Filtering Steps

1. Take the FT of f(x):

2. Remove undesired frequencies:

3. Convert back to a signal:


      We’ll talk more about this later .....
Definitions

• F(u) is a complex function:

• Magnitude of FT (spectrum):

• Phase of FT:

• Magnitude-Phase representation:

• Power of f(x): P(u)=|F(u)|2=
Example: rectangular pulse



                            magnitude




rect(x) function   sinc(x)=sin(x)/x
Example: impulse or “delta” function

• Definition of delta function:

• Properties:
Example: impulse or “delta” function (cont’d)

• FT of delta function:




                              1



                          x
                                  u
Example: spatial/frequency shifts


f ( x) ↔ F (u ), then
                                                             Special Cases:

                                                                          − j 2πux0
(1) f ( x − x0 ) ↔ e           − j 2πux0
                                           F (u )   δ ( x − x0 ) ↔ e

                                                        j 2πu0 x
( 2) f ( x ) e   j 2πu0 x
                            ↔ F (u − u 0 )          e              ↔ δ (u − u 0 )
Example: sine and cosine functions

• FT of the cosine function




                     cos(2πu0x)         F(u)


                                  1/2
Example: sine and cosine functions (cont’d)

• FT of the sine function




                                  -jF(u)
                     sin(2πu0x)
Extending FT in 2D

• Forward FT




• Inverse FT
Example: 2D rectangle function
• FT of 2D rectangle function




                                2D sinc()
Discrete Fourier Transform (DFT)
Discrete Fourier Transform (DFT) (cont’d)

• Forward DFT




• Inverse DFT




                                       1/NΔx
Example
Extending DFT to 2D

• Assume that f(x,y) is M x N.

• Forward DFT




• Inverse DFT:
Extending DFT to 2D (cont’d)

• Special case: f(x,y) is N x N.

• Forward DFT

                       u,v = 0,1,2, …, N-1


• Inverse DFT

                       x,y = 0,1,2, …, N-1
Visualizing DFT

• Typically, we visualize |F(u,v)|
• The dynamic range of |F(u,v)| is typically very large

• Apply streching:                               (c is const)




  original image      before scaling     after scaling
DFT Properties: (1) Separability

• The 2D DFT can be computed using 1D transforms only:

   Forward DFT:



   Inverse DFT:



kernel is                      ux + vy                   ux         vy
                      − j 2π (         )        − j 2 π ( ) − j 2π ( )
separable:        e              N
                                           =e            N
                                                          e         N
DFT Properties: (1) Separability (cont’d)

• Rewrite F(u,v) as follows:




• Let’s set:



• Then:
DFT Properties: (1) Separability (cont’d)

• How can we compute F(x,v)?

                                               )



                N x DFT of rows of f(x,y)

• How can we compute F(u,v)?

                               DFT of cols of F(x,v)
DFT Properties: (1) Separability (cont’d)
DFT Properties: (2) Periodicity

• The DFT and its inverse are periodic with period N
DFT Properties: (3) Symmetry

• If f(x,y) is real, then




             (see Table 4.1 for more properties)
DFT Properties: (4) Translation

            f(x,y)            F(u,v)

 • Translation is spatial domain:




• Translation is frequency domain:

                     )
               N
DFT Properties: (4) Translation (cont’d)

• Warning: to show a full period, we need to translate
  the origin of the transform at u=N/2 (or at (N/2,N/2)
  in 2D)
                                                   |F(u)|




                                                |F(u-N/2)|
DFT Properties: (4) Translation (cont’d)
• To move F(u,v) at (N/2, N/2), take


 Using                    )
                      N
DFT Properties: (4) Translation (cont’d)




                  no translation   after translation
DFT Properties: (5) Rotation

• Rotating f(x,y) by θ rotates F(u,v) by θ
DFT Properties: (6) Addition/Multiplication




 but …
DFT Properties: (7) Scale
DFT Properties: (8) Average value

      Average:



F(u,v) at u=0, v=0:



                      So:
Magnitude and Phase of DFT
• What is more important?




                      magnitude          phase



• Hint: use inverse DFT to reconstruct the image
  using magnitude or phase only information
Magnitude and Phase of DFT (cont’d)
               Reconstructed image using
                magnitude only
               (i.e., magnitude determines the
               contribution of each component!)



                Reconstructed image using
                 phase only
                (i.e., phase determines
                which components are present!)
Magnitude and Phase of DFT (cont’d)

Weitere ähnliche Inhalte

Was ist angesagt?

Fourier transforms
Fourier transformsFourier transforms
Fourier transformskalung0313
 
Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transformMOHAMMAD AKRAM
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)Oka Danil
 
fourier transforms
fourier transformsfourier transforms
fourier transformsUmang Gupta
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transformop205
 
Fourier series Introduction
Fourier series IntroductionFourier series Introduction
Fourier series IntroductionRizwan Kazi
 
Introduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysisIntroduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysis宗翰 謝
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 
Fourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamFourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamMd Nazmul Islam
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier TransformAbhishek Choksi
 
Application of Fourier Transformation
Application of Fourier TransformationApplication of Fourier Transformation
Application of Fourier TransformationManishKumar3747
 
Applications of fourier series in electrical engineering
Applications of fourier series in electrical engineering Applications of fourier series in electrical engineering
Applications of fourier series in electrical engineering Engr Mir Noor Ahmed Langove
 

Was ist angesagt? (20)

Fourier transforms
Fourier transformsFourier transforms
Fourier transforms
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Discrete fourier transform
Discrete fourier transformDiscrete fourier transform
Discrete fourier transform
 
The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)The Fast Fourier Transform (FFT)
The Fast Fourier Transform (FFT)
 
fourier transforms
fourier transformsfourier transforms
fourier transforms
 
Fast Fourier Transform
Fast Fourier TransformFast Fourier Transform
Fast Fourier Transform
 
Fourier series Introduction
Fourier series IntroductionFourier series Introduction
Fourier series Introduction
 
Introduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysisIntroduction to Fourier transform and signal analysis
Introduction to Fourier transform and signal analysis
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
Fourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islamFourier series and its applications by md nazmul islam
Fourier series and its applications by md nazmul islam
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Fourier transform
Fourier transformFourier transform
Fourier transform
 
Z transform ROC eng.Math
Z transform ROC eng.MathZ transform ROC eng.Math
Z transform ROC eng.Math
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
Fourier series
Fourier seriesFourier series
Fourier series
 
Dif fft
Dif fftDif fft
Dif fft
 
Application of Fourier Transformation
Application of Fourier TransformationApplication of Fourier Transformation
Application of Fourier Transformation
 
Applications of fourier series in electrical engineering
Applications of fourier series in electrical engineering Applications of fourier series in electrical engineering
Applications of fourier series in electrical engineering
 
Fourier series
Fourier seriesFourier series
Fourier series
 

Andere mochten auch

Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier seriesGirish Dhareshwar
 
Laplace transform and its applications
Laplace transform and its applicationsLaplace transform and its applications
Laplace transform and its applicationsNisarg Shah
 
History and Real Life Applications of Fourier Analaysis
History and Real Life Applications of Fourier AnalaysisHistory and Real Life Applications of Fourier Analaysis
History and Real Life Applications of Fourier AnalaysisSyed Ahmed Zaki
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applicationsAgam Goel
 
fourier series
fourier seriesfourier series
fourier series8laddu8
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier TransformDaphne Silveira
 
Optics Fourier Transform Ii
Optics Fourier Transform IiOptics Fourier Transform Ii
Optics Fourier Transform Iidiarmseven
 
Application of fourier transform
Application of fourier transformApplication of fourier transform
Application of fourier transformBarani Tharan
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4HIMANSHU DIWAKAR
 

Andere mochten auch (15)

Fourier series and transforms
Fourier series and transformsFourier series and transforms
Fourier series and transforms
 
Fft ppt
Fft pptFft ppt
Fft ppt
 
Application of fourier series
Application of fourier seriesApplication of fourier series
Application of fourier series
 
Fourier series 1
Fourier series 1Fourier series 1
Fourier series 1
 
Laplace transform and its applications
Laplace transform and its applicationsLaplace transform and its applications
Laplace transform and its applications
 
History and Real Life Applications of Fourier Analaysis
History and Real Life Applications of Fourier AnalaysisHistory and Real Life Applications of Fourier Analaysis
History and Real Life Applications of Fourier Analaysis
 
Dft and its applications
Dft and its applicationsDft and its applications
Dft and its applications
 
fourier series
fourier seriesfourier series
fourier series
 
Ppt on fft
Ppt on fftPpt on fft
Ppt on fft
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier Transform
 
Optics Fourier Transform Ii
Optics Fourier Transform IiOptics Fourier Transform Ii
Optics Fourier Transform Ii
 
Fft
FftFft
Fft
 
Application of fourier transform
Application of fourier transformApplication of fourier transform
Application of fourier transform
 
Dft,fft,windowing
Dft,fft,windowingDft,fft,windowing
Dft,fft,windowing
 
The discrete fourier transform (dsp) 4
The discrete fourier transform  (dsp) 4The discrete fourier transform  (dsp) 4
The discrete fourier transform (dsp) 4
 

Ähnlich wie Fourier transform

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentationssuseracb8ba
 
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
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformationsJohn Williams
 
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
 
Unit vii
Unit viiUnit vii
Unit viimrecedu
 
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 transformSimranjit Singh
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier TransformWaqas Afzal
 
Learning object 1
Learning object 1Learning object 1
Learning object 1Ina Na
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier TransformShahryar Ali
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainMalik obeisat
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrixRumah Belajar
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods thanhhoang2012
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representationNikolay Karpov
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidXavier Davias
 

Ähnlich wie Fourier transform (20)

FourierTransform detailed power point presentation
FourierTransform detailed power point presentationFourierTransform detailed power point presentation
FourierTransform detailed power point presentation
 
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
 
Image trnsformations
Image trnsformationsImage trnsformations
Image trnsformations
 
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
 
Unit vii
Unit viiUnit vii
Unit vii
 
Lecture 9
Lecture 9Lecture 9
Lecture 9
 
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
 
Dft
DftDft
Dft
 
Discrete Time Fourier Transform
Discrete Time Fourier TransformDiscrete Time Fourier Transform
Discrete Time Fourier Transform
 
Learning object 1
Learning object 1Learning object 1
Learning object 1
 
Discrete Fourier Transform
Discrete Fourier TransformDiscrete Fourier Transform
Discrete Fourier Transform
 
Digital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domainDigital Image Processing_ ch3 enhancement freq-domain
Digital Image Processing_ ch3 enhancement freq-domain
 
02 2d systems matrix
02 2d systems matrix02 2d systems matrix
02 2d systems matrix
 
Lec11.ppt
Lec11.pptLec11.ppt
Lec11.ppt
 
Fourier slide
Fourier slideFourier slide
Fourier slide
 
Lect5 v2
Lect5 v2Lect5 v2
Lect5 v2
 
Frequency domain methods
Frequency domain methods Frequency domain methods
Frequency domain methods
 
Speech signal time frequency representation
Speech signal time frequency representationSpeech signal time frequency representation
Speech signal time frequency representation
 
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoidFourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
Fourier transforms & fft algorithm (paul heckbert, 1998) by tantanoid
 
Unit ii
Unit iiUnit ii
Unit ii
 

Mehr von Naveen Sihag

Mehr von Naveen Sihag (20)

A P J Abdul Kalam
A P J Abdul KalamA P J Abdul Kalam
A P J Abdul Kalam
 
Rise to power adolf hitler
Rise to power adolf hitlerRise to power adolf hitler
Rise to power adolf hitler
 
Networking
NetworkingNetworking
Networking
 
Efective computing
Efective computingEfective computing
Efective computing
 
Bluetooth 1
Bluetooth 1Bluetooth 1
Bluetooth 1
 
Black holes
Black holesBlack holes
Black holes
 
Bluetooth 1
Bluetooth 1Bluetooth 1
Bluetooth 1
 
Black holes
Black holesBlack holes
Black holes
 
Visible light communication
Visible light communicationVisible light communication
Visible light communication
 
Variable frequency drives
Variable frequency drivesVariable frequency drives
Variable frequency drives
 
Usb
UsbUsb
Usb
 
Transducers
TransducersTransducers
Transducers
 
Touch screen technology
Touch screen technologyTouch screen technology
Touch screen technology
 
Solids and semiconductors
Solids and semiconductorsSolids and semiconductors
Solids and semiconductors
 
Sms &mms
Sms &mmsSms &mms
Sms &mms
 
Robotics and collision detection
Robotics and   collision detectionRobotics and   collision detection
Robotics and collision detection
 
Renewable energy
Renewable energyRenewable energy
Renewable energy
 
Red tacton
Red tactonRed tacton
Red tacton
 
Pulse code modulation
Pulse code modulationPulse code modulation
Pulse code modulation
 
Paper battery
Paper batteryPaper battery
Paper battery
 

Kürzlich hochgeladen

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 

Kürzlich hochgeladen (20)

Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 

Fourier transform

  • 2. Mathematical Background: Complex Numbers • A complex number x is of the form: a: real part, b: imaginary part • Addition • Multiplication
  • 3. Mathematical Background: Complex Numbers (cont’d) • Magnitude-Phase (i.e.,vector) representation Magnitude: Phase: φ Phase – Magnitude notation:
  • 4. Mathematical Background: Complex Numbers (cont’d) • Multiplication using magnitude-phase representation • Complex conjugate • Properties
  • 5. Mathematical Background: Complex Numbers (cont’d) • Euler’s formula • Properties j
  • 6. Mathematical Background: Sine and Cosine Functions • Periodic functions • General form of sine and cosine functions:
  • 7. Mathematical Background: Sine and Cosine Functions Special case: A=1, b=0, α=1 π π
  • 8. Mathematical Background: Sine and Cosine Functions (cont’d) • Shifting or translating the sine function by a const b Note: cosine is a shifted sine function: π cos(t ) = sin(t + ) 2
  • 9. Mathematical Background: Sine and Cosine Functions (cont’d) • Changing the amplitude A
  • 10. Mathematical Background: Sine and Cosine Functions (cont’d) • Changing the period T=2π/|α| consider A=1, b=0: y=cos(αt) α =4 period 2π/4=π/2 shorter period higher frequency (i.e., oscillates faster) Frequency is defined as f=1/T Alternative notation: sin(αt)=sin(2πt/T)=sin(2πft)
  • 11. Image Transforms • Many times, image processing tasks are best performed in a domain other than the spatial domain. • Key steps: (1) Transform the image (2) Carry the task(s) in the transformed domain. (3) Apply inverse transform to return to the spatial domain.
  • 12. Transformation Kernels • Forward Transformation forward transformation kernel M −1 N −1 T (u , v) = ∑∑ f ( x, y)r ( x, y, u, v) x =0 y =0 u = 0,1,..., M − 1, v =0,1,..., N − 1 inverse transformation kernel • Inverse Transformation M −1 N −1 f ( x, y ) = ∑∑ T (u, v)s( x, y, u, v) u =0 v =0 x = 0,1,..., M − 1, y = 0,1,..., N − 1
  • 13. Kernel Properties • A kernel is said to be separable if: r ( x, y, u, v) = r1 ( x, u )r2 ( y, v) • A kernel is said to be symmetric if: r ( x, y, u , v) = r1 ( x, u )r1 ( y, v)
  • 14. Notation • Continuous Fourier Transform (FT) • Discrete Fourier Transform (DFT) • Fast Fourier Transform (FFT)
  • 15. Fourier Series Theorem • Any periodic function can be expressed as a weighted sum (infinite) of sine and cosine functions of varying frequency: is called the “fundamental frequency”
  • 17. Continuous Fourier Transform (FT) • Transforms a signal (i.e., function) from the spatial domain to the frequency domain. (IFT) where
  • 18. Why is FT Useful? • Easier to remove undesirable frequencies. • Faster perform certain operations in the frequency domain than in the spatial domain.
  • 19. Example: Removing undesirable frequencies noisy signal frequencies To remove certain remove high reconstructed frequencies signal frequencies, set their corresponding F(u) coefficients to zero!
  • 20. How do frequencies show up in an image? • Low frequencies correspond to slowly varying information (e.g., continuous surface). • High frequencies correspond to quickly varying information (e.g., edges) Original Image Low-passed
  • 21. Example of noise reduction using FT
  • 22. Frequency Filtering Steps 1. Take the FT of f(x): 2. Remove undesired frequencies: 3. Convert back to a signal: We’ll talk more about this later .....
  • 23. Definitions • F(u) is a complex function: • Magnitude of FT (spectrum): • Phase of FT: • Magnitude-Phase representation: • Power of f(x): P(u)=|F(u)|2=
  • 24. Example: rectangular pulse magnitude rect(x) function sinc(x)=sin(x)/x
  • 25. Example: impulse or “delta” function • Definition of delta function: • Properties:
  • 26. Example: impulse or “delta” function (cont’d) • FT of delta function: 1 x u
  • 27. Example: spatial/frequency shifts f ( x) ↔ F (u ), then Special Cases: − j 2πux0 (1) f ( x − x0 ) ↔ e − j 2πux0 F (u ) δ ( x − x0 ) ↔ e j 2πu0 x ( 2) f ( x ) e j 2πu0 x ↔ F (u − u 0 ) e ↔ δ (u − u 0 )
  • 28. Example: sine and cosine functions • FT of the cosine function cos(2πu0x) F(u) 1/2
  • 29. Example: sine and cosine functions (cont’d) • FT of the sine function -jF(u) sin(2πu0x)
  • 30. Extending FT in 2D • Forward FT • Inverse FT
  • 31. Example: 2D rectangle function • FT of 2D rectangle function 2D sinc()
  • 33. Discrete Fourier Transform (DFT) (cont’d) • Forward DFT • Inverse DFT 1/NΔx
  • 35. Extending DFT to 2D • Assume that f(x,y) is M x N. • Forward DFT • Inverse DFT:
  • 36. Extending DFT to 2D (cont’d) • Special case: f(x,y) is N x N. • Forward DFT u,v = 0,1,2, …, N-1 • Inverse DFT x,y = 0,1,2, …, N-1
  • 37. Visualizing DFT • Typically, we visualize |F(u,v)| • The dynamic range of |F(u,v)| is typically very large • Apply streching: (c is const) original image before scaling after scaling
  • 38. DFT Properties: (1) Separability • The 2D DFT can be computed using 1D transforms only: Forward DFT: Inverse DFT: kernel is ux + vy ux vy − j 2π ( ) − j 2 π ( ) − j 2π ( ) separable: e N =e N e N
  • 39. DFT Properties: (1) Separability (cont’d) • Rewrite F(u,v) as follows: • Let’s set: • Then:
  • 40. DFT Properties: (1) Separability (cont’d) • How can we compute F(x,v)? ) N x DFT of rows of f(x,y) • How can we compute F(u,v)? DFT of cols of F(x,v)
  • 41. DFT Properties: (1) Separability (cont’d)
  • 42. DFT Properties: (2) Periodicity • The DFT and its inverse are periodic with period N
  • 43. DFT Properties: (3) Symmetry • If f(x,y) is real, then (see Table 4.1 for more properties)
  • 44. DFT Properties: (4) Translation f(x,y) F(u,v) • Translation is spatial domain: • Translation is frequency domain: ) N
  • 45. DFT Properties: (4) Translation (cont’d) • Warning: to show a full period, we need to translate the origin of the transform at u=N/2 (or at (N/2,N/2) in 2D) |F(u)| |F(u-N/2)|
  • 46. DFT Properties: (4) Translation (cont’d) • To move F(u,v) at (N/2, N/2), take Using ) N
  • 47. DFT Properties: (4) Translation (cont’d) no translation after translation
  • 48. DFT Properties: (5) Rotation • Rotating f(x,y) by θ rotates F(u,v) by θ
  • 49. DFT Properties: (6) Addition/Multiplication but …
  • 51. DFT Properties: (8) Average value Average: F(u,v) at u=0, v=0: So:
  • 52. Magnitude and Phase of DFT • What is more important? magnitude phase • Hint: use inverse DFT to reconstruct the image using magnitude or phase only information
  • 53. Magnitude and Phase of DFT (cont’d) Reconstructed image using magnitude only (i.e., magnitude determines the contribution of each component!) Reconstructed image using phase only (i.e., phase determines which components are present!)
  • 54. Magnitude and Phase of DFT (cont’d)