antsImageWrite: Image Write

Description Usage Arguments Value Author(s) Examples

Description

Write an image object of S4 class 'antsImage' to a file.

Usage

1
antsImageWrite( image , filename )

Arguments

image

Image object of S4 class 'antsImage' to be written.

filename

Name of the file to write the image to.

Value

0 – Success
1 – Failure

Author(s)

Shrinidhi KL

Examples

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)

klshrinidhi/ANTsR documentation built on May 20, 2019, 12:37 p.m.