powered by
getCentroids(img, clustparam = 0)
img<-antsImageRead( getANTsRData( "r16" ) ) img<-thresholdImage( img, 90, 120 ) img<-labelClusters( img, 10 ) cents<-getCentroids( img )
Run the code above in your browser using DataLab