slice {neuroim2} | R Documentation |
Extract image slice
Description
Extract a 2D slice from an image volume
Usage
slice(x, zlevel, along, orientation, ...)
## S4 method for signature 'NeuroVol,numeric,numeric,missing'
slice(x, zlevel, along, orientation)
## S4 method for signature 'NeuroVol,numeric,NeuroSpace,AxisSet3D'
slice(x, zlevel, along, orientation)
Arguments
x |
the object |
zlevel |
coordinate (in voxel units) along the sliced axis |
along |
the axis along which to slice |
orientation |
the target orientation of the 2D slice |
... |
additional arguments |
Value
A 2D slice from the image volume.
[Package neuroim2 version 0.8.1 Index]