Skip to contents

split_dseg2mask

Usage

split_dseg2mask(in_dseg, in_lut, out_prefix, overwrite = FALSE)

Arguments

in_dseg

path to discrete segmentation file

in_lut

path to look up table .tsv file (bids format)

out_prefix

output prefix of the mask files

overwrite

flag to overwrite output files (default: FALSE)

Value

Invisibly returns NULL; writes one mask NIfTI per LUT entry.