Next Article in Journal
Toward New Assessment in Sarcoma Identification and Grading Using Artificial Intelligence Techniques
Previous Article in Journal
Optimal Number of Needle Punctures in EUS-FNA/B with ROSE for Solid Pancreatic Lesions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Integrated System for Detecting and Numbering Permanent and Deciduous Teeth Across Multiple Types of Dental X-Ray Images Based on YOLOv8

by
Ya-Yun Huang
1,
Chiung-An Chen
2,*,
Yi-Cheng Mao
3,
Chih-Han Li
4,
Bo-Wei Li
4,
Tsung-Yi Chen
4,*,
Wei-Chen Tu
1,5 and
Patricia Angela R. Abu
6
1
Program on Semiconductor Manufacturing Technology Academy of Innovative Semiconductor and Sustainable Manufacturing, National Cheng Kung University, Tainan City 701401, Taiwan
2
Department of Electrical Engineering, Ming Chi University of Technology, New Taipei City 243303, Taiwan
3
Department of General Dentistry, Chang Gung Memorial Hospital, Taoyuan City 33305, Taiwan
4
Department of Electronic Engineering, Feng Chia University, Taichung City 40724, Taiwan
5
Department of Electronic Engineering, National Cheng Kung University, Tainan City 701401, Taiwan
6
Ateneo Laboratory for Intelligent Visual Environments, Department of Information Systems and Computer Science, Ateneo de Manila University, Quezon City 1108, Philippines
*
Authors to whom correspondence should be addressed.
Diagnostics 2025, 15(13), 1693; https://doi.org/10.3390/diagnostics15131693
Submission received: 16 April 2025 / Revised: 19 June 2025 / Accepted: 1 July 2025 / Published: 2 July 2025
(This article belongs to the Section Medical Imaging and Theranostics)

Abstract

Background/Objectives: In dental medicine, the integration of various types of X-ray images, such as periapical (PA), bitewing (BW), and panoramic (PANO) radiographs, is crucial for comprehensive oral health assessment. These complementary imaging modalities provide diverse diagnostic perspectives and support the early detection of oral diseases, thereby enhancing treatment outcomes. However, there is currently no existing system that integrates multiple types of dental X-rays for both adults and children to perform tooth localization and numbering. Methods: Therefore, this study aimed to propose a system based on YOLOv8 that integrates multiple dental X-ray images and automatically detects and numbers both permanent and deciduous teeth. Through image preprocessing, various types of dental X-ray images were standardized and enhanced to improve the recognition accuracy of individual teeth. Results: With the implementation of a novel image preprocessing method, the system achieved a detection precision of 98.16% for permanent and deciduous teeth, representing a 3% improvement over models without image enhancement. In addition, the system attained an average tooth numbering accuracy of 98.5% for permanent teeth and 96.3% for deciduous teeth, surpassing existing methods by 5.6%. Conclusions: These results might highlight the innovation of the proposed image processing method and show its practical value in assisting clinicians with accurate diagnosis of tooth loss and the identification of missing teeth, ultimately contributing to improved diagnosis and treatment in dental care.

1. Introduction

In dental medicine, the integration of various X-ray images was essential for a comprehensive assessment of a patient’s oral health. Each type of X-ray served a distinct diagnostic purpose. For instance, PA images were primarily utilized to evaluate the health of tooth roots and the surrounding bone tissue [1,2]. PANO images provided a broad view of the entire oral cavity, assisting practitioners in understanding the structure of all teeth and the jawbone [3,4,5]. BW images were mainly employed to detect cavities between teeth and assess occlusal relationships [6,7]. Through a thorough evaluation, practitioners gained a deeper understanding of a patient’s condition, thereby enhancing the chances of early detection of oral problems and improving treatment outcomes. The integration of multiple types of dental X-ray images not only aided in diagnosis but also supported the development of more effective treatment plans. Among these concerns, tooth loss was a significant global oral health issue closely linked to the progression of various oral diseases. According to the latest statistics, approximately 7% of individuals experienced tooth loss [8]. The consequences of tooth loss extended beyond physiological aspects, encompassing psychological and social challenges as well. Therefore, early prevention and treatment were vital for reducing the incidence of tooth loss.
The application of artificial intelligence (AI) in dentistry has garnered increasing attention, particularly in tooth localization. Numerous studies have utilized AI technology to automatically identify teeth [9,10,11,12,13], which not only enhances diagnostic accuracy but also accelerates the image processing workflow. In this study, the YOLOv8 model was employed for automatic localization due to its high accuracy, rapid processing speed, and strong adaptability to various image types, making it particularly suitable for processing dental imaging data [14,15]. The study integrated multiple types of dental X-ray images, performed image preprocessing and tooth numbering, and analyzed the incidence of tooth loss.
In dental image analysis, PA, BW, and PANO images were commonly used. However, these images often contained black areas that negatively impacted subsequent analysis and diagnostic accuracy. This study proposed a unified method to eliminate these black regions and standardize the images. To avoid distortion caused by stretching rectangular images into square formats, the study filled in the unused areas during the standardization process, thereby preserving image integrity and consistency. Subsequently, an image enhancement method and the YOLOv8 model were employed to identify the positions and numbers of teeth, as well as to detect tooth loss. This approach not only improved image quality but also enhanced the accuracy of tooth identification, providing more reliable data support for dental diagnostics. The main contributions of this study were as follows:
  • A unified system capable of handling a wide range of dental X-ray images.
