View source: R/trackvis_affine.R
| io.orientation | R Documentation |
For each of the 3 input (voxel) axes, determines which output
(world) axis it corresponds to and whether it is flipped. This is the
simplified equivalent of nibabel.orientations.io_orientation(): the
dominant output axis of every input axis is used, with output axes removed
from consideration once they have been assigned. nibabel additionally
applies a polar decomposition first, which only matters for affines that
contain shear.
io.orientation(affine)
affine |
4x4 numeric matrix. |
numeric matrix with 3 rows and 2 columns, as returned by
io.orientation. Row i holds the 0-based output axis index and
the direction (+1 or -1) of input axis i.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.