Professional Documents
Culture Documents
Homogeneous Representation: V V cosθ sinθ sinθ cosθ P P V V V V 1 0 0 0 cosθ sinθ 0 sinθ cosθ 1 P P 1 V V
Homogeneous Representation: V V cosθ sinθ sinθ cosθ P P V V V V 1 0 0 0 cosθ sinθ 0 sinθ cosθ 1 P P 1 V V
V X cosθ sinθ Px V N
V Y sinθ cosθ Py V O Simplifying into a matrix form
1 0 0 1 1
cosθ sinθ Px
H sinθ cosθ Py Homogenous Matrix for a Translation in
XY plane, followed by a Rotation around
0 0 1 the z-axis
Rotation Matrices in 3D – OK,lets return from
homogenous repn
cosθ sinθ 0
Rotation around the Z-Axis
R z sinθ cosθ 0
0 0 1
cosθ 0 sinθ
R y 0 1 0 Rotation around the Y-Axis
1 0 0
R z 0 cosθ sinθ Rotation around the X-Axis
Y
n x ox ax 0
n oy ay 0
H y
O
N
n z oz az 0
X 0 0 0 1
Rotation part:
Z Rotation without translation Could be rotation around z-axis,
A x-axis, y-axis or a combination of
the three.
Homogeneous Continued….
V N
O
V The (n,o,a) position of a point relative to the current
V XY
H A coordinate frame you are in.
V
1
n x ox ax Px V N
n O
oy ay Py V V X n x V N o x V O a x V A Px
V XY y
n z oz az Pz V A
0 0 0 1 1
The rotation and translation part can be combined into a single homogeneous
matrix IF and ONLY IF both are relative to the same coordinate frame.
Finding the Homogeneous Matrix
EX.
J
N W N
Y O
I W
W A
T
P
X
K A O
Z
W X WI W N
Y Point relative to the J Point relative to the O Point relative to the
W X-Y-Z frame W I-J-K frame W N-O-A frame
WZ W K W A
W Pi n i
WI ni oi ai Pi W N
I
oi ai W N
J
J
a j W O
W nj oj aj Pj W O
W Pj n j oj
W K Pk n k W K n k ok ak Pk W A
ok a k W A
1 0 0 0 1 1
J
W N
Y N O
I W
W A
T
P
X
K A O
Z
W X i x jx kx Tx W I
W Tx i x
X
jx k x W I
Y
Y W i y jy ky Ty W J
W Ty i y jy k y W J
W Z i z jz kz Tz W K
W Z Tz i z jz k z W k
1 0 0 0 1 1
W X i x jx kx Tx n i oi ai Pi W N
W I
Y
Substituting for W J W i y jy ky Ty n j oj aj Pj W O
W K W Z i z jz kz Tz n k ok ak Pk W A
1 0 0 0 1 0 0 0 1 1
W X W N i x jx kx Tx n i oi ai Pi
Y O i
W H W jy ky Ty n j oj aj Pj
WZ W A H y
i z jz kz Tz n k ok ak Pk
1 1 0 0 0 1 0 0 0 1
Product of the two matrices
1 0 0 Tx i x jx kx 0 1 0 0 Pi n i oi ai 0
0 1 0 Ty i y jy ky 0 0 1 0 Pj n j oj aj 0
H
0 0 1 Tz i z jz kz 0 0 0 1 Pk n k ok ak 0
0 0 0 1 0 0 0 1 0 0 0 1 0 0 0 1
H = (Translation relative to the XYZ frame) * (Rotation relative to the XYZ frame)
* (Translation relative to the IJK frame) * (Rotation relative to the IJK frame)
The Homogeneous Matrix is a concatenation of numerous
translations and rotations
J
I W N
Y N O
W
W A
T
P
X
A O
K
Z
One more variation on finding H:
This method might seem a bit confusing, but it’s actually an easier way to
solve our problem given the information we have. Here is an example…