# Strange air pockets in segmentation editor, can't mark air pockets as apart of segmentation.

**URL:** <https://discourse.slicer.org/t/strange-air-pockets-in-segmentation-editor-cant-mark-air-pockets-as-apart-of-segmentation/32640>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [November 7, 2023, 1:30pm UTC](https://discourse.slicer.org/t/strange-air-pockets-in-segmentation-editor-cant-mark-air-pockets-as-apart-of-segmentation/32640 "2023-11-07T13:30:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GunnarE](https://avatars.discourse-cdn.com/v4/letter/g/cc9497/32.png) [@GunnarE](https://discourse.slicer.org/u/GunnarE)\
**Post date:** [November 7, 2023, 1:30pm UTC](https://discourse.slicer.org/t/strange-air-pockets-in-segmentation-editor-cant-mark-air-pockets-as-apart-of-segmentation/32640/1 "2023-11-07T13:30:51Z")

</div>

Hi everyone,

I seem to have ran into a bug, when using segmentation editor to segment a head in MRI data, I get these air pockets that are not included in segmentation. The goal is to use this segmentation to construct a model of the head with no open air pockets.

 ![Screenshot 2023-11-06 at 4.11.41 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/6/b67cfce2e6f1a267e66e2d6fb1541dce9f92b8a7.png)

Here is an image of what I mean, you will se a dark section with no green tent. That is the undesirable air pockets. Desired output is the entire head being added to the segmentation including regions where the air pockets exist.

 ![Screenshot 2023-11-06 at 4.13.21 PM](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/7/77f5a48e2a08c4dfda04402e77bb6226e315e81d.jpeg)

This is a photo of what the segmentation looks like in 3d, As you can see there is indents where these air pockets exist.

I am confused on how to remove these air pockets, anything helps!

Thank you,  
Gunnar

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 7, 2023, 1:32pm UTC](https://discourse.slicer.org/t/strange-air-pockets-in-segmentation-editor-cant-mark-air-pockets-as-apart-of-segmentation/32640/2 "2023-11-07T13:32:04Z")

</div>

You have selected an intensity range in masking settings that does not include the intensity of air. You can disable “Editable intensity range” checkbox to allow painting everywhere.

---

<div class="post-metadata">

**Author:** ![JASON](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jason/32/13419_2.png) [@JASON](https://discourse.slicer.org/u/JASON)\
**Post date:** [November 7, 2023, 6:18pm UTC](https://discourse.slicer.org/t/strange-air-pockets-in-segmentation-editor-cant-mark-air-pockets-as-apart-of-segmentation/32640/3 "2023-11-07T18:18:19Z")

</div>

Also, If you don’t want to manually paint them in, you can try the Surface Wrap Solidify extension to maintain the surface but fill the cavities  
[https://github.com/sebastianandress/Slicer-SurfaceWrapSolidify](https://github.com/sebastianandress/Slicer-SurfaceWrapSolidify)
