pyvista.ImageData.direction_matrix

pyvista.ImageData.direction_matrix#

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

Set or get the direction matrix.

The direction matrix is a 3x3 matrix which controls the orientation of the image data.

Added in version 0.45.

戻り値:
np.ndarray

Direction matrix as a 3x3 NumPy array.