This function wraps fslbet and
bias_correct, performing skull stripping first
ss_bias( filename, maskfile = NULL, outfile = tempfile(fileext = ".nii.gz"), skull_strip = TRUE, bet.opts = "", betcmd = "bet", correct = TRUE, correction = "N3", shrinkfactor = "4", retimg = TRUE, reorient = FALSE, verbose = TRUE, ... )
| filename | filename to be processed |
|---|---|
| maskfile | filename of masked to be passed in, otherwise bet is performed |
| outfile | output filename with extension (e.g. |
| skull_strip | should skull stripping be done |
| bet.opts | options for fslbet |
| betcmd | bet command to be used see |
| correct | should n3 correction be done stripping be done |
| correction | correction method used see |
| shrinkfactor | correction method used see |
| retimg | (logical) return image of class nifti |
| reorient | (logical) If retimg, should file be reoriented when read in?
Passed to |
| verbose | Diagnostic output |
| ... | passed to |
Filename of output file or object of class nifti