TASK FOR DISCUSSION
The optional --statistics flag will generate a file statistics.json with volume (in mm³) and mean intensity of each class. We can parse this into MITK, if needed.
This is planned as one of the advanced options. Assuming we have a positive disposition to include the feature of TotalSegmentator in MITK, what's the best way to display statistics per label on UI?
Here is a sample JSON for reference:
"vertebrae_T12": { "volume": 49194.0, "intensity": 178.02 }, "vertebrae_T11": { "volume": 2052.0, "intensity": 294.45 }, "vertebrae_T10": { "volume": 0.0, "intensity": 0.0 },
As we can see, if the volume or intensity is non-zero if the label is present in the output segmentation.