Through an automated image standardization process, PANO, BW, and PA images with varying dimensions were normalized using cropping, resizing, and padding techniques. This preprocessing strategy significantly improved detection accuracy. The results showed that the proposed method enhanced model performance and provided practical clinical value by assisting clinicians in the accurate diagnosis of tooth loss and the identification of missing teeth.
2.
The first system to support both adult and pediatric dental radiographs.
While most of the existing studies have focused solely on tooth localization and numbering in adult dental images, this study proposed an integrated approach capable of effectively handling the greater complexity of pediatric dental radiographs, particularly those containing both permanent and deciduous teeth. The system achieved superior accuracy and demonstrated high stability across different patient groups.
3.
Improved performance in adult tooth localization compared to previous methods.
By incorporating image enhancement methods such as sharpening and median filtering, the clarity of tooth boundaries was significantly improved, enabling the YOLOv8 model to more accurately detect tooth shapes and positions. The experimental results showed that the proposed method achieved an accuracy of 98.5% in the localization and numbering of permanent teeth, representing a 5.6% improvement over the 93.28% accuracy reported in a previous study.

2. Methods

This study proposed an algorithmic workflow comprising image preprocessing, image enhancement, YOLOv8 model training, and tooth numbering, as shown in Figure 1. Initially, image preprocessing was performed to standardize image specifications, thereby preventing errors caused by inconsistencies during the training process. After training the YOLOv8 model, the coordinates corresponding to permanent and deciduous teeth were obtained. These coordinates were subsequently exported for accurate tooth numbering based on the Fédération Dentaire Internationale (FDI) tooth numbering.

2.1. Image Preprocessing

The image preprocessing was essential for improving the model’s accuracy and stability. Through effective preprocessing, images from various sources were standardized, ensuring compatibility across different types of dental X-ray images. This step also enhanced key dental features and reduced background noise, thereby minimizing its impact on the model’s performance. Such preprocessing was particularly important in this study, as the X-rays were obtained from diverse modalities and imaging conditions, making a well-designed preprocessing strategy essential for improving the detection performance of the YOLOv8 model. Two primary image preprocessing methods were employed in this study: image normalization and image enhancement.

2.1.1. Image Normalization

This study preprocessed commonly used dental X-ray images in clinical settings, including PANO, BW, and PA images. Given the variations in image size and tooth dimensions among these modalities, preprocessing was a crucial step. The original Digital Imaging and Communications in Medicine (DICOM) files were converted into single-channel grayscale images to reduce computational complexity while preserving essential anatomical details, as shown in Equation (1). The grayscale images were cropped to eliminate excess black borders and resized to meet the fixed input size required by the model. To avoid tooth distortion from direct resizing, the images were scaled while maintaining their original aspect ratios. Specifically, the longest side of each image was adjusted to 640 pixels, and the remaining areas were padded accordingly. This normalization approach ensured that the images remained distortion-free while being standardized to a uniform size of 640 × 640 pixels, as shown in Figure 2. This process enabled the YOLOv8 model to effectively handle all types of dental X-ray images, thereby improving accuracy in both tooth localization and numbering.
G r a y = 0.299 × R e d + 0.587 × G r e e n + 0.114 × B l u e

2.1.2. Image Enhancement

When processing dental X-rays, the small gaps between teeth posed a significant challenge for deep learning models in accurately identifying individual teeth, particularly in PANO images. To address this problem, the study emphasized tooth contours through image enhancement during the preprocessing stage. This enhancement method significantly improved the model’s identification accuracy, providing a solid foundation for subsequent tooth analysis. Sharpening [16,17] was employed to enhance tooth edges and highlight their contours, as defined in Equation (2). However, sharpening also introduced additional noise into the images. To mitigate this effect, median filtering [18,19] was applied after sharpening. The principle of median filtering involved examining each pixel, comparing it with its surrounding neighbors, and replacing the original pixel value with the median of the sorted grayscale values, as shown in Figure 3. This method effectively removed noise while preserving the contour features of the teeth. A comparison of images before and after enhancement is presented in Figure 4.
2 f = 2 f x 2 + 2 f y 2

2.2. Tooth Localization and Numbering System

2.2.1. Build Database

