I’m using sitk.Euler3DTransform to rotate my 3D image, but I am confused regarding which euler convention is used.
I found that sitk.Euler3DTransform uses the ZXY or ZYX convention. However, is this using extrinsic or intrinsic rotations?
According to wikipedia this:
is a rotation matrix that may be used to represent a composition of extrinsic rotations about axes z, y, x, (in that order), or a composition of intrinsic rotations about axes x-y′-z″ (in that order).
So if sitk.Euler3DTransform uses extrinsic rotation convention, the ZYX convention would mean that it would rotate along the x (first), y (second) and z (third) axes intrinsically, right?
And secondly, if I would want to change the convention to ZYX from ZXY in my python script, what do I need to do? The code below doesn’t work.
euler_transform = sitk.Euler3DTransform () euler_transform.SetComputeZYX()