Order o Rotation Euler3D

Dear All,

If I do a Registration of Euler3D. The result transform has a Rotation and a Translation.
Which is the first operation in Rotation. Is in X? Or is in Z?

Thanks,

Luís Gonçalves

Hello @Luis_Carlos_Carneiro,

The order of rotations in the Euler3DTransform depends on user selection, it is either ZYX or ZXY. To see which one, call the GetComputeZYX of the Euler3DTransform.

1 Like

I use SimpleITK

sitk.GetComputeZYX(sitk.Euler3DTransform)

gives

AttributeError: module ‘SimpleITK’ has no attribute ‘GetComputeZYX’


How to use this function in SimpleITK?

import SimpleITK as sitk
tx = sitk.Euler3DTransform()
tx.GetComputeZYX()

False. Suppose that is ZYX?

Thanks.

If GetComputeZYX() returns false, then the order is ZXY.