Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

AnalyzeFMRI (version 1.1-11)

f.read.volume: read whole image file

Description

Reads the ANALYZE or NIFTI image format image file into an array. Autodetects format type.

Usage

f.read.volume(file)

Arguments

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)

See Also

f.read.nifti.slice, f.read.nifti.slice.at.all.timepoints, f.read.nifti.ts

Examples

Run this code
a<-f.read.volume(system.file("example-nifti.img", package="AnalyzeFMRI"))
dim(a)

Run the code above in your browser using DataLab