With T29206 we also better support instance representation / instance segmentation. In that context it might be an interesting feature if (besides name and color) one could also specifiy in the predefined/optional label list if a label class may have multiple instances.
The current default is yes.
What would be needed.
- The current file formates and IO must be extended to support this information
- the new/rename label dialoge must regard this information.
- helper function to query if muliple instances are allowed for a certain label would be helpfull
- The context menu actions of the MultiLabelManagerWidget must regard that information (e.g. double check if action "add instance" is allowed).