During the dataset construction phase for training the YOLOv8 model [20], this study implemented a detailed partitioning and management strategy to enhance the effectiveness of model training, as shown in Figure 5. The overall dataset was initially divided into two main components. Initially, 80% of the dataset was allocated for training and 20% for testing. The training set was then further segmented, where 70% was allocated to training and 30% to validation. This partitioning method allowed the model to learn features from a substantial portion of the data while using the validation set for real-time evaluation and hyperparameter tuning, thereby reducing the risk of overfitting.

2.2.2. Yolov8 Model

To accurately localize both permanent and deciduous teeth in various types of dental X-ray images, YOLOv8 was adopted. YOLOv8 is an advanced deep learning-based object detection model known for its real-time performance, multi-scale detection capability, support for multiple object instances, and high accuracy [21,22]. In this study, the hardware and software resources used are summarized in Table 1. These resources provided sufficient computational power and a robust development environment, ensuring that the YOLOv8 model was trained and tested efficiently, resulting in accurate detection outcomes. The architecture of the YOLOv8 model is shown in Figure 6.

2.2.3. Hyperparameter

In YOLOv8, configuring hyperparameters was essential for both training and detection tasks. Hyperparameters are predefined settings that must be established prior to training, and they have a significant impact on the learning process and overall model performance. By fine-tuning these hyperparameters, this study successfully optimized the training process and improved the model’s accuracy. The specific hyperparameter settings used in this study are summarized in Table 2.

2.3. Tooth Numbering

In PANO images, this study assigned an international identification code to each tooth following the FDI World Dental Federation notation system [24,25]. This systematic numbering enabled dentists to accurately identify teeth and track anatomical structures or abnormalities, thereby enhancing diagnostic precision and treatment planning. After obtaining the tooth localization coordinates from the YOLOv8 model, these coordinates were used to determine the central point of the occlusal surface, which was used to divide the dentition into four quadrants. Tooth numbering was performed using the quadrant-based method, starting from the upper left and proceeding clockwise. For permanent teeth, the first digit ranged from 1 to 4, and for deciduous teeth, from 5 to 8. The second digit for permanent teeth was assigned sequentially from the midline outward. In cases of missing teeth, the number of gaps was estimated based on the X 1 and X 2   coordinates, and the missing tooth number was determined by matching the number of missing teeth with the gaps, as shown in Figure 7.
For deciduous teeth, the second digit was assigned based on their distance from the nearest permanent tooth along the X-axis. The numbering process was relatively straightforward in PA and BW images; however, it remained a critical step. In PA images, teeth were numbered from left to right, while in BW images, numbering followed a left-to-right, top-to-bottom sequence, as shown in Figure 8. Although the numbering method adopted in this study was simple, it ensured consistent processing and accurate labeling across different image types. This consistency enhanced the model’s diagnostic and localization performance across various imaging formats. Moreover, the standardized numbering system enabled the unification of data from multiple image sources, thereby improving the generalization and practical applicability of the proposed automated dental diagnostic model.

3. Results

