retrieveNifti: Obtain an internal NIfTI representation of an object

Description Usage Arguments Details Value Author(s) See Also

Description

This function converts filenames, arrays and other image classes into an object of class "internalImage".

Usage

1
retrieveNifti(object)

Arguments

object

Any suitable object (see Details).

Details

If the object has an internal NIfTI pointer, that will be retrieved directly. Otherwise, if it is a string, it will be taken to be a filename. If it looks like a "nifti" object (from package oro.nifti), or an "MriImage" object (from package tractor.base), a conversion will be attempted. A list will be assumed to be of the form produced by dumpNifti. Finally, a numeric array or matrix will be converted using default image parameters.

Value

An internal image.

Author(s)

Jon Clayden <code@clayden.org>

See Also

readNifti, updateNifti



Search within the RNifti package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.