CS 7321: Computer Vision 1
Problem Set 2: Images and Spatial Properties
http://www.cc.gatech.edu/classes/cs7321_98_winter/ps/PS2.html
Handed Out: Wed Feb 10 1998 Due:
Mon Feb 17 1998 (before Class).
Goal: This PS is designed to help you use matlab and also learn
about Spatial Properties of Images.
Pick one of the following 2 problems.
Problem # 1:
Here is what I'd like you to do. All of this relates to the HANDOUT from
Computer Vision by Ballard and Brown, Prentice-Hall, 1982, Section
2.2.4. Handed out in Class Tue Feb 10, 1998.
-
Generate an image (256x256)as described in Figure 2.5 (a), using 'zeros'
and 'ones' in matlab. OR just pick up this image
(stripes.jpg) (or copy from /net/hi1/cpl/classes/cs7321_98_winter/ps/stripes.jpg)
-
See if you can generate Figure 2.5 (b), (c), (d), (e) and (f).
( Scanned Image of that page )
Caption: Fig 2.5 (a) An image, f(x,y), (b) A rotated version of (a),
filtered to enhance the high spatial frequencies. (c) Similar to (b), but
but filtered to enhance low spatial frequencies. (d), (e) and (f) show
the logarithim of the power spectrum of (a), (b) and (c). The power spectrum
is the log square modulus of the Fourier Transform F(u,v). Considered in
polar coordinates (rho,theta), points of small rho correspond to low spatial
frequencies ("slow varying" intensities), large rho to high spatial frequencies
contributed by "fast" variations such as step edges. The power at (rho,
theta) is determined by the amount of intensity variation at the frequency
of rho occuring at angle theta.
-
Experiment with a few other synthetic and real images.
-
Write a matlab script do all of this, when you give it an image (ie. image_fft_test(image,...).
-
When done, Create an HTML document that gives the matlab program source
code (or script saved via the diary command) and shows your output
images.
-
See /net/www/classes/cs7321_98_winter/u/irfan/ps2/index.html for a generic
template.
-
Your report should be in /net/www/classes/cs7321_98_winter/u/<your-CoC-username>/ps2/index.html
OR
Problem #2
Here is a different thing you can try. All of this relates to pages
150-153 on JK&S (our Text) and Figures 5.4, 5.5, 5.6, and 5.7.
-
Pick up the "rod.jpg" image (or copy from /net/hi1/cpl/classes/cs7321_98_winter/ps/rod.jpg).
-
Attempt all the operations as shown in Figures 5.4 and 5.5, page 150-151
of JK&S
-
Attempt all the operations as shown in Figures 5.6 and 5.7, page 152-153
of JK&S.
-
Use matlab functions to do all of this.
-
When done, Create an HTML document that gives the matlab program source
code (or script saved via the diary command) and shows your output
images.
-
See /net/www/classes/cs7321_98_winter/u/irfan/ps2/index.html for a generic
template.
-
Your report should be in /net/www/classes/cs7321_98_winter/u/<your-CoC-username>/ps2/index.html