You are on page 1of 52

CSE483 Computer Vision

Image Enhancement in the Frequency


Domain

Prof. Mahmoud Khalil


1
Image Enhancement in the Frequency Domain

2
Image Enhancement in the Frequency Domain

3
Image Enhancement in the Frequency Domain

4
The 1D Continuous Fourier Transform
The continuous Fourier transform

The inverse continuous Fourier transform

5
The 1D Discrete Fourier Transform (DFT)
The 1D discrete Fourier transform

The inverse 1D discrete Fourier transform

6
The 1D Discrete Fourier Transform (DFT)

7
The 1D Discrete Fourier Transform (DFT)

8
The 1D Discrete Fourier Transform (DFT)

9
The 1D Discrete Fourier Transform (DFT)

10
The 1D Discrete Fourier Transform (DFT)

11
The 1D Discrete Fourier Transform (DFT)

12
The 1D Discrete Fourier Transform (DFT)

13
The 2D Discrete Fourier Transform (DFT)
The 2D discrete Fourier transform

The 2D inverse discrete Fourier transform

14
The 2D Discrete Fourier Transform (DFT)

15
The 2D Discrete Fourier Transform (DFT)

16
Image Enhancement in the Frequency Domain

17
Image Enhancement in the Frequency Domain

18
Fourier Transform ‐ Examples
2D Image 2D Image - Rotated

Fourier Spectrum Fourier Spectrum

19
Fourier Transform ‐ Examples
Image Frequency
Domain Domain

23
Fourier Transform ‐ Examples
Image
Fourier spectrum

28
Image Enhancement in the Frequency Domain

29
The Fourier Image

Fourier spectrum |F(u,v)| Fourier spectrum log(1 + |F(u,v)|)


Image f

30
Frequency Bands

Image Fourier Spectrum

Percentage of image power enclosed in circles (small to large) :

90%, 95%, 98%, 99%, 99.5%, 99.9%

31
Image Enhancement in the Frequency Domain

32
Image Enhancement in the Frequency Domain

33
Image Enhancement in the Frequency Domain

34
Image Enhancement in the Frequency Domain

35
Image Enhancement in the Frequency Domain

36
Laplacian Filter in the Frequency Domain

37
Problem 4.27
Suppose that you form a lowpass spatial filter that averages
the four immediate neighbors of a point (x, y) but excludes
the point itself.

(a) Find the equivalent filter H(u, v) in the frequency


domain.

(b) Show that your result is a lowpass filter.

38
Ideal Lowpass Filters

39
Ideal Lowpass Filters

40
Ideal Lowpass Filters

41
Ideal Lowpass Filters

42
Butterworth Lowpass Filters

43
Butterworth Lowpass Filters

44
Butterworth Lowpass Filters

45
Gaussian Lowpass Filters

46
Image Enhancement in the Frequency Domain

47
Image Enhancement in the Frequency Domain

48
Highpass Filters

49
Highpass Filters

50
Ideal Highpass Filters

51
Butterworth Highpass Filters

52
Gaussian Highpass Filters

53
Noise Removal

Noisy image

Fourier Spectrum Noise-cleaned image 54


Noise Removal

Noisy image Fourier Spectrum Noise-cleaned image

55
Image Enhancement in the Frequency Domain

56
Image Enhancement in the Frequency Domain

57
Image Enhancement in the Frequency Domain

58
Image Enhancement in the Frequency Domain

59

You might also like