mask_dlabel¶
Usage
Run using mc_script mask_dlabel after installation or using ~ndcn0236/bin/mc_script mask_dlabel on jalapeno.
Import in python using from mcutils.scripts import mask_dlabel
Documentation
Masks out part of a dlabel file based on a dscalar file
if discard is set simply removes all the voxels/vertices that are <= 0. Otherwise replace those voxels/vertices outside of the mask with a new label (called “outside_mask).
Functions
|
Masks out part of a dlabel file using a dscalar file |
CLI interface
|
Creates the parser of the command line arguments |
|