slice-methods: Extract image slice

sliceR 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


bbuchsbaum/neuroim2 documentation built on Nov. 3, 2024, 9:31 a.m.