Description Usage Arguments Value Note
This uses breadth-first search on the graph of the mesh to identify all connected cluster values and identify the separate clusters. Different clusters must not touch for this to work (if they do, there is no reliable way to obtain the clusters from the thresholded map). Clusters can have holes.
1 | clusteroverlay_from_threshmap(threshmap, value_thresholded, surface)
|
value_thresholded |
scalar double, the data value of thresholded vertices in the |
surface |
a single |
theshmap |
double vector, the stats map. Typically a thresholded t-value map (cluster map). Must have one value per vertex. The value assigned to vertices that have been removed by the thresholding can be set with parameter 'value_thresholded'. |
integer vector, the clusterID overlay.
This visits every node and edge in the mesh/graph exactly once.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.