This function calls eddy_correct from FSL for DTI Processing

eddy_correct(infile, outfile = NULL, retimg = TRUE, reference_no = 0, ...)

Arguments

infile

input filename of 4D image.

outfile

Output filename

retimg

(logical) return image of class nifti

reference_no

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

Value

If retimg then object of class nifti. Otherwise, Result from system command, depends if intern is TRUE or FALSE.