in Computer Graphics recategorized by
5,455 views
3 votes
3 votes

Consider the matrix $M=\begin{bmatrix} 2 & 0 & 2 \\ 0 & 1 & 1 \\ 0 & 0 & 1 \end{bmatrix}$ representing a set of planar (2D) geometric transformations in homogeneous coordinates. Which of the following statements about the matrix M is True?

  1. M represents first, a scaling of vector (2, 1) followed by translation of vector (1,1)
  2. M represents first, a translation of vector (1, 1) followed by scaling of vector (2,1)
  3. M represents first, a scaling of vector (3, 1) followed by shearing of parameters (-1,1)
  4. M represents first, a shearing of parameters (-1, 1) followed by scaling of vector (3,1)
in Computer Graphics recategorized by
5.5k views

3 Answers

1 vote
1 vote

multiply given matrix by following   3x1 matrix

[

x

y

1

]     we will get  x'=  2x+2 , y'=y+1  , 1=1   which is  (x+1)2 + (y+1)1  i.e translation of 1,1 followed by scaling of 2 and 1

hence option 2 is the right answer

 

 

edited by
1 vote
1 vote

Answer should be A. M represents first, a scaling of vector (2, 1) followed by translation of vector (1,1)

Matrix for scaling vector (2,1)=

2 0 0
0 1 0
0 0 1

Matrix for translation vector (1,1)=

1 0 1
0 1 1
0 0 1

Multiplying both we get the resultant vector

2 0 2
0 1 1
0 0 1

 

edited by

4 Comments

Ans is B option in official Key.
0
0

But this solution seems to be perfect so I guess ans in official key might be wrong!!

 

0
0
multiplication would be performed from right to left.

Thus answer would be 'B'
0
0
0 votes
0 votes
Scaling matrix is given by
X   0    0                                                                                                 
0   Y    0                        
0   0    1      
whereas Translation matrix is given by
1  0  X
 0  1  Y  
0  0  1

So if we apply scaling first and then translation, we won't end up with the elements which we require in the 3rd column of the given matrix.

Hence translation of vector (1,1) i.e    1  0  1

                                                                  0  1  1

                                                                  0  0  1

and then applying scaling vector (2,1) on translated vector gives      2  0  2

                                                                                                                        0  1  1

                                                                                                                        0  0  1

Ans is option B.

1 comment

edited by

@ApoorvaRaikar Can u explain little bit more on this.

like after scaling how there is 2 at (0,2) position

thank you!

0
0

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true