Wrapper for AFNI 3dNwarpApply function
afni_3dNwarpApply(file, warp, fixed = NULL, interpolator = c("wsinc5",
"cubic", "linear", "NN", "quintic"), invert_warp = FALSE,
outfile = NULL, retimg = TRUE, opts = "", ...)
afni_warp_apply(...)
NwarpApply(...)nifti object or NIfTI filename to register to fixed image
list of nifti objects or NIfTI filenames of warps to be applied
nifti object or NIfTI filename of the target space, used
to determine the output grid/resolution. If not specified, then it will use
that of file. You can also specify this as "WARP" to use the
warps as the destination resolutione/etc.
interpolation method to use during matching process NN - nearest neighbor.
After the warp specified in warp is computed,
invert it. If the input warp would take a dataset
from space A to B, then the inverted warp will do
the reverse.
Output filename (should not have an extension). This
should be the same length as file
Should an image be returned (TRUE) or a filename?
Additional options passed to 3dNwarpApply
additional arguments to afni_3dAFNItoNIFTI
Output filename of the brik