# Can't edit segmentation created from a labelmap outside a box

**URL:** <https://discourse.slicer.org/t/cant-edit-segmentation-created-from-a-labelmap-outside-a-box/35709>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [April 24, 2024, 3:37pm UTC](https://discourse.slicer.org/t/cant-edit-segmentation-created-from-a-labelmap-outside-a-box/35709 "2024-04-24T15:37:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [April 24, 2024, 3:37pm UTC](https://discourse.slicer.org/t/cant-edit-segmentation-created-from-a-labelmap-outside-a-box/35709/1 "2024-04-24T15:37:50Z")

</div>

Hello,

I created a segmentation from a labelmap. I tried to edit this segmentation using the segment editor but I can’t get outside of a box that seems to be the smallest box around my segmentation

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/e/9e394e0b1fe8c65f56267b39a09ad0b183697f49.png)  
In green you can see the segment from the lablemap in blue I tried to segment as far as possible.  
This happened on 5.6.2

I found a workaround where I create a new segmentation and move my segment in the new segmentation but I was wondering if a more elegant solution exists

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [April 24, 2024, 4:54pm UTC](https://discourse.slicer.org/t/cant-edit-segmentation-created-from-a-labelmap-outside-a-box/35709/2 "2024-04-24T16:54:40Z")

</div>

Yes, you can [change the geometry](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmenteditor.html#main-options) of the segmentation.

---

<div class="post-metadata">

**Author:** ![Matteboo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/matteboo/32/66548_2.png) [@Matteboo](https://discourse.slicer.org/u/Matteboo)\
**Post date:** [April 25, 2024, 12:01pm UTC](https://discourse.slicer.org/t/cant-edit-segmentation-created-from-a-labelmap-outside-a-box/35709/3 "2024-04-25T12:01:40Z")

</div>

Thank you, it worked  
As a bonus, here is how to do it in python

```auto
segmentation_node.SetReferenceImageGeometryParameterFromVolumeNode(volume_node)

```
