# Reducing size of segmentation

**URL:** <https://discourse.slicer.org/t/reducing-size-of-segmentation/10774>\
**Category:** Support\
**Created:** [March 21, 2020, 11:43pm UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774 "2020-03-21T23:43:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [March 21, 2020, 11:43pm UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774/1 "2020-03-21T23:43:10Z")

</div>

Hello all,  
I am wondering whether there is a way to reduce the size of my segmentation. I have a segmentation which size is about 3 GB and it needs a lot of time when I want to mesh it in segment-mesher module. I do not want to change the meshing parameters in segment-mesher because I want a mesh with specific options. It would really help me if I can reduce the size of my segmentation which may lead to a faster meshing process.  
Thanks

---

<div class="post-metadata">

**Author:** ![JanWitowski](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/janwitowski/32/4512_2.png) [@JanWitowski](https://discourse.slicer.org/u/JanWitowski)\
**Post date:** [March 22, 2020, 12:47am UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774/2 "2020-03-22T00:47:05Z")

</div>

Could you say more about the data you’re working with, type, format etc.? Is just a segmentation file 3GB, is it a .seg.nrrd file?

---

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [March 22, 2020, 1:07am UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774/3 "2020-03-22T01:07:10Z")

</div>

Hello,  
Actually what I have is the segmentation file with .seg.nrrd format and I have the main images also with .nrrd format but I prefer to reduce the size of my current segmentation rather than creating a new segmentation again from the images if it is possible.  
Thanks

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/83011_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 22, 2020, 6:33am UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774/4 "2020-03-22T06:33:31Z")

</div>

I think you can use the **Specify Geometry** option to reduce the detail of your segmentation.  
Choose your segmentation, and hit the specify the oversampling (\<1). You should be able to see the resolution of your segmentation being reduced accordingly.  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7aea7217dbdb15b94837f9884165c81470ec63ea.png)

---

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [March 23, 2020, 7:09pm UTC](https://discourse.slicer.org/t/reducing-size-of-segmentation/10774/5 "2020-03-23T19:09:09Z")

</div>

Thank you very much for your answer.
