This function calls mri_watershed to extract a brain
from an image, usually for skull stripping.
mri_watershed(file, outfile = NULL, retimg = TRUE, opts = "", ...)(character) input filename
(character) output filename
(logical) return image of class nifti
(character) additional options to mri_watershed
additional arguments passed to fs_cmd.
Character or nifti depending on retimg
if (FALSE) { # \dontrun{
if (have_fs()){
mri_watershed("/path/to/T1.nii.gz")
}
} # }