Docsity

Assignment 1 - Computers and Vision I | CAP 5416, Assignments of Computer Science

Toggle sidebar
bg1
CAP5416: Assignment #1, Due Date: 9/17/07
Make sure that your writing is legible, or else, please type your answers
using your favourite text formater. Your solutions are due at the beginning of
the class on the due date and no later. No late assignments (please read the
policies on the class website).
In all the problems below, assume that the image plane is given by the XY
and not the XZ plane. Also, assume that fz.
1. Prove that length (distance between points) and angle between two lines
are invariants of a rigid motion given by the following matrix:
cosθ −sinθ tx
sinθ cos θ ty
0 0 1
where, = 1. Explain, what is the type of transformation that results
from choosing =−1, are length and angles invariants of this type of
transformation as well? Show your arguments analytically.
2. Let
H=
h11 h12 h13
h21 h22 h23
h31 h32 h33
be a non-singular matrix representing a planar projective transformation
on homogeneous 3-vectors. For e.g., x0=Hx. Show that if the point x
lies on a line lthen the transformed point x0lies on the line l0=H−Tl.
This is called the transformation rule for lines under point transforma-
tions. Derive the corresponding rule for how conics transform under point
transformations. Note that a conic can be written as xTCx= 0, wehre C
is a (3,3) symmetric matrix of coefficients with 5 degrees of freedom. Also,
define a line that is tangent to this conic and derive the formula for how
this tangent line will transform under the point projective transformation.
3. Show that if a point xis inside a conic, after a projective transformation
(as defined above), it still remains inside, i.e., this property is invariant to
projective transformations.
4. Suppose you are observing the perspective projection of a triangle with
known side legths. If the 3D position of one vertex of the triangle is
known, then the position of the other vertices can be uniquely determined.
Let (x1, y1, z1)T,(x2, y2, z2)Tand (x3, y3, z3)Tbe the 3D positions of the
vertices of the triangle with known lengths S12, S13 and S23. Assume that
fzi;i= 1,2,3. Derive the equations whose solutions are the desired
coordinates of two unknown vertices.
1

Partial preview of the text

Download Assignment 1 - Computers and Vision I | CAP 5416 and more Assignments Computer Science in PDF only on Docsity!

CAP5416: Assignment #1, Due Date: 9/17/

Make sure that your writing is legible, or else, please type your answers using your favourite text formater. Your solutions are due at the beginning of the class on the due date and no later. No late assignments (please read the policies on the class website). In all the problems below, assume that the image plane is given by the XY and not the XZ plane. Also, assume that f  z.

  1. Prove that length (distance between points) and angle between two lines are invariants of a rigid motion given by the following matrix:  

cosθ −sinθ tx sinθ cos θ ty 0 0 1

where,  = 1. Explain, what is the type of transformation that results from choosing  = −1, are length and angles invariants of this type of transformation as well? Show your arguments analytically.

  1. Let

H =

h 11 h 12 h 13 h 21 h 22 h 23 h 31 h 32 h 33

be a non-singular matrix representing a planar projective transformation on homogeneous 3-vectors. For e.g., x′^ = Hx. Show that if the point x lies on a line l then the transformed point x′^ lies on the line l′^ = H−T^ l. This is called the transformation rule for lines under point transforma- tions. Derive the corresponding rule for how conics transform under point transformations. Note that a conic can be written as xT^ Cx = 0, wehre C is a (3, 3) symmetric matrix of coefficients with 5 degrees of freedom. Also, define a line that is tangent to this conic and derive the formula for how this tangent line will transform under the point projective transformation.

  1. Show that if a point x is inside a conic, after a projective transformation (as defined above), it still remains inside, i.e., this property is invariant to projective transformations.
  2. Suppose you are observing the perspective projection of a triangle with known side legths. If the 3D position of one vertex of the triangle is known, then the position of the other vertices can be uniquely determined. Let (x 1 , y 1 , z 1 )T^ , (x 2 , y 2 , z 2 )T^ and (x 3 , y 3 , z 3 )T^ be the 3D positions of the vertices of the triangle with known lengths S 12 , S 13 and S 23. Assume that f  zi; i = 1, 2 , 3. Derive the equations whose solutions are the desired coordinates of two unknown vertices.