SLIDE 1
1
Basic 2D Graphical Representations and Transformations
Homogeneous Coordinates (2 Dimensional) A coordinate is a triple:
- =
w y x y x
w w
) , ( where
- =
= w yw y xw x
w w
w is usually set to 1, so the point
- =
1 ) , ( y x y x . Transformation Matrices A transformation of a point
- =
1 y x P can be represented as a 3 x 3 matrix T and the transformed point Pt is given by Pt = TP. Example: Translating a point by (tx,ty).
- =
- +
+ = 1 1 y x T t y t x P
y x t
where
- =
1 1 1
y x