Learn R Programming

ANTsR (version 1.0)

antsImageClone: Image Clone

Description

Clone an image object of S4 class 'antsImage'.

Usage

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

Examples

Run this code
# NOT RUN {
# clone an image 'img' of class 'antsImage' to an image of pixeltype 'double'
antsImageCone( img , "double" )
# }

Run the code above in your browser using DataLab