Order of elements in a displacement field

Let’s say I have a displacement field in SimpleITK of the shape 100,100,100,3.

are the components of the displacement at each voxel (x,y,z) or (z,y,x)?

Hello @koegl,

The order is x,y,z. For more details on creating and working with the DisplacementFieldTransform see the Transforms notebook. You can run it without installing anything locally by clicking on the “launch binder” button at the top right of the notebook.

1 Like