fslmaths -mas to mask an image from
an image mask and either saves the image or returns an object of class niftifslmask(file, mask, outfile = NULL, retimg = TRUE, reorient = FALSE,
intern = FALSE, opts = "", verbose = TRUE, ...)readNIfTI.systemreadNIfTI.