Wraps antsApplyTransforms but allows for nifti objects from the oro.nifti package

ants_apply_transforms(fixed, moving, transformlist, ...)

# S4 method for ANY,list
ants_apply_transforms(fixed, moving, transformlist, ret_ants = FALSE, ...)

# S4 method for ANY,character
ants_apply_transforms(fixed, moving, transformlist, ret_ants = FALSE, ...)

# S4 method for ANY,ANY
ants_apply_transforms(fixed, moving, transformlist, ret_ants = FALSE, ...)

Arguments

fixed

image defining domain into which the moving image is transformed.

moving

image to be mapped to fixed space.

transformlist

character vector of transforms generated by antsRegistration

...

Arguments to be passed to antsApplyTransforms.

ret_ants

if TRUE, the returned object is an antsImage, as opposed to a nifti

Value

Either nifti object or list of nifti objects

See also

antsApplyTransforms

Author

John Muschelli muschellij2@gmail.com