Apply Brain mask

apply_mask(x, mask, outdir = tempdir(), verbose = TRUE,
  suffix = "_brain")

Arguments

x

List of images or character vector. Must be named with the imaging modalities.

mask

Brain Mask image/filename

outdir

Output directory

verbose

print diagnostic messages

suffix

Name to append to the image filename

Value

List of masked brains