



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Computer vison
1) Point A = (1,1) T is to be rotated about (-1,-1) T by 45° in the counter clockwise
direction. What is the location of this point after rotation? (Show all steps)
In homogeneous form
Inverse_T=[1,1]
inverse_T =
Theta=
rotation_matrix=[cos(theta) -1*sin(theta);sin(theta) cos(theta)]
rotation_matrix =
M=translationrotation_matrixinverse_T;
Computer vison
2). Give the 2D homogeneous matrix for each of the transformations in parts a-c. Leave
composite transformations in factored form:
a. Scale in the x-dimension by 2 and the y-dimension by 3 with fixed point (-3,1)
scaling_matrix =
inverse_T =
Transformation matrix=TranslationScalinginverse
b. Rotate by 135 degrees about the point (-4,- 3)
Theta=
Computer vison
3) Find a transformation matrix that transforms Figure 1 to 2
Pseudo inverse method will be used which is
X=(A’*A)-1AtB
(A’*A)-1At= −0.0475^ 0.0240−0.0409^ 0.08900.
Computer vison
(A’A)-1AtB=transformation matrix=
4) The following 2D transformation is composed of a rotation followed by a scaling followed by a
translation. [ 0.6 −1.04 −20 0.693 0.4 −50 0 0 1 ]
a. a) Find the rotation, scaling and translation matrices, which when multiplied in the
order given above, will result in this transformation (Assume accuracy of up to 2
decimal places)
U= rotation1=
Scaling=
s = 1.2007 0
v =Rotation2=
Computer vison
To prove: Let f ( x) =A x
→
→
Then f maps parallel lines to parallel lines
Let l and m are parallel lines
Where
l = p
→
→
m = q
→
→
v
→
= k u
→
for some k ∈ R
f ( p
→
→
) =A ( p
→
→
)+ b
→
f ( p
→
→
) =A ( p
→
)+ b
→
→
f ( p
→
→
) = p 1
→
→
____eq
f ( q
→
→
) =A( q
→
→
)+ b
→
f (^ q
→
→
) (^) =A( q
→
)+ b
→
→
f ( q
→
→
) =A ( q
→
¿
→
→
)
f (^ q
→
→
) (^) = q 1
→
→
_____eq
line
l andm are mapped to lines l1 and m1 which are
parallel