Reads the ANALYZE or NIFTI image format image file into an array. Autodetects format type.
Usage
f.read.volume(file)
Arguments
file
The location of the image file to be read
Value
An array with the appropriate dimensions containing the image
volume. A print out of the file information is also given. The
function assumes that the corresponding .hdr file is in the same
directory as the .img file. (but if it is a .nii file)