connComp3D: Extract connected components from a 3D mask

Description Usage Arguments Value

View source: R/conncomp.R

Description

Extract connected components from a 3D mask

Usage

1
connComp3D(mask)

Arguments

mask

a 3D binary array

Value

a two-element list of the connected components (cluster index and cluster size) The first element index is a 3D array containing the cluster index of the connected component for each voxel. The second element size is a 3D array consisting of the size of the connected component inhabited by each voxel.


neuroim documentation built on May 2, 2019, 1:04 p.m.