# Add 1 cm thick layer on segmentation

**URL:** <https://discourse.slicer.org/t/add-1-cm-thick-layer-on-segmentation/19839>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [September 24, 2021, 1:10pm UTC](https://discourse.slicer.org/t/add-1-cm-thick-layer-on-segmentation/19839 "2021-09-24T13:10:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SlicerBP](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@SlicerBP](https://discourse.slicer.org/u/SlicerBP)\
**Post date:** [September 24, 2021, 1:10pm UTC](https://discourse.slicer.org/t/add-1-cm-thick-layer-on-segmentation/19839/1 "2021-09-24T13:10:00Z")

</div>

Hello everyone,

For a research project we need to add a 1 cm thick layer (in all spatial directions) to different segmentations. Is there any special function for this? Also gladly per script using vtk or itk.

Thank you very much!  
BP

---

<div class="post-metadata">

**Author:** ![mikebind](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@mikebind](https://discourse.slicer.org/u/mikebind)\
**Post date:** [September 24, 2021, 3:29pm UTC](https://discourse.slicer.org/t/add-1-cm-thick-layer-on-segmentation/19839/2 "2021-09-24T15:29:32Z")

</div>

In Segment Editor, the “Margin” effect will allow you to do exactly this to segments. Make sure that the “Modify other segments” setting is “Allow overlap” first, or else expanding one segment will eat into any adjacent segments.
