crop_vol {fMRItools}R Documentation

Crop a 3D array

Description

Remove empty (zero-valued) edge slices from a 3D array.

Usage

crop_vol(x)

Arguments

x

The numeric 3D array to crop.

Value

A list of length two: "data", the cropped array, and "padding", the number of slices removed from each edge of each dimension.


[Package fMRItools version 0.4.7 Index]