minc.get.hyperslab {RMINC} | R Documentation |
Returns a 1D array by extracting a hyperslab of specified starts and counts from a MINC2 volume.
hyperslab <- minc.get.hyperslab("filename.mnc", c(0,0,0),c(10,10,10))
filename |
The filename of the MINC2 volume from which to extract the hyperslab. |
start |
A 3-dimensional array of voxel coordinate values to specify the start of the hyperslab. |
count |
A 3-dimensional array of voxel coordinate values to specify the count of the hyperslab. |
This function allows for the extraction of an arbitrary contiguous chunk of data from a MINC2 volume. The coordinates are voxel coordinates, given in the volume dimension order.
minc.get.volume