IMAGE PROCESSING IN FREQUENCY SPACE 19.4.2015Erkki Rämö1

Preview:

Citation preview

IMAGE PROCESSING IN FREQUENCY SPACE

18.04.23 Erkki Rämö 1

18.04.23 Lauri Toivio 2

Images frequency domain2D spatial domain image can be altered into frequency

domain by applying Fourier transformation

Frequency image has the same dimensions as the original, but the components are complex numbers

Frequency image is a map of image frequencies in the spatial image

18.04.23 3

Images frequency domainComponents of frequency image are complex numbersConsists of magnitude and phase components

Frequency image is visualized by showing its magnitude components

Calculated from spatial images first by rows then by columns

18.04.23 4

Example of frequency images

5

Low frequencies are near origin

Frequency is symmetrical in relation to the coordinate axis

Numeral scope of frequency imageComplex number consists of magnitude and phase

componentsMagnitude components differencies of samples are so big

that a logarithmic scaling is needed to visualize the frequency image

18.04.23 6

Visualization of frequency image

7

Original

Magnitude component

Logarithmic scaling

Directional dependency of frequency image

18.04.23 8

18.04.23 Lauri Toivio 9

Directional dependency – applicationStraightening of scanned text

18.04.23 10

ThresholdFFT

FFT

Some hardcore mathematics

18.04.23 11

Fourier-transform

Fourier –transform in one dimension:

18.04.23 12

Fourier –counter transform:

2D Fourier-transform

18.04.23 15

=

=

DFT - 2D

18.04.23 16

Fast Fourier Transform - FFT

Speed up calculation by decreasing values to be calculated

18.04.23 18

where

Single-frequency images frequency domainIn image, only one vertical frequencyShows as a dot in frequency image

18.04.23 19

18.04.23 Lauri Toivio 20

18.04.23 Lauri Toivio 21

Frequency filteringChosen frequencies are masked off of frequency image

18.04.23 23

FFT-filtering

Low-passfiltering

High-passfiltering

18.04.23 Lauri Toivio 25

18.04.23 26

18.04.23 Lauri Toivio 27

18.04.23 28

18.04.23 29

Image restoration by Photoshop

18.04.23 Lauri Toivio 30

More information:http://www.dai.ed.ac.uk/HIPR2/fourier.htm

18.04.23 33

Recommended