Yaw, pitch, roll measurements with Q3DC

Trying to figure out which directions roll, yaw, and pitch are correlating to using Q3DC.

I know if I google yaw, pitch, roll that yaw correlates with Z, pitch correlates with y and roll with x. Can someone please translate these to medical terminology used anterior/posterior, superior/inferior, right and left directions in the segmentation view?

I am not sure if roll is inferior, posterior etc. Thank you.

Roll will be rotation around Anterior-Posterior axis
Pitch will be the rotation around Right-Left axis
Yaw will be the rotation around Superior-Inferior axis

Here’s a nice picture from the Wikipedia that explains directional references

Roll/pitch/yaw parameterization is only meaningful if at least two of the angles have limited range (one is not more than 70-80 degrees, and one is not more than 10-15 degrees). For example, it works well for ships, because there is a practical limit on how much a ship can rotate around two of its axes.

For general applications, 3D rotation should not be described using roll/pitch/yaw angles, as it is ambiguous (same orientation can be described by different angle combinations, therefore the conversion between RPY and orientation is not invertible; angle values are not meaningful as soon as more than one angle is more more than a few ten degrees - big numbers don’t mean big rotation, the angle do not represent rotation axis orientation, larger difference in RPY values of two orientations does not mean larger difference between the orientations; suffers from gimbal lock; and basic operations on them can be numerically unstable).

You can use RPY parameterization for medical applications by carefully choosing reference coordinate system, which is aligned with the anatomy so that two of the RPY angles will have limited range. These reference coordinate system is often not the patient coordinate system (RAS - right/anterior/superior) but one that is aligned to the joint and reference coordinate system axis directions may be different on the two sides of the body. So, there is no generally applicable mapping between RPY orientation in RAS coordinate systems.