ECE 564 Computer Vision Assignment 2

Submit HTML documentation on Isidore.

  1. Construct a cube model, preferably including your picture on one of the faces. See example surface demo 2

  2. Using images from Isidore resources (CV2016-02-08 efl, find the effective focal length of the camera and the horizontal field of view. See calculating focal length. The file measurements.m specifies the distances to the target board and the size of the large black square on the target.

  3. Write a MATLAB script that uses ginput to get three arbitrary points and then produces the diagram shown below. As an extra challenge, superimpose this figure over an underlying image, using color to make the annotation stand out. Use axis equal to insure the same scale in both x and y directions.

  4. Given three arbitrary 3D points, write a MATLAB script that calculates the unit normal vector to the plane determined by those points. The vector should be oriented by the right-hand rule. If your fingers curl from point 1 to point 2 to point 3, then your thumb should point in the direction of the normal vector.

  5. Write a MATLAB script that uses plot3 to draw a sprial similar to that shown below. Then show an orthographic projection. (see vis1.m)

  6. Read chapter 11 from Peter Corke, Robotics, vision and control: fundamental algorithms in MATLAB,
    Springer, c2011. ISBN 978-3-642-20143-1 [UD library electronic resource]

    You will need his Robot and Vision toolboxes from his toolboxes page. I downloaded and installed them into a single library rvctools available from the Resources section of the ECE564 Isidore site. You add them to your active MATLAB session by running startup_rvc.m. Documentation for the toolboxes may be found in Machine Vision Toolbox Reference and Robotics Toolbox Reference

    Download the MATLAB code from chapter 11: chapter 11 code. Please create a MATLAB script, that generates a nicely formatted version of this code, including explanations from the textbook as necessary to understand the theory behind the code. Do not include a copy of rvctools in your submission.

Maintained by John Loomis, last updated 27 January 2017