Determines the standard 3-letter patient anatomical orientation code
(e.g., "LPS" for axial, "LIP" for coronal, "PIR" for sagittal) giving
the physical patient direction (L/R, P/A, S/I) of increasing
image columns (d_row), rows (d_col), and slices (normal / slice step).
Usage
dicom_orientation(vol, coord_system = c("LPS", "RAS"))Arguments
- vol
A
dicom_volumeobject, or a finite numeric3x3/4x4dicom_volume-style affine matrix (column 1 = row step, column 2 = column step, column 3 = slice step).- coord_system
World coordinate convention (
"LPS"or"RAS") used whenvolis a raw numeric matrix. Ignored whenvolis adicom_volume(whosevol$coord_systemis used automatically).
