Tait-Bryan Angles

One way to define the rotation matrix in three dimensions is to compose rotations about the three principal axes of the reference frame.

Let $\vartheta$ denote the pitch angle pitch, $\gamma$ the yaw angle yaw, and $\rho$ the roll angle roll, namely, sensor-orientation angles with respect to the world reference frameA.3 These angles and this nomenclature are defined as Tait-Bryan Angles, Cardan Angles (after Girolamo Cardano), or nautical angles.

The following presents the matrices (for reference, for example (LaV06)) that convert a vector from sensor coordinates to world coordinates through angles representing the orientation of the sensor with respect to the world frame itself; these are the same matrices that rotate a vector counterclockwise (counterclockwise rotation of axes) about the various axes of the reference frame.

The axes of this reference frame are those shown in figure 9.4. Care must nevertheless be taken because land vehicles and ships generally use a reference frame different from the aeronautical one.

The rotation matrix for the roll angle $\rho$ (axis X):

\begin{displaymath}
\mathbf{R}_{x} = \mathbf{R}_{\rho} = \begin{bmatrix}
1 & 0 ...
...rho & -\sin \rho \\
0 & \sin \rho & \cos \rho
\end{bmatrix}\end{displaymath} (A.6)

The rotation matrix for the pitch angle $\vartheta$ (axis Y):

\begin{displaymath}
\mathbf{R}_y = \mathbf{R}_{\vartheta} = \begin{bmatrix}
\co...
... 0 \\
-\sin \vartheta & 0 & \cos \vartheta \\
\end{bmatrix}\end{displaymath} (A.7)

The rotation matrix for the yaw angle $\gamma$ (axis Z):

\begin{displaymath}
\mathbf{R}_z = \mathbf{R}_{\gamma} = \begin{bmatrix}
\cos \...
...\
\sin \gamma & \cos \gamma & 0 \\
0 & 0 & 1
\end{bmatrix}\end{displaymath} (A.8)

(La Valle (LaV06), pp. 80–81).

As stated in the previous section, the composition of rotations is not commutative, and a choice must be made.

In aeronautics, the Roll-Pitch-Yaw (RPY) convention is suggested. Under this particular convention, the change-of-basis matrix (alias) is constructed as $\prescript{w}{}{\mathbf{R}}_{b}=\mathbf{R}_z \mathbf{R}_y \mathbf{R}_x$A.4 that is, by carrying out the multiplications,

\begin{displaymath}
\begin{bmatrix}
\cos\gamma \cos\theta & \cos\gamma \sin\the...
...heta & \cos\theta \sin\rho & \cos\theta \cos \rho
\end{bmatrix}\end{displaymath} (A.9)

It should be remembered that this matrix transforms points from moving “sensor” coordinates (body coordinates in the general case) to fixed “world” coordinates.

In the specific case in which the sensor is a pin-hole camera, using this convention and considering equation (A.5), the rotation matrix $\mathbf{R}$ of the pin-hole camera that converts from “world” Front-Left-Up coordinates to “camera” coordinates can be expressed as the product of

\begin{displaymath}
\prescript{c}{}{\mathbf{R}}_{w} = \prescript{c}{}{\boldsymbo...
...ho}^{-1} \mathbf{R}_{\vartheta} ^{-1} \mathbf{R}_{\gamma}^{-1}
\end{displaymath} (A.10)

that is,
\begin{displaymath}
\begin{bmatrix}
-\cos \gamma \sin \theta \sin \rho + \sin \g...
...s \theta & \sin \gamma \cos \theta & -\sin \theta
\end{bmatrix}\end{displaymath} (A.11)

It should be emphasized that the matrix $\prescript{c}{}{\mathbf{R}}_{w}$, expressed as in formula (A.10), is the matrix that “removes” the rotation of a sensor having those particular positioning angles and therefore transforms from “world” coordinates to “camera” coordinates, whereas the matrix that converts from “sensor” coordinates to “world” coordinates is normally referred to as the rotation matrix in the literature.

It is interesting to note that, from a purely graphical point of view, the columns of the inverse/transpose of matrix (A.11), which allows points to be transformed from camera coordinates to world coordinates, make it easy to draw the axes and thus graphically represent the camera orientation.



Footnotes

... frameA.3
Note that there is not even a universally accepted notation for the Greek letters associated with the three angles. For example, $\phi$ may be found for the yaw angle and $\psi$ for the roll angle.
...#tex2html_wrap_inline18154#A.4
The intrinsic z-y'-x” sequence (the use of primes emphasizes this type of transformation) would instead yield $\mathbf{R}=\mathbf{R}_x \mathbf{R}_y \mathbf{R}_z$. To create further confusion, the x-y'-z” sequence is known as Roll-Pitch-Yaw (or Roll-Pitch-Yaw XYZ), whereas the z-y'-x” sequence (intrinsic) is commonly known as Yaw-Pitch-Roll (or Roll-Pitch-Yaw ZYX).


Subsections
Paolo medici
2026-10-01