pyvista.ImageData.physical_to_index_matrix#
- property ImageData.physical_to_index_matrix: NumpyArray[float][source]#
Return or set 4x4 matrix to transform from physical space (xyz) to index space (ijk).
Note
Setting this property modifies the object’s
origin,spacing, anddirection_matrixproperties.Added in version 0.45.
- Returns:
np.ndarray4x4 transformation matrix.