This study proposed an automated system for detecting and numbering both permanent and deciduous teeth across various types of dental X-ray images. To maintain clinical relevance, all radiographic images used in this study, including PA, BW, and PANO, were sourced from the imaging database of Chang Gung Memorial Hospital in Taoyuan, Taiwan. The images were anonymized by certified dentists and randomly selected to ensure unbiased sampling. The study protocol received approval from the Institutional Review Board (IRB) of Chang Gung Memorial Hospital (IRB No. 202400084B0). Tooth annotations and condition labeling were performed by an attending dentist with more than three years of clinical experience.
To ensure a fair and objective evaluation of the proposed method, five performance metrics were utilized: Accuracy, Precision, Recall, F1-Score, Average Precision (AP), and mean Average Precision (mAP). The definitions of these metrics are provided in Equations (3)–(8), and Table 3 presents a schematic representation of the confusion matrix. Notably, for all the metrics, higher values indicate better model performance.
Accuracy = TP + TN TP + TN + FP + FN
Precision = TP TP + FP
Recall = TP TP + FN
F 1 - Score = 2 × Precision × Recall Precision + Recall
A P = 0 1 P r e c i s i o n Recall d Recall
m A P = 1 n i = 0 n A P i
This study evaluated three image normalization methods to enhance the performance of the YOLOv8 model in localizing and numbering teeth across various types of dental X-ray images, as shown in Figure 9. The first method followed the commonly used approach in previous studies, where the original image was scaled directly to a uniform size [26]. Although this approach simplified the model training process, it proved less effective in preserving critical dental features and achieving high detection accuracy. In contrast, this study proposed two alternative normalization methods to optimize model performance. The first method involved cropping and resizing the image with additional padding, while the second method removed unnecessary black borders before resizing the image. The results indicated that the latter method, removing black borders prior to resizing, achieved the best performance. This method not only maintained higher detection accuracy across different types of dental images but also better preserved anatomical detail. The effectiveness of the proposed method was validated by comparing it with the conventional normalization approach described in [26]. As shown in Table 4, the proposed normalization method achieved a recall rate of 99.22% for permanent teeth and 96.5% for deciduous teeth in PANO images. Compared to the baseline method, the study showed consistent improvements in detecting both permanent and deciduous teeth across multiple types of dental radiographs. These results confirmed that the proposed preprocessing strategy significantly enhanced the model’s ability to accurately identify teeth. By applying padding more effectively and preserving image integrity, the method substantially improved overall detection performance.
By reinforcing the edges and structural details of teeth within the images, the enhancement process enabled the YOLOv8 model to achieve higher precision in tooth localization. Following enhancement, the model’s detection performance in PANO images showed significant improvement, as presented in Table 5. Specifically, the precision for permanent teeth increased by 1.3%, while the precision for deciduous teeth improved by 4.8%. These results show that image enhancement not only clarified key dental features but also substantially improved the performance of the model for tooth numbering. This enhancement provides a more reliable foundation for clinical application.
This study also evaluated more recent models, including YOLOv5, YOLOv11, and Faster R-CNN for comparison. The results are shown in Table 6. It was found that the performance of YOLOv5 was comparable to that of YOLOv8, whereas Faster R-CNN showed noticeably inferior results. It is worth noting that YOLOv11 achieved the highest accuracy among all the tested models. However, YOLOv11 required significantly greater computational resources and longer training time compared to YOLOv8 due to its larger model size. Therefore, considering the trade-off between performance and efficiency, YOLOv8 was ultimately selected as the primary model for this study.
This study tested a PANO image containing both permanent and deciduous teeth. The identification results obtained using the proposed method are shown in Figure 10 and Table 7. In Table 7, the model’s predictions were compared with manual annotations by a dentist, where ‘0’ indicates absence and ‘1’ indicates presence. The results show consistent performance between the proposed method and manual labeling. The proposed system effectively assists dentists in the clinical localization and annotation of teeth across various types of dental X-ray images. Examples of detection results for three commonly used X-ray modalities are shown in Figure 11.
This study proposed an innovative algorithm for numbering both permanent and deciduous teeth in pediatric dental X-ray images. By advanced image enhancement and localization methods, the proposed algorithm in this study effectively identified the position of each tooth and assigned the corresponding tooth number. Compared to traditional methods, the algorithm showed superior capability in handling complex pediatric dental images, particularly those containing mixed dentition, and showed higher accuracy and stability. In terms of numbering accuracy, the proposed method significantly outperformed previous approaches. While a previous study reported an overall accuracy of 93.28% for numbering permanent teeth using a conventional algorithm [24], the method in this study achieved an overall accuracy of 98.50% for permanent teeth, as shown in Table 8. Additionally, this study attained an average accuracy of 96.3% for numbering both permanent and deciduous teeth, and an accuracy of 88.6% for detecting missing teeth, as presented in Table 9.

4. Discussion

This study presented an automated system that integrates various types of dental X-ray images for accurate localization and numbering of both permanent and deciduous teeth. The results demonstrated the effectiveness of the YOLOv8 model in dental radiograph analysis, particularly in tooth localization and numbering tasks. To address variations in image characteristics, a normalization method was developed for three types of dental X-ray images. Compared to the conventional approach of resizing images to a fixed dimension [26], the proposed normalization method yielded consistent improvements across all image types. Furthermore, image enhancement techniques were introduced to further improve model accuracy. The results showed enhanced recognition performance for both permanent and deciduous teeth, indicating that noise removal has a positive impact on model effectiveness. Compared to the method in [24], the proposed approach achieved a 5.6% increase in accuracy for permanent tooth localization and numbering.
This achievement underscores the efficacy of the method employed in image processing and tooth numbering, thereby assisting clinicians in diagnosing tooth loss with greater precision. By integrating various types of dental X-ray images, the study not only improves the accuracy of tooth detection but also facilitates the timely identification of missing teeth. Although the model showed strong performance across different image modalities, there remains potential for further improvement. For instance, addressing image noise and analyzing its impact on model performance may contribute to future enhancements. Moreover, future studies should explore the incorporation of additional clinical conditions and assess the model’s applicability across a broader range of clinical scenarios to further confirm its robustness and clinical utility.

5. Conclusions

This study proposed the YOLOv8 model for the automatic localization and counting of teeth in various types of dental X-ray images, significantly improving the detection accuracy for both permanent and deciduous teeth. Through the proposed image preprocessing and enhancement methods, the model exhibited robust performance in dental radiograph analysis, offering an efficient and accurate diagnostic tool for clinical dentistry. The proposed system enables clinicians to efficiently detect missing teeth, supporting the formulation of more effective treatment plans. The findings of this study not only underscore the potential of artificial intelligence in dental image analysis but also establish a foundation for future automated diagnostic systems. Subsequent studies should explore the integration of diverse imaging modalities for disease detection and enhance the model’s applicability in more complex clinical scenarios.

