9.1.4. Transforms#
We are now ready to introduce the homogeneous transform, a 4x4 matrix that expresses both the position and the orientation of a coordinate system, in reference to another coordinate system.
The fourth (easiest) column of a transform is the position of the local coordinate system’s origin expressed in the reference coordinate system. In the example of Figure 4, this is:
The first three columns of a transform express the orientation of the coordinate system into the reference coordinate system. They are, in the reference coordinate system, the coordinates of three unit vectors that are respectively oriented toward the x, y and z axes of the local coordinate system.

Fig. 9.5 Orientation of the upper arm coordinate system (bold lines) in reference to the global coordinate system (thin lines).#
Based on Fig. 9.5, which illustrates this concept for the pose of Fig. 9.4, here is how we would express these three unit vectors in both coordinate systems:
In the upper arm coordinate system |
In the global coordinate system |
|
---|---|---|
Upper arm x axis |
\(\begin{bmatrix} 1 \\ 0 \\ 0 \\ 0 \end{bmatrix}\) |
\(\begin{bmatrix} \cos(\theta) \\ \sin(\theta) \\ 0 \\ 0 \end{bmatrix}\) |
Upper arm y axis |
\(\begin{bmatrix} 0 \\ 1 \\ 0 \\ 0 \end{bmatrix}\) |
\(\begin{bmatrix} -\sin(\theta) \\ \cos(\theta) \\ 0 \\ 0 \end{bmatrix}\) |
Upper arm z axis |
\(\begin{bmatrix} 0 \\ 0 \\ 1 \\ 0 \end{bmatrix}\) |
\(\begin{bmatrix} 0 \\ 0 \\ 1 \\ 0 \end{bmatrix}\) |
Combining these four vectors into a single 4x4 matrix gives the transform \(~^\text{global}_\text{upper arm}T\):
where the expression \(~^\text{global}_\text{upper arm}T\) is read as: Position and orientation of the upper arm coordinate system, expressed in the global coordinate system.
For example, if the shoulder is located 15 cm forward and 70 cm upward to the global origin, and the upper arm is inclined at 30 degrees of the vertical, then the position and orientation of the upper arm coordinate system is expressed by the transform:
Important
Independently of the position and orientation of the studied body, a transform always has this form:
where:
\(R\) is a function of three rotation angles and represents the orientation of the local coordinate system;
\(p\) is the position of the local coordinate system’s origin.