On the GUI (and accordingly in the code) separate node selectors were used to select labelmap or segmentation as input mask.
Since these options are mutually exclusive, a single node selector (and function argument) is enough, which can take either labelmap or mask node.
On the GUI (and accordingly in the code) separate node selectors were used to select labelmap or segmentation as input mask. Since these options are mutually exclusive, a single node selector (and function argument) is enough, which can take either labelmap or mask node.