Transforms in the NIfTI header are parsed and normalized versions of these transforms are applied.

reorient(nim, data, verbose = FALSE, invert = FALSE, tol = 1e-07)

inverseReorient(nim, verbose = FALSE)

Arguments

nim

is an object of class nifti.

data

is an array associated with nim.

verbose

is a logical variable (default = FALSE) that allows text-based feedback during execution of the function.

invert

stores the inverse transform.

tol

is a very small value used to judge if a number is essentially zero.

Details

This function utilizes the performPermutation function internally.

See also

Author

Andrew Thornton zeripath@users.sourceforge.net,
Brandon Whitcher bwhitcher@gmail.com