This function calls mri_mask to mask an image
mri_synthstrip(
file,
outfile = NULL,
retimg = TRUE,
maskfile = NULL,
opts = "",
...
)
synthstrip(
file,
outfile = NULL,
retimg = TRUE,
maskfile = NULL,
opts = "",
...
)(character) input filename
(character) output filename
(logical) return image of class nifti
(character) path for mask output
(character) additional options to mri_mask
additional arguments passed to fs_cmd.
Character or nifti depending on retimg