Learn R Programming

fslr (version 1.9.2.1)

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, ...)

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.