This function wraps a call to fast
that performs bias
correction
fsl_biascorrect(
file,
outfile = NULL,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
opts = "",
verbose = TRUE,
remove.seg = TRUE,
...
)
(character) image to be manipulated
(character) resultant image name (optional)
(logical) return image of class nifti
(logical) If retimg, should file be reoriented when read in?
Passed to readnii
.
(logical) to be passed to system
(character) operations to be passed to fast
(logical) print out command before running
(logical) Should segmentation from FAST be removed?
additional arguments passed to readnii
.
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.