Description Usage Arguments Value Examples
View source: R/mri_watershed.R
This function calls mri_watershed to extract a brain 
from an image, usually for skull stripping.
| 1 | mri_watershed(file, outfile = NULL, retimg = TRUE, opts = "", ...)
 | 
| file | (character) input filename | 
| outfile | (character) output filename | 
| retimg | (logical) return image of class nifti | 
| opts | (character) additional options to  | 
| ... | additional arguments passed to  | 
Character or nifti depending on retimg
| 1 2 3 4 5 6 | ## Not run: 
if (have_fs()){
    mri_watershed("/path/to/T1.nii.gz")
} 
## End(Not run)  
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.