Wrapper for AFNI 3dresample function
afni_3dresample(file, bound_type = NULL, dxyz = NULL, orient = NULL,
resample_mode = c("NN", "Li", "Cu", "Bk"), master = NULL,
outfile = NULL, retimg = TRUE, opts = "", ...)
resample(...)nifti object or NIfTI filename.
specify which boundary is preserved, options are
"FOV" (default if NULL) or "SLAB"
resample to new dimensions for x, y, and z-directions
new axis order. The orientation code is a 3 character string, where the characters come from the respective sets A,P, I,S, L,R. For example LPI makes the x-axis is Left-to-Right, the y-axis is Posterior-to-Anterior, and the z-axis is Inferior-to-Superior.
Resampling method. The options are for 'Nearest Neighbor', 'Linear', 'Cubic' and 'Blocky' interpolation, respectively.
a filename of an image, which the input file is aligned to (not doing registration, but takes orientation and pixel dimension information)
Output filename (should not have an extension)
Should an image be returned (TRUE) or a filename?
Additional options passed to 3dresample
additional arguments to afni_3dAFNItoNIFTI
Output filename of the brik