powered by
labelImageCentroids(img, physical = FALSE, convex = TRUE)
labelImage<-makeImage( c(2,2,2) , 0:7 ) labelImageCentroids(labelImage)
Run the code above in your browser using DataLab