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(...)
file | nifti object or NIfTI filename to register to |
---|---|
fixed | nifti object or NIfTI filename of fixed image, target of registration |
align | Should |
align_opts | Options for alignment, in a single string. |
resample | 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. |
blur | 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). |
outfile | Output filename (should not have an extension) |
retimg | Should an image be returned ( |
opts | Additional options passed to |
... | additional arguments to |
Output filename of the brik or nifti object, depending on retimg