Maxilla segmentation - Ai driven?

Dear 3D Slicer Community,

I am writing to you with great admiration and respect for your hard work in creating such an amazing platform. I am a second-year orthodontic resident from Hungary with a strong interest in 3D planning.

As a part of my work, I spend a lot of time manually segmenting our CBCTs. Recently, I had the opportunity to try the trial version of Diagnocat’s AI segmentator system, and I was impressed with its efficiency. This experience has sparked my curiosity about AI-driven segmentation and deep learning machines.

Given the expertise of the 3D Slicer Community, I am reaching out to you for recommendations on dental CBCT segmentation, specifically for the maxilla and upper teeth. Our CBCTs are performed in a closed position, which makes it challenging - or rather time consuming - to separate the upper teeth from the lower ones.
AMASSS seems to be a great tool in Slicer, but unfortunately, the prediction calculation is stuck at 0%. So my question would be:

-Could AMASSS get the job done?
-If not, what alternative(s) would you recommend?

I appreciate your time and knowledge and look forward to your insights.

Best regards,
Gergő Balázs

error message:
Traceback (most recent call last):
File “C:/Users/Gergő/AppData/Local/NA-MIC/Slicer 5.2.2/NA-MIC/Extensions-31382/SlicerAutomatedDentalTools/lib/Slicer-5.2/qt-scripted-modules/”, line 827, in onProcessUpdate
print(“CLI execution failed: \n \n” + errorText)
TypeError: can only concatenate str (not “bytes”) to str

Laptop specifications:

Processor (CPU) Intel(R) Core™ i7-9750H CPU @ 2.60GHz 2.59 GHz
Memory 16,0 GB
Storage 465 GB
Operating System Microsoft Windows 11 Pro x64

Slicer 5.2.2.

We fixed most issues related to special characters but maybe some remained, so your username (“Gergő”) in the path might cause issues. I would recommend to try to install Slicer into a folder that only has ASCII characters in its name (e.g., “C:/tmp”). Maybe it will not solve the issue but at least we’ll see the actual error message.

Check if the error that you get is already reported (someone has problems with special characters, too) and add your comments/questions if you find a related report; or create a new issue if your problem seems different from all the other open issues.

Daniel Palkovics and Csaba Pinter are also working on dental segmentation tools - see their project page from the last project week. You may contact them for more information about their progress and if you can get access to their module.

1 Like

Thank you for the fast response.
After reinstalling Slicer in “C:\temp”, this is the error message that I encounter.

========= ERROR =========

CLI execution failed:

AMASSS_CLI standard error:

Traceback (most recent call last):
File “C:\temp\Slicer 5.2.2\NA-MIC\Extensions-31382\SlicerAutomatedDentalTools\lib\Slicer-5.2\cli-modules\”, line 1220, in
File “C:\temp\Slicer 5.2.2\NA-MIC\Extensions-31382\SlicerAutomatedDentalTools\lib\Slicer-5.2\cli-modules\”, line 801, in main
File “C:\temp\Slicer 5.2.2\NA-MIC\Extensions-31382\SlicerAutomatedDentalTools\lib\Slicer-5.2\cli-modules\”, line 731, in convertdicom2nifti
nifti_file = search(current_directory,‘nii.gz’)[‘nii.gz’][0]
IndexError: list index out of range

Dear Gergő,

We are sort of in the same boat here. We have experience with a lot of different segmentation methods for teeth and maxilla, semi-automatic and AI as well.

In the segment editor region growing works very for bone and watershed works very well for teeth.

If you would like to discuss this more just PM me.
Or come to the perio department at Semmelweis :wink:.


Daniel Palkovics

1 Like

Dear Young Friends,

I have been segmenting both maxillae and mandibles for quite a few years. My personal experience is, that mandibles are easy due to their density and structure. Maxillae are tough because CBCT imaging tends to yield fairly low quality images, mostly due to the low doses that we use, but also due to the various artefact reduction algorithms used by the CBCT machines as well as the complex anatomy. So, basically, you get a good segmentation of a maxilla if you have very few artefacts and used a relatively higher dose for image acquisition. This unfortunately is not really ALARA, but will look a lot better. :slight_smile:

It is not really surprising that most tutorials and wonderful presentations show the mandible and not the maxilla.

As Dani mentioned, teeth are relatively easy with watershed…

I would be really interested in the project mentioned by Andris.

Best of luck,

Kind regards,