pyvista.ImageData.physical_to_index_matrix

pyvista.ImageData.physical_to_index_matrix#

property ImageData.physical_to_index_matrix: NumpyArray[float][source]#

Get 4x4 matrix to convert coordinates from physical space (xyz) to index space (ijk).

Returns:
np.ndarray

4x4 transformation matrix.