splitMask | R Documentation |
split a mask into n labeled sub-masks
splitMask(mask, n = NA, voxchunk = NA)
mask |
antsImage mask |
n |
number of mask chunks (if voxchunk is not set) |
voxchunk |
number of voxels per chunk (if n is not set) |
relabeledMask
Avants BB, Tustison NJ, Pustina D
mask <- getMask(antsImageRead(getANTsRData("r16")))
smask <- splitMask(mask, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.