powered by
Produces a unique image for each connected component 1 through N of size > minClusterSize
image2ClusterImages(x, 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
the original image broken into a list of cluster images is the output
# NOT RUN { img <- antsImageRead( getANTsRData('r16') ) img <- thresholdImage( img, 1 , Inf ) imageclusterlist<-image2ClusterImages( img ) # }
Run the code above in your browser using DataLab