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

Size: px
Start display at page:

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

Transcription

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

2 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

3 Background Fourier analysis (Fourier series and Fourier transforms) is quite useful in many engineering fields Linear image filtering can be performed in the frequency domain A working knowledge of the Fourier analysis can help us have a thorough understanding of the image filtering

4 Background Jean Baptiste Joseph Fourier was born in 1768, in France Most famous for his work La Théorie Analitique de la Chaleur published in 1822 Translated into English in 1878: The Analytic Theory of Heat 21 March May 1830

5 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

6 Fourier Series For any periodic function f(t), how to extract the component of f at a specific frequency? is composed of the following components

7 Fourier Series For any periodic function f(t), how to extract the component of f at a specific frequency?

8 Fourier Series For any periodic function f(t), how to extract the component of f at a specific frequency?

9 Fourier Series For any periodic function f(t), how to extract the component of f at a specific frequency? Fourier Series Any periodic function can be expressed as a sum of sines and cosines of different frequencies each multiplied by a different coefficient a0 f () t ancosntbnsinn t 2 n1 more details

10 Fourier Series For a periodic function f () t, with period T Fourier Series where Redundant! 2 a f() t dt, 0 T 2 T T 2 a f t a n t b nt 0 () ncos nsin 2 n1 2 T 2 an f ()cos t ntdt T T 2 T 2 T 2 T 2 2 bn f ()sin t ntdt T

11 Fourier Transforms Fourier transform of f(t) (maybe is not periodic) is defined as j2t F( ) f( t) e dt Inverse Fourier transform 2 f () t F( ) e j t d How to get these formulas? Let s start the story from Fourier series to Fourier transform

12 From Fourier Series to Fourier Transforms j According to Euler formula e cos jsin Easy to have e e e e cos nt,sin nt j 2 2 Then, Fourier series become a0 f() t ancosntbnsinn t 2 jnt jnt jnt jnt n1

13 From Fourier Series to Fourier Transforms j According to Euler formula e cos jsin Easy to have e e e e cos nt,sin nt j 2 2 Then, Fourier series become Then, let Then, jnt jnt jnt jnt a e e e e jnt jnt jnt jnt 0 f() t an jbn 2 n1 2 2 a a jb a jb e a0 an jbn an jbn c0, cn, d n n jnt n n e 2 n n jnt n1 jnt jnt f() t c c e d e (1) n n

14 c 0 From Fourier Series to Fourier Transforms 1 T T 2 T 2 f() t dt, 1 1 jnt cn f() t cosn t jsin n t dt f() t e dt (2) T T T 2 2 T T 2 T jnt dn f() t cosn t jsin n t dt f() t e dt T T T 2 2 T T 2 T 2 We can see that Thus, d n c n 1 jnt jnt jnt de n cne ce n n1 n1 n (3)

15 From Fourier Series to Fourier Transforms jnt jnt f( t) c c e d e (according to (1)) n1 n j0t jnt jnt n n n1 n1 ce ce de 1 j0t jnt jnt n n n1 n ce ce ce jnt ce n,where c n is defined by (2) n This is the Fourier series in complex form How about a non-periodic function? n (according to (3))

16 From Fourier Series to Fourier Transforms f () t is a non periodic function () t We make a new function which is periodic and the period T is T ft () t f(), t if t [ T /2, T /2] T f () t f () t If, becomes According to Fourier series Let T T jnt 2 T() n, n T T() n T 2 sn n f 1 jnt f t c e c f te dt f t 1 f te dt e 1 f te dt e T T 2 jsnt jsnt 2 jsnt jsnt T() T T() T T() n T 2 T n 2

17 From Fourier Series to Fourier Transforms T 1 2 jsnt jsnt ft() t T ft() te dte T n 2 when T T 1 2 jsnt n f ( t) lim ft( t) lim T ft( te ) dte T T T n s sn sn 1 T T s T 2 () lim T T () s 0 2 n 2 jsnt f t f te dt e T 1 lim 2 T T ( ) s 0 n 2 2 s jsnt jsnt f te dt e s js t n js t

18 From Fourier Series to Fourier Transforms T 1 2 jsnt jsnt f () t lim T ft () te dte s 2 s 0 n 2 when T ( s0) sn s s ds,, 1 jst jst f () t f() t e dt e ds 2 Denote by F() s jst F() s f() t e dt 1 jst f () t F() s e ds 2 Fourier transform Inverse Fourier transform

19 From Fourier Series to Fourier Transforms jst F() s f() t e dt 1 jst f () t F() s e ds 2 s here actually is the angular frequency In the signal processing domain, we usually use another form by substituting s by s 2, where is the frequency (measured by Herz) j2t F( ) f( te ) dt j2t f () t F( ) e d

20 Related Concepts to Fourier Transform Fourier transform F( ) is complex in general F( ) f ()cos(2 t t) dt j f ()sin(2 t t) dt R( ) ji( ) j ( ) F( ) F( ) e where 2 2 1/2 I( ) F( ) ( R ( ) I ( )), ( u) atan2 R ( ) Fourier Spectrum Phase Angle In polar form, it can be expressed as P( ) F( ) R ( ) I ( ) is called the power spectrum

21 Related Concepts to Fourier Transform Implementation Tips 1) For computing the image s Fourier transform, you can use fft2() 2) ifft2() can compute the inverse Fourier transform 3) abs() can compute the Fourier spectrum 4) angle() can compute the phase angle

22 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

23 Symmetry Properties of the Fourier Transform Real f(t) Fourier transform F( ) Symmetry of F( ) general complex conjugate symmetric F * ( ) F ( ) even f () t f ( t) only real even F( ) F( ) odd f () t f ( t) only imaginary odd F( ) F( ) Proof?

24 Impulse Function Impulse (Dirac) function Considered as an infinitely high, infinitely thin spike at the origin, with total area one under the spike It physically represents an idealized point mass or point charge Paul Adrien Maurice Dirac (Aug. 08, 1902 Oct. 20, 1984)

25 Impulse Function Impulse (Dirac) function () t 0, t 0 Definition 1: () tdt1 Definition 2: f () t () t dt f(0) Sift property: () t f () t ( tt ) dt f( t ) 0 0 f(t) t 0 t Cannot be computed using normal integral methods!

26 Impulse Function Impulse (Dirac) function ( x) lim a0 a 1 e x a 2 2 The Dirac delta function can be seen as the limit of the sequence of zero centered normal distributions

