This function calls mri_segment
to segment tissues from an image
mri_segment(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
NOT COMPLETE
if (FALSE) {
if (have_fs()){
mri_segment("/path/to/T1.nii.gz")
}
}