# Fill the holes(Closing) isn't working

**URL:** <https://discourse.slicer.org/t/fill-the-holes-closing-isnt-working/21887>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [February 10, 2022, 10:33am UTC](https://discourse.slicer.org/t/fill-the-holes-closing-isnt-working/21887 "2022-02-10T10:33:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jo1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jo1/32/13932_2.png) [@jo1](https://discourse.slicer.org/u/jo1)\
**Post date:** [February 10, 2022, 10:33am UTC](https://discourse.slicer.org/t/fill-the-holes-closing-isnt-working/21887/1 "2022-02-10T10:33:28Z")

</div>

Hi  
I used local threshold in order to get artery.  
It works well but there are some holes…  
So I also used Smoothing after this process but it doesn’t work.  
(it isn’t working, actually. but in this case, doesn;t work at all)

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/4/2448acf81c2198163c806a4574a2400d0a578efc.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/9/397f6a0c01334f246f02c8b879aafe8d01d11a3b.png)

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [February 10, 2022, 10:57am UTC](https://discourse.slicer.org/t/fill-the-holes-closing-isnt-working/21887/2 "2022-02-10T10:57:31Z")

</div>

These are _huge_ holes, not even holes but rather an insufficient segmentation. Fill holes works well on holes _inside_ a closed surface segment. Increase the kernel size according to the size of the inner holes. If this gets too big, smoothing may be a very long process. So it’s really best to segment better.

---

<div class="post-metadata">

**Author:** ![jo1](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jo1/32/13932_2.png) [@jo1](https://discourse.slicer.org/u/jo1)\
**Post date:** [February 10, 2022, 11:22am UTC](https://discourse.slicer.org/t/fill-the-holes-closing-isnt-working/21887/3 "2022-02-10T11:22:54Z")

</div>

Thank you for the fase reply!!! I found another way to improve this work.  
3D brush with threshold works well.