27 Impulse Function The Fourier transform of function Proof: () t 1 j2t j2t j20 F = ( t) e dt e e 1 t0 Similarly, we have Why? j2t0 ( tt ) e 0

28 Fourier Transform of f(t) = 1 The Fourier transform of the function 1 is Proof: () j t j t ( ) 01 f t e d e

29 Fourier Transform of The Fourier transform of the function is jat a e 2 Proof: e jat a f t e d e e 2 2 = j t j t jat a 2 2 e jat

30 Fourier Transform of The Fourier transform of the function is a a 2 2 sin at 2 j Proof: sin at sin at jat jat e cosat j sin at, e cosat j sinat sin at e jat e 2 j jat

31 Fourier Transform of sin at sin at The Fourier transform of the function is a a 2 2 sin at 2 j Proof: jat jat e e j2t F( ) e dt 2 j 1 2 j jat j2t jat j2t e e dt e e dt a a j

32 Fourier Transform of cosat cosat The Fourier transform of the function is a a 2 2 cos at 2 Can you work it out?

33 Why Study Fourier Transform? Observe the image in the frequency domain; has some related applications, e.g., de noising and phase based image matching; directly manipulating the image in the frequency domain We can make use of Fourier transform to compute the convolution efficiently; thanks to FFT The underlying theory is the convolution theorem!

34 Convolution Theorem Still remember the convolution? (Lecture 3) For 1D continuous case, it is defined as Convolution theorem f ()* t h() t f( ) h( t) d The Fourier transform of a convolution is the point wise product of Fourier transforms if then Proof: f() t F( ), ( h()) t H( ) f()* t h() t F( ) H( )

35 Convolution Theorem ()* () ( ) ( ) j2t f t h t f h t d e dt j2 t f( ) h( t ) e dt d (Let x t ) j2 ( x ) f( ) h( x) e dx d j2x j2 f( ) h( x) e dx e d j2 f( ) H( ) e d j2 ( ) ( ) ( ) ( ) H f e d H F

36 Revisit Gaussian Filter In spatial domain 1 x y Gxy (, ) exp In frequency domain ( uv, ) exp exp ( u v ) ( u v ) 2 The Fourier transform of a Gaussian function is also of a Gaussian shape in the frequency domain

37 Revisit Gaussian Filter Gaussian filter is a low pass filter Consider the 1D case f ( x) if filtered by 2 1 x gx ( ) exp What will happen to the frequency components of f(x)? FT f ( x)* g( x) F( ) G( ) F( ) exp F( ) 0.4 magnitude w

38 Revisit Gaussian Filter original smoothed (5x5 Gaussian) Why does this work? smoothed original

39 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

40 Discrete Fourier Transform (DFT) in 1D Case Given a discrete sequence with M points f [ f0 f1,..., fm 1] Regard it as a periodic signal, thus its basis frequency is For its frequency components, the frequencies are, 1 2 M 1,,... 1,2,..., M M M M M Its DFT is computed as M 1 x0 1 j2 ux M Fu ( ) f( xe ), u1,2,..., M Usually, we write it as, M 1 x0 1 j2 ux M Fu ( ) f( xe ), u0,1,2,..., M1 1 M

41 Discrete Fourier Transform (DFT) in 1D Case Thus, f s DFT also has M points F [ F0 F1,..., FM 1] and M 1 j2 ux/ M Fu ( ) f( xe ), u0,1,2,..., M1 x0 IDFT 1 f x F u e x M M 1 j2 ux/ M ( ) ( ), 0,1,2,..., 1 M u0 For DFT, there is a fast algorithm for computation, FFT (Fast Fourier Transform)

42 Discrete Fourier Transform (DFT) in 2D Case In continuous case j2 ( uxvy) Fuv (, ) f( xye, ) dxdy j2 ( uxvy) f ( x, y) F( u, v) e dudv In discrete case M1N1 j2 ( ux/ Mvy/ N) (, ) f( xye, ), Fuv x0 y0 where u 0,1,..., M 1; v 0,1,..., N 1 1 MN M1N1 j2 ( ux/ Mvy/ N) (, ) (, ), f x y u0 v0 F u v e where x 0,1,..., M 1; y 0,1,..., N 1

43 Some Notes on DFT Visualization For DFT, the origin is not at the center of the matrix Assume the original spectrum is divided into four quadrants; the small gray filled squares in the corners represent positions of low frequencies Due to the symmetries of the spectrum the quadrant positions can be swapped diagonally and the low frequencies locations appear in the middle of the image original spectrum low frequencies in corners shifted spectrum with the origin at (M/2, N/2)

44 Some Notes on DFT Visualization h h l l h h l l

45 Some Notes on DFT Visualization For visualization, we usually rearrange the DFT matrix to make its low frequencies at the center of the rectangle; it equals to (, )( 1) x f x y y x y f( x, y)( 1) F( um /2, vn /2) Implementation Tips In Matlab, it can simply implemented by using fftshift

46 DFT Visualization Samples Since each field of the Fourier transform is a complex number, we cannot show Fourier map in a single figure; instead, magnitude and phase maps are shown separately im = imread('im.bmp'); figure; imshow(im,[]); imfft = abs(fft2(im)); imfftlog = log10(1+imfft); figure; imshow(imfftlog,[]); imfftshifted = fftshift(imfftlog); figure; imshow(imfftshifted,[]);

47 DFT Visualization Samples An example Original image Spectrum without using fftshift Spectrum using fftshift

48 DFT Visualization Samples DFT DFT Any relationship?

49 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

50 The Basics of Filtering in the Frequency Domain To filter an image in the frequency domain: 1. Compute F(u,v), the DFT of the image 2. Multiply F(u,v) by a filter function H(u,v) 3. Compute the inverse DFT of the result

51 Directly Filtering in the Frequency Domain 1. Given an image f(x, y) of size M N, set P = 2M and Q = 2N 2. Form a padded image, f ( p x, y ) of size P Q by appending the necessary number of zeros to f(x, y) 3. Multiply f ( by ( 1) x y p x, y ) to center its transform 4. Compute F(u, v) of f ( p x, y ) 5. Generate a filter function H(u, v) of the size P Q 6. Get the modified Fourier transform Guv (, ) FuvHuv (, ) (, ) 7. Obtain the processed image 1 (, ) ( (, ))( 1) x g y p x y G u v 8. Obtain the final result g(x, y) by extracting the M N region from the top, left corner of g (, ) p x y

