minc.get.hyperslab {RMINC}R Documentation

Get a hyperslab from a MINC2 file

Description

Returns a 1D array by extracting a hyperslab of specified starts and counts from a MINC2 volume.

Usage

hyperslab <- minc.get.hyperslab("filename.mnc", c(0,0,0),c(10,10,10))

Arguments

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.

Details

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.

See Also

minc.get.volume


[Package RMINC version 0.5.1 Index]