Label class should be reworked. See basic draft in T28525 for orientation. This can also be done befor the LabelSetImage is reworked.
Basic Idea is to help alignment with DICOM better.
Some things are already done in mitkDICOMSegmentationPropertyHelper.h.
- Segment Number (0062,0004) -> pixel value
- Segment Label (0062,0005) -> label name
- Segment Description (0062,0006) -> undefined
...
We should also include
- Tracking ID (0062,0020)
- Tracking UID (0062,0021)
These are neede/helpfull for managing instances.
And should also be explicit properties in the Label class.
Further I propose to rework the use property pathes. The are stored in the label with the preceeding Segment Sequence tag (0062,0002). The constructed path is invalid as it should be a sequence. I would propos to skip the (0062,0002) tag at the Label level an there only use the "final level tag". So e.g. only (0062,0005) instead of (0062,0002),(0062,0005) for the label name.