Unit-3 Frequency Domain
Unit-3 Frequency Domain
Unit - 3
Frequency Domain
Image Enhancement Techniques
2
Image Enhancement
Spatial Frequency
Domain Domain
methods methods
Background
Background
Transform)
5
1D & 2D
FOURIER TRANSFORMATIONS
6
①
where
②
7
③
Similarly for inverse transform:
④
8
⑤
This is called DFT (Discrete Fourier Transform)
Inverse DFT can be given as:
⑥
9
Euler’s formula
⑦
11
Real part
Magnitude/spectrum Imaginary Phase angle / Phase spectrum
of Fourier transform part of Fourier transform
12
So is understood as
So is understood as
15
Example
F(u)
f(x)
AK
M
K points
A
x u
M points
M points
⑩
Similarly for inverse transform:
⑪
17
⑭
18
Fourier Transform
of argument
19
Place in ⑩
⑯
is image then Fourier Transform of origin is
equal to the average gray level of the image
22
∴ ⑰
∴ ⑱
⑲
23
FILTERING IN
FREQUENCY DOMAIN
24
2. Compute
Filter Inverse
Fourier
Function Fourier
Transform
H(u,v) Transform
Pre- Post-
Processin Processin
g g
f(x,y) g(x,y)
Input Enhanced
image image
26
𝐹 (𝑢,𝑣)=ℑ[𝑓 ( 𝑥 ,𝑦)]
20
Fourier
transform
𝐺 ( 𝑢 , 𝑣 )= 𝐻 ( 𝑢 , 𝑣 ) 𝐹 ( 𝑢 , 𝑣 )
21
Filter
function
Fourier transform of
Input image
−1
22
( )
𝑔(𝑥,𝑦)=ℑ [𝐺 𝑢,𝑣 ]
Filtered
Output
image
Inverse Fourier
transform
Notch Filter
23
30
Notch Filter
This filter
Set F(u,v) to zero
Other frequency components remain untouched
Notch Filter
2D LPF
Result
function
of
LPF
Result
2D HPF of
function HPF
34
24
35
25
36
Fourier transform
Fourier transform
SMOOTHING
FREQUENCY DOMAIN FILTERS
39
Basic
26
Non negative
27
42
Cutoff
frequency
Cutoff frequency
28
29
30
31
SHARPENING
FREQUENCY DOMAIN FILTERS
59
Basic
Sharpening is achieved by
attenuating a specified range of low-frequency
components in the transform of a given image
33
61
34
63
35
65
36
67
37
68
38
39
40
69
From 38 and 40
41
42
43
70
44
71
45
72
HOMOMORPHIC FILTERING
73
Basic idea
Homomorphic Filtering
Homomorphic Filtering
f(x,y) g(x,y)
ln exp
DFT (DFT)-1
H(u,v)
76
Homomorphic Filtering
47
48
77
Homomorphic Filtering
49
50
78
Homomorphic Filtering
51
79
END
OF
UNIT - 3