powered by
This will give a unique ID to each connected component 1 through N of size > minClusterSize
labelClusters(imagein, minClusterSize = 50, minThresh = 1e-06, maxThresh = 1)
input antsImage e.g. a statistical map
throw away clusters smaller than this value
threshold to a statistical map
labeled cluster image is output
# NOT RUN { img<-antsImageRead( getANTsRData("mnib"), 3 ) outimage<-labelClusters( img ) # }
Run the code above in your browser using DataLab