slices-methods: Extract an ordered series of 2D slices from a 3D or 4D object

slicesR Documentation

Extract an ordered series of 2D slices from a 3D or 4D object

Description

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 signature '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


bbuchsbaum/neuroim2 documentation built on April 20, 2024, 4:20 p.m.