labelClusters: Simple labelClustering function.

Description Usage Arguments Value Author(s) Examples

Description

This will give a unique ID to each connected component 1 through N of size > minClusterSize

Usage

1
clust<-labelClusters( img , minClusterSize = 50 , minThresh = 1.e-6 , maxThresh = 1 )

Arguments

img

input antsImage e.g. a statistical map

Value

labeled cluster image is output

Author(s)

Avants BB

Examples

1
2
3
4
5
## Not run: 
img<-antsImageRead( getANTsRData('mnib'), 3 )
outimage<-labelClusters( img ) 

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.