Docsity

Homework 4 Questions - Image Processing | EECS 556, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
EECS 556, Imaging Processing, Douglas C. Noll 2/6/2002
Homework #4
Due Date: Feb. 12, 2002
1. [10] Lim, Problem 4.6
2. [70] You will examine the ideal circularly symmetric filter and nearly circularly symmetric
variants. Create an ideal low-pass filter using the form described in class for ωc = π/2. Hand
in all plots and your Matlab code. For all plots (and filters), make the (0,0) location in the
approximate center of plot and make sure your axes are accurate.
a. Create a 64x64 filter, h(n,m).
b. Calculate the frequency response ),(
Y
X
Hωω and display using imagesc.
c. Extract the central 9x9 part to make the truncated filter hT(n,m).
d. Describe symmetry properties of this filter, that is, is it circularly symmetric, 4-fold
symmetric, 8-fold symmetric?
e. Calculate the frequency response ),(
Y
X
T
Hωω and display using imagesc.
f. Extract a 9x9 filter hT2(n,m), but keep only coefficients for which
4
22 ≤+= mnn
r
.
g. Calculate the frequency response ),(
2
Y
X
T
Hωω and display using imagesc.
h. Plot the ωX=0 line for these three filters and compare.
i. Plot the ωX=ωY line for these three filters and compare.
3. [70] In this problem, we will investigate the creation of an approximately circularly
symmetric filter. Hand in all plots and your Matlab code. For all plots, make the (0,0)
location in the approximate center of plot.
a. Consider a 1D filter with impulse response
[
]
8
1
4
1
8
100)( −−=nh . Determine
and plot its frequency response )(
ω
H. What kind of filter is this?
b. Create its circularly symmetric equivalent, )(
ω
H, where 22 YXωωω += . Plot this
using Matlab’s mesh command.
c. Determine h(n,m), the 2D impulse response for the circularly symmetric filter.
d. Extract the central 7x7 part to make the truncated filter hT(n,m). Print or record these
values so that they can be graded.
e. Determine or calculate the frequency response ),(
Y
X
T
Hωω and plot using mesh.
f. Compare H and HT using contour. Use at least 20 contour lines. Do the contours
agree? Why or why not?
g. Plot the central line through both H and HT. Do these agree?

Partial preview of the text

Download Homework 4 Questions - Image Processing | EECS 556 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EECS 556, Imaging Processing, Douglas C. Noll 2/6/

Homework # Due Date: Feb. 12, 2002

  1. [10] Lim, Problem 4.
  2. [70] You will examine the ideal circularly symmetric filter and nearly circularly symmetric variants. Create an ideal low-pass filter using the form described in class for ωc = π /2. Hand in all plots and your Matlab code. For all plots (and filters), make the (0,0) location in the approximate center of plot and make sure your axes are accurate. a. Create a 64x64 filter, h ( n , m ). b. Calculate the frequency response H ( ω (^) X , ωY )and display using imagesc. c. Extract the central 9x9 part to make the truncated filter hT ( n , m ). d. Describe symmetry properties of this filter, that is, is it circularly symmetric, 4-fold symmetric, 8-fold symmetric? e. Calculate the frequency response H (^) T ( ω (^) X , ωY )and display using imagesc. f. Extract a 9x9 filter hT2 ( n , m ), but keep only coefficients for which nr = n^2 + m^2 ≤ 4. g. Calculate the frequency response H (^) T 2 ( ω (^) X , ωY )and display using imagesc. h. Plot the ωX =0 line for these three filters and compare. i. Plot the ωX = ωY line for these three filters and compare.
  3. [70] In this problem, we will investigate the creation of an approximately circularly symmetric filter. Hand in all plots and your Matlab code. For all plots, make the (0,0) location in the approximate center of plot.

a. Consider a 1D filter with impulse response h ( n )=[−^81 0410 − 81 ]. Determine

and plot its frequency response H ( ω ). What kind of filter is this?

b. Create its circularly symmetric equivalent, H ( ω ), where ω = ωX^2 + ωY^2. Plot this using Matlab’s mesh command. c. Determine h ( n , m ), the 2D impulse response for the circularly symmetric filter. d. Extract the central 7x7 part to make the truncated filter hT ( n , m ). Print or record these values so that they can be graded. e. Determine or calculate the frequency response HT ( ω (^) X , ωY )and plot using mesh. f. Compare H and HT using contour. Use at least 20 contour lines. Do the contours agree? Why or why not? g. Plot the central line through both H and HT. Do these agree?