52 Directly Filtering in the Frequency Domain Example f ( x, y ) f p( x, y ) F( uv, ) H ( uv, ) gxy (, ) g (, ) p x y Guv (, ) FuvHuv (, ) (, ) Source codes are available on our course website

53 Convolution via Fourier Transform 1. Given an image f(x, y) of size A B, and a spatial filter h(x, y) of size C D ; set P >= A+C-1 and Q >=B+D-1 2. Form a padded image f p of size P Q by appending the necessary number of zeros to f(x, y); form a padded filter h p of size P Q in a similar way 3. Compute the DFT F(u, v) of the image, and H(u, v) of the filter 4. Get the modified Fourier transform Guv (, ) FuvHuv (, ) (, ) 5. Obtain the processed image (, ) 1 gp x y ( G ( u, v )) 6. Obtain the final result g(x, y) by extracting the central A B region from g (, ) p x y

54 Convolution via Fourier Transform Example f ( xy, ) f ( x, y) p F( uv, ) Guv (, ) g (, ) p x y g( x, y) hxy (, ) h (, ) p x y H ( uv, ) Source codes are available on our course website

55 Some Tips on Filtering via Fourier Transform When the filter kernel is small, it s better to implement the filtering in the spatial domain; otherwise, you can realize the filtering via the Fourier transform In practice, when padding the images or filters, it s better to make it has a size which is the power of 2; this criterion is based on the computer architecture

56 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

57 Smoothing is Low Pass Filtering Image smoothing actually is performing a low pass filtering to the image Edges and other sharp intensity transitions, such as noise, in an image contribute significantly to the high frequency content of its Fourier transform Three commonly used low pass filtering techniques Ideal low pass filters Butterworth low pass filters Gaussian low pass filters

58 Ideal Low Pass Filter Simply cut off all high frequency components that are within a specified distance D 0 from the origin of the transform Its drawback is that the filtering result has obvious ringing artifacts Ideal low pass filter is rarely used in practice

59 Ideal Low Pass Filter The transfer function for the ideal low pass filter can be given as: H ( u, v) 1 0 if if D( u, v) D D( u, v) D where D(u,v) is the distance of (u, v) to the frequency centre (0, 0) and it is given as: Duv (, ) [ u v] /2

60 Ideal Low Pass Filter Above we show an image, it s Fourier spectrum and a series of ideal low pass filters of radius 5, 15, 30, 80 and 230 superimposed on top of it

61 Ideal Low Pass Filter Original image Result of filtering with ideal low pass filter of radius 5 Result of filtering with ideal low pass filter of radius 15 Result of filtering with ideal low pass filter of radius 30 Result of filtering with ideal low pass filter of radius 80 Result of filtering with ideal low pass filter of radius 230

62 Butterworth Low pass Filters It was proposed by the British engineer Stephen Butterworth Filter order can change the shape of the Butterworth filter; for high order values, the Butterworth filter approaches the ideal filter; for low order values, it approaches the Gaussian filter

63 Butterworth Low pass Filters The transfer function of a Butterworth low pass filter of order n with cutoff frequency at distance D 0 from the origin is defined as: 1 1 H ( u, v) 2n [ D ( u, v ) / D ] 0

64 Butterworth Low pass Filters Original image Result of filtering with Butterworth filter of order 2 and cutoff radius 5 Result of filtering with Butterworth filter of order 2 and cutoff radius 15 Result of filtering with Butterworth filter of order 2 and cutoff radius 30 Result of filtering with Butterworth filter of order 2 and cutoff radius 80 Result of filtering with Butterworth filter of order 2 and cutoff radius 230

65 Butterworth Low pass Filters Original image Filtering result of Butterworth Source codes are available on course website

66 Gaussian Low pass Filters The transfer function of a Gaussian lowpass filter is defined as: H ( u, v) e D 2 ( u, v)/ 2D where D(u,v) is the distance from the center of the frequency rectangle 2 0

67 Gaussian Lowpass Filters Original image Result of filtering with Gaussian filter with cutoff radius 5 Result of filtering with Gaussian filter with cutoff radius 15 Result of filtering with Gaussian filter with cutoff radius 30 Result of filtering with Gaussian filter with cutoff radius 85 Result of filtering with Gaussian filter with cutoff radius 230

68 Low pass Filtering Examples A low pass Gaussian filter is used to connect broken text

69 Low pass Filtering Examples Gaussian filters used to remove blemishes in a photograph for publishing

70 Outline Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

71 Sharpening in the Frequency Domain Edges and fine detail in images are associated with high frequency components High pass filters only pass the high frequencies, drop the low ones High pass filters are precisely the reverse of low pass filters, so, H 1 H ( u, v) HP LP

72 Ideal High Pass Filters The ideal high pass filter is given as: 0 if D( u, v) D H ( u, v) 1 if D( u, v) D where D 0 is the cut off distance as before 0 0

73 Ideal High Pass Filters Results of ideal high pass filtering with D 0 = 15 Results of ideal high pass filtering with D 0 = 30 Results of ideal high pass filtering with D 0 = 80

74 Butterworth High Pass Filters The Butterworth high pass filter is given as: 1 H ( u, v) 2n 1[ D0 / D( u, v)] where n is the order and D 0 is the cut off distance as before

75 Butterworth High Pass Filters Results of Butterworth high pass filtering of order 2 with D 0 = 15 Results of Butterworth high pass filtering of order 2 with D 0 = 30 Results of Butterworth high pass filtering of order 2 with D 0 = 80

76 Butterworth High Pass Filters Original image Filtering result of Butterworth high pass filtering Source codes are available on course website

77 Gaussian High Pass Filters The Gaussian high pass filter is given as: H ( u, v) 1 e D where D 0 is the cut off distance as before 2 ( u, v)/ 2D 2 0

78 Gaussian High Pass Filters Results of Gaussian high pass filtering with D 0 = 15 Results of Gaussian high pass filtering with D 0 = 80 Results of Gaussian high pass filtering with D 0 = 30

79 Highpass Filter Comparison Results of ideal high pass filtering with D 0 = 15

80 Highpass Filter Comparison Results of Butterworth high pass filtering of order 2 with D 0 = 15

81 Highpass Filter Comparison Results of Gaussian high pass filtering with D 0 = 15

82 Fast Fourier Transform The reason that Fourier based techniques have become so popular is the development of the Fast Fourier Transform (FFT) algorithm Allows the Fourier transform to be carried out in a reasonable amount of time Reduces the amount of time required to perform a Fourier transform by a factor of times!

