pyvista.ImageData.physical_to_index_matrix

pyvista.ImageData.physical_to_index_matrix#

property ImageData.physical_to_index_matrix: NumpyArray[float][ソース]#

Return or set 4x4 matrix to convert coordinates from physical space (xyz) to index space (ijk).

注釈

Setting this property modifies the object's origin, spacing, and direction_matrix properties.

Added in version 0.45.

戻り値:
np.ndarray

4x4 transformation matrix.