powered by
kmeansSegmentation(img, k, kmask = NA, mrf = 0.1)
fi<-antsImageRead( getANTsRData("r16") ,2) fi<-n3BiasFieldCorrection(fi,4) seg<-kmeansSegmentation( fi, 3 )
Run the code above in your browser using DataLab