Skip to content

Function: clusterTable() ​

ts
function clusterTable(result, valueVolume): ClusterTableEntry[];

Defined in: src/roi/ConnectedComponents.ts:307

Build an enriched table of cluster statistics from a connected-components result and the original value volume.

Parameters ​

result ​

ConnectedComponentsResult

Output from ConnectedComponents.performConnectedComponents

valueVolume ​

NeuroVol

The original value volume (used for mean/max/peak location)

Returns ​

ClusterTableEntry[]

Array of ClusterTableEntry sorted by cluster id (ascending)

Released under the MIT License.