www.getmyuni.com Frequency domain analysis and Fourier Transform www.getmyuni.com 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) www.getmyuni.com • 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 www.getmyuni.com A Sum of Sinusoids • Our building block: Asin(x • 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? www.getmyuni.com Fourier Transform • We want to understand the frequency of our signal. So, let’s reparametrize the signal by instead of x: Fourier Transform f(x) F() • For every from 0 to inf, F() holds the amplitude A and phase of the corresponding sine Asin(x – How can F hold both? Complex number trick! F ( ) R( ) iI ( ) A R( ) I ( ) 2 F() 2 Inverse Fourier Transform I ( ) tan R( ) 1 f(x) www.getmyuni.com Time and Frequency • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t) www.getmyuni.com Time and Frequency • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t) = + www.getmyuni.com Frequency Spectra • example : g(t) = sin(2pi f t) + (1/3)sin(2pi (3f) t) = + www.getmyuni.com Frequency Spectra • Usually, frequency is more interesting than the phase www.getmyuni.com Frequency Spectra = = + www.getmyuni.com Frequency Spectra = = + www.getmyuni.com Frequency Spectra = = + www.getmyuni.com Frequency Spectra = = + www.getmyuni.com Frequency Spectra = = + www.getmyuni.com Frequency Spectra 1 = A sin(2 kt ) k 1 k www.getmyuni.com Frequency Spectra FT: Just a change of basis www.getmyuni.com M * f(x) = F() * . . . = www.getmyuni.com IFT: Just a change of basis M-1 * F() = f(x) * . . . = Fourier Transform – more formally www.getmyuni.com Represent the signal as an infinite weighted sum of an infinite number of sinusoids F u Note: f x e i 2ux dx eik cos k i sin k i 1 Arbitrary function Single Analytic Expression Spatial Domain (x) Frequency Domain (u) (Frequency Spectrum F(u)) Inverse Fourier Transform (IFT) f x F u e i 2ux dx www.getmyuni.com Fourier Transform • Also, defined as: F u f x e Note: iux dx eik cos k i sin k • Inverse Fourier Transform (IFT) 1 f x 2 F u eiux dx i 1 www.getmyuni.com Fourier Transform Pairs (I) Note that these are derived using angular frequency ( e iux ) www.getmyuni.com Fourier Transform Pairs (I) Note that these are derived using angular frequency ( e iux ) Fourier Transform and Convolution www.getmyuni.com Let g f h Then G u g x e i 2ux dx f hx e i 2ux ddx f e i 2u f e i 2u d d h x e i 2u x dx hx'e i 2ux ' dx' F u H u Convolution in spatial domain Multiplication in frequency domain Fourier Transform and Convolution www.getmyuni.com Spatial Domain (x) Frequency Domain (u) g f h g fh G FH G F H So, we can find g(x) by Fourier transform g IFT G f FT F h FT H Properties of Fourier Transform www.getmyuni.com Spatial Domain (x) Frequency Domain (u) c1 f x c2 g x c1F u c2Gu Scaling f ax 1 u F a a Shifting f x x0 e i 2ux0 F u Symmetry F x f u Conjugation f x F u Linearity Convolution f x g x F u Gu Differentiation d n f x dxn i 2u n F u Note that these are derived using frequency ( e i 2ux ) Properties of Fourier Transform www.getmyuni.com Example use: Smoothing/Blurring www.getmyuni.com • We want a smoothed function of f(x) g x f x hx • Let us use a Gaussian kernel hx 1 x2 1 h x exp 2 2 2 x • Then 1 2 H u exp 2u 2 2 Gu F u H u H u 1 2 u H(u) attenuates high frequencies in F(u) (Low-pass Filter)! Image Processing in the Fourier Domain www.getmyuni.com Magnitude of the FT Does not look anything like what we have seen Image Processing in the Fourier Domain www.getmyuni.com Magnitude of the FT Does not look anything like what we have seen Convolution is Multiplication in Fourier Domain www.getmyuni.com |F(sx,sy)| f(x,y) * h(x,y) |H(sx,sy)| g(x,y) |G(sx,sy)| www.getmyuni.com Low-pass Filtering Let the low frequencies pass and eliminating the high frequencies. Generates image with overall shading, but not much detail www.getmyuni.com High-pass Filtering Lets through the high frequencies (the detail), but eliminates the low frequencies (the overall shape). It acts like an edge enhancer. www.getmyuni.com Boosting High Frequencies Most information at low frequencies! www.getmyuni.com www.getmyuni.com Fun with Fourier Spectra
© Copyright 2026 Paperzz