Learn R Programming

fMRItools (version 0.7.2)

crop_vol: Crop a 3D array

Description

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

Usage

crop_vol(x)

Value

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

Arguments

x

The numeric 3D array to crop.