Load a 3-dimensional MINC2 volume and returns it as a 1D array

mincGetVolume(filename)

Arguments

filename

A string corresponding to the location of the MINC2 file to be read.

Value

Returns a vector of mincSingleDim class

See also

mincWriteVolume

Examples

# NOT RUN {
getRMINCTestData()
testfile <- mincGetVolume("/tmp/rminctestdata/brain_cut_out.mnc")
# }