83 Fourier Domain Filtering & Spatial Domain Filtering Similar jobs can be done in the spatial and frequency domains Filtering in the spatial domain can be easier to understand Filtering in the frequency domain can be much faster especially for large images

84 Summary In this lecture we examined image filtering in the frequency domain Background From Fourier series to Fourier transform Properties of the Fourier transform Discrete Fourier transforms The basics of filtering in the frequency domain Image smoothing using frequency domain filters Image sharpening using frequency domain filters

85 Thanks for your attention

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

IMAGE ENHANCEMENT: FILTERING IN THE FREQUENCY DOMAIN. Francesca Pizzorni Ferrarese IMAGE ENHANCEMENT: FILTERING IN THE FREQUENCY DOMAIN Francesca Pizzorni Ferrarese Contents In this lecture we will look at image enhancement in the frequency domain Jean Baptiste Joseph Fourier The Fourier

More information

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

Digital Image Processing. Image Enhancement: Filtering in the Frequency Domain Digital Image Processing Image Enhancement: Filtering in the Frequency Domain 2 Contents In this lecture we will look at image enhancement in the frequency domain Jean Baptiste Joseph Fourier The Fourier

More information

Image Enhancement in the frequency domain. GZ Chapter 4

Image Enhancement in the frequency domain. GZ Chapter 4 Image Enhancement in the frequency domain GZ Chapter 4 Contents In this lecture we will look at image enhancement in the frequency domain The Fourier series & the Fourier transform Image Processing in

More information

Filtering in the Frequency Domain

Filtering in the Frequency Domain Filtering in the Frequency Domain Outline Fourier Transform Filtering in Fourier Transform Domain 2/20/2014 2 Fourier Series and Fourier Transform: History Jean Baptiste Joseph Fourier, French mathematician

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Filtering in the Frequency Domain http://www.ee.unlv.edu/~b1morris/ecg782/ 2 Outline Background

More information

Fourier series: Any periodic signals can be viewed as weighted sum. different frequencies. view frequency as an

Fourier series: Any periodic signals can be viewed as weighted sum. different frequencies. view frequency as an Image Enhancement in the Frequency Domain Fourier series: Any periodic signals can be viewed as weighted sum of sinusoidal signals with different frequencies Frequency Domain: view frequency as an independent

More information

Digital Image Processing. Filtering in the Frequency Domain

Digital Image Processing. Filtering in the Frequency Domain 2D Linear Systems 2D Fourier Transform and its Properties The Basics of Filtering in Frequency Domain Image Smoothing Image Sharpening Selective Filtering Implementation Tips 1 General Definition: System

More information

Lecture # 06. Image Processing in Frequency Domain

Lecture # 06. Image Processing in Frequency Domain Digital Image Processing CP-7008 Lecture # 06 Image Processing in Frequency Domain Fall 2011 Outline Fourier Transform Relationship with Image Processing CP-7008: Digital Image Processing Lecture # 6 2

More information

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

Convolution Spatial Aliasing Frequency domain filtering fundamentals Applications Image smoothing Image sharpening Frequency Domain Filtering Correspondence between Spatial and Frequency Filtering Fourier Transform Brief Introduction Sampling Theory 2 D Discrete Fourier Transform Convolution Spatial Aliasing Frequency

More information

ECG782: Multidimensional Digital Signal Processing

ECG782: Multidimensional Digital Signal Processing Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu ECG782: Multidimensional Digital Signal Processing Spring 2014 TTh 14:30-15:45 CBC C313 Lecture 05 Image Processing Basics 13/02/04 http://www.ee.unlv.edu/~b1morris/ecg782/

More information

Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393 Digital Image Processing COSC 6380/4393 Lecture 13 Oct 2 nd, 2018 Pranav Mantini Slides from Dr. Shishir K Shah, and Frank Liu Review f 0 0 0 1 0 0 0 0 w 1 2 3 2 8 Zero Padding 0 0 0 0 0 0 0 1 0 0 0 0

More information

Digital Image Processing. Chapter 4: Image Enhancement in the Frequency Domain

Digital Image Processing. Chapter 4: Image Enhancement in the Frequency Domain Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain Image Enhancement in Frequency Domain Objective: To understand the Fourier Transform and frequency domain and how to apply

More information

Chapter 4 Image Enhancement in the Frequency Domain

Chapter 4 Image Enhancement in the Frequency Domain Chapter 4 Image Enhancement in the Frequency Domain Yinghua He School of Computer Science and Technology Tianjin University Background Introduction to the Fourier Transform and the Frequency Domain Smoothing

More information

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis SEISMIC WAVE PROPAGATION Lecture 2: Fourier Analysis Fourier Series & Fourier Transforms Fourier Series Review of trigonometric identities Analysing the square wave Fourier Transform Transforms of some

More information

G52IVG, School of Computer Science, University of Nottingham

G52IVG, School of Computer Science, University of Nottingham Image Transforms Fourier Transform Basic idea 1 Image Transforms Fourier transform theory Let f(x) be a continuous function of a real variable x. The Fourier transform of f(x) is F ( u) f ( x)exp[ j2πux]

More information

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

Today s lecture. The Fourier transform. Sampling, aliasing, interpolation The Fast Fourier Transform (FFT) algorithm 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

More information

Computer Vision. Filtering in the Frequency Domain

Computer Vision. Filtering in the Frequency Domain Computer Vision Filtering in the Frequency Domain Filippo Bergamasco (filippo.bergamasco@unive.it) http://www.dais.unive.it/~bergamasco DAIS, Ca Foscari University of Venice Academic year 2016/2017 Introduction

More information

GBS765 Electron microscopy

GBS765 Electron microscopy GBS765 Electron microscopy Lecture 1 Waves and Fourier transforms 10/14/14 9:05 AM Some fundamental concepts: Periodicity! If there is some a, for a function f(x), such that f(x) = f(x + na) then function

More information

Filtering in Frequency Domain

Filtering in Frequency Domain Dr. Praveen Sankaran Department of ECE NIT Calicut February 4, 2013 Outline 1 2D DFT - Review 2 2D Sampling 2D DFT - Review 2D Impulse Train s [t, z] = m= n= δ [t m T, z n Z] (1) f (t, z) s [t, z] sampled

More information

Image Enhancement in the frequency domain. Inel 5046 Prof. Vidya Manian

