TASK FOR DISUSSION
TotalSegmentator can produce 2 kinds of output(s) segmentation files.
i. All segmentation masks in one nifti file containing all labels (--ml flag)
ii. One file each per class label with each file named accordingly.
While the (i) is being handled in T29457, this overall segmentation has no metadata of what mask/pixel is what class label. However, (ii) has the benefit of knowing the label from its file name.
Can we parse multiple nifti files to create a single segmentation LabelSetImage for preview with label names?
If Not, we can request the maintainers to output a, e.g. metadata.json file OR do it ourselves in our fork of TotalSegmentator python code.
Nevertheless,
a fork of TotalSegmentator for MITK purposes is not a bad idea in general, considering the fact that its a 3rd party maintained codebase.