Description Usage Arguments Value See Also Examples
Reads the ANALYZE or NIFTI image format image file into an array. Autodetects format type.
1 |
file |
The location of the image file to be read |
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)
f.read.nifti.slice
,
f.read.nifti.slice.at.all.timepoints
,
f.read.nifti.ts
1 2 | a<-f.read.volume(system.file("example-nifti.img", package="AnalyzeFMRI"))
dim(a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.