ants_apply_transforms-methods: Apply ANTs transforms to nifti images

Description Usage Arguments Value Author(s) See Also

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
ants_apply_transforms(fixed, moving, transformlist, ...)

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

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

## S4 method for signature '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

Author(s)

John Muschelli muschellij2@gmail.com

See Also

antsApplyTransforms


muschellij2/extrantsr documentation built on July 27, 2021, 7:41 a.m.