Professional Documents
Culture Documents
Transformation on Matrices
• Translation
• Scaling
• Shear (x, y)
• Rotating
• Reflection (+ Scaling)
• Composition
• Decomposition
– Symmetric Eigenvalue Decomposition
– Singular Value Decomposition
• Inverse Transformation
Faculty of Computer Science
Translation
x' x t x
P' P T y
y' y t y
P' P T 𝑦 ′
(,)
y (x,y)
x 𝑥′ x
• 3D Translation by Multiplication
• Suppose
you had an object at point P(1,2) and
you wanted to move it three units to the right
and one unit up. What would you do?
• Add 3 to the x-coordinate and 1 to the y-
coordinate => (4,3)
R=
Faculty of Computer Science
Rotation - Exercise
= xr +
= yr +
′
𝑥 1 0 0 𝑥
1
′
𝑦 ¿ 0 −1 0 𝑦 Reflection axis
0 0 1 1
′
𝑥 −1
0 0 𝑥
1
′
𝑦 ¿ 0 1 0 𝑦
0 0 1 1
x' = -x
y' = -y
′
𝑥 −1
0 0 𝑥
1
′
𝑦 ¿ 0 −1 0 𝑦
0 0 1 1
x' = y
y' = x
′
𝑥 0 1 0 𝑥
1
′
𝑦 ¿ 1 0 0 𝑦
0 0 1 1
x' = -y
y' = -x
′
𝑥 0 −1 0 𝑥
1
′
𝑦 ¿ −1 0 0 𝑦
0 0 1 1
Method-2
Transformation sequence:
• 1. reflect the object about the x axis
• 2. rotate counter-clockwise 90˙ (+90˙)
Inverse translation
Inverse rotation
Inverse scaling