# Segmenting the root canal space of the tooth

**URL:** <https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737>\
**Category:** Support\
**Created:** [January 11, 2024, 5:07pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737 "2024-01-11T17:07:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meso\_Mazen](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@Meso\_Mazen](https://discourse.slicer.org/u/Meso_Mazen)\
**Post date:** [January 11, 2024, 5:07pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/1 "2024-01-11T17:07:46Z")

</div>

Operating system: Windows  
Slicer version: 5.6.1  
Expected behavior: segmenting and displaying the root canal space.  
Actual behavior: Segmenting the outline of the tooth as a whole.

---

<div class="post-metadata">

**Author:** ![Meso\_Mazen](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@Meso\_Mazen](https://discourse.slicer.org/u/Meso_Mazen)\
**Post date:** [January 11, 2024, 5:23pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/2 "2024-01-11T17:23:15Z")

</div>

Dear colleagues,

I extend my gratitude for the consistent support provided on this platform.

I appreciate the assistance in handling the ISQ format, enabling me to visualize micro CT scans using 3D Slicer.

Upon importing an ISQ file from a single-tooth scan via the Scanco micro CT machine, I successfully segmented the tooth by choosing an appropriate threshold (refer to the attached 1st picture). However, for my research, I specifically require the outline of the root canal space (as depicted in the 2nd image). The goal is to export the file as an STL file for comparison with another STL file through superimposition. Is there a method to include both the outline of the root canal space and the outer tooth anatomy in a single STL file?

Thank you for your assistance.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/f/af5167e72aadb4e51c348fbdb6365b3ed011289b.jpeg)

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/9/29bfd8847296ac1f0b007026338013fc332dec37.jpeg)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 11, 2024, 8:34pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/3 "2024-01-11T20:34:01Z")

</div>

I don;t think that’s possible with STL format. OBJ should be fine though.

---

<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:** [January 15, 2024, 5:48am UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/4 "2024-01-15T05:48:58Z")

</div>

> [@Meso\_Mazen](#):
>
> The goal is to export the file as an STL file for comparison with another STL file through superimposition

Do you mean you want to visually compare meshes?  
Slicer offers lots of quantification, alignement, and comparison tools. If you describe what you want to achieve then we may be able to tell how to do it within Slicer.

---

<div class="post-metadata">

**Author:** ![Meso\_Mazen](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@Meso\_Mazen](https://discourse.slicer.org/u/Meso_Mazen)\
**Post date:** [January 21, 2024, 7:42pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/5 "2024-01-21T19:42:54Z")

</div>

Thank you for the prompt reply. I’m interested in aligning two STL files. This involves preparing a space within the root canal to specific dimensions. One STL file is obtained through micro-CT scanning (used as a reference), while the other is obtained through direct digital scanning of the same tooth. My goal is to calculate the differences in distances between the two STL files (two meshes) and determine the root mean square. Additionally, I aim to compare the differences in distances at specific points throughout the entire space created inside the tooth.

CloudCompare software can perform these computations, however i can’t do so because when I import the segmented data from 3rd slicer into CloudCompare, the prepared space is not demarcated inside the tooth.

It would be highly beneficial if 3D Slicer had a feature that could exclusively segment the prepared space. This capability would enable a focused comparison with the other STL file.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [January 21, 2024, 9:57pm UTC](https://discourse.slicer.org/t/segmenting-the-root-canal-space-of-the-tooth/33737/6 "2024-01-21T21:57:23Z")

</div>

This done through registration. There are number of different ways you can do this. The easiest might be the FastAlignModel within SlicerMorph extension.

after you load the both STLs, follow the tutorial example; [Tutorials/FastModelAlign at main · SlicerMorph/Tutorials · GitHub](https://github.com/SlicerMorph/Tutorials/tree/main/FastModelAlign)

You need to skip the scaling step, and do only a rigid alignment.

Or you can use a few anatomical landmarks, and do it through the Fiducial Registration Wizard in SlicerIGT extension.