Author Contributions

Conceptualization, C.-A.C.; methodology, C.-H.L., B.-W.L., and T.-Y.C.; software, C.-H.L., B.-W.L., and T.-Y.C.; validation, C.-H.L., B.-W.L., and T.-Y.C.; formal analysis, Y.-C.M.; investigation, Y.-C.M.; resources, Y.-C.M.; data curation, Y.-C.M.; writing—original draft preparation, Y.-Y.H. and T.-Y.C.; writing—review and editing, Y.-Y.H. and P.A.R.A.; visualization, T.-Y.C.; supervision, W.-C.T.; project administration, C.-A.C., T.-Y.C., and W.-C.T.; funding acquisition, C.-A.C. and T.-Y.C. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported, in part, by the National Science and Technology Council, Taiwan, under grant numbers 111-2221-E-033-041, 111-2823-8-033-001, 111-2622-E-131-001, 112-2410-H-197-002-MY2, 113-2314-B-182A-140, and 113-2221-E-131-026. And this work was supported by the Research Support of the Feng Chia University Research Program, grant number. 24H00810.

Institutional Review Board Statement

Chang Gung Medical Foundation Institutional Review Board; IRB number: 202400084B0; Date of Approval: 31 January 2024; Protocol Title: Detection of dental lesions and tooth development problems from dental radiographs of children and adolescents using convolutional neural networks; Executing Institution: Chang Gung Medical Foundation Linkou Chang Gung Memorial Hospital of Taoyuan; Duration of Approval: From 31 January 2024 to 30 January 2025. The Research Institution Review Board (IRB) reviewed and determined that it is an expedited review according to case research or cases treated or diagnosed by clinical routines. However, this does not include HIV-positive cases.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to privacy or ethical restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Imak, A.; Celebi; A.; Siddique, K.; Turkoglu, M.; Sengur; A.; Salam, I. Dental Caries Detection Using Score-Based Multi-Input Deep Convolutional Neural Network. IEEE Access 2022, 10, 18320–18329. [Google Scholar] [CrossRef]
  2. Pul, U.; Schwendicke, F. Artificial intelligence for detecting periapical radiolucencies: A systematic review and meta-analysis. J. Dent. 2024, 147, 105104. [Google Scholar] [CrossRef] [PubMed]
  3. Chen, S.-L.; Chen, T.-Y.; Mao, Y.-C.; Lin, S.-Y.; Huang, Y.-Y.; Chen, C.-A.; Lin, Y.-J.; Chuang, M.-H.; Abu, P.A.R. Detection of Various Dental Conditions on Dental Panoramic Radiography Using Faster R-CNN. IEEE Access 2023, 11, 127388–127401. [Google Scholar] [CrossRef]
  4. Gao, N.; Yao, R.; Liang, R.; Chen, P.; Liu, T.; Dang, Y. Multi-Level Objective Alignment Transformer for Fine-Grained Oral Panoramic X-Ray Report Generation. IEEE Trans. Multimed. 2024, 26, 7462–7474. [Google Scholar] [CrossRef]
  5. Panetta, K.; Rajendran, R.; Ramesh, A.; Rao, S.P.; Agaian, S. Tufts Dental Database: A Multimodal Panoramic X-Ray Dataset for Benchmarking Diagnostic Systems. IEEE J. Biomed. Health Inform. 2021, 26, 1650–1659. [Google Scholar] [CrossRef]
  6. Li, K.-C.; Mao, Y.-C.; Lin, M.-F.; Li, Y.-Q.; Chen, C.-A.; Chen, T.-Y.; Abu, P.A.R. Detection of Tooth Position by YOLOv4 and Various Dental Problems Based on CNN With Bitewing Radiograph. IEEE Access 2024, 12, 11822–11835. [Google Scholar] [CrossRef]
  7. Said, E.H.; Nassar, D.E.M.; Fahmy, G.; Ammar, H.H. Teeth segmentation in digitized dental X-ray films using mathematical morphology. IEEE Trans. Inf. Forensics Secur. 2006, 1, 178–189. [Google Scholar] [CrossRef]
  8. Kumar, J.; Crall, J.J.; Holt, K. Oral Health of Women and Children: Progress, Challenges, and Priorities. Matern. Child Health J. 2023, 27, 1930–1942. [Google Scholar] [CrossRef]
  9. Chen, S.-L.; Chen, T.-Y.; Mao, Y.-C.; Lin, S.-Y.; Huang, Y.-Y.; Chen, C.-A.; Lin, Y.-J.; Hsu, Y.-M.; Li, C.-A.; Chiang, W.-Y.; et al. Automated Detection System Based on Convolution Neural Networks for Retained Root, Endodontic Treated Teeth, and Implant Recognition on Dental Panoramic Images. IEEE Sens. J. 2022, 22, 23293–23306. [Google Scholar] [CrossRef]
  10. Hashem, M.; Mohammed, M.L.; Youssef, A.E. Improving the Efficiency of Dental Implantation Process Using Guided Local Search Models and Continuous Time Neural Networks with Robotic Assistance. IEEE Access 2020, 8, 202755–202764. [Google Scholar] [CrossRef]
  11. Sarychikhina, O.; Palacios, D.G.; Argote, L.A.D.; Ortega, A.G. Application of satellite SAR interferometry for the detection and monitoring of landslides along the Tijuana—Ensenada Scenic Highway, Baja California, Mexico. J. South Am. Earth Sci. 2021, 107, 103030. [Google Scholar] [CrossRef]
  12. Jiang, B.; Zhang, S.; Shi, M.; Liu, H.-L.; Shi, H. Alternate Level Set Evolutions with Controlled Switch for Tooth Segmentation. IEEE Access 2022, 10, 76563–76572. [Google Scholar] [CrossRef]
  13. Chen, T.-Y.; Wu, H.-I.; Li, Z.-H.; Fu, J.-A.; Chen, C.-A.; Li, K.-C.; Liong, S.-T.; Chi, T.-K.; Chen, S.-L. Innovative Approach to Supernumerary Teeth Identification: CNN-Based Intelligent Medical Auxiliary System for Occlusal Radiographs. In Proceedings of the 2024 IEEE 11th International Conference on Cyber Security and Cloud Computing (CSCloud), Shanghai, China, 28–30 June 2024; pp. 13–18. [Google Scholar] [CrossRef]
  14. Chen, X.; Liu, C.; Wang, S.; Deng, X. LSI-YOLOv8: An Improved Rapid and High Accuracy Landslide Identification Model Based on YOLOv8 from Remote Sensing Images. IEEE Access 2024, 12, 97739–97751. [Google Scholar] [CrossRef]
  15. Guo, J.B.; Wang, S.H.; Chen, X.H.; Wang, C.; Zhang, W. QL-YOLOv8s: Precisely Optimized Lightweight YOLOv8 Pavement Disease Detection Model. IEEE Access 2024, 12, 128392–128403. [Google Scholar] [CrossRef]
  16. Wang, Y.; Shao, Z.; Lu, T.; Wang, J.; Cheng, G.; Zuo, X.; Dang, C. Remote Sensing Pan-Sharpening via Cross-Spectral–Spatial Fusion Network. IEEE Geosci. Remote Sens. Lett. 2023, 21, 5000105. [Google Scholar] [CrossRef]
  17. Yuan, S.; Fioranelli, F.; Yarovoy, A.G. 3DRUDAT: 3D Robust Unambiguous Doppler Beam Sharpening Using Adaptive Threshold for Forward-Looking Region. IEEE Trans. Radar Syst. 2024, 2, 138–153. [Google Scholar] [CrossRef]
  18. Sun, C.; Zhou, X.; Wen, X. Removal of P- and S-Wave Decoupling Separation Artifacts in Forward Simulation Based on Adaptive Median Filtering. IEEE Geosci. Remote Sens. Lett. 2024, 21, 7506905. [Google Scholar] [CrossRef]
  19. Lee, G.Y.; Ra, G.L.; Kim, G.S.; Moon, H.H.; Jeong, J.S. Probability Mass Function-Based Adaptive Median Filtering for Acoustic Radiation Force Impulse Imaging: A Feasibility Study. IEEE Access 2023, 11, 142077–142086. [Google Scholar] [CrossRef]
  20. Long, Y.; Xia, G.-S.; Li, S.; Yang, W.; Yang, M.Y.; Zhu, X.X.; Zhang, L.; Li, D. On Creating Benchmark Dataset for Aerial Image Interpretation: Reviews, Guidances, and Million-AID. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2021, 14, 4205–4230. [Google Scholar] [CrossRef]
  21. Gai, R.; Liu, Y.; Xu, G. TL-YOLOv8: A Blueberry Fruit Detection Algorithm Based on Improved YOLOv8 and Transfer Learning. IEEE Access 2024, 12, 86378–86390. [Google Scholar] [CrossRef]
  22. Chen, Z.; Feng, J.; Zhu, K.; Yang, Z.; Wang, Y.; Ren, M. YOLOv8-ACCW: Lightweight Grape Leaf Disease Detection Method Based on Improved YOLOv8. IEEE Access 2024, 12, 123595–123608. [Google Scholar] [CrossRef]
  23. Wang, Y.; Pan, F.; Li, Z.; Xin, X.; Li, W. CoT-YOLOv8: Improved YOLOv8 for Aerial images Small Target Detection. In Proceedings of the 2023 China Automation Congress (CAC), Chongqing, China, 17–19 November 2023; pp. 4943–4948. [Google Scholar] [CrossRef]
  24. Chen, S.-L.; Chen, T.-Y.; Huang, Y.-C.; Chen, C.-A.; Chou, H.-S.; Huang, Y.-Y.; Lin, W.-C.; Li, T.-C.; Yuan, J.-J.; Abu, P.A.R.; et al. Missing Teeth and Restoration Detection Using Dental Panoramic Radiography Based on Transfer Learning with CNNs. IEEE Access 2022, 10, 118654–118664. [Google Scholar] [CrossRef]
  25. Milošević, D.; Vodanović, M.; Galić, I.; SubašIć, M. A Comprehensive Exploration of Neural Networks for Forensic Analysis of Adult Single Tooth X-Ray Images. IEEE Access 2022, 10, 70980–71002. [Google Scholar] [CrossRef]
  26. Fariza, A.; Asmara, R.; Rojaby, M.O.F.; Astuti, E.R.; Putra, R.H. Automatic Tooth Enumeration on Panoramic Radiographs Using Deep Learning. In Proceedings of the 2023 IEEE 9th International Conference on Computing, Engineering and Design (ICCED), Kuala Lumpur, Malaysia, 7–8 November 2023; pp. 1–6. [Google Scholar] [CrossRef]
