This function converts filenames, arrays and other image classes into an
object of class
Any suitable object (see Details).
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
"MriImage" object (from package
conversion will be attempted. A list will be assumed to be of the form
dumpNifti. Finally, a numeric array or matrix
will be converted using default image parameters.
An internal image.
Jon Clayden <firstname.lastname@example.org>