XE383ZS::Assignment 3

  1. Load the photo into Matlab matrix I. What is the correction angle that aligns the vertical wall stripes to be also vertical in the image?

  2. Implements a function Iout = imagerotate(I,theta) that performs the rotation about theta degrees in the positive direction.

    Grading: [3 point(s)]

  3. Extend the function imagerotate in the way it allows optional number of input parameters. The parameter theta will be considered optional. If not specified, the function imagerotate estimates the correction angle automatically. Hint: Matlab function nargin returns the number of input parameters. Test your code on several input images not just the one provided.

    Grading: [3 point(s)] The quality of the automatic estimation will be evaluated

  4. Bonus point is the whole implementation will be efficiently implemented. Rotation of an 640x480 image should take around a second or less.

    Grading: [1 point(s)]


[ Responsible: Tomáš Svoboda | XE383ZS labs ]
Last modified at 17:06, 18 April 2008 CEST.