# Isocontour between three classes for orbital reconstruction

**URL:** <https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [June 9, 2025, 3:23pm UTC](https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271 "2025-06-09T15:23:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Motrolol](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/motrolol/32/80203_2.png) [@Motrolol](https://discourse.slicer.org/u/Motrolol)\
**Post date:** [June 9, 2025, 3:23pm UTC](https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271/1 "2025-06-09T15:23:13Z")

</div>

Dear All,

I have been reading the forums to improve orbital bone reconstructions, and thank you for the active community to coming together and solutions proposed.

I am trying to reconstruct the orbit from CT scans without resampling, or wraping which creates anatomical artefacts. This is my current workflow

Step 1. Class 1 - Bone. Using standard segmentation of bone windows - I note the reported issue of orbital wall defects (medial wall and floor - which are very thin sub 0.4 mm)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/7/c717255a285ef7c6e222cdf856310e43953a7e24.jpeg)

Step 2. Class 2 - Air. What I noted is that if I create another segmentation of the air in the sinuses (segment air, and remove the islands (dead space around the skull)). The result is the air fills the area of defect.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/6/b68e13837ab4571ab3e32a5abad142a1981713e2.jpeg)

Step 3. Optional Class 3 - Tissue, I can create a tissue window which is the segmentation between Air and bone.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/7/972589d188a9686f0e1c5b64ef0fac86018de9b5.jpeg)

One simple solution is to merge-combine, class 1 and 2. Which is what I am currently doing. However, I note that class 2 stops at boundary of the missing bone, thus creating an step in the 3d model. Which is then filled by class 3 due to partial volume effect (image 3).

**Is there a tool using (surface net or alternative) to rebuild the missing bone - i.e. predict the interface between class 1 and class 2, and class 1 and class 3, and class 2 and 3?**

So that the step is eliminated or class 1 is filled.

Thanks

(I am a medical doctor by background, so new to coding and understanding 3D slicer)

---

<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:** [June 9, 2025, 5:42pm UTC](https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271/2 "2025-06-09T17:42:43Z")

</div>

One suggestion is to supersample your segmentation (it’s easy, just click the Segment Geometry button, then pick your CT and then pick an oversample of 2 (or maybe higher if you have enough memory. You can also crop first to work on just the eyes in high resolution). Segmenting at higher resolution is helpful because thin bones may only be a voxel or less thick. This should also make your whole segmentation look better.

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/5/65eeb0e3cd5c8b02c67eb2856ebf2867940dbb21.png)

The other thing you can do is crop just the eye and then I would think that the sinus air (red) should never touch the soft tissue (green), so grow a margin around the red of whatever thickness you think the bone should be and allow it to overlap the green segment. Then you can use the logical operators to get the part that is both red and green and then add it to the bone.

---

<div class="post-metadata">

**Author:** ![Motrolol](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/motrolol/32/80203_2.png) [@Motrolol](https://discourse.slicer.org/u/Motrolol)\
**Post date:** [June 11, 2025, 10:52pm UTC](https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271/3 "2025-06-11T22:52:16Z")

</div>

Thanks Steve,

I have explored various forms of supersampling methods (based on the forum), issue is, I do gain some bone definition but loose the anatomical detail. The margin trick oddly does work well for preserving the natural foramen and filling the defect.

Thanks - but welcome any more suggestions from the community.

---

<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:** [June 11, 2025, 10:55pm UTC](https://discourse.slicer.org/t/isocontour-between-three-classes-for-orbital-reconstruction/43271/4 "2025-06-11T22:55:40Z")

</div>

Hmm, supersampling the segmentation shouldn’t lose any detail. If anything it should increase it. Maybe you can share some images of what you are seeing.