Figure 1. The workflow diagram for the localization and numbering of permanent and deciduous teeth using various types of X-rays with yellow cell indicating the image preprocessing step, and purple cell indicating the AI training step.
Figure 1. The workflow diagram for the localization and numbering of permanent and deciduous teeth using various types of X-rays with yellow cell indicating the image preprocessing step, and purple cell indicating the AI training step.
Diagnostics 15 01693 g001
Figure 2. The flowchart of image normalization.
Figure 2. The flowchart of image normalization.
Diagnostics 15 01693 g002
Figure 3. The schematic diagram of the principle of median filtering with red text indicating the center pixel and blue text indicating the sorted median.
Figure 3. The schematic diagram of the principle of median filtering with red text indicating the center pixel and blue text indicating the sorted median.
Diagnostics 15 01693 g003
Figure 4. The results of image enhancement: (a) original image, (b) sharpening, (c) sharpening and median filtering.
Figure 4. The results of image enhancement: (a) original image, (b) sharpening, (c) sharpening and median filtering.
Diagnostics 15 01693 g004
Figure 5. The partitioning of training data for the model.
Figure 5. The partitioning of training data for the model.
Diagnostics 15 01693 g005
Figure 6. YOLOv8 model architecture diagram [23].
Figure 6. YOLOv8 model architecture diagram [23].
Diagnostics 15 01693 g006
Figure 7. The method for tooth localization in PANO image in this study.
Figure 7. The method for tooth localization in PANO image in this study.
Diagnostics 15 01693 g007
Figure 8. The results of tooth numbering images for various image types in this study. (a) The PANO image. (b) The PA image. (c) The BW image.
Figure 8. The results of tooth numbering images for various image types in this study. (a) The PANO image. (b) The PA image. (c) The BW image.
Diagnostics 15 01693 g008
Figure 9. The results of image normalization using three methods: (a) resize of the original image, (b) resize after cropping, (c) resize after cropping with added padding.
Figure 9. The results of image normalization using three methods: (a) resize of the original image, (b) resize after cropping, (c) resize after cropping with added padding.
Diagnostics 15 01693 g009
Figure 10. The example of PANO image analysis: (a) original image, (b) detection results with the red block indicates the tooth localization, and the number represents the tooth number.
Figure 10. The example of PANO image analysis: (a) original image, (b) detection results with the red block indicates the tooth localization, and the number represents the tooth number.
Diagnostics 15 01693 g010
Figure 11. The results of the localization of various dental X-ray images in this study.
Figure 11. The results of the localization of various dental X-ray images in this study.
Diagnostics 15 01693 g011
Table 1. Hardware and software equipment applications.
Table 1. Hardware and software equipment applications.
Hardware PlatformVersion
CPUAMD Ryzen 7 5700X 8-Core Processor
GPUNVIDLA GeForce RTX3060 Ti
RAM32G
Software PlatformVersion
OSWindow 11 Pro
Python3.11.4
Table 2. YOLOv8 hyperparameter configuration.
Table 2. YOLOv8 hyperparameter configuration.
HyperparametersValue
OptimizerAdam
Image Size640
Initial Learning Rate0.005
Epoch500
Min Batch Size16
Table 3. An example of the confusion matrix.
Table 3. An example of the confusion matrix.
TruePositiveNegative
Predicted
Positive T P F P
Negative F N T N
Table 4. The comparison for the normalization of various dental X-ray images.
Table 4. The comparison for the normalization of various dental X-ray images.
Method in [26]This Work
TeethPermanentDeciduousPermanentDeciduous
PANOPrecision ↑95.90%89.69%97.01%93.13%
Recall ↑98.65%94.27%99.22%96.50%
PAPrecision ↑ 79.44% 83.80%
Recall ↑95.00%95.37%
BWPrecision ↑95.21% 96.83%
Recall ↑99.24%99.56%
The upward arrow indicates that higher values are preferred.
Table 5. The results of enhancement methods for CNN identification.
Table 5. The results of enhancement methods for CNN identification.
Cutting Black Borders + PaddingSharpening + Median Filtering
Precision ↑95.0798.16
Recall ↑97.8698.44
mAP50 ↑98.2298.48
mAP50~95 ↑70.1872.94
F1-score ↑96.4498.30
ImageDiagnostics 15 01693 i001Diagnostics 15 01693 i002
The upward arrow indicates that higher values are preferred.
Table 6. The comparison of multiple models.
Table 6. The comparison of multiple models.
YOLOv5YOLOv11Faster R-CNNYOLOv8
TeethPermanentDeciduousPermanentDeciduousPermanentDeciduousPermanentDeciduous
PANOPrecision ↑96.2%88.7%98.3%95.7%70.8%49.6%97.0%93.1%
Recall ↑98.6%93.5%99.4%97.8%65.3%28.1%99.2%96.5%
PAPrecision ↑ 96.5% 99.5% 83.8%
Recall ↑92.6%95.6%95.4%
BWPrecision ↑95.7% 99.0% 96.8%
Recall ↑98.5%99.8%99.6%
Training Time (Min)10471579
Model Size (MB)7.5501706
The upward arrow indicates that higher values are preferred.
Table 7. The comparison of results for this work and manual labeling.
Table 7. The comparison of results for this work and manual labeling.
11121314151617182122232425262728
PermanentManual
labeling
1111111011111110
This work1111111011111110
31323334353637384142434445464748
Manual
labeling
1111111011111110
This work1111111011111110
Deciduous 5152535455 6162636465
Manual
labeling
00101 00101
This work00101 00101
7172737475 8182838485
Manual
labeling
00011 00001
This work00011 00001
Table 8. The comparison between different proposed methods.
Table 8. The comparison between different proposed methods.
11121314151617
Method in [24]99.198.297.396.495.594.692.9
This Work10098.998.998.996.798.997.8
21222324252627
Method in [24]97.396.493.891.187.585.796.6
This Work10098.998.910098.997.896.7
31323334353637
Method in [24]98.296.498.295.594.692.992.0
This Work10097.810094.497.8100100
41424344454647
Method in [24]99.197.392.991.187.586.684.8
This Work10095.697.896.798.9100100
Table 9. The identified results for this study.
Table 9. The identified results for this study.
FDI Tooth NumberAccuracy ↑
11, 21, 24, 31, 33, 36, 37, 41, 46, 47100%
12, 13, 14, 16, 22, 23, 25, 45, 8198.9%
17, 26, 32, 35, 43, 61, 7197.8%
15, 27, 44, 5196.7%
4295.6%
34, 55, 64, 7494.4%
54, 73, 8293.3%
52, 62, 6392.2%
65, 72, 83, 85 91.1%
5390.0%
7588.9%
8487.7%
The upward arrow indicates that higher values are preferred.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Huang, Y.-Y.; Chen, C.-A.; Mao, Y.-C.; Li, C.-H.; Li, B.-W.; Chen, T.-Y.; Tu, W.-C.; Abu, P.A.R. An Integrated System for Detecting and Numbering Permanent and Deciduous Teeth Across Multiple Types of Dental X-Ray Images Based on YOLOv8. Diagnostics 2025, 15, 1693. https://doi.org/10.3390/diagnostics15131693

