worldToIntrinsic
Map points from patient coordinates to intrinsic coordinates
Description
[
maps points from the patient coordinate system to the intrinsic coordinate system using the
spatial referencing information, I
,J
,K
] = worldToIntrinsic(R
,X
,Y
,Z
)R
. The intrinsic coordinates
I
, J
, and K
are defined by
axes aligned with the row, column, and slice subscripts of the image data array,
respectively. The patient coordinates X
, Y
, and
Z
are defined by the real-world patient coordinate system
axes.
For a point, n, if the input coordinates
(X
n,
Y
n,
Z
n) fall outside the image bounds,
worldToIntrinsic
extrapolates
I
n,
J
n, and
K
n outside the image bounds in the intrinsic
coordinate system.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022b