This function calls fast
from FSL
fast(
file,
outfile = NULL,
bias_correct = TRUE,
retimg = TRUE,
reorient = FALSE,
intern = FALSE,
opts = "",
type = c("T1", "T2", "PD"),
out_type = c("seg", "mixeltype", "pve_0", "pve_1", "pve_2", "pveseg"),
verbose = TRUE,
all_images = FALSE,
...
)
fast_all(..., all_images = TRUE)
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)
file | (character) image to be manipulated |
---|---|
outfile | (character) resultant image name (optional) |
bias_correct | (logical) if |
retimg | (logical) return image of class nifti |
reorient | (logical) If retimg, should file be reoriented when read in?
Passed to |
intern | (logical) to be passed to |
opts | (character) operations to be passed to |
type | type of image T1, T2, or PD. |
out_type | (character) Suffix to grab from outfile. For
example, output filename is |
verbose | (logical) print out command before running |
all_images | If |
... | additional arguments passed to |
If retimg
then object of class nifti. Otherwise,
Result from system command, depends if intern is TRUE or FALSE.
Functions with underscores have different defaults and will return an output filename, so to be used for piping