This function calls eddy_correct
from FSL for
DTI Processing
eddy_correct(infile, outfile = NULL, retimg = TRUE, reference_no = 0, ...)
input filename of 4D image.
Output filename
(logical) return image of class nifti
Set the volume number for the reference volume that will be used as a target to register all other volumes to. (default=0, i.e. the first volume)
Additional arguments passed to fslcmd
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.