Wrapper for AFNI 3dQwarp function
afni_3dQwarp(file, fixed, align = TRUE, align_opts = "",
resample = FALSE, blur = 2.345, outfile = NULL, retimg = TRUE,
opts = "", ...)
Qwarp(...)
qwarp(...)nifti object or NIfTI filename to register to fixed image
nifti object or NIfTI filename of fixed image, target of registration
Should afni_3dAllineate be run for an affine alignment
done before warping?
Options for alignment, in a single string.
This option simply resamples the file dataset to match the fixed dataset grid. You can use this if the two datasets overlap well (as seen in the AFNI GUI), but are not on the same 3D grid.
Gaussian blur the input images (specified in FWHM!) voxels before doing the alignment (the output dataset will not be blurred). The default is 2.345 (for no good reason).
Output filename (should not have an extension)
Should an image be returned (TRUE) or a filename?
Additional options passed to 3dQwarp
additional arguments to afni_3dAFNItoNIFTI
Output filename of the brik or nifti object, depending on retimg