Create resources/classes.json with mapping of each mask to 1 of 15 classes.
Make build_intensity_stats.py support grouping labels to classes of similar intensity with resources/classes.json.
To reduce number of labels and group all vertebrae, we use resources/classes.json as the main masks mapping when combining masks with combine_masks.py. This way all masks of the same classes will be mapped to the same label.
Tasks:
resources/classes.json
with mapping of each mask to 1 of 15 classes.build_intensity_stats.py
support grouping labels to classes of similar intensity withresources/classes.json
.resources/classes.json
as the main masks mapping when combining masks withcombine_masks.py
. This way all masks of the same classes will be mapped to the same label.