Class: ConnectedComponents
Defined in: src/roi/ConnectedComponents.ts:59
Constructors
Constructor
ts
new ConnectedComponents(): ConnectedComponents;Returns
ConnectedComponents
Methods
performConnectedComponents()
ts
static performConnectedComponents(
valueVolume,
maskVolume,
threshold,
connectivity): ConnectedComponentsResult;Defined in: src/roi/ConnectedComponents.ts:68
Performs connected components analysis on a 3D volume.
Parameters
valueVolume
The NeuroVol containing voxel values.
maskVolume
The NeuroVol containing binary mask (0 or 1).
threshold
number
The threshold value for voxel inclusion.
connectivity
The connectivity scheme (6, 18, or 26).
Returns
An object containing the cluster table, indexVolume, and sizeVolume.