AMA Style

Huang Y-Y, Chen C-A, Mao Y-C, Li C-H, Li B-W, Chen T-Y, Tu W-C, Abu PAR. An Integrated System for Detecting and Numbering Permanent and Deciduous Teeth Across Multiple Types of Dental X-Ray Images Based on YOLOv8. Diagnostics. 2025; 15(13):1693. https://doi.org/10.3390/diagnostics15131693

Chicago/Turabian Style

Huang, Ya-Yun, Chiung-An Chen, Yi-Cheng Mao, Chih-Han Li, Bo-Wei Li, Tsung-Yi Chen, Wei-Chen Tu, and Patricia Angela R. Abu. 2025. "An Integrated System for Detecting and Numbering Permanent and Deciduous Teeth Across Multiple Types of Dental X-Ray Images Based on YOLOv8" Diagnostics 15, no. 13: 1693. https://doi.org/10.3390/diagnostics15131693

APA Style

Huang, Y.-Y., Chen, C.-A., Mao, Y.-C., Li, C.-H., Li, B.-W., Chen, T.-Y., Tu, W.-C., & Abu, P. A. R. (2025). An Integrated System for Detecting and Numbering Permanent and Deciduous Teeth Across Multiple Types of Dental X-Ray Images Based on YOLOv8. Diagnostics, 15(13), 1693. https://doi.org/10.3390/diagnostics15131693

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop