Fourier Transform
Fourier Transform
= where
Given F(u), f(x) can be obtained by means of inverse
Fourier Transform
(1) and (2) constitute the Fourier Transform pair.
3/19/2012 CS04 804B Image Processing - Module1 19
1 j =
2
( ) ( ) (2)
j ux
f x F u e du
/ 2
2 2
/ 2
2 2 / 2
2
2 2
/ 2
2 2
( ) ( ) 1.
2 2
2
sin
2
T
j ux j ux
T
T T
j u j u T
j ux
T
T T
j u j u
F u f x e dx e dx
e e e
j u j u
uT
e e uT
= =
(
(
(
= =
(
(
(
(
| |
| |
|
(
| |
3/19/2012 CS04 804B Image Processing - Module1 20
2 2
2 2
sin
2
2
sin
2 2
2
sin
2
2
2
j u j u
e e uT
u j
uT
T
uT
| |
|
(
| |
\ |
( = =
|
|
\ (
|
\
(
| |
|
\
=
|
\
Q
(
(
(
|
(
|
(
3/19/2012 CS04 804B Image Processing - Module1 21
/ 4
2 2
/ 4
2 2 / 4
2
4 4
/ 4
2 2
( ) ( ) 2.
2
2 2
2
sin
2
T
j ux j ux
T
T T
j u j u T
j ux
T
T T
j u j u
F u f x e dx e dx
e e e
j u j u
uT
e e uT
= =
(
(
(
= =
(
(
(
(
| |
| |
|
(
| |
3/19/2012 CS04 804B Image Processing - Module1 22
2 2
4 4
sin
2
4
2 sin
2 4
2
sin
4
2
2
4
j u j u
e e uT
u j
uT
T
uT
| |
|
(
| |
\ |
( = =
|
|
\ (
|
\
(
| |
|
\
=
Q
(
(
(
| |
(
|
(
\
3/19/2012 CS04 804B Image Processing - Module1 23
Discrete Fourier Transform (DFT)
Fourier Transform of a discrete function of one variable,
f(x), x = 0, 1, 2, , M-1 is given by
where u = 0, 1, 2, , M-1.
3/19/2012 CS04 804B Image Processing - Module1 24
1
2
0
1
( ) ( )
M
j ux
M
x
F u f x e
M
=
=
Inverse DFT
1
2
0
1
( ) ( )
M
j ux
M
u
f x F u e
M
=
=
where x = 0, 1, 2, , M-1.
The product of multipliers used in DFT and its inverse
should be equal to 1/M.
3/19/2012 CS04 804B Image Processing - Module1 25
Eulers Formula :
Therefore,
cos sin
j
e j
= +
( ) ( )
1
1
2 2
( ) ( ) cos sin
M
ux ux
F u f x j
M M
(
=
where u = 0, 1, 2, , M-1.
Each term of Fourier Transform F(u), for each value of u,
is composed of sum of all values of function f(x).
3/19/2012 CS04 804B Image Processing - Module1 26
( ) ( )
0
2 2
( ) ( ) cos sin
x
ux ux
F u f x j
M M
M
=
(
=
| |
=
|
\
Power Spectrum or Spectral Density
2
2 2
( ) ( )
( ) ( )
P u F u
R u I u
=
= +
3/19/2012 CS04 804B Image Processing - Module1 30
Fourier Transform is centered at origin, but DFT is centered at
M/2.
3/19/2012 CS04 804B Image Processing - Module1 31
DFT spectrum can be centered at u=0, by multiplying f(x) by
(-1)
x
before taking the transform (Centering). F(0) will then be
at u=M/2.
3/19/2012 CS04 804B Image Processing - Module1 32
3/19/2012 CS04 804B Image Processing - Module1 33
Height of the spectrum doubles as area under the curve in
x-domain doubles.
Number of zeroes in the spectrum in the same interval
doubles as the length of the function doubles. doubles as the length of the function doubles.
3/19/2012 CS04 804B Image Processing - Module1 34
More on DFT
Samples are equally spaced.
Samples need not be at integer values of x in [0, M-1].
Can be spaced at x
0
, x
0
+x, , x
0
+(M-1)x.
k
th
sample f(k) is at x
0
+kx.
3/19/2012 CS04 804B Image Processing - Module1 35
0
( ) (x x) f x f x = +
( ) ( ) F u F u u =
1
x
u
M
=
2D-Fourier Transform
2 ( )
( , ) ( , )
j ux vy
F u v f x y e dxdy
+
=
3/19/2012 CS04 804B Image Processing - Module1 36
2 ( )
( , ) ( , )
j ux vy
f x y F u v e dudv
+
=
2D-Discrete Fourier Transform and
its Inverse
2D-DFT of image f(x,y) of size MxN is given by
( )
1 1
2
0 0
1
( , ) ( , )
vy M N
ux
j
M N
x y
F u v f x y e
MN
+
= =
=
These equations constitute a 2D-DFT pair.
u, v are transform or frequency variables.
x, y are spatial or image variables.
3/19/2012 CS04 804B Image Processing - Module1 37
( )
1 1
2
0 0
( , ) ( , )
vy M N
ux
j
M N
u v
f x y F u v e
+
= =
=
Fourier Spectrum:
Phase Angle:
1
2 2 2
( , ) ( , ) ( , ) F u v R u v I u v
(
= +
1
( , )
( , ) tan
( , )
I u v
u v
R u v
(
=
(
Power Spectrum:
+ = +
= +
3/19/2012 CS04 804B Image Processing - Module1 42
2 2
( ) ( )
( ) ( )
( ) ( )
j ux j ux
af x e dx bg x e dx
a f x e dx b g x e dx
aF u bG u
= +
= +
= +
Linearity
Additivity: The property that performing a linear process on
the sum of inputs is same as that of performing the
operations individually and then summing up the resuts. operations individually and then summing up the resuts.
Homogeneity: The property that the response of a linear
system to a constant times an input is same as the response
to the original input multiplied by a constant.
3/19/2012 CS04 804B Image Processing - Module1 43
Change of Scale Property
If F(u) is the Fourier transform of f(x), then
Proof:
1
[ ( )] , 0
u
F f ax F a
a a
| |
=
|
\
2
[ ( )] ( )
j ux
F f ax f ax e dx
=
3/19/2012 CS04 804B Image Processing - Module1 44
2
[ ( )] ( )
,
,
j ux
F f ax f ax e dx
Let ax t
t
Or x
a
dt
dx
a
=
=
=
=
2
2
[ ( )] ( )
1
( )
1
j ux
t
j u
a
u
F f ax f ax e dx
f t e dt
a
=
=
=
| |
=
|
\
Shifting Property
If F(u) is the Fourier transform of f(x), then
Proof:
0
2
0
[ ( )] ( )
j ux
F f x x e F u
=
2
[ ( )] ( )
j ux
F f x x f x x e dx
=
=
= +
=
0
0
2 ( )
0
2 2
[ ( )] ( )
( ) .
j u t x
j ux j ut
F f x x f t e dt
f t e e dt
=
=
=
=
Properties of 2D-DFT
1. Translation
0 0
2
( , ) ( , ) (1)
u x v y
j
M N
f x y e F u u v v
| |
+
|
\
3/19/2012 CS04 804B Image Processing - Module1 48
0 0
( , ) ( , ) (1)
M N
f x y e F u u v v
\
0 0
2
0 0
( , ) ( , ) (2)
u x v y
j
M N
f x x y y F u v e
| |
+
|
\
When
Therefore, (1) and (2) can be written as:
0 0
2 2
N M
u and v = =
0 0
2
( )
( 1)
u x v y
j
M N
j x y x y
e e
| |
+
|
+ +
\
= =
M N
| |
3/19/2012 CS04 804B Image Processing - Module1 49
( , )( 1) ,
2 2
x y
M N
f x y F u v
+
| |
|
\
, ( , )( 1)
2 2
u v
M N
f x y F u v
+
| |
|
\
2. Distributivity
[ ] [ ] [ ]
1 2 1 2
( , ) ( , ) ( , ) ( , ) f x y f x y f x y f x y + = +
[ ] [ ] [ ]
1 2 1 2
( , ). ( , ) ( , ) . ( , ) f x y f x y f x y f x y
3. Scaling
3/19/2012 CS04 804B Image Processing - Module1 50
( , ) ( , ) af x y aF u v
1
( , ) ,
u v
f ax by F
ab a b
| |
|
\
4. Rotation
Representation in terms of polar coordinates
cos , sin
cos , sin
x r y r
u w v w
= =
= =
Rotating f(x,y) by an angle
0
rotates F(u,v) by the same
angle.
Rotating F(u,v) rotates f(x,y) by the same angle.
3/19/2012 CS04 804B Image Processing - Module1 51
0 0
( , ) ( , ) f r F w + +
5. Periodicity
Inverse Transform is also periodic.
( , ) ( , ) ( , ) ( , ) F u v F u M v F u v N F u M v N = + = + = + +
( , ) ( , ) ( , ) ( , ) f x y f x M y f x y N f x M y N = + = + = + +
6. Conjugate Symmetry
3/19/2012 CS04 804B Image Processing - Module1 52
*
( , ) ( , ) F u v F u v =
7. Separability
1 1
2 2
0 0
1
2
1 1
( , ) . ( , )
1
( , )
M N
j ux M j vy N
x y
M
j ux M
F u v e f x y e
M N
F x v e
M
= =
| |
=
|
\
=
=
=
2 j
M
M
W e
=
1
0
2 1
2
1
( ) ( )
1
( )
M
ux
M
x
k
ux
k
F u f x W
M
f x W
=
=
2
2 (2 )
,
,
j
M
M
j u x
We have
W e
Therefore
=
3/19/2012 CS04 804B Image Processing - Module1 57
2 (2 )
(2 )
2
2
2
j u x
u x
k
k
j ux
k
ux
k
W e
e
W
=
=
=
1 1
(2 ) (2 )
2 2 2
0 0
1 1 1
( ) (2 ) (2 1)
2
k k
u x u x u
k k k
x x
F u f x W f x W W
k k
= =
(
= + +
(
1 1
2
0 0
1 1 1
(2 ) (2 1)
2
k k
ux ux u
k k k
x x
f x W f x W W
k k
= =
(
= + +
(
3/19/2012 CS04 804B Image Processing - Module1 58
0 0
2
x x
k k
= =
(
F
even
(u) F
odd
(u)
2
1
( ) ( )
2
u
even odd k
F u F u W
(
= +
1
( )
0
2 1
2 2
0
1
( ) ( )
1
( )
2
M
u k x
M
x
k
ux kx
k k
x
F u k f x W
M
f x W W
k
+
=
=
+ =
=
+ +
=
(
=
(
(
+ +
(
1
2 2
2 2
0
1
2 2
2 2 2 2
0
1 1
(2 )
2
1 1
(2 1)
2
k
ux kx
k k
x
k
ux u kx k
k k k k
x
f x W W
k
f x W W W W
k
=
(
=
(
(
+ +
(
= = =
= = =
1
0
1
2
0
1
1 1
( ) (2 ) .1
2
1 1
(2 1) .1.( 1)
2
1 1
(2 )
k
ux
k
x
k
ux u
k k
x
k
ux
F u k f x W
k
f x W W
k
f x W
(
+ =
(
(
+ +
(
(
=
=
(
=
(
(
+ +
(
(
=
2
1
( ) ( ) ( )
2
u
even odd k
F u F u F u W
(
= +
Fast Fourier Transform Computation Steps
3/19/2012 CS04 804B Image Processing - Module1 62
2
1
( ) ( ) ( )
2
u
even odd k
F u k F u F u W
(
+ =
Requires only two M/2-point transforms.
Thank You Thank You
3/19/2012 CS04 804B Image Processing - Module1 63