This function calls fast
from FSL
fast(file, outfile = NULL, bias_correct = TRUE, retimg = TRUE,
reorient = FALSE, intern = FALSE, opts = "", out_type = c("seg",
"mixeltype", "pve_0", "pve_1", "pve_2", "pveseg"), verbose = TRUE,
all_images = FALSE, ...)fast_all(..., all_images = FALSE)
fast_nobias_all(..., bias_correct = FALSE, all_images = FALSE)
fsl_fast(..., outfile = tempfile(fileext = ".nii.gz"), retimg = FALSE)
fslfast(...)
fsl_fast_nobias(..., bias_correct = FALSE, outfile = tempfile(fileext =
".nii.gz"), retimg = FALSE)
fast_nobias(..., bias_correct = FALSE)
fslfast_nobias(..., bias_correct = FALSE)
(character) image to be manipulated
(character) resultant image name (optional)
(logical) if FALSE
, then
"--nobias"
is passed to FAST. Additional options can be
sent using opts
, but this is the most commonly one changed.
(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
(character) Suffix to grab from outfile. For
example, output filename is paste0(outfile, "_", out_type)
(logical) print out command before running
If retimg
additional arguments passed to readnii
.
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.