lassoan / SlicerMONAIAuto3DSeg

Extension for 3D Slicer for running MONAI Auto3DSeg models
MIT License
67 stars 10 forks source link

Use color table file format for labels.csv #53

Open lassoan opened 7 months ago

lassoan commented 7 months ago

Labels.csv file could be simplified by using shorter column names (those proposed in https://github.com/Slicer/Slicer/issues/7593). Also, we could add the segment colors there as well, which would allow us to automatically generate segmentation terminology .term.json file from labels.csv.

@diazandr3s what do you think about updating all our labels.csv files in the current models?

I could do download all the zip files from the model github release, update the labels.json files, and upload the new zip files; and update the code to use the new format. Older version of the extension would not work with the new models, but users then can just update to the latest extension version (and it is still better to do this breaking change sooner than later).

diazandr3s commented 7 months ago

Hi @lassoan,

This is a good idea! Let's make this change. Please let me know how I can help