Homework 1, EE 528 Fall 2009
For Matlab problems, use as the image, I(m,n), either a chessboard image or a fence image.
  1. Problems 4.9, 4.11a, 4.12 of AK Jain. Also verify 4.11a using MATLAB. A continuous function can be simulated by choosing x = [0:1/(100 zeta_s): 5/zeta_0]  (using a very small sampling interval).
  2. Redo Example 4.2 with  (a) f(x,y) = cos 2pi(x/4a + y/8a) + cos 2pi(x/128a + y/128a), (b) f(x,y) = cos 2pi(x/4a + y/8a) + cos 2pi(4x/a + 4y/a).
  3. Matlab assignment:
    1. Demonstrate Moire effect for a DC source (constant grey scale image) using MATLAB. Note what I said in class wasn't exactly correct. You will need to decimate the image first and then interpolate using different size averaging filters.
    2. Decimation and Interpolation (DO NOT use standard Matlab functions)
  4. For one row of the chessboard image, write out equations for every image you got after decimation and after interpolation, i.e. do the entire thing on paper. One row of the chessboard can be written out as a difference of two unit step functions: u(x) - 2u(x-20)