antsImageClone: Image Clone

Description Usage Arguments Value Author(s) Examples

Description

Clone an image object of S4 class 'antsImage'.

Usage

1
antsImageClone( in_image , out_pixeltype )

Arguments

in_image

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

out_pixeltype

C++ datatype to be used to represent the pixels in the output image. Allowed values: "double", "float", "unsigned int", "unsigned char".

Value

S4 object of Class 'antsImage' – Success
1 – Failure

Author(s)

Shrinidhi KL

Examples

1
2
3
4
5
## Not run: 
# clone an image 'img' of class 'antsImage' to an image of pixeltype 'double'
antsImageCone( img , "double" )

## End(Not run)

stnava/itkImageR documentation built on May 30, 2019, 7:21 p.m.