Description Usage Arguments Value Examples
Copy origin, direction, and spacing from one antsImage to another
1  | antsCopyImageInfo(reference, target)
 | 
reference | 
 image object of S4 class   | 
target | 
 image object of S4 class   | 
Target image with reference header information.
1 2 3 4  | img <- makeImage(c(10,10),rnorm(100))
img2 <- makeImage(c(10,10), rnorm(100))
img2 <- antsCopyImageInfo(img, img2)
testthat::expect_error(antsCopyImageInfo(img, 1))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.