Image Enhancement in the frequency domain. Inel 5046 Prof. Vidya Manian Image Enhancement in the frequency domain Inel 5046 Prof. Vidya Manian Introduction 2D Fourier transform Basics of filtering in frequency domain Ideal low pass filter Gaussian low pass filter Ideal high

More information

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

Contents. Signals as functions (1D, 2D) Fourier Transform The idea A signal can be interpreted as en electromagnetic wave. This consists of lights of different color, or frequency, that can be split apart usign an optic prism. Each component

More information

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

Contents. Signals as functions (1D, 2D) Fourier Transform The idea A signal can be interpreted as en electromagnetic wave. This consists of lights of different color, or frequency, that can be split apart usign an optic prism. Each component

More information

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

Today s lecture. Local neighbourhood processing. The convolution. Removing uncorrelated noise from an image The Fourier transform Cris Luengo TD396 fall 4 cris@cbuuse Today s lecture Local neighbourhood processing smoothing an image sharpening an image The convolution What is it? What is it useful for? How can I compute it? Removing

More information

Unit 7. Frequency Domain Processing

Unit 7. Frequency Domain Processing Unit 7. Frequency Domain Processing 7.1 Frequency Content of One-Dimensional Signals Grayscale Variation across a Row. Consider the top row {f(0,n)} of an image {f(m,n)} where m = 0. Upon suppressing the

More information

Machine vision, spring 2018 Summary 4

Machine vision, spring 2018 Summary 4 Machine vision Summary # 4 The mask for Laplacian is given L = 4 (6) Another Laplacian mask that gives more importance to the center element is given by L = 8 (7) Note that the sum of the elements in the

More information

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

Contents. Signals as functions (1D, 2D) Fourier Transform The idea A signal can be interpreted as en electromagnetic wave. This consists of lights of different color, or frequency, that can be split apart usign an optic prism. Each component

More information

multiply both sides of eq. by a and projection overlap

multiply both sides of eq. by a and projection overlap Fourier Series n x n x f xa ancos bncos n n periodic with period x consider n, sin x x x March. 3, 7 Any function with period can be represented with a Fourier series Examples (sawtooth) (square wave)

More information

3. Lecture. Fourier Transformation Sampling

3. Lecture. Fourier Transformation Sampling 3. Lecture Fourier Transformation Sampling Some slides taken from Digital Image Processing: An Algorithmic Introduction using Java, Wilhelm Burger and Mark James Burge Separability ² The 2D DFT can be

More information

Machine vision. Summary # 4. The mask for Laplacian is given

Machine vision. Summary # 4. The mask for Laplacian is given 1 Machine vision Summary # 4 The mask for Laplacian is given L = 0 1 0 1 4 1 (6) 0 1 0 Another Laplacian mask that gives more importance to the center element is L = 1 1 1 1 8 1 (7) 1 1 1 Note that the

More information

Chapter 4: Filtering in the Frequency Domain. Fourier Analysis R. C. Gonzalez & R. E. Woods

