Crop segmentations with bounding box

Are there any tools for cropping segments as readily as volumes? Ideally, similar to volume cropping, I’d like to render my segments in 3D and adjust a bounding box where all segment labels outside are deleted. Thanks

I think the simplest is to use the Scissors tool with the rectangle option. Alternatively you can export the segmentation as a labelmap and then crop the volume.

Good to combine Segment-Editor (slicer.qMRMLSegmentEditorWidget()) and self.cv_roi = slicer.mrmlScene.AddNewNodeByClass(“vtkMRMLMarkupsROINode”) to have a customized module. So after all segments ready, take the Source-Volume’s dimensions as ROI-node’s initial settings; manually adjust ROIs for cropping, then apply the cropping as a mask to all segments…good to keep all original segments, have those masked segments to be new ones.