Description Usage Arguments Value Author(s) Examples
Write an image object of S4 class 'antsImage' to a file.
1  | antsImageWrite( image , filename )
 | 
image | 
 Image object of S4 class 'antsImage' to be written.  | 
filename | 
 Name of the file to write the image to.  | 
0 – Success
1 – Failure
Shrinidhi KL
1 2 3 4 5  | ## Not run: 
# write an image 'img' of class 'antsImage' to a file named 'imagefile.nii'
antsImageWrite( img , "imagefile.nii" )
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.