SelectSegmentations[seg,labs]
selects only the segmentations from seg with label number labs and returns a labeled segmentation.
SelectSegmentations[seg,labs,join]
does the same but if join is False the output is split as {masks, labels}, see SplitSegmentations. The input seg can also be a split segmentation {masks, labels}, in which case the output is always {masks, labels} sorted by label.
SelectSegmentations
SelectSegmentations[seg,labs]
selects only the segmentations from seg with label number labs and returns a labeled segmentation.
SelectSegmentations[seg,labs,join]
does the same but if join is False the output is split as {masks, labels}, see SplitSegmentations. The input seg can also be a split segmentation {masks, labels}, in which case the output is always {masks, labels} sorted by label.