antsCopy | R Documentation |
Wraps antsSetOrigin/antsSetDirection/antsSetSpacing
and antsGetOrigin/antsGetDirection/antsGetSpacing
to copy the information over. Finer control than
antsCopyImageInfo
antsCopyOrigin(reference, target)
antsCopyDirection(reference, target)
antsCopySpacing(reference, target)
reference |
|
target |
|
target
object of class antsImage
library(ANTsR)
img <- makeImage(c(10,10),rnorm(100))
img2 <- makeImage(c(10,10), rnorm(100))
img2 <- antsCopyOrigin(img, img2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.