Professional Documents
Culture Documents
This work is licensed under the Creative Commons Attribution-Noncommercial 2.5 License. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc/2.5/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.
F { f g } = F G.
Moreover,
F { f g } = F G.
The Fourier Transform of a The Fourier Transform of a convolution equals the convolution equals the product of the Fourier product of the Fourier Transforms. Similarly, the Transforms. Similarly, the Fourier Transform of a Fourier Transform of a convolution is the product of convolution is the product of the Fourier Transforms the Fourier Transforms
27 April 2008
Transforms
Pixel-wise Product
Inverse Transform
27 April 2008
27 April 2008
Image Origin
Image Origin
27 April 2008
5 1 4 7 2 5 8 3 6 9 2 8
6 9
4 7
Each pixel in the output is a weighted average of its neighbors. Is a convolution whose weight matrix sums to 1. High frequencies are diminished or eliminated Individual frequency components are multiplied by a nonincreasing function of such as 1/ = 1/(u2+v2). The values of the output image are all non-negative. The values of the output image are all non-negative.
27 April 2008
Each pixel in the output is a difference between itself and a weighted average of its neighbors. Is a convolution whose weight matrix sums to 0. High frequencies are enhanced or amplified. Individual frequency components are multiplied by an increasing function of such as = (u2+v2), where is a constant. The values of the output image positive & negative. The values of the output image positive & negative.
27 April 2008
Recall: Recall:
F { f g } = F G.
Moreover,
F { f g } = F G.
Thus we can compute f g by f g = F -1{F G}.
27 April 2008
The Fourier Transform of a The Fourier Transform of a convolution equals the convolution equals the product of the Fourier product of the Fourier Transforms. Similarly, the Transforms. Similarly, the Fourier Transform of a Fourier Transform of a convolution is the product of convolution is the product of the Fourier Transforms the Fourier Transforms
9
Image size: 512x512 Image size: 512x512 FD filter radius: 16 FD filter radius: 16
27 April 2008
10
Image size: 512x512 Image size: 512x512 FD filter radius: 8 FD filter radius: 8
27 April 2008
11
Phase Phase
27 April 2008
12
Image size: 512x512 Image size: 512x512 FD filter radius: 16 FD filter radius: 16
27 April 2008
13
Image size: 512x512 Image size: 512x512 FD filter radius: 16 FD filter radius: 16
27 April 2008
14
Image size: 512x512 Image size: 512x512 FD notch radius: 16 FD notch radius: 16
27 April 2008
15
Image size: 512x512 Image size: 512x512 FD notch radius: 16 FD notch radius: 16
27 April 2008
16
Image size: 512x512 Image size: 512x512 FD notch radius: 16 FD notch radius: 16
27 April 2008
17
Image size: 512x512 Image size: 512x512 FD notch radius: 16 FD notch radius: 16
27 April 2008
18
FT FT
If x y is the extent of the object in space and if u v is its extent in frequency then, 1 x y u v 16 2
A small object in space A small object in space has a large frequency has a large frequency extent and vice-versa. extent and vice-versa.
space
frequency
FT FT
27 April 2008
19
IFT IFT
Recall: a symmetric Recall: a symmetric pair of impulses in the pair of impulses in the frequency domain frequency domain becomes a sinusoid in becomes a sinusoid in the spatial domain. the spatial domain. A symmetric pair of A symmetric pair of lines in the frequency lines in the frequency domain becomes a domain becomes a sinusoidal line in the sinusoidal line in the spatial domain. spatial domain.
IFT IFT
small extent
27 April 2008
20
IFT IFT
A sharp cutoff in the A sharp cutoff in the frequency domain frequency domain
27 April 2008
causes ringing in the causes ringing in the spatial domain. spatial domain.
21
Blurring the image above Blurring the image above w/ an ideal lowpass filter w/ an ideal lowpass filter
27 April 2008
distorts the results with distorts the results with ringing or ghosting. ringing or ghosting.
22
IFT IFT
The Gaussian filter optimizes the uncertainty relation. The Gaussian filter optimizes the uncertainty relation. It provides the sharpest cutoff with the least ringing. It provides the sharpest cutoff with the least ringing.
27 April 2008
1999-2007 by Richard Alan Peters II
23
One-Dimensional Gaussian
g ( x) =
27 April 2008
1 2
( x ) 2 2 2
24
Two-Dimensional Gaussian
R = 512, C = 512
g ( r, c) = g ( r ) g (c) = 1 2 e
r c
If and are If and are different for rr& cc different for &
2
( r r )2 ( y c ) 2 2 2 r 2 c
= 1 2 e
r c
2 2 c ( x r )2 + r ( y c )2 2 2 2 r c
or if and are or if and are the same for rr& cc. the same for & .
= 257, = 64
g ( r, c ) = 212 e
( r )2 + ( c )2 2 2
27 April 2008
25
With a gaussian lowpass With a gaussian lowpass filter, the image above filter, the image above
27 April 2008
Image size: 512x512 Image size: 512x512 SD filter sigma 8 SD filter sigma ==8
27 April 2008
27
Image size: 512x512 Image size: 512x512 SD filter sigma 2 SD filter sigma ==2
27 April 2008
28
Image size: 512x512 Image size: 512x512 SD filter sigma 8 SD filter sigma ==8
27 April 2008
29
Image size: 512x512 Image size: 512x512 SD filter sigma 8 SD filter sigma ==8
27 April 2008
30
Image size: 512x512 Image size: 512x512 FD notch sigma 8 FD notch sigma ==8
27 April 2008
31
Image size: 512x512 Image size: 512x512 FD notch sigma 8 FD notch sigma ==8
27 April 2008
32
Image size: 512x512 Image size: 512x512 FD notch sigma 8 FD notch sigma ==8
27 April 2008
33
Image size: 512x512 Image size: 512x512 FD notch sigma 8 FD notch sigma ==8
27 April 2008
34
27 April 2008
35
27 April 2008
36
27 April 2008
37
27 April 2008
38
Image size: 512x512 Image size: 512x512 sigma 2 sigma 8 sigma ==2 --sigma ==8
27 April 2008
39
Image size: 512x512 Image size: 512x512 sigma 2 sigma 8 sigma ==2 --sigma ==8
27 April 2008
40
Image size: 512x512 Image size: 512x512 sigma 2 sigma 8 sigma ==2 --sigma ==8
27 April 2008
41
Image size: 512x512 Image size: 512x512 sigma 2 sigma 8 sigma ==2 --sigma ==8
27 April 2008
42
27 April 2008
43
phase phase
44
phase phase
45
phase phase
46