Chapter 4: Filtering in the Frequency Domain. Fourier Analysis R. C. Gonzalez & R. E. Woods Fourier Analysis 1992 2008 R. C. Gonzalez & R. E. Woods Properties of δ (t) and (x) δ : f t) δ ( t t ) dt = f ( ) f x) δ ( x x ) = f ( ) ( 0 t0 x= ( 0 x0 1992 2008 R. C. Gonzalez & R. E. Woods Sampling

More information

Computer Vision & Digital Image Processing. Periodicity of the Fourier transform

Computer Vision & Digital Image Processing. Periodicity of the Fourier transform Computer Vision & Digital Image Processing Fourier Transform Properties, the Laplacian, Convolution and Correlation Dr. D. J. Jackson Lecture 9- Periodicity of the Fourier transform The discrete Fourier

More information

MIT 2.71/2.710 Optics 10/31/05 wk9-a-1. The spatial frequency domain

MIT 2.71/2.710 Optics 10/31/05 wk9-a-1. The spatial frequency domain 10/31/05 wk9-a-1 The spatial frequency domain Recall: plane wave propagation x path delay increases linearly with x λ z=0 θ E 0 x exp i2π sinθ + λ z i2π cosθ λ z plane of observation 10/31/05 wk9-a-2 Spatial

More information

COMP344 Digital Image Processing Fall 2007 Final Examination

COMP344 Digital Image Processing Fall 2007 Final Examination COMP344 Digital Image Processing Fall 2007 Final Examination Time allowed: 2 hours Name Student ID Email Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Total With model answer HK University

More information

Frequency2: Sampling and Aliasing

Frequency2: Sampling and Aliasing CS 4495 Computer Vision Frequency2: Sampling and Aliasing Aaron Bobick School of Interactive Computing Administrivia Project 1 is due tonight. Submit what you have at the deadline. Next problem set stereo

More information

Linear Operators and Fourier Transform

Linear Operators and Fourier Transform Linear Operators and Fourier Transform DD2423 Image Analysis and Computer Vision Mårten Björkman Computational Vision and Active Perception School of Computer Science and Communication November 13, 2013

More information

DISCRETE FOURIER TRANSFORM

DISCRETE FOURIER TRANSFORM DD2423 Image Processing and Computer Vision DISCRETE FOURIER TRANSFORM Mårten Björkman Computer Vision and Active Perception School of Computer Science and Communication November 1, 2012 1 Terminology:

More information

Discrete Fourier Transform

Discrete Fourier Transform Discrete Fourier Transform DD2423 Image Analysis and Computer Vision Mårten Björkman Computational Vision and Active Perception School of Computer Science and Communication November 13, 2013 Mårten Björkman

More information

Why does a lower resolution image still make sense to us? What do we lose? Image:

Why does a lower resolution image still make sense to us? What do we lose? Image: 2D FREQUENCY DOMAIN The slides are from several sources through James Hays (Brown); Srinivasa Narasimhan (CMU); Silvio Savarese (U. of Michigan); Bill Freeman and Antonio Torralba (MIT), including their

More information

Fourier Transform and Frequency Domain

Fourier Transform and Frequency Domain Fourier Transform and Frequency Domain http://www.cs.cmu.edu/~16385/ 16-385 Computer Vision Spring 2018, Lecture 3 (part 2) Overview of today s lecture Some history. Fourier series. Frequency domain. Fourier

More information

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

Fourier Transform in Image Processing. CS/BIOEN 6640 U of Utah Guido Gerig (slides modified from Marcel Prastawa 2012) 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 f ( x) wibi(

More information

2. Image Transforms. f (x)exp[ 2 jπ ux]dx (1) F(u)exp[2 jπ ux]du (2)

2. Image Transforms. f (x)exp[ 2 jπ ux]dx (1) F(u)exp[2 jπ ux]du (2) 2. Image Transforms Transform theory plays a key role in image processing and will be applied during image enhancement, restoration etc. as described later in the course. Many image processing algorithms

More information

Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis. 26 October - 20 November, 2009

Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis. 26 October - 20 November, 2009 2065-33 Advanced Training Course on FPGA Design and VHDL for Hardware Simulation and Synthesis 26 October - 20 November, 2009 Introduction to two-dimensional digital signal processing Fabio Mammano University

More information

Introduction to the Fourier transform. Computer Vision & Digital Image Processing. The Fourier transform (continued) The Fourier transform (continued)

Introduction to the Fourier transform. Computer Vision & Digital Image Processing. The Fourier transform (continued) The Fourier transform (continued) Introduction to the Fourier transform Computer Vision & Digital Image Processing Fourier Transform Let f(x) be a continuous function of a real variable x The Fourier transform of f(x), denoted by I {f(x)}

More information

&& && F( u)! "{ f (x)} = f (x)e # j 2$ u x. f (x)! " #1. F(u,v) = f (x, y) e. f (x, y) = 2D Fourier Transform. Fourier Transform - review.

&& && F( u)! { f (x)} = f (x)e # j 2$ u x. f (x)!  #1. F(u,v) = f (x, y) e. f (x, y) = 2D Fourier Transform. Fourier Transform - review. 2D Fourier Transfor 2-D DFT & Properties 2D Fourier Transfor 1 Fourier Transfor - review 1-D: 2-D: F( u)! "{ f (x)} = f (x)e # j 2$ u x % & #% dx f (x)! " #1 { F(u) } = F(u)e j 2$ u x du F(u,v) = f (x,

More information

F(u) = f e(t)cos2πutdt + = f e(t)cos2πutdt i f o(t)sin2πutdt = F e(u) + if o(u).

F(u) = f e(t)cos2πutdt + = f e(t)cos2πutdt i f o(t)sin2πutdt = F e(u) + if o(u). The (Continuous) Fourier Transform Matrix Computations and Virtual Spaces Applications in Signal/Image Processing Niclas Börlin niclas.borlin@cs.umu.se Department of Computing Science, Umeå University,

More information

Overview. Signals as functions (1D, 2D) 1D Fourier Transform. 2D Fourier Transforms. Discrete Fourier Transform (DFT) Discrete Cosine Transform (DCT)

Overview. Signals as functions (1D, 2D) 1D Fourier Transform. 2D Fourier Transforms. Discrete Fourier Transform (DFT) Discrete Cosine Transform (DCT) Fourier Transform Overview Signals as functions (1D, 2D) Tools 1D Fourier Transform Summary of definition and properties in the different cases CTFT, CTFS, DTFS, DTFT DFT 2D Fourier Transforms Generalities

More information

Reference Text: The evolution of Applied harmonics analysis by Elena Prestini

Reference Text: The evolution of Applied harmonics analysis by Elena Prestini Notes for July 14. Filtering in Frequency domain. Reference Text: The evolution of Applied harmonics analysis by Elena Prestini It all started with: Jean Baptist Joseph Fourier (1768-1830) Mathematician,

More information

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

Communication Signals (Haykin Sec. 2.4 and Ziemer Sec Sec. 2.4) KECE321 Communication Systems I Communication Signals (Haykin Sec..4 and iemer Sec...4-Sec..4) KECE3 Communication Systems I Lecture #3, March, 0 Prof. Young-Chai Ko 년 3 월 일일요일 Review Signal classification Phasor signal and spectra Representation

More information

Empirical Mean and Variance!

Empirical Mean and Variance! Global Image Properties! Global image properties refer to an image as a whole rather than components. Computation of global image properties is often required for image enhancement, preceding image analysis.!

More information

Image and Multidimensional Signal Processing

Image and Multidimensional Signal Processing Image and Mltidimensional Signal Processing Professor William Hoff Dept of Electrical Engineering &Compter Science http://inside.mines.ed/~whoff/ Forier Transform Part : D discrete transforms 2 Overview

More information

ECE Digital Image Processing and Introduction to Computer Vision. Outline

ECE Digital Image Processing and Introduction to Computer Vision. Outline ECE592-064 Digital mage Processing and ntroduction to Computer Vision Depart. of ECE, NC State University nstructor: Tianfu (Matt) Wu Spring 2017 1. Recap Outline 2. Thinking in the frequency domain Convolution

More information

Fourier Transform 2D

Fourier Transform 2D Image Processing - Lesson 8 Fourier Transform 2D Discrete Fourier Transform - 2D Continues Fourier Transform - 2D Fourier Properties Convolution Theorem Eamples = + + + The 2D Discrete Fourier Transform

More information

FILTERING IN THE FREQUENCY DOMAIN

FILTERING IN THE FREQUENCY DOMAIN 1 FILTERING IN THE FREQUENCY DOMAIN Lecture 4 Spatial Vs Frequency domain 2 Spatial Domain (I) Normal image space Changes in pixel positions correspond to changes in the scene Distances in I correspond

More information

Information and Communications Security: Encryption and Information Hiding

Information and Communications Security: Encryption and Information Hiding Short Course on Information and Communications Security: Encryption and Information Hiding Tuesday, 10 March Friday, 13 March, 2015 Lecture 5: Signal Analysis Contents The complex exponential The complex

More information

Notes 07 largely plagiarized by %khc

Notes 07 largely plagiarized by %khc Notes 07 largely plagiarized by %khc Warning This set of notes covers the Fourier transform. However, i probably won t talk about everything here in section; instead i will highlight important properties

More information

Fourier Transform and Frequency Domain

Fourier Transform and Frequency Domain Fourier Transform and Frequency Domain http://graphics.cs.cmu.edu/courses/15-463 15-463, 15-663, 15-862 Computational Photography Fall 2017, Lecture 6 Course announcements Last call for responses to Doodle

More information

Fourier Transforms For additional information, see the classic book The Fourier Transform and its Applications by Ronald N. Bracewell (which is on the shelves of most radio astronomers) and the Wikipedia

More information

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

CS 4495 Computer Vision. Frequency and Fourier Transforms. Aaron Bobick School of Interactive Computing. Frequency and Fourier Transform CS 4495 Computer Vision Frequency and Fourier Transforms Aaron Bobick School of Interactive Computing Administrivia Project 1 is (still) on line get started now! Readings for this week: FP Chapter 4 (which

More information

Introduction to Computer Vision. 2D Linear Systems

Introduction to Computer Vision. 2D Linear Systems Introduction to Computer Vision D Linear Systems Review: Linear Systems We define a system as a unit that converts an input function into an output function Independent variable System operator or Transfer

More information

Introduction to Fourier Analysis Part 2. CS 510 Lecture #7 January 31, 2018

Introduction to Fourier Analysis Part 2. CS 510 Lecture #7 January 31, 2018 Introduction to Fourier Analysis Part 2 CS 510 Lecture #7 January 31, 2018 OpenCV on CS Dept. Machines 2/4/18 CSU CS 510, Ross Beveridge & Bruce Draper 2 In the extreme, a square wave Graphic from http://www.mechatronics.colostate.edu/figures/4-4.jpg

More information

Topic 3: Fourier Series (FS)

Topic 3: Fourier Series (FS) ELEC264: Signals And Systems Topic 3: Fourier Series (FS) o o o o Introduction to frequency analysis of signals CT FS Fourier series of CT periodic signals Signal Symmetry and CT Fourier Series Properties

More information

Discrete-time Signals and Systems in

Discrete-time Signals and Systems in Discrete-time Signals and Systems in the Frequency Domain Chapter 3, Sections 3.1-39 3.9 Chapter 4, Sections 4.8-4.9 Dr. Iyad Jafar Outline Introduction The Continuous-Time FourierTransform (CTFT) The

More information

CS711008Z Algorithm Design and Analysis

CS711008Z Algorithm Design and Analysis CS711008Z Algorithm Design and Analysis Lecture 5 FFT and Divide and Conquer Dongbo Bu Institute of Computing Technology Chinese Academy of Sciences, Beijing, China 1 / 56 Outline DFT: evaluate a polynomial

More information

Continuous-time Fourier Methods

Continuous-time Fourier Methods ELEC 321-001 SIGNALS and SYSTEMS Continuous-time Fourier Methods Chapter 6 1 Representing a Signal The convolution method for finding the response of a system to an excitation takes advantage of the linearity

More information

Fourier Series. Fourier Transform

Fourier Series. Fourier Transform Math Methods I Lia Vas Fourier Series. Fourier ransform Fourier Series. Recall that a function differentiable any number of times at x = a can be represented as a power series n= a n (x a) n where the

More information

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

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

More information

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L CHAPTER 4 FOURIER SERIES 1 S A B A R I N A I S M A I L Outline Introduction of the Fourier series. The properties of the Fourier series. Symmetry consideration Application of the Fourier series to circuit

More information

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes

Jim Lambers ENERGY 281 Spring Quarter Lecture 5 Notes Jim ambers ENERGY 28 Spring Quarter 27-8 ecture 5 Notes These notes are based on Rosalind Archer s PE28 lecture notes, with some revisions by Jim ambers. Fourier Series Recall that in ecture 2, when we

More information

Image Degradation Model (Linear/Additive)

Image Degradation Model (Linear/Additive) Image Degradation Model (Linear/Additive),,,,,,,, g x y h x y f x y x y G uv H uv F uv N uv 1 Source of noise Image acquisition (digitization) Image transmission Spatial properties of noise Statistical

More information

Fourier Transform. sin(n# x)), where! = 2" / L and

Fourier Transform. sin(n# x)), where! = 2 / L and Fourier Transform Henning Stahlberg Introduction The tools provided by the Fourier transform are helpful for the analysis of 1D signals (time and frequency (or Fourier) domains), as well as 2D/3D signals

More information

The Discrete-time Fourier Transform

The Discrete-time Fourier Transform The Discrete-time Fourier Transform Rui Wang, Assistant professor Dept. of Information and Communication Tongji University it Email: ruiwang@tongji.edu.cn Outline Representation of Aperiodic signals: The

More information

EECS490: Digital Image Processing. Lecture #11

EECS490: Digital Image Processing. Lecture #11 Lecture #11 Filtering Applications: OCR, scanning Highpass filters Laplacian in the frequency domain Image enhancement using highpass filters Homomorphic filters Bandreject/bandpass/notch filters Correlation

More information

I Chen Lin, Assistant Professor Dept. of CS, National Chiao Tung University. Computer Vision: 4. Filtering

I Chen Lin, Assistant Professor Dept. of CS, National Chiao Tung University. Computer Vision: 4. Filtering I Chen Lin, Assistant Professor Dept. of CS, National Chiao Tung University Computer Vision: 4. Filtering Outline Impulse response and convolution. Linear filter and image pyramid. Textbook: David A. Forsyth

More information

BME I5000: Biomedical Imaging

BME I5000: Biomedical Imaging 1 BME I5000: Biomedical Imaging Lecture FT Fourier Transform Review Lucas C. Parra, parra@ccny.cuny.edu Blackboard: http://cityonline.ccny.cuny.edu/ Fourier Transform (1D) The Fourier Transform (FT) is

More information

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

Fourier transform. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year Fourier transform Stefano Ferrari Università degli Studi di Milano stefano.ferrari@unimi.it Methods for Image Processing academic year 27 28 Function transforms Sometimes, operating on a class of functions

More information

Key Intuition: invertibility

Key Intuition: invertibility Introduction to Fourier Analysis CS 510 Lecture #6 January 30, 2017 In the extreme, a square wave Graphic from http://www.mechatronics.colostate.edu/figures/4-4.jpg 2 Fourier Transform Formally, the Fourier

More information

ENGI 9420 Lecture Notes 7 - Fourier Series Page 7.01

ENGI 9420 Lecture Notes 7 - Fourier Series Page 7.01 ENGI 940 ecture Notes 7 - Fourier Series Pge 7.0 7. Fourier Series nd Fourier Trnsforms Fourier series hve multiple purposes, including the provision of series solutions to some liner prtil differentil

More information

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

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Session 8- Linear Filters From Spatial Domain to Frequency Domain Mani Golparvar-Fard Department of Civil and Environmental Engineering 329D,

More information

PHYS 502 Lecture 3: Fourier Series

PHYS 502 Lecture 3: Fourier Series PHYS 52 Lecture 3: Fourier Series Fourier Series Introduction In mathematics, a Fourier series decomposes periodic functions or periodic signals into the sum of a (possibly infinite) set of simple oscillating

More information

ELEG 3124 SYSTEMS AND SIGNALS Ch. 5 Fourier Transform

ELEG 3124 SYSTEMS AND SIGNALS Ch. 5 Fourier Transform Department of Electrical Engineering University of Arkansas ELEG 3124 SYSTEMS AND SIGNALS Ch. 5 Fourier Transform Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 Introduction Fourier Transform Properties of Fourier

More information

Image Processing 1 (IP1) Bildverarbeitung 1

Image Processing 1 (IP1) Bildverarbeitung 1 MIN-Fakultät Fachbereich Informatik Arbeitsbereich SAV/BV (KOGS) Image Processing 1 (IP1) Bildverarbeitung 1 Lecture 7 Spectral Image Processing and Convolution Winter Semester 2014/15 Slides: Prof. Bernd

More information

Image Processing 2. Hakan Bilen University of Edinburgh. Computer Graphics Fall 2017

Image Processing 2. Hakan Bilen University of Edinburgh. Computer Graphics Fall 2017 Image Processing 2 Hakan Bilen University of Edinburgh Computer Graphics Fall 2017 This week What is an image? What is image processing? Point processing Linear (Spatial) filters Frequency domain Deep

More information

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum

Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum Chapter 4 Discrete Fourier Transform (DFT) And Signal Spectrum CEN352, DR. Nassim Ammour, King Saud University 1 Fourier Transform History Born 21 March 1768 ( Auxerre ). Died 16 May 1830 ( Paris ) French

More information

Image Filtering, Edges and Image Representation

Image Filtering, Edges and Image Representation Image Filtering, Edges and Image Representation Capturing what s important Req reading: Chapter 7, 9 F&P Adelson, Simoncelli and Freeman (handout online) Opt reading: Horn 7 & 8 FP 8 February 19, 8 A nice

More information

Digital Image Processing COSC 6380/4393

Digital Image Processing COSC 6380/4393 Digital Image Processing COSC 6380/4393 Lecture 11 Oct 3 rd, 2017 Pranav Mantini Slides from Dr. Shishir K Shah, and Frank Liu Review: 2D Discrete Fourier Transform If I is an image of size N then Sin

More information

Thinking in Frequency

Thinking in Frequency 09/05/17 Thinking in Frequency Computational Photography University of Illinois Derek Hoiem Administrative Matlab/linear algebra tutorial tomorrow, planned for 6:30pm Probably 1214 DCL (will send confirmation

More information

Fourier Matching. CS 510 Lecture #7 February 8 th, 2013

Fourier Matching. CS 510 Lecture #7 February 8 th, 2013 Fourier Matching CS 510 Lecture #7 February 8 th, 2013 Details are on the assignments page you have un4l Monday Programming Assignment #1 Source (Target) Images Templates Le4 Eye Right Eye Le4 Ear Nose

More information

9. Image filtering in the spatial and frequency domains

9. Image filtering in the spatial and frequency domains Image Processing - Laboratory 9: Image filtering in the spatial and frequency domains 9. Image filtering in the spatial and frequency domains 9.. Introduction In this laboratory the convolution operator

More information

Recap of Monday. Linear filtering. Be aware of details for filter size, extrapolation, cropping

Recap of Monday. Linear filtering. Be aware of details for filter size, extrapolation, cropping Recap of Monday Linear filtering h[ m, n] k, l f [ k, l] I[ m Not a matrix multiplication Sum over Hadamard product k, n l] Can smooth, sharpen, translate (among many other uses) 1 1 1 1 1 1 1 1 1 Be aware

More information

Fourier Transform Chapter 10 Sampling and Series

Fourier Transform Chapter 10 Sampling and Series Fourier Transform Chapter 0 Sampling and Series Sampling Theorem Sampling Theorem states that, under a certain condition, it is in fact possible to recover with full accuracy the values intervening between

More information

Transforms and Orthogonal Bases

Transforms and Orthogonal Bases Orthogonal Bases Transforms and Orthogonal Bases We now turn back to linear algebra to understand transforms, which map signals between different domains Recall that signals can be interpreted as vectors

More information

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

f (t) K(t, u) d t. f (t) K 1 (t, u) d u. Integral Transform Inverse Fourier Transform Integral Transforms Massoud Malek An integral transform maps an equation from its original domain into another domain, where it might be manipulated and solved much more easily than in the original domain.

More information

Digital Image Processing

Digital Image Processing Digital Image Processing Image Transforms Unitary Transforms and the 2D Discrete Fourier Transform DR TANIA STATHAKI READER (ASSOCIATE PROFFESOR) IN SIGNAL PROCESSING IMPERIAL COLLEGE LONDON What is this

More information

Lecture? Using the FFT for Computation

Lecture? Using the FFT for Computation Course Instructor Dr. Raymond C. Rumpf Office: A 337 Phone: (915) 747 6958 E Mail: rcrumpf@utep.edu Lecture? Using the FFT for Computation EE 4386/5301 Computational Methods in EE Outline What is a Fourier

More information

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

Physics 342 Lecture 2. Linear Algebra I. Lecture 2. Physics 342 Quantum Mechanics I Physics 342 Lecture 2 Linear Algebra I Lecture 2 Physics 342 Quantum Mechanics I Wednesday, January 27th, 21 From separation of variables, we move to linear algebra Roughly speaking, this is the study

More information

IB Paper 6: Signal and Data Analysis

IB Paper 6: Signal and Data Analysis IB Paper 6: Signal and Data Analysis Handout 5: Sampling Theory S Godsill Signal Processing and Communications Group, Engineering Department, Cambridge, UK Lent 2015 1 / 85 Sampling and Aliasing All of

More information

MTH301 Calculus II Solved Final Term Papers For Final Term Exam Preparation

MTH301 Calculus II Solved Final Term Papers For Final Term Exam Preparation MTH301 Calculus II Solved Final Term Papers For Final Term Exam Preparation Question No: 1 Laplace transform of t is 1 s 1 s 2 e s s Question No: 2 Symmetric equation for the line through (1,3,5) and (2,-2,3)

More information

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches

How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches How to manipulate Frequencies in Discrete-time Domain? Two Main Approaches Difference Equations (an LTI system) x[n]: input, y[n]: output That is, building a system that maes use of the current and previous

More information

Filter Analysis and Design

Filter Analysis and Design Filter Analysis and Design Butterworth Filters Butterworth filters have a transfer function whose squared magnitude has the form H a ( jω ) 2 = 1 ( ) 2n. 1+ ω / ω c * M. J. Roberts - All Rights Reserved

More information