Learn R Programming

fslr (version 2.25.3)

eddy_correct: Eddy Current Correction

Description

This function calls eddy_correct from FSL for DTI Processing

Usage

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

Value

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

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