# Crop segmentations with bounding box

**URL:** <https://discourse.slicer.org/t/crop-segmentations-with-bounding-box/47535>\
**Category:** Support\
**Created:** [July 2, 2026, 5:33pm UTC](https://discourse.slicer.org/t/crop-segmentations-with-bounding-box/47535 "2026-07-02T17:33:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sulli419](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sulli419/32/78859_2.png) [@sulli419](https://discourse.slicer.org/u/sulli419)\
**Post date:** [July 2, 2026, 5:33pm UTC](https://discourse.slicer.org/t/crop-segmentations-with-bounding-box/47535/1 "2026-07-02T17:33:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [July 3, 2026, 9:23am UTC](https://discourse.slicer.org/t/crop-segmentations-with-bounding-box/47535/2 "2026-07-03T09:23:36Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![aiden.zhu](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aiden.zhu/32/67145_2.png) [@aiden.zhu](https://discourse.slicer.org/u/aiden.zhu)\
**Post date:** [July 7, 2026, 2:40am UTC](https://discourse.slicer.org/t/crop-segmentations-with-bounding-box/47535/3 "2026-07-07T02:40:07Z")

</div>

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.
