This function calls mri_mask
to mask an image
mri_mask(file, mask, outfile = NULL, retimg = TRUE, opts = "", ...)
file | (character) input filename |
---|---|
mask | (character) mask 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