Automated tooth segmentation in magnetic resonance scans using deep learning - A pilot study

Automatizovana segmentacija zuba na snimcima magnetne rezonance primenom dubokog učenja – pilot studija

Flügge T, Vinayahalingam S, van Nistelrooij N, Kellner S, Xi T, van Ginneken B, Bergé S, Heiland M, Kernen F, Ludwig U, Odaka K.

2025 · Dento maxillo facial radiology · CC BY-NC

Apstrakt
Ciljevi: Glavni cilj bio je razvoj i evaluacija modela veštačke inteligencije za segmentaciju zuba na snimcima magnetne rezonance (MR). Metode: Uključeni su MR snimci 20 pacijenata, načinjeni komercijalnom glavenom zavojnicom sa 64 kanala, uz T1-otežanu 3D-SPACE sekvencu (Sampling Perfection with Application Optimized Contrasts using different flip angle Evolution). Šesnaest skupova podataka korišćeno je za obuku modela, a 4 za procenu tačnosti. Dva kliničara su segmentirala i anotirala zube u svakom skupu podataka. Model za segmentaciju obučen je primenom nnU-Net okvira. Ručna referentna segmentacija zuba i segmentacija dobijena modelom superponirane su i upoređene izračunavanjem preciznosti, osetljivosti i Dice-Sørensen koeficijenta. Iz segmentacija su izdvojene površinske mreže (surface meshes), a izračunata su rastojanja između tačaka na svakoj mreži i njima najbližih odgovarajućih tačaka na drugoj mreži, pri čemu su prikazani srednja vrednost (prosečno simetrično površinsko rastojanje) i 95. percentil (Hausdorffovo rastojanje 95%, HD95). Rezultati: Model je postigao ukupnu preciznost od 0,867, osetljivost od 0,926, Dice-Sørensen koeficijent od 0,895 i 95% Hausdorffovo rastojanje od 0,91 mm. Predviđanja modela bila su manje tačna za skupove podataka koji su sadržali stomatološke restauracije zbog artefakata na snimku. Zaključci: U ovoj studiji razvijena je automatizovana metoda za segmentaciju zuba na MR snimcima, umerene do visoke efikasnosti, i to za snimke sa artefaktima, odnosno bez njih.

Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.

Objectives The main objective was to develop and evaluate an artificial intelligence model for tooth segmentation in magnetic resonance (MR) scans. Methods MR scans of 20 patients performed with a commercial 64-channel head coil with a T1-weighted 3D-SPACE (Sampling Perfection with Application Optimized Contrasts using different flip angle Evolution) sequence were included. Sixteen datasets were used for model training and 4 for accuracy evaluation. Two clinicians segmented and annotated the teeth in each dataset. A segmentation model was trained using the nnU-Net framework. The manual reference tooth segmentation and the inferred tooth segmentation were superimposed and compared by computing precision, sensitivity, and Dice-Sørensen coefficient. Surface meshes were extracted from the segmentations, and the distances between points on each mesh and their closest counterparts on the other mesh were computed, of which the mean (average symmetric surface distance) and 95th percentile (Hausdorff distance 95%, HD95) were reported. Results The model achieved an overall precision of 0.867, a sensitivity of 0.926, a Dice-Sørensen coefficient of 0.895, and a 95% Hausdorff distance of 0.91 mm. The model predictions were less accurate for datasets containing dental restorations due to image artefacts. Conclusions The current study developed an automated method for tooth segmentation in MR scans with moderate to high effectiveness for scans with respectively without artefacts.

Abstract Objectives The main objective was to develop and evaluate an artificial intelligence model for tooth segmentation in magnetic resonance (MR) scans. Methods MR scans of 20 patients performed with a commercial 64-channel head coil with a T1-weighted 3D-SPACE (Sampling Perfection with Application Optimized Contrasts using different flip angle Evolution) sequence were included. Sixteen datasets were used for model training and 4 for accuracy evaluation. Two clinicians segmented and annotated the teeth in each dataset. A segmentation model was trained using the nnU-Net framework. The manual reference tooth segmentation and the inferred tooth segmentation were superimposed and compared by computing precision, sensitivity, and Dice-Sørensen coefficient. Surface meshes were extracted from the segmentations, and the distances between points on each mesh and their closest counterparts on the other mesh were computed, of which the mean (average symmetric surface distance) and 95th percentile (Hausdorff distance 95%, HD95) were reported. Results The model achieved an overall precision of 0.867, a sensitivity of 0.926, a Dice-Sørensen coefficient of 0.895, and a 95% Hausdorff distance of 0.91 mm. The model predictions were less accurate for datasets containing dental restorations due to image artefacts. Conclusions The current study developed an automated method for tooth segmentation in MR scans with moderate to high effectiveness for scans with respectively without artefacts.

Introduction Magnetic resonance imaging (MRI) provides superior soft tissue contrast in the head and neck region without ionizing radiation in comparison to radiographic imaging, for example panoramic radiograph or cone-beam computed tomography (CBCT). 1–5 There is a broad set of indications for MRI in dentistry, from endodontology and conservative dentistry to oral surgery. 6 The advantageous soft tissue contrast allows for the diagnosis of inflammatory diseases of the dental pulp, characterization of periapical lesions, and the delineation of the inferior alveolar nerve (IAN) and inferior alveolar artery within the mandibular canal. 7–9 The ability to segment teeth in MRI scans can integrate these diagnostics advantages and aid clinicians in comprehensive evaluations where soft tissue, bone tissue, and dentition details are required. 10 , 11 This can improve the overall diagnostic accuracy and treatment planning for impacted teeth, as well as more extensive surgical interventions, such as mandibulectomies. 12 MRI has the particular advantage that it does not involve ionizing radiation, making it suitable for longitudinal follow-up, especially in young patients. Also, in implant dentistry, the ability to depict peri-implant soft tissue, the alveolar process, and the adjacent teeth all together in a single MRI scan can enhance the virtual implant planning and the planning of an optimal implant position, taking full advantage of the extra information on the biological width at the implantation site. 13–17 Several studies used auxiliary devices such as contrast gel, splints with toothpaste lining, or direct application of contrast media to support delineating the coronal tooth surface in magnetic resonance (MR) scans. 18–20 The accuracy of manual tooth surface segmentation was previously only evaluated by Hilgenfeld et al. 18 and was found to be less accurate than in CBCT scans. Artificial intelligence (AI), particularly deep learning, has been increasingly used in recent years for automating clinical tasks and supporting clinicians in their decision-making process. 21 AI has been applied for MR scans of the head and neck region to detect cancerous lesions, 22–25 for temporomandibular joint (TMJ) segmentation, 26 , 27 and TMJ disc displacement classification. 28–30 AI applications have also been reported for supporting the interpretation of dental structures in radiographic imaging with an effectiveness comparable to clinicians while being much faster. 31 , 32 Furthermore, several studies have shown AI’s potential to reduce metal artefacts in MR scans. Lee et al. showed how a convolutional neural network (CNN) is used to improve image quality and Liu et al. combined a CNN and a generative adversarial network, achieving notable improvements in artefact reduction and image clarity. 33 , 34 These studies demonstrate AI’s ability to enhance MRI image quality and diagnostic accuracy. In contrast, AI applications for interpreting dental structures in MR scans have not yet been reported. Nevertheless, due to the low signal intensity of bone and dental hard tissues in MR scans, an effective AI application can greatly benefit the precise interpretation of dental structures. The current study aimed to investigate the accuracy of an AI model for tooth segmentation in MR scans. Methods The current study was conducted following the code of ethics of the World Medical Association (Declaration of Helsinki). The Institutional Review Board approved this study (338/13), and informed consent was not required as all image data were anonymized and de-identified before analysis. Data Thirty one patients admitted to the Department of Oral and Maxillofacial Surgery, University Medical Center Freiburg, Germany, between January 2018 and April 2019 were retrospectively included in the current study. MR examinations were performed on a standard MR system (3T MAGNETOM Prisma Fit, Siemens Healthineers) with a commercial 64-channel head coil (Siemens Healthineers) with a T1-weighted 3D-SPACE (Sampling Perfection with Application optimized Contrasts using different flip angle Evolution) sequence. The imaging parameters were as follows: echo time (TE)/repitition time (TR): 10/800 ms, (0.55 mm) 3 isotropic resolution, 256 slices, sagittal slice orientation, field of view (FOV) = 210 × 210 mm 2 , matrix size = 384×384, bandwidth (BW) = 450 Hz/Px, echo train length = 268 ms, acquisition time approximately 11 min, and a chemical-shift-based fat suppression method. The scans were selected based on the following inclusion criteria: complete maxilla and mandible in the field of view and no severe susceptibility or motion artefact. Six cases were excluded for severe susceptibility artefacts; 4 cases were excluded for motion artefacts; and 1 case was excluded for the lack of the field of view. This resulted in 20 patients (mean age: 49.7 years, age range: 18-70 years, 8 females, 12 males). The 20 selected MR scans included missing teeth ( n = 4), dental implants ( n = 4), fixed partial dentures ( n = 3), a fibula reconstruction ( n = 1), a partially resected maxilla ( n = 2), and edentulous jaws ( n = 1). Five MR scans showed no missing teeth, detectable dental restorations, implants, or any other past surgical history of the jaw. Data annotation Teeth in each MR scan were annotated by a clinician with 10 years of experience and reviewed and edited by an oral and maxillofacial radiology specialist using ITK-SNAP software (v. 3.6.0). The medical experts were instructed and calibrated on a test MR scan. Each annotation included a segmentation of the tooth and a tooth label according to the FDI notation ( Figure 1 ). In the segmentation process, interpolation was performed in approximately 3 slices to complete the segmentation. The use of the interpolation process resulted in the creation of a smoother surface and the omission of some obstruction due to a susceptibility artefact. However, if the teeth were totally obstructed by a severe artefact, they were not included in the tooth segmentation to ensure the annotation was consistent ( Figure 2B ). The final tooth segmentations were aggregated into a binary segmentation, and each MR scan and corresponding segmentation were converted to NIfTI format. Figure 1. A portion of an MR scan with the segmentation and surface mesh of the center tooth. The low signal intensity of dental hard tissues and low spatial resolution make a detailed delineation of the tooth difficult. MR: magnetic resonance. Figure 2. Tooth annotations of 2 MR scans without (A) and with (B) a magnetic susceptibility artefact. The susceptibility artefact in the left region (blue asterisks) obstructs the molars, making the annotation inconsistent. As such, teeth severely obstructed by a susceptibility artefact were not included in the tooth segmentation (B: bottom row). MR: magnetic resonance. Model training A segmentation model was trained using the nnU-Net framework. 35 This framework automatically configures an effective training process and model architecture according to the fingerprint of the provided dataset. For the current study, the 3d_fullres configuration was used, which uses a 3D U-Net architecture and processes large patches sampled from the MR scan. Training was done for 1000 epochs of 250 mini-batches of size 2 using a workstation with an RTX A6000 48 GB and 128 GB memory. Model inference Patches were sampled with an overlap of 50%, and test-time augmentation was applied with flipping to increase further the number of times the model processed a patch. The predictions of the same voxels were aggregated by element-wise summing, and a binary segmentation was made with a probability threshold of 0.5. Lastly, connected components with fewer than 1000 voxels were removed to reduce false-positive predictions. Evaluation and comparison A random split of the patients was made, with 16 patients (381 teeth) for training and 4 patients (108 teeth) for evaluation. After learning the model parameters using the training data, tooth segmentations were inferred for the evaluation data and compared to the reference segmentations. More specifically, a tooth segmentation was converted to a surface mesh by applying Gaussian smoothing and the Marching Cubes algorithm. 36 The surface mesh of the reference tooth segmentation and the inferred tooth segmentation were superimposed to detect differences. Furthermore, signed distances were computed from the reference surface mesh to the inferred surface mesh using the Open3D Python package (v. 0.17.0) 37 and visualized by colouring the reference surface mesh. A point with a positive signed distance corresponds to an increase in tooth volume at that point, whereas a negative signed distance corresponds to a decrease in tooth volume. Additionally, the inter-rater agreement and intra-rater agreement were calculated. To determine the inter-rater agreement, the oral and maxillofacial radiology specialist (K.O.) independently annotated 4 MR scans to compare to the annotations of the experienced clinician (S.K.). The intra-rater agreement was determined by comparing independent annotations of 4 MR scans made in duplicate by the same expert with a minimum of 4 weeks between the annotations. Statistical analysis An inferred tooth segmentation was compared to the reference tooth segmentation using scikit-learn (v. 1.3.1) with precision = T P T P + F P , sensitivity = T P T P + F N , and Dice-Sørensen coefficient (DSC) = 2 T P 2 T P + F P + F N , where TP, FP, and FN are true-positive, false-positive, and false-negative voxel predictions, respectively. Furthermore, inferred surface meshes were compared to the reference surface meshes by computing the distances between points on each mesh and their closest counterparts on the other, of which the mean (average symmetric surface distance, ASSD) and 95th percentile (Hausdorff distance 95%, HD95) were reported. The evaluation metrics were selected according to the most commonly used metrics for assessment of (CB)CT segmentations. 38 Results The MR scans of the 4 evaluated patients included a fixed partial denture (patient 1, 26 teeth), a susceptibility artefact (patient 2, 23 teeth), a missing tooth (patient 3, 31 teeth), and no missing teeth or artefacts (patient 4, 28 teeth), respectively. Table 1 shows that the trained model was most effective for the patient with a dental bridge (patient 1, DSC = 0.917, HD95 = 0.664) and least effective for the patient with a susceptibility artefact (patient 2, DSC = 0.851, HD95 = 1.315). The model achieved a mean DSC of 0.895 and a mean 95% Hausdorff distance of 0.910 mm. Table 1. Metrics comparing tooth segmentations and surface meshes. a Prec↑ Sens↑ DSC↑ ASSD↓ HD95↓ Patient 1 0.876 0.961 0.917 0.209 0.664 Patient 2 0.799 0.911 0.851 0.509 1.315 Patient 3 0.895 0.924 0.909 0.229 0.722 Patient 4 0.900 0.907 0.904 0.251 0.939 Average 0.867 0.926 0.895 0.299 0.910 Inter-rater 0.870 0.908 0.887 0.278 0.900 Intra-rater 0.866 0.918 0.889 0.274 0.792 Abbreviations: ASSD = average symmetric surface distance, HD95 = Hausdorff distance 95% in millimetres, DSC = Dice-Sørensen coefficient, Prec = precision, Sens = sensitivity. a See subsection “Statistical analysis” for elaboration on the metrics. Arrows indicate the direction of higher accuracy. The top rows show the agreement between model predictions and reference annotations, followed by the agreement between 2 independent experts (inter-rater), and the agreement between duplicate annotations of 1 expert (intra-rater). The model effectively segmented all erupted and unobstructed teeth ( Figure 3 ). However, this model was less effective for cases with a dental bridge and an implant (patient 1), teeth obstructed by a susceptibility artefact (patient 2), and unerupted teeth (patient 3), often resulting in ill-defined boundaries between neighbouring teeth. The largest difference between a reference and inferred surface mesh was observed in patient 2, where 2 teeth in the left mandibular region were segmented despite being obstructed by a susceptibility artefact ( Figure 2B ). Figure 3. Qualitative results. Surface meshes for 4 patients are displayed, including patient 1 with a dental implant and hybrid bridge (A), patient 2 with a susceptibility artefact (B), patient 3 with a missing tooth (C), and patient 4 with no abnormalities (D), respectively. Differences are shown in the rightmost column, with red and green indicating the positive and negative signed distances from the reference to the result. The intra-rater results in Table 1 comparing the duplicated annotations of 1 expert reveal a higher agreement compared to the agreement between the model predictions and reference annotations (DSC = 0.889, HD95 = 0.792). Conversely, the inter-rater agreement between independent annotations of 2 experts was similar to the agreement between the model predictions and reference annotations (DSC = 0.887, HD95 = 0.900). Discussion The current study aimed to investigate the effectiveness of an AI model for tooth segmentation in MR scans. Twenty patients with 489 teeth were included in this study with varying anatomical situations. An nnU-Net model was trained to predict a binary segmentation of the teeth. The results demonstrated moderate effectiveness for an MR scan with a magnetic susceptibility artefact (DSC = 0.851, HD95 = 1.315) and high effectiveness for MR scans without an artefact (DSC = 0.904-0.917, HD95 = 0.939-0.664), showing a consistent HD95 below 1 mm. Up to now, MRI has gained more interest in clinical dentistry due to its non-invasive character, its excellent soft tissue contrast, and the absence of ionizing radiation. 6 However, it remains rarely used because of its high cost, long acquisition time, and limited availability. 3 In addition, further challenges must be considered when using MRI for oral and maxillofacial imaging. First, air, dental hard tissues, and compact bone have a low signal intensity due to their small molecular fraction of hydrogen nuclei and rapid signal decay after excitation. 39 Therefore, it is difficult to delineate the coronal tooth surface from the surrounding oral cavity based on the signal intensity. The low signal intensity of teeth in MRI can be overcome by using ultra-short echo-time sequences, which capture the rapid signal decay, such as Ultra-Short TE, 40 , 41 Zero TE, 42 Sweep Imaging with Fourier Transformation, 43 and Pointwise Encoding Time reduction with Radial Acquisition. 44 However, most of these sequences are not commercially available, complicating their integration into clinical dental routines. Second, metal fillings result in a magnetic susceptibility artefact as the metal interferes with the magnetic field of the MR device. 45 Depending on the restoration material and the underlying MRI sequence, these artefacts may affect a large region under investigation. These interferences can be partly overcome by using MRI sequences that are less prone to susceptibility changes such as specific metal suppression techniques or those that are based on spin echos. 46 Nevertheless, delineating teeth in an MR scan remains a subjective and time-consuming clinical task. To ease the segmentation process for the current study, a 3D spin echo-based approach was chosen, enabling isotropic voxel size and an acquisition less prone to susceptibility artefacts. A published study reported no difference in metal artefact size between different weightings of the images 47 ; therefore, only the T1 contrast was used for segmentation. However, the acquired T2 images could be used to train and improve the network in a future study. To our knowledge, this is the first investigation of automated tooth segmentation in MR scans, and no direct comparisons can be made to existing literature. Therefore, the current results are compared to tooth segmentation in CBCT scans. One study introduced a 2D U-Net-based automatic method for binary tooth segmentation and used a dataset with 110 CBCTs, among which 35 were datasets with image artefacts caused by dental restorations. 48 Rao et al. achieved a DSC of 0.917 and an ASSD of 0.25 mm, showing better segmentation effectiveness than the current method. A more recent study, based on 30 CBCT scans, developed a method for three-class segmentation that delineates the jaws and teeth from the background. 49 The study employed a 2D U-Net model with dense connections, and results showed a DSC of 0.948 and an ASSD of 0.163 mm for tooth segmentation, again indicating an improved effectiveness compared to the current method. The current state-of-the-art automated alveolar bone and tooth instance segmentation used a dataset of 4938 expert-annotated CBCT scans. 32 The method used a multi-stage approach and obtained a DSC of 0.925 and an ASSD of 0.21 mm in tooth instance segmentation. The highlighted study noted decreased effectiveness for datasets with image artefacts due to dental restorations. The study introducing the current state-of-the-art quantified this decrease in effectiveness by showing DSCs of 0.936, 0.928, 0.926, and 0.915 for cases with normal teeth, missing teeth, misaligned teeth, and metal artefacts, respectively. The same study compared the reference tooth annotations to independent annotations of 2 expert radiologists, showing an imperfect agreement among the annotations (DSC = 0.919-0.921). 30 The current analysis of inter-rater agreement revealed a lower agreement for tooth segmentation in MR scans compared to CBCT scans (DSC = 0.887). This may be explained by the decreased spatial resolution and lower hard tissue contrast of MR scans, limiting the precise interpretation of dental hard tissues. However, the previous study reported a higher agreement between the model predictions and reference annotations, which were determined based on multiple experts (DSC = 0.924). The same result was found in the current study for tooth segmentation in MR scans (DSC = 0.895), showing the advantage of determining the reference annotations based on more than 1 expert. Most of the MR scans included in the current study contained artefacts due to restorations, implants, or missing teeth (14 out of 20). This could have negatively impacted the current results, as the studies on CBCT scans showed decreased effectiveness in scans with artefacts. Furthermore, the resolution and the contrast among air, compact bone, and teeth are lower in the current MR scans compared to the CBCT scans included in the highlighted studies. These findings indicate that automating tooth segmentation in MR scans may be more challenging than automating tooth segmentation in CBCT scans. The study’s limited sample size of 20 patients with 489 teeth should be considered when interpreting its results. In this study, the nnU-net framework was used. One of the main advantages of nnU-Net is its adaptability. The framework automatically configures itself based on the dataset, optimizing hyperparameters and architectural elements to suit specific data. This adaptability ensures that nnU-Net consistently delivers state-of-the-art results across various datasets without the need for extensive manual adjustments. Additionally, nnU-Net is robust and capable of handling different image sizes and modalities, making it highly versatile for various medical imaging tasks. However, nnU-Net has some disadvantages. It is resource-intensive, requiring substantial computational power and memory, particularly for 3D datasets. Despite its user-friendly design, understanding and modifying the auto-configuration mechanisms can be complex, adding a layer of complexity. Furthermore, nnU-Net relies heavily on specific frameworks and libraries, which might limit flexibility and customization options. The automated tuning process, while advantageous, can introduce extra time and computational overhead compared to manually optimized models. 35 A limitation of this study is that the current method employed binary tooth segmentation, which entails that individual teeth cannot be extracted from the segmentation. This reduces the clinical utility of the AI model, as collisions between teeth cannot be modelled. Furthermore, although a clinician can relatively easily delineate the IAN in an MR scan, automating the segmentation of the IAN is necessary before developing a fully automated method for risk assessment of IAN injury in tooth extraction using MR scans. Making an objective decision on whether or not and how to perform a tooth extraction based on an MR scan still requires manual segmentation of the IAN. Lastly, it remains unclear how to manage susceptibility artefacts. The current study did not include teeth in a reference annotation if an artefact obstructed them. As the current model could not learn this selection ( Figure 1B ), a different trainable reference annotation is required for training future AI models. Another limitation of this study is that the effectiveness of an AI model for tooth segmentation in MR scans is compared with human (and therefore subject to error) annotated segmentations. Corresponding MRI and CBCT datasets will be used to develop the algorithms further. The differences between manual CT tooth segmentations (superior to the manual annotations on MRI images), on the one hand, and the effectiveness of an AI model for tooth segmentation in MRI scans, on the other hand, could be examined. Finally, it is useful to compare the (CB)CT AI tooth segmentation algorithms with the results of the MRI-based AI tooth segmentation algorithms. Tooth segmentation in MR scans is more challenging than cone-beam CT scans. Therefore, more MR scans with comprehensive segmentations must be collected to develop a clinically applicable method. The current work can be extended by including a larger set of annotated MR scans and diverse MR imaging sequences. A bias could have been introduced using a limited number of MR scans from 1 device with the same coil and imaging sequence, as well as the annotation strategy not based on consensus. Furthermore, MR scans can be collected from multiple medical centres, focusing on fully dentate patients with few restorations. An enhanced method for tooth instance segmentation can be developed with the increased dataset size. The teeth can be categorized by FDI number or type (normal, crown restoration, implant, unerupted) to develop a more comprehensive automated method for tooth instance segmentation and labelling in MR scans. Another direction for future work is developing an automated method for IAN segmentation in MR scans, where inspiration can be taken from methods developed for CBCT scans. 50–52 By combining the tooth and IAN segmentation methods, a further method can be developed to support clinicians in decision-making about tooth extractions. Finally, the reference annotations can be made more consistent. Susceptibility artefacts can be managed more effectively by including them as separate segmentation objects and segmenting any unobstructed portion of the teeth currently not included. Lastly, corresponding pairs of MR scans and intra-oral scans can be acquired to more precisely delineate the coronal tooth surfaces. 30 Conclusions The current pilot study developed an automated method for tooth segmentation in a small sample of MR scans with moderate to high effectiveness for scans with and without artefacts.

Otvoreni pristup preko Europe PMC / PubMed. Dentopedia prikazuje literaturu u istraživačko-edukativne svrhe; nije zamena za klinički pregled. PMC11664100
Ružica
RužicaAI asistentkinja Dentopedije
Ceo prozor ↗
Zdravo! Postavite mi pitanje o stomatologiji — odgovoriću Vam iz leksikona i stručne biblioteke i navešću izvore.