afni_3dNwarpApply: AFNI 3dNwarpApply function

Description Usage Arguments Value

View source: R/afni_3dNwarpApply.R

Description

Wrapper for AFNI 3dNwarpApply function

Usage

1
2
3
4
5
6
7
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(...)

Arguments

file

nifti object or NIfTI filename to register to fixed image

warp

list of nifti objects or NIfTI filenames of warps to be applied

fixed

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.

interpolator

interpolation method to use during matching process NN - nearest neighbor.

invert_warp

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.

outfile

Output filename (should not have an extension). This should be the same length as file

retimg

Should an image be returned (TRUE) or a filename?

opts

Additional options passed to 3dNwarpApply

...

additional arguments to afni_3dAFNItoNIFTI

Value

Output filename of the brik


neuroconductor/afnir documentation built on May 22, 2021, 9:54 a.m.