View source: R/splitNDImageToList.R
splitNDImageToList | R Documentation |
This function splits the dimensionality d input image into a list of images with dimensonality d-1 by slicing the input image along its last dimension.
splitNDImageToList(img)
img |
input image of class antsImage, last dimension will be split |
output list filled with d-1 volumes of class antsImage
Pustina D, Avants B
my4Dimage <- makeImage(c(5, 5, 5, 4))
my3Dlist <- splitNDImageToList(my4Dimage)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.