View source: R/splitNDImageToList.R
mergeListToNDImage | R Documentation |
This function will copy a list of d-1 images into a d-dimension target image.
This function reverses the operation performed by splitNDImageToList
.
mergeListToNDImage(img, imgList)
img |
input image of class antsImage, last dimension will be split |
imgList |
input list to be merged back into dimension d space |
output list filled with d-1 volumes of class antsImage
Pustina D, Avants B
my4Dimage <- makeImage(c(5, 5, 5, 4), rnorm(5 * 5 * 5 * 4))
my3Dlist <- splitNDImageToList(my4Dimage)
my4DimageR <- mergeListToNDImage(my4Dimage, my3Dlist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.