Skip to contents

This function extracts an ordered series of 2D slices from a 3D or 4D object. The returned slices are in the order they appear in the original object.

Usage

slices(x, ...)

# S4 method for NeuroVol
slices(x)

Arguments

x

The 3D or 4D object to extract slices from

...

Additional arguments to be passed to the underlying methods

Value

A list of 2D matrices, each containing a slice from the input object