Professional Documents
Culture Documents
Frequency Domain
ASHISH GHOSH
Spatial Domain
Frequency Domain
Fourier Series
Any function that periodically
repeats itself can be expressed
as the sum of sines and/or
cosines of different frequencies,
each multiplied by a different
coefficients.
This sum is called a Fourier
series.
Fourier Series
1
a0 =
T0
2
an =
T0
2
bn =
T0
t 0 +T0
g (t )dt
t0
t 0 +T0
g (t ) cos nw t dt
0
t0
t 0 +T0
g (t ) sin nw t dt
0
t0
Fourier Transform
A function that is not periodic but the area under its
curve is finite can be expressed as the integral of
sines and/or cosines multiplied by a weighing
function. The formulation in this case is Fourier
transform.
Fourier Transform
Fourier transform
Functions which are not periodic (but whose area under the curve is
finite) can be expressed as the integral of sines and/or cosines
multiplied by a weighting function
Its utility is greater than the Fourier series in most practical problems
A function, expressed in either as a Fourier series or a Fourier transform,
can be reconstructed (recovered) completely via an inverse process, with
no loss of information
F (u ) =
f ( x)e j 2ux dx
f ( x) =
Where
j = 1
j 2ux
F
(
u
)
e
du
1
( x) =
0
1
x<
2
1
x>
2
u
F (u ) = sinc
2
Fourier Spectrum
x
- 0.5
0.5
where sin c( x) =
sin( x)
x
-k
-K
-K
f(x)
x
-2K
2K
x assumes
(0,1,2,3,,M-1) then
the
discrete
values
f ( x) = f ( x0 + xx)
The sequence {f(0),f(1),f(2),f(M-1)} denotes any
M uniformly spaced samples from a continuous
function.
1
F (u ) =
M
1
F (u ) =
M
f ( x) =
M 1
f ( x )e
j 2u
x
M
;u =[0,1,2, , M-1]
x =0
M 1
x =0
x
x
f ( x) cos 2u
j sin 2u
M
M
M 1
u =0
u
j 2 x
F (u )e M
; x =[0,1,2, , M-1]
1
u =
Mx
Each term of the FT (F(u) for every u) is composed of
the sum of all values of f(x)
F (u ) = R(u ) + jI (u )
F (u ) = F (u ) e
j ( u )
F (u ) = [ R 2 (u ) + I 2 (u )]1/ 2
I (u )
(u ) = tan
R
(
u
)
1
F (u , v) =
MN
f ( x, y ) =
M 1N 1
f ( x,
x
y
j 2 ( u + v )
M N
y )e
x =0 y =0
M 1N 1
F (u, v)e
j 2 (
u
v
x+ y )
M
N
u =0 v =0
F (u , v) = R (u , v) + I (u , v)
2
Fourier Spectrum
1/ 2
Fourier spectrum:
F (u , v) = R (u , v) + I (u , v)
Phase:
I (u , v)
(u , v) = tan
R
(
u
,
v
)
Power spectrum:
1/ 2
P(u, v) = F (u, v) = R 2 (u , v) + I 2 (u , v)
2
1
F (u , v) =
MN
1
F (0,0) =
MN
M 1 N 1
f ( x, y)e
j 2 ( u
x
y
+v )
N
M
x =0 y =0
M 1N 1
f ( x, y )
x =0 y =0
If f ( x) F (u ) then
f ( x )e
j 2u 0 x
f ( x, y ) e
F (u u0 )
j 2 ( u 0
x
y
+ v0 )
M
N
F (u u0 , v v0 )
F f ( x, y )( 1)
1.
2.
3.
4.
5.
6.
x+ y
) = F (u M / 2, v N / 2)
H(u,v) is specified in
the frequency domain.
DFT
h(x,y) is specified in
the spatial domain.
EXAMPLE
Original Signal
Low-Pass filtered output
Notch Filter
0
H (u , v) =
1
if u = M / 2, v = N / 2
otherwise
G (u , v) = H (u , v) F (u , v)
where F(u,v): the Fourier transform of the image to be
smoothed
1
H (u , v) =
0
if D(u, v) D0
if D(u , v) > D0
D(u, v) = (u M / 2) + (v N / 2)
2
2 1/ 2
Total Power
M 1 N 1
f c = F (u , v)
u =0 v =0
= 100 F (u, v) / f c
u v
fc =15
= 94.6%
fc =30
= 96.4%
fc =80
= 98%
fc =230
= 99.5%
Cause of Ringing
H (u , v) =
1 + [D(u , v) / D0 ]2 n
Radii= 15
Radii= 80
Radii= 5
Radii= 30
Radii= 230
H (u , v) = e
D 2 ( u ,v ) / 2 D02
Radii= 15
Radii= 80
Radii= 5
Radii= 30
Radii= 230
Hhp(u,v) = 1 - Hlp(u,v)
0
H (u , v) =
1
if D(u , v) D0
if D (u , v) > D0
H (u , v) =
2n
H (u , v) = 1 e
D 2 ( u ,v ) / 2 D02