Automatic restoration and reconstruction of defective tooth based on deep learning technology
Automatska restauracija i rekonstrukcija oštećenog zuba zasnovana na tehnologiji dubokog učenja
Wu J, Huang Y, He J, Chen K, Wang W, Li X.
2025 · BMC oral health · CC BY-NC-ND
Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.
Abstract Background Accurate restoration and reconstruction of tooth morphology are crucial in restorative dentistry, implantology, and forensic odontology. Traditional methods, like manual wax modeling and template-based computer-aided design (CAD), struggle with accuracy, personalization, and efficiency. To address the challenge, we propose an innovative and efficient deep learning-based framework designed for the automatic restoration and reconstruction of tooth morphology. Methods The proposed method contains three stages. Firstly, an RGB image of a defective tooth is inputted into the restoration network, which fills in the missing regions to produce a complete RGB image of the tooth. The resulting image is then converted to a grayscale image in the preprocessing stage to ensure compatibility with the subsequent reconstruction process. Finally, the 3D reconstruction network utilizes the grayscale image to generate a detailed 3D mesh model of the tooth. Results The experimental results demonstrate that the proposed method achieves superior performance in restoration quality, reconstruction accuracy, generalization, and inference speed, with an average time of 12 s per image. Notably, compared to the original Pixel2Mesh, the improved ResNet50-based Pixel2Mesh enhances the average F-Score, CD, and EMD for reconstructed tooth models by 26.5%, 34.7%, and 22.3%, respectively. Conclusions The approach proposed in this paper offers a promising solution for personalized intelligent, and efficient tooth restoration and reconstruction, providing a valuable tool for dental diagnostics and treatment planning. Keywords: Artificial intelligence, Deep learning, Tooth root, Dental restoration
Introduction Precise reconstruction of tooth morphology is a critical aspect of restorative dentistry, significantly enhancing treatment accuracy and efficacy through 3D digitization and visualization technologies [ 1 ]. In dental implants, 3D reconstruction of tooth root morphology provides essential data for the design and precise placement of implants [ 2 ]. Additionally, recent studies highlight the importance of tooth restoration and reconstruction in gender determination and identity verification in large-scale disasters, accidents, and criminal investigations [ 3 ]. Therefore, the restoration and reconstruction of tooth morphology are pivotal in restorative dentistry, dental implantology, and forensic odontology. Traditional dental restoration and reconstruction processes rely on manual techniques, where dental technicians create wax models and perform precise casting. These methods often lead to inefficiencies, limited accuracy, and suboptimal aesthetics [ 4 ]. Over the past decade, the integration of CAD and computer-aided manufacturing (CAM) technologies has revolutionized these traditional practices. Dental CAD systems typically comprise data acquisition, modeling, and milling modules. During the modeling phase, predefined libraries of ideal tooth models are used, enabling technicians to place standard models at the restoration site and adjust them based on the actual anatomical structure [ 5 ]. Compared to manual methods, CAD technology significantly reduces the labor intensity for technicians and improves the quality of restorations. However, its dependence on standard tooth templates limits the ability to capture the full diversity of tooth shapes and appearances, resulting in less personalized restorations [ 6 ]. Additionally, operating dental CAD systems requires specialized skills, adding complexity and increasing demands on technicians'expertise. As public awareness of oral health continues to grow, the need to make the restoration process more intelligent and to fundamentally improve CAD-based methods for personalized restorations has become a critical issue in the dental field [ 7 ]. In recent years, the development of artificial intelligence (AI) technologies, particularly deep learning (DL), has introduced new solutions to dentistry. Compared to CAD-based restoration methods, DL techniques not only enhance diagnostic and treatment intelligence but also enable breakthroughs in personalized care [ 7 ]. DL excels in processing and analyzing large datasets, making dental restorations more precise and efficient. While many studies have explored AI applications in dentistry, especially for diagnosing and detecting dental conditions such as caries, periodontal disease, and tooth fractures, research specifically focused on AI-driven tooth restoration and reconstruction remains limited [ 1 ]. Therefore, further exploration of deep learning's potential in these areas is crucial for advancing smarter and more personalized approaches to dental restoration and reconstruction. In view of this, we propose a novel and effective deep learning-based framework for tooth morphology restoration, aimed at utilizing prior knowledge of human tooth shapes to reconstruct corresponding 3D models from 2D RGB images of defective teeth, thereby achieving intelligent and personalized dental restoration and reconstruction. This framework consists of three stages: First, the RGB images of defective teeth are repaired by a tooth image restoration network to produce complete tooth RGB images. Second, these complete RGB images are converted into corresponding grayscale images by a tooth image preprocessing network. Finally, the corresponding 3D models are generated directly from the grayscale images of complete teeth by a tooth 3D reconstruction network. The proposed method offers several advantages: 1) it enhances the intelligence and personalization of the tooth restoration and reconstruction process; 2) it is applicable to various types of teeth (incisors, canines, and molars) defect; 3) it simplifies the procedures for tooth restoration and reconstruction, improving overall efficiency. Specifically, the main contributions of this method are as follows: A comprehensive 3D tooth dataset has been established, containing 3D models of various human tooth types along with their corresponding multi-view 2D images, which can be utilized for research on deep learning-based tooth restoration and reconstruction task. A three-stage framework for tooth morphology restoration and reconstruction has been proposed, incorporating three sub-networks: the tooth image restoration network, the tooth image preprocessing network, and the tooth 3D reconstruction network, facilitating the reconstruction of complete tooth 3D model from 2D RGB images of defective tooth. Extensive qualitative and quantitative experimental results demonstrate that our method achieves high accuracy, fast inference speed, and generalization in tooth restoration and reconstruction task. Related works Tooth restoration and reconstruction Recently, the rapid development of DL technology in the dental field has introduced new avenues for enhancing the efficiency and reliability of diagnostics and treatments [ 8 ]. For example, a novel DL method was proposed by Li et al. [ 9 ], utilizing a semantic graph attention mechanism to automatically segment teeth in patient CBCT images, thereby laying a solid foundation for subsequent diagnostic analysis. Notably, adversarial learning has enabled generator networks to learn feature representations from complex data distributions, achieving unprecedented success in dental-related tasks. A deep adversarial network-driven technique [ 4 ] was introduced for the automatic acquisition of personalized gingival contours in partially edentulous patients. Recent studies have also revealed significant performance of Generative Adversarial Networks (GANs) in the morphological reconstruction of posterior teeth. An artificial intelligence dental crown design algorithm called the 3D Deep Convolutional GAN (3D-DCGAN) was developed by Ding et al. [ 10 ], which reconstructs missing premolars by learning morphological features from point cloud data of adjacent teeth, thus innovating and automating current digital dental prosthetic workflows. Tian et al. [ 11 ] proposed a two-stage Dental Crown Prosthesis Restoration GAN (DCPR-GAN) for the automatic reconstruction of crown surfaces in defective molars. However, this method relies on high-quality dental depth images and largely depends on learning cusp morphology, which limits its applicability to other tooth categories. A novel approach for automatically reconstructing maxillary anterior crown point clouds was introduced using a Pose Estimation Network (PEN) and a Shape Estimation Network (SEN) [ 12 ]. However, the use of point cloud shape representations may not retain topological information, introducing potential challenges during reconstruction. A learning-based tooth completion method [ 13 ] utilizes voxel-based shape representation. However, as voxel resolution increases, time and memory consumption rise, making it less than optimal for tooth completion. An implicit template field and neural network for the right maxillary central incisor was provided based on Signed Distance Field (SDF) shape representation and template concepts [ 14 ]. This method requires generating an implicit tooth template from existing dental datasets before deformation, resulting in a lower degree of personalization for restorations. Image inpainting Image inpainting refers to the process of providing visually plausible structures and textures for the missing areas of damaged images, with numerous practical applications such as photo editing, removal of distracting objects, and restoration of voids [ 15 ]. Over the past decade, the success of DL has created new opportunities for various visual tasks, leading to the development of numerous DL-based image inpainting methods. Techniques based on deep Convolutional Neural Networks (CNNs) [ 16 – 18 ] typically utilize encoder-decoder networks for inpainting. Specifically, by employing input images with defective areas, the encoder captures hierarchical deep image representations, which are then decoded to produce output results. Recently, some methods [ 15 , 19 – 21 ] have involved GAN to learn the semantics of images, achieving impressive performance. Notably, Guo et al. [ 15 ] divided image inpainting into two collaborative subtasks: texture synthesis with structural constraints and structure reconstruction guided by textures, resulting in visually compelling outcomes. A large mask image inpainting system with a high receptive field network architecture and loss function was proposed by Suvorov et al. [ 21 ], demonstrating robust and competitive inpainting effects. These advancements indicate that the powerful feature learning capabilities of DL can effectively extract meaningful semantics from damaged images and restore plausible content with high visual fidelity. However, current image inpainting algorithms are primarily applied to high-resolution images, such as faces, urban streetscapes, and buildings. The generalization capability of these algorithms for tooth inpainting tasks remains unclear. Thus, experimental validation is urgently needed to assess the effectiveness and rationality of image inpainting techniques in the field of tooth restoration. Image style transfer Image-to-image (I2I) translation models are designed to find mappings between two image domains, enabling the transformation between two styles of images. This encompasses a wide range of computer vision tasks, including style transfer, super-resolution, and pose estimation [ 22 ]. In recent years, GAN-based methods have dominated this field due to their ability to generate high-quality samples, achieving significant success across various I2I translation tasks. An early successful I2I model, CycleGAN [ 23 ], is employed with cycle consistency constraints, requiring back-and-forth transformations between the two domains to generate the original image. Subsequently, self-supervised contrastive learning was introduced by Zheng et al. [ 24 ], along with a novel spatially-correlative loss method that supports substantial appearance changes during the I2I conversion process, making it suitable for tasks requiring structural consistency. Performance enhancements were achieved by Torbunov et al. [ 25 ] through the incorporation of Vision Transformers (ViTs) into the CycleGAN framework. In contrast, ACLGAN [ 26 ] attempted to relax the cycle consistency constraint, replacing it with a weaker adversarial constraint. This relaxation allows for more significant alterations to the source image, potentially resulting in improved translation quality. A further step was taken by CouncilGAN [ 27 ], which completely discarded cycle consistency, instead training a set of generators that perform translations in one direction, allowing for greater image diversity. These methods have primarily been validated on datasets involving faces, animations, and animals. This paper will explore the innovative applications of these methods in tooth restoration tasks and will compare the robustness of the different approaches. Single-view 3D reconstruction The objective of image-based 3D reconstruction is to reconstruct the 3D structure and geometric shape of a target object or scene from a set of input images. This task has been widely applied across various fields, including robotics, virtual reality, and medical imaging [ 28 ]. In recent years, considerable attention has been garnered by DL-based methods for single-view 3D reconstruction among researchers worldwide. These novel approaches allow for the implicit estimation of the 3D shape of an object or scene in an end-to-end manner based on a single image, thereby eliminating the necessity for multiple stages such as keypoints detection and matching. 3D representations of objects can be categorized as voxels, point clouds, and meshes. Compared to voxel and point cloud representations, mesh representations of 3D shapes not only provide a more realistic depiction of surface structures but also significantly reduce memory consumption and improve reconstruction efficiency. Additionally, mesh-based representations offer connections between adjacent points, making them more suitable for describing local regions on surfaces [ 29 ]. For instance, a neural 3D mesh renderer (N3MR) was introduced by Kato et al. [ 30 ], which begins with a spherical mesh of 642 points. The positions of each point are iteratively adjusted to deform the final mesh into the shape of the target object. Wang et al. [ 31 ] developed Pixel2Mesh, utilizing VGG16 to extract features from a single 2D image of an object and employing graph convolutional networks (GCNs) to infer the corresponding 3D mesh in a coarse-to-fine manner. Subsequently, an innovative topology modification network [ 32 ] was introduced to trim faces that significantly deviate from the true shape and to impose smoothness constraints on boundary curves, thereby enhancing boundary conditions and improving reconstruction quality. However, these methods have primarily been applied to reconstruct objects with simple topologies, such as tables and chairs. It remains unclear whether they can be effectively applied to teeth, which possess complex surfaces and topologies. This paper explores the application of single-view reconstruction based on deep learning techniques in tooth reconstruction and the impressive results achieved. Methods Despite recent progress in deep learning-based approaches for dental restoration and reconstruction, several critical challenges remain unresolved, limiting their broader clinical applicability and robustness. First, limited generalization ability persists as a major obstacle. Most existing methods are trained on datasets comprising specific tooth types (molars), which results in poor adaptability to previously unseen or diverse dental geometries, such as incisors or multi-rooted teeth. Second, current models often lack individualization capabilities. Human teeth exhibit significant anatomical variability across individuals, while mainstream deep learning frameworks typically rely on generic models that do not account for personalized tooth morphology or restoration needs. Third, computational efficiency poses another significant barrier. Although existing methods yield promising restoration results, their inference time is often long due to network complexity, limiting their real-time applicability in clinical scenarios. In light of these challenges, an innovative and efficient DL-based framework for tooth morphology restoration is proposed, aimed at utilizing prior knowledge of human tooth shapes to reconstruct complete 3D models from 2D RGB images of defective teeth, thus achieving intelligent, efficient and personalized tooth restoration and reconstruction. The proposed method, illustrated in Fig. 1 , consists of three stages: (1) image restoration of defective teeth, (2) preprocessing of complete tooth images, and (3) 3D reconstruction based on 2D images. Specifically, an RGB image of a defective tooth is inputted, and the tooth image restoration network is responsible for filling in the missing portions to generate a complete RGB image of the tooth. Subsequently, the tooth image preprocessing network converts this RGB image into a grayscale image to ensure compatibility with the input of the subsequent network stage. Finally, the tooth 3D reconstruction network directly generates the corresponding 3D tooth mesh model based on the complete grayscale image. To validate the effectiveness of each sub-network, we design a comprehensive series of experiments that assess the method's performance, including evaluations based on defect levels, tooth root types, inference speed, and generalization capabilities. Fig. 1 Overview of the proposed method framework Tooth image restoration network The tooth image restoration network employs advanced DL-driven image inpainting techniques. To effectively address the complexity and diversity inherent in tooth restoration, a comprehensive comparison and evaluation of several advanced models are conducted including Globally and Locally Consistent Image Completion (GLCIC) [ 19 ], Conditional Texture and Structure Dual Generation (CTSDG) [ 15 ], and Large Mask (LaMa) [ 21 ]. Following rigorous experimentation and performance comparisons (as detailed in Sect. Experimental design of tooth image restoration network ), CTSDG is ultimately selected as the core framework for the tooth image inpainting network due to its superior qualitative and quantitative results in tooth restoration tasks. As shown in Fig. 2 , the core principle of CTSDG involves a novel dual-stream network architecture that divides the image inpainting task into two collaborative sub-tasks: structure-constrained texture synthesis and texture-guided structure reconstruction. This approach allows the network's two parallel complementary branches to model and work together to mutually enhance each other. To ensure high-quality restorations, CTSDG incorporates a dual-branch discriminator that supervises both generated pixel and edge effects, achieving global optimization while generating realistic textures and maintaining the clarity of image structures. Furthermore, CTSDG introduces two key modules: (1) the Bi-directional Gated Feature Fusion module (Bi-GFF), which fuses the reconstructed structure and texture feature maps to enhance their consistency, ensuring coordination between structure and texture in the generated images; (2) the Contextual Feature Aggregation module (CFA), which refines local image details by integrating cues from distant spatial locations, further improving the visual quality of the restoration results. Fig. 2 Overall structure of CTSDG Tooth image preprocessing network After the previous stage, the restored complete tooth RGB image is obtained. The next step involves converting this RGB image into a grayscale image using the tooth image preprocessing network, ensuring compatibility with the input for the subsequent 3D reconstruction network. This is necessary because the input images for the 3D reconstruction network are synthetic images created with reference to the large standard 3D dataset. The role of the preprocessing network is to facilitate a seamless transition between real RGB images and these synthetic images, ensuring that only the hue of the images is altered without changing their shapes, thereby providing high-quality data input for the following 3D reconstruction network. In our approach, the tooth image preprocessing network employs DL-driven image style transfer techniques to enable conversion between two styles of images. To optimize the preprocessing results, various advanced models are evaluated and compared, including CycleGAN [ 23 ], Adversarial Consistency Loss GAN (ACLGAN) [ 26 ], and UNet Vision Transformer Cycle-consistent GAN (UVCGAN) [ 25 ]. Qualitative and quantitative results indicate (see Sect. Experimental design of tooth image preprocessing network ) that combining Learned Self-Similarity (LSeSim) loss [ 24 ] with CycleGAN as the core component of the tooth image preprocessing network is a superior choice. Figure 3 shows the network architecture begins by inputting the defective tooth image into a ResNet-based generator, which produces a complete tooth image. The generated image is then fed into a PatchGAN [ 33 ] discriminator to determine whether it is real or fake. Additionally, the generated image is compared to the ground truth using the LSeSim loss. Specifically, as shown in Eq. ( 1 ), LSeSim loss captures cross-domain spatial structure representations, avoiding direct comparisons of pixel values or features. By learning a domain-invariant spatial correlation mapping, it allows images with the same scene structure to generate similar spatial mappings, even when sourced from different domains. Additionally, this loss replaces the cycle consistency loss of CycleGAN, effectively reducing the computational overhead associated with multiple cycles and significantly enhancing the efficiency of model training. 1 L LSeSim = - l o g exp ( s i m v , v + / τ ) exp ( s i m v , v + / τ ) + ∑ k = 1 K exp ( s i m v , v k - / τ ) where s i m v , v + = v T v + / ‖ v ‖ ‖ v + ‖ is the cosine similarity between two spatially-correlative maps, τ is a temperature parameter which is used to scale the similarity scores before they are exponentiated, and K is the number of negative patches used. Fig. 3 Overall structure of LSeSim loss-based CycleGAN Tooth 3D reconstruction network Following the previous stage, a complete grayscale image of the tooth was obtained. In the final phase, the tooth 3D reconstruction network directly reconstructs the corresponding 3D model based on this grayscale image. Given the outstanding performance of DL-based single-view 3D reconstruction algorithms on publicly available 3D datasets, the advanced Pixel2Mesh model [ 31 ] was innovatively employed to achieve 3D reconstruction from a single tooth image. Pixel2Mesh employs a mesh-based representation, where surface topology is defined explicitly through vertices and their connectivity. This representation enables the modeling of fine surface geometry and curvature with greater precision, which is particularly advantageous for dental structures that feature complex and smooth surfaces. As depicted in Fig. 4 , the model consists of an image feature network and a cascaded mesh deformation network, which collectively deform an initial elliptical mesh over three stages to reconstruct the corresponding 3D tooth mesh model. Specifically, the reconstruction process begins by encoding high-level perceptual and geometric features from the input grayscale image using a convolutional neural network (ResNet50, in our improved version). These features are extracted in the form of dense 2D feature maps, capturing spatial context and semantic information relevant to 3D shape prediction. To bridge the 2D-3D domain gap, a coarse initial mesh—an ellipsoid with 156 vertices—is projected onto the 2D feature maps using intrinsic camera parameters. Through bilinear interpolation, each 3D vertex is assigned a feature vector sampled from the corresponding 2D feature location. This projection serves as a critical step in associating learned 2D image features with 3D mesh geometry. The vertex-associated features are then processed by a Graph Convolutional Network (GCN) module. The GCN leverages the mesh's inherent graph structure to aggregate local neighborhood features, enabling the network to learn vertex-level spatial relationships. This facilitates the inference of updated vertex positions in 3D space, effectively increasing dimensionality from 2D representations to a coarse 3D shape. Importantly, the GCN learns to preserve both global structure and local geometric detail, allowing it to infer latent 3D morphology based on learned feature distributions. In the subsequent two stages, the initially deformed elliptical mesh is refined by increasing the number of vertices through a graph unpooling layer and further refining via the deformation module, making the final mesh shape more closely resemble the true shape of the tooth. The loss function incorporates Chamfer loss and normal loss, where the normal loss ensures that the normal of the target surface are perpendicular to the predicted edges. Additionally, to address convergence issues, Laplacian and edge length regularization terms are introduced to prevent the network from converging to local minima. In this study, a detailed investigation of the Pixel2Mesh backbone network is conducted, and ResNet50 is employed to replace the original VGG16 model resulting in more accurate reconstruction outcomes. Fig. 4 The network architecture of ResNet50-based Pixel2Mesh Results This study was reviewed by the Scientific Ethics Committee of Guangzhou University and has been confirmed to fully comply with the Declaration of Helsinki and the relevant regulations of the People’s Republic of China on biomedical human research. The approval number is GUSE [2024]095. To demonstrate the effectiveness of our method, we conduct an extensive series of experiments that evaluate its performance across several dimensions, including defect levels, types of tooth roots, inference speed, and generalization abilities, which can be seen in following sections. Datasets and training setting The proposed framework for tooth restoration and reconstruction integrates three distinct network models from various domains. To ensure optimal training performance for each network, three independent datasets were constructed, corresponding to the tooth image restoration network, the tooth image preprocessing network, and the tooth 3D reconstruction network. These datasets are designated as Dataset1, Dataset2, and Dataset3. The construction process and methods for these datasets are described in detail below. Dataset1 A total of 166 freshly extracted human teeth, including canines and molars, were collected from the Guangdong University of Technology Affiliated Dental Hospital and the Sun Yat-sen University Affiliated Dental Hospital. Each tooth was thoroughly cleaned and dried before being photographed using an optical microscope equipped with an industrial camera (HIKVISION, China), resulting in 2D images with a resolution of 300 × 300. During evaluation and validation, higher-resolution images were also employed to assess the robustness and generalization ability of the proposed framework under more realistic conditions. Images were captured from frontal, dorsal, and lateral perspectives, yielding 5,296 complete 2D images of teeth. Subsequently, corresponding defective tooth images were generated based on LaMa [ 21 ]. To systematically assess the effectiveness of the proposed method, these images were categorized into slight, moderate, and severe defect classes, based on the proportion of the damaged area relative to the total tooth area (see Table 1 ). Table 1 The definition and classification of levels of tooth defect Defect Levels Defect Ratio Slight Defect 0–10% 10–20% Moderate Defect 20–30% 30–40% Severe Defect 40–50% 50–60% Dataset2 This dataset is primarily used for training the tooth image preprocessing network, facilitating the conversion between two image styles. It comprises two types of 2D images from different domains: real RGB images of teeth and synthetic grayscale images, both sourced from Dataset1 and Dataset3. The total number of images is 10,446. Dataset3 Following the methodology employed in the standard public 3D dataset ShapeNet [ 34 ], this tooth 3D dataset was constructed. First, a high-precision 3D laser scanners (SIMSCAN, China) was utilized to capture the accurate 3D shape and structural information of the collected teeth, saving the data in.obj file format. These 3D tooth models were then imported into the open-source rendering software Blender to generate high-quality 2D images while recording the camera's pose information (including elevation, azimuth, and height). This pose information serves as critical input data for network training, linking the 2D images to the 3D models. Ultimately, 5,150 synthetic tooth images and corresponding 3D point cloud files were generated. Specific details and image examples of the three datasets are outlined in Table 2 . To expand the dataset size and enhance the model's robustness, data augmentation techniques such as horizontal and vertical flipping, as well as random brightness adjustments, were applied. Furthermore, the datasets were divided into training, validation, and test sets in an 8:1:1 ratio. Table 2 The related information and image examples of the three datasets Notably, to minimize domain shift during dataset creation, all tooth images were captured using the same industrial camera and optical microscope under a fixed configuration. The scanning process for 3D models was also conducted using the same scanner, and all acquisition procedures were operated by the same trained technician. These strict controls ensured consistency in imaging conditions and minimized inter-device variability, thereby improving the reliability of model training and evaluation. Training settings The experiments are conducted using the Python programming language on a high-performance workstation. Due to the involvement of three distinct network models, variations in software configuration, hardware requirements, and training parameter settings are observed. Specific details are provided in Table 3 . For the network training process, several key hyperparameters are obtained through transfer learning [ 35 ], which allowed us to leverage pre-trained models and fine-tune them for our specific task, thereby improving training efficiency and model performance. Table 3 The training setting parameters of the three different network models Training setting parameters Tooth Image Restoration Network Tooth Image Preprocessing Network Tooth 3D Reconstruction Network CPU Intel(R) Xeon(R) Platinum 8255C Intel(R) Xeon(R) Gold 6330 R7 5700x Memory 43 GB 43 GB 32 GB GPU RTX3090 RTX3090 1080Ti Operating system Ubuntu18 Ubuntu20 Ubuntu16 DL Framework Pytorch Pytorch Tensorflow Batch size 4 4 1 Epoch 500 300 35 Initial learning rate 2e-4 1e-4 3e-5 Optimizer Adam Adam Adam Training time 14 h 16 h 21 h Experimental design of tooth image restoration network In this section, we first conducted convergence experiments to determine the optimal training iteration for each model. Figure 5 presents the FID score curves of GLCIC, LaMa, and CTSDG models throughout the training process. The optimal number of iterations was determined using a periodic validation strategy, where model performance was evaluated on the validation set at fixed intervals. Specifically, the model was assessed at each predefined iteration step by monitoring the trend of Fréchet Inception Distance (FID) [ 36 ] scores. According to the minimization criterion of the FID metric (lower values indicate a closer match between the generated and real data distributions), the optimal number of iterations for each model was identified. As shown in the figure, CTSDG achieves the lowest FID score under its optimal iteration configuration, demonstrating the best generative performance among the three. Fig. 5 The FID–Iteration curves of three image inpainting models Subsequently, experiments are conducted to evaluate the performance of the GLCIC, LaMa, and CTSDG models in addressing varying degrees of tooth defect. Both qualitative and quantitative analyses are performed on the results, focusing on slight, moderate, and severe tooth defects. Additionally, the restoration effects are also assessed in defect forms that both the tooth root and crown are defective. Following the evaluation criteria from LaMa and CTSDG, Peak Signal-to-Noise Ratio (PSNR) [ 37 ], Structural Similarity Index Measure (SSIM) [ 37 ], Learned Perceptual Image Patch Similarity (LPIPS) [ 38 ], and FID are selected as assessment metrics to comprehensively evaluate the restoration performance and generalization capability of these models, facilitating the identification of the most suitable model for tooth image restoration tasks. More details about them can be seen in Table 4 . Table 4 The evaluation metrics for tooth image restoration network Evaluation Metrics Definition Formula Explanation PSNR PSNR which is used in image compression measures the quality of reconstruction P S N R = 10 log 10 MAX 2 MSE Where MAX is the maximum possible pixel value of the image; MSE is the mean squared difference between the network predicted image and the ground truth image SSIM SSIM measures the similarity between two images S S I M = [ l ( x , y ) ] α [ c ( x , y ) ] β [ s ( x , y ) ] γ Where l , c , and s represent the brightness, contrast and structure of the two images respectively; x , y are the horizontal and vertical coordinates of the pixel; α , β , γ represent their weights LPIPS LPIPS compares the perceptual similarity of two images based on deep features L P I P S = ∑ l 1 H l × W l ‖ w l ⊙ ( ϕ gt l - ϕ out l ) ‖ 2 2 Where ϕ gt l and ϕ out l are the feature maps of the l th layer of the pretrained network FID FID measures the similarity between the distribution of generated images and real images by comparing their feature representations F I D = ‖ μ r - μ g ‖ 2 + T r ( Σ r + Σ g - 2 ( Σ r Σ g ) 1 / 2 ) Where μ r is the mean of the features of the real image; μ g is the mean of the features of the generated image; Σ r is the covariance matrix of the features of the real image; Σ g is the covariance matrix of the features of the generated image A. Slight defect Figure 6 illustrates the restoration effects of the GLCIC, LaMa, and CTSDG models on slight defect teeth, both for single and multiple tooth roots. The results indicate that all three models effectively restore the damaged regions. However, LaMa and CTSDG demonstrate superior performance overall, with the restored regions closely resembling the ground truth. Quantitative results in Tables 5 and 6 further corroborate this conclusion, showing that LaMa and CTSDG outperform GLCIC across all metrics. Compared to LaMa, CTSDG outperforms across all four metrics, with a particularly notable improvement in FID, where it achieves a 20% better result than LaMa. Fig. 6 Restoration results of different models on slight defect Table 5 PSNR and SSIM comparison of different models under different levels of tooth defect Defect Levels Defect Ratio PSNR SSIM GLCIC LaMa CTSDG GLCIC LaMa CTSDG Slight Defect 0–10% 35.12 37.08 38.65 0.968 0.984 0.987 10–20% 29.86 32.51 33.49 0.954 0.969 0.973 Moderate Defect 20–30% 26.79 29.34 29.50 0.929 0.950 0.953 30–40% 23.37 27.01 27.24 0.906 0.931 0.935 Severe Defect 40–50% 21.86 25.23 25.34 0.886 0.915 0.917 50–60% 19.63 23.72 23.82 0.870 0.901 0.901 Table 6 LPIPS and FID comparison of different models under different levels of tooth defect Defect Levels Defect Ratio LPIPS FID GLCIC LaMa CTSDG GLCIC LaMa CTSDG Slight Defect 0–10% 0.122 0.117 0.115 24.05 20.14 16.29 10–20% 0.141 0.134 0.132 34.16 29.40 25.45 Moderate Defect 20–30% 0.178 0.161 0.162 49.57 41.00 40.86 30–40% 0.213 0.191 0.190 61.64 51.26 54.29 Severe Defect 40–50% 0.236 0.224 0.222 75.49 65.05 66.78 50–60% 0.289 0.264 0.256 88.61 82.85 79.83 B. Moderate defect Figure 7 presents the restoration results for teeth with moderate defect using the GLCIC, LaMa, and CTSDG models. As the defective area increases, the restoration quality of GLCIC becomes increasingly blurred, resulting in unnatural textures. In contrast, LaMa and CTSDG generate natural and realistic restoration results. Quantitative analyses reveal minimal differences in all metrics between LaMa and CTSDG. Notably, in terms of detail restoration, CTSDG exhibits more reasonable structural shapes and clearer textures, attributed to its dual-branch discriminator design, which supervises both pixel and edge effects for global optimization, thereby maintaining image clarity while generating realistic textures. Fig. 7 Restoration results of different models on moderate defect C. Severe defect Figure 8 showcases the performance of the three models under severe tooth defect conditions. GLCIC fails to provide effective restoration, leading to excessive smoothing and structural distortion. Due to the large defective area, the available local information is reduced, resulting in a decline in restoration quality for both LaMa and CTSDG. However, they still produce impressive results. Interestingly, Tables 5 and 6 indicate that CTSDG slightly outperforms LaMa in severe defect scenarios. This can be attributed to the CTSDG's CFA module which refines intricate details by drawing on distant spatial features. This is especially advantageous in severe defect cases where it is crucial to preserve the fine structure features. Fig. 8 Restoration results of different models on severe defect D. Simultaneous defect to tooth root and crown Figure 9 displays the restoration results for cases with simultaneous defect to both the tooth root and crown. GLCIC continues to exhibit blurriness in crown restoration, while both LaMa and CTSDG effectively restore the defect to the root and crown, yielding satisfactory results. However, in terms of detail, both models show superior performance in root restoration, indicating their enhanced capability in addressing root defect. Fig. 9 Restoration results of different models on tooth root and crown defect After analyzing the qualitative and quantitative results from Sect. Experimental design of tooth image restoration network A to D, CTSDG consistently demonstrates superior performance across various levels and types of defects. Its ability to capture fine structural details and generate more realistic textures makes it particularly effective in handling both slight and severe defects. This adaptability, combined with its higher-quality restorations, solidifies CTSDG as the more reliable choice for our application. E. Robustness under varying illumination conditions Based on the preceding qualitative and quantitative experiments, CTSDG demonstrated superior restoration performance under various defect conditions. Therefore, CTSDG was selected as the core component of the tooth image restoration network in this study. However, dental image acquisition is often influenced by varying lighting in clinical environments, which can interfere with the model’s ability to accurately identify and restore defective regions. Therefore, to evaluate the robustness of the CTSDG model under different illumination conditions commonly encountered in clinical environments, we adjusted the brightness levels of input images to create low, standard, and high illumination conditions. The restoration performance of CTSDG was then evaluated on both single-root and multi-root teeth. As illustrated in Figs. 10 and 11 , CTSDG consistently produced high-quality restorations across all lighting scenarios. The restored results maintained coherent morphology, fine texture, and clear edge boundaries, indicating the model’s strong robustness to illumination changes. These results confirm CTSDG’s practical applicability in real-world clinical settings. Fig. 10 The restoration results of single-root teeth under different illumination conditions. Column a and c are the single-root teeth tooth defect images under different light intensities; Column b and d are the corresponding restoration results Fig. 11 The restoration results of multi-root teeth under different illumination conditions. Column a and c are the multi-root teeth tooth defect images under different light intensities; Column b and d are the corresponding restoration results Experimental design of tooth image preprocessing network In this section, we first conducted convergence experiments to determine the optimal training epochs for each model. Figure 12 shows the Kernel Inception Distance (KID) [ 39 ] score curves of four models including ACLGAN, UVCGAN, CycleGAN, and the LSeSim loss-based CycleGAN throughout the training process. Similar to the approach used in Sect. Experimental design of tooth image restoration network , a periodic validation strategy was employed, wherein model performance was evaluated at fixed intervals on the validation set. It can be observed that the LSeSim loss-based CycleGAN achieves the lowest KID score under its optimal training configuration, indicating superior performance in image translation. Fig. 12 The KID–Epoch curves of four image translation models As illustrated in Figs. 13 and 14 , various models including ACLGAN, UVCGAN, CycleGAN, and LSeSim loss-based CycleGAN are compared to assess their qualitative results in converting complete RGB images of single-root and multi-root teeth to grayscale images. It is observed that both ACLGAN and UVCGAN fail to produce satisfactory conversion results for single and multi-root teeth, exhibiting distortions in the shape and structure of the original images. While CycleGAN performs adequately with single-root teeth, its performance declines with multi-root teeth, resulting in an inability to accurately preserve the shape of the source images, leading to distortions and misalignments of the multi-root teeth features. In contrast, the introduction of LSeSim loss into CycleGAN effectively addresses these issues. The conversion results not only exhibit higher quality but also demonstrate greater stylistic consistency with the target images. Specifically, the hue is adjusted based solely on the style of the target images, while maintaining the structural integrity and shape of the source tooth images. This is because the LSeSim loss is designed to maintain the integrity of the structural shape while allowing reasonable appearance adjustments and does not impose penalties for appropriate appearance modifications in the target domain. Fig. 13 Qualitative results of different models on single-root teeth preprocessing Fig. 14 Qualitative results of different models on multi-root teeth preprocessing For quantitative evaluation, two mainstream metrics for I2I translation performance are employed: FID and KID. FID calculates the distribution differences, including mean and covariance, between real and generated images, while KID serves as an advanced metric for assessing GAN convergence and image quality. Lower scores in both metrics indicate that the generated images are closer to the target domain. Additionally, the Inception Score (IS) [ 40 ] is used as a supplementary assessment metric, with higher IS values reflecting better image quality. Their formulas are shown in Table 7 . Table 7 The evaluation metrics for tooth image preprocessing network Evaluation Metrics Definition Formula Explanation KID KID is a metric that measures the similarity between the distributions of real and generated images using the squared maximum mean discrepancy between their features K I D X , Y = 1 m ( m - 1 ) ∑ i ≠ j k x i , x j + 1 n ( n - 1 ) ∑ i ≠ j k y i , y j - 2 mn ∑ i , j k x i , x j Where X represents the features of the generated images; Y represents the features of the real images; k (x, y) is a kernel function, typically a polynomial or RBF kernel IS IS uses the pre-trained Inception network to classify the generated images and measure the diversity and authenticity of the generated images I s = exp ( E x ∼ G [ D KL ( p y | x | | p y ) ] ) where p y | x is the predicted probability that image x belongs to class y according to the Inception network; p y is the marginal class distribution over all generated images According to the results presented in Table 8 , the CycleGAN model combined with LSeSim loss outperforms other methods across all metrics, particularly demonstrating significantly lower FID and KID scores, indicating superior image conversion capabilities. Therefore, we select the LSeSim loss-based CycleGAN model as the image preprocessing network due to its outstanding performance in preserving structural integrity during domain translation. Table 8 Quantitative results of different models in tooth preprocessing tasks Method FID KID IS ACLGAN 194.90 26.32 2.01 UVCGAN 153.65 20.74 2.16 CycleGAN 138.61 15.39 2.50 LSeSim + CycleGAN 115.95 11.02 2.70 Experimental design of tooth 3D reconstruction network Based on the analyses in Sects. Experimental design of tooth image restoration network and Experimental design of tooth image preprocessing network , CTSDG and LSeSim loss-based CycleGAN are selected as the core frameworks for the tooth image restoration and preprocessing networks. In this section, the integration of the three stages of tooth restoration and reconstruction is presented. As shown in Figs. 15 and 16 , the qualitative results illustrate the progression of defective teeth from image restoration and preprocessing to 3D reconstruction, considering various defect levels and forms: slight, moderate, severe, and simultaneous defect to the tooth root and crown. Fig. 15 Qualitative results of different defective levels of teeth from image restoration and preprocessing to 3D reconstruction. Specially, columns 4 to 6 are the 3D reconstruction results of Pixel2Mesh based on different backbone networks Fig. 16 Qualitative results of defective tooth root and crown from image restoration and preprocessing to 3D reconstruction For the tooth 3D reconstruction network, the Pixel2Mesh model is innovatively employed, with modifications made to its backbone network to enhance reconstruction accuracy. Specifically, the reconstruction results of VGG16 (the original backbone), ResNet18, and ResNet50 are compared. Columns 4 to 6 of Figs. 15 and 16 display the reconstruction outcomes for each model. The results indicate that the use of VGG16 and ResNet18 struggles with reconstructing the complex structures of multi-root teeth, resulting in rough models with insufficient detail. In contrast, the Pixel2Mesh model based on ResNet50 successfully reconstructs the teeth models, yielding smoother continuous surfaces, more precise geometries, and enhanced surface details. Additionally, to intuitively compare the 3D reconstruction results with the ground truth, we visualize the surface deviation between the predicted and the actual tooth meshes using point cloud color difference maps. As shown in Figs. 17 and 18 , the point cloud error maps of multi-root and single-root teeth reconstructed using Pixel2Mesh with different backbone network demonstrates that the results reconstructed by the ResNet50-based Pixel2Mesh exhibits the smallest difference when compared to the real point cloud, particularly in regions requiring significant deformation, such as the tooth root. In these areas, the error values fall within the 0–0.5 mm range, highlighting the model's ability to capture complex structural changes with high precision. This improvement is attributed to the deeper architecture of ResNet50, which enables the learning of more complex features, thereby allowing the model to capture subtle details of the tooth surface and significantly improve reconstruction accuracy. Fig. 17 The point-cloud color maps of multi-root teeth reconstructed by Pixel2Mesh based on different backbone networks Fig. 18 The point-cloud color maps of single-root teeth reconstructed by Pixel2Mesh based on different backbone networks To further evaluate the geometric quality of the reconstructed 3D tooth models, particularly the surface smoothness and potential existence of mesh holes, we conducted a qualitative comparison of reconstruction results using three different backbone networks in the Pixel2Mesh framework. As shown in Fig. 19 , we present both posterior and left views of representative 3D reconstructions. From the visualizations, it can be observed that models using VGG16 and ResNet18 as backbones exhibit surface discontinuities, including jagged regions and visible mesh holes. These discontinuities indicate incomplete mesh connections and rough geometry, which may negatively impact downstream clinical applications. In contrast, the reconstruction based on ResNet50 demonstrates smooth and continuous surfaces without noticeable holes or structural gaps. This confirms that the deeper feature extraction capacity of ResNet50 contributes to a more accurate and geometrically reliable tooth surface reconstruction. Fig. 19 The posterior and left views of 3D tooth models reconstructed using Pixel2Mesh based on different backbone networks For evaluation metrics, standard and widely used measures of 3D reconstruction are employed, including F-Score [ 41 ], Chamfer Distance (CD), and Earth Mover’s Distance (EMD) [ 42 ]. Their mathematical expressions can be seen in Table 9 . Table 9 The evaluation metrics for tooth 3D reconstruction network Evaluation Metrics Definition Formula Explanation F-Score The F-Score is the harmonic mean of precision and recall, used to measure how well the predicted point cloud matches the ground truth F - S c o r e = 2 · P r e c i s i o n · R e c a l l P r e c i s i o n + R e c a l l For F-Score, a higher value indicates better performance CD CD is a commonly used metric to evaluate the similarity between two point-clouds by measuring the average distance between each point in one point cloud and its nearest point in the other point cloud C D = ∑ x ∈ X gt min y ∈ Y pr ‖ x - y ‖ 2 2 + ∑ y ∈ Y pr min x ∈ X gt ‖ x - y ‖ 2 2 Where X gt represents the true point set from the dataset; Y pr represents the predicted point set from the network; x and y represent the points in the point set respectively. For CD, lower is better EMD EMD quantifies the dissimilarity between two point-clouds by measuring the minimum"cost"of transforming one point cloud into the other E M D = min ϕ : X gt → Y pr ∑ x ∈ X gt ‖ x - ϕ ( x ) ‖ 2 Where ϕ represents the mapping relationship from X gt to Y pr . For EMD, lower is better Tables 10 and 11 show that regardless of the defect situation, the Pixel2Mesh model based on ResNet50 achieves higher F-Score, with lower CD and EMD values, indicating superior reconstruction performance. Specifically, compared to the original model (VGG16-based), the average F-Score, CD, and EMD are improved by 26.5%, 34.7%, and 22.3%, respectively. Therefore, we select the ResNet50-based Pixel2Mesh model for tooth 3D reconstruction due to its ability to consistently deliver superior performance across different defect scenarios. Table 10 The values of F-Score at different defect situations with different thresholds where τ = 10 - 4 Defect Forms Defect Ratio F-Score( τ ) F-Score( 2 τ ) Vgg16 ResNet18 ResNet50 Vgg16 ResNet18 ResNet50 Slight Defect 0–10% 52.82 50.10 65.14 65.11 62.34 77.26 10–20% 46.97 46.85 60.37 56.37 54.75 71.31 Moderate Defect 20–30% 50.35 48.60 61.78 61.59 58.07 74.24 30–40% 45.09 45.92 58.49 54.01 53.97 67.50 Severe Defect 40–50% 44.45 45.27 56.43 52.75 53.96 66.94 50–60% 40.43 41.09 50.38 50.39 50.48 58.15 Simultaneous Defect to tooth root and crown - 48.65 49.19 63.28 60.12 60.87 73.58 Table 11 The values of CD and EMD at different defect situations Defect Forms Defect Ratio CD EMD Vgg16 ResNet18 ResNet50 Vgg16 ResNet18 ResNet50 Slight Defect 0–10% 0.61 0.68 0.51 0.84 1.04 0.61 10–20% 0.98 0.84 0.57 0.95 1.07 0.82 Moderate Defect 20–30% 0.77 0.83 0.62 1.11 1.16 0.76 30–40% 1.03 0.96 0.66 1.19 1.21 0.87 Severe Defect 40–50% 1.04 0.91 0.68 1.30 1.24 1.05 50–60% 1.24 1.06 0.74 1.47 1.55 1.17 Simultaneous Defect to tooth root and crown - 0.99 0.86 0.57 1.01 1.06 0.78 To further investigate the regional accuracy of the reconstructed mesh, we conducted a statistical analysis of reconstruction errors across three key anatomical regions: crown, cervical, and root. From Fig. 20 , we observe that the cervical region consistently exhibits the lowest reconstruction error, followed by the root region, while the crown region shows the highest error. This indicates that the network performs better in transitional regions (like the cervical zone) where geometric consistency is easier to learn. Additionally, across all three regions, the Pixel2Mesh model based on ResNet50 shows lower overall errors and tighter error distributions compared to those based on VGG16 and ResNet18. Fig. 20 Error box plots of the Pixel2Mesh model based on different backbone networks in the crown, cervical, and root structure areas Application performance testing Inference speed evaluation From a clinical perspective, the inference speed nature of the tooth restoration and reconstruction process is crucial for enhancing the patient experience. In situations requiring rapid decision-making, practitioners often need to quickly obtain tooth models to formulate treatment plans promptly. Therefore, the inference speed of the proposed tooth image restoration and reconstruction method is evaluated. The total time required for the three stages including image restoration, preprocessing, and 3D reconstruction under different defect forms is recorded. The results presented in Table 12 indicate that the overall processing time is approximately 12 s, demonstrating minimal variation across different levels of tooth defect. This suggests that, compared to traditional manual restoration techniques and CAD-based reconstruction methods, our approach offers significant advantages in terms of time efficiency, enabling the generation of high-quality reconstruction results within a short timeframe. In contrast, traditional manual restoration is often time-consuming, requiring professionals to spend hours or even days, particularly when dealing with complex defects. Similarly, CAD-based methods demand extensive interaction and specialized design expertise, which limits their convenience and responsiveness in real-time applications. Table 12 The overall time(s) needed for the three stages including image restoration, preprocessing, and 3D reconstruction Defect Forms Image restoration Image preprocessing 3D reconstruction Total Slight Defect 3.19 2.17 6.93 12.29 Moderate Defect 3.29 2.14 6.98 12.41 Severe Defect 3.21 2.15 7.17 12.53 Simultaneous Defect to tooth root and crown 3.24 2.19 7.21 12.64 Mean 3.23 2.16 7.07 12.46 Generalization evaluation To comprehensively evaluate the generalization performance of the proposed tooth restoration and reconstruction framework, this section investigates its effectiveness on tooth types not included in the training dataset. During the experiments, several defective incisor and molar samples—unseen during training—were selected and input into the pre-trained tooth restoration network. The restoration results in the defective regions were then assessed. As shown in Figs. 21 and 22 , the model demonstrated strong adaptability to these novel tooth types, successfully generating accurate restorations in the defective regions while maintaining high visual realism and texture consistency. Furthermore, in the 3D reconstruction task, the preprocessed incisor images were fed into the reconstruction network to evaluate the similarity between the generated 3D models and the ground-truth anatomical structures. The experimental results indicate that the model accurately reconstructed the overall geometry of both incisors and molars, effectively capturing their realistic anatomical features. These findings further confirm that the proposed method retains a high level of reconstruction accuracy and exhibits strong generalization ability when applied to previously unseen tooth types. Fig. 21 Restoration and reconstruction results of intraoral incisors Fig. 22 Restoration and reconstruction results of novel molars Noise robustness In practical applications, image acquisition is often affected by various types of noise due to sensor limitations, lighting variations, or patient movement. To verify the robustness of the proposed framework under such conditions, we conducted experiments to evaluate the restoration and reconstruction performance when the input images are corrupted with Gaussian noise of varying intensities. Specifically, Gaussian noise was added to the input RGB images of defective teeth with different Signal-to-Noise Ratio (SNR) levels. The proposed restoration and reconstruction pipeline was then applied to these noisy inputs. As shown in Figs. 23 and 24 , whether restoring single-root or multi-root teeth, even when the input images are degraded by noise, the framework maintain high restoration and reconstruction quality. In the restoration stage, CTSDG consistently localizes and completes the missing regions, demonstrating strong resilience to noise perturbation. During the preprocessing stage, the CycleGAN model with LSeSim loss effectively suppresses noise artifacts while preserving structural details, resulting in clean grayscale images. Subsequently, the 3D reconstruction network is able to accurately infer complete mesh structures, regardless of noise level. These results highlight the robustness of the proposed method in noisy environments, ensuring reliable performance in real-world clinical settings where acquisition conditions may be less controlled. Fig. 23 Qualitative results of restoration and reconstruction of single-root teeth under different Gaussian noise conditions Fig. 24 Qualitative results of restoration and reconstruction of multi-root teeth under different Gaussian noise conditions Failed cases Despite the overall effectiveness of our proposed framework, we observed several failure cases under extreme or complex input conditions. As illustrated in Fig. 25 , these cases reveal the limitations of the current method and point to opportunities for future improvement. When the defective tooth retains only the crown and almost the entire root is missing, the inpainting model fails to restore the correct anatomical structure. Due to the limited image features available, the network struggles to infer accurate geometry. Furthermore, in cases where the tooth root is not only completely missing but also has an uncommon or highly irregular geometry, the network fails to predict the correct topology. Finally, when the defect involves a complete loss of multiple roots in multi-root teeth, the network occasionally misclassifies the tooth as a single-root type, resulting in an oversimplified reconstructed mesh that does not match the true tooth morphology structure. These failed cases highlight current model limitations and emphasize the need for enhanced robustness, particularly under sparse input conditions and rare tooth morphology. Fig. 25 Failed cases of the teeth restoration Discussion This study innovatively proposes an efficient and practical three-stage framework for dental morphology restoration based on deep learning. By leveraging prior knowledge of human tooth morphology, the proposed method can reconstruct complete 3D models from real 2D RGB images of defective teeth, facilitating intelligent and personalized dental restoration and reconstruction. Specifically, our model employs CTSDG as the tooth image restoration network, CycleGAN combined with LSeSim loss for the image preprocessing network, and a ResNet50-based Pixel2Mesh for 3D reconstruction. Through a comprehensive analysis of qualitative and quantitative results, our model demonstrates exceptional performance in the restoration and reconstruction of defective teeth. The key strength of the proposed method lies in its remarkable efficiency and generalization capability. Specifically, the method can restore and reconstruct a complete 3D tooth model in approximately 12 s per image, which offers a considerable improvement in efficiency compared to traditional methods. For instance, intraoral scanning technologies, while accurate, typically take longer to capture and process data for 3D model generation, especially when factoring in additional post-processing steps required for precise restoration. In contrast, the approach we propose operates in near real-time, making it feasible for practical clinical applications where time efficiency is critical. Another significant advantage of the proposed method is its impressive generalization capability. Our experiments demonstrated that the model performs well not only on the tooth types included in the training set but also on completely new and unseen cases, which can be widely applied to various types of defective teeth. Although recent studies [ 43 – 45 ] have demonstrated the advantages of end-to-end image-to-mesh frameworks, they focus on image-based 3D reconstruction, which corresponds to only the final sub-task in our framework. our method adopts a modular three-stage design to address the full pipeline from defective 2D inputs to complete 3D tooth models. This task specialization enables us to leverage state-of-the-art techniques best suited for each stage, rather than compromising performance through a one-size-fits-all architecture. Furthermore, a modular design facilitates future improvements or replacements of individual components without retraining the entire pipeline. This flexibility is critical in practical deployment scenarios. Notably, the image preprocessing module mainly serves to align real RGB images with the training domain of the reconstruction network and is not inherently required. In future work, we plan to remove the preprocessing network by adopting image-to-mesh methods that directly handle real-world RGB inputs. Furthermore, we will explore integrating all stages into a unified end-to-end framework to enhance overall performance and minimize cumulative errors. Recent research [ 10 ] has explored the integration of point clouds and deep learning to investigate the relationships among tooth morphologies within the dental arch, specifically by extracting features from adjacent teeth to restore anterior teeth. However, point cloud-based methods exhibit limitations in preserving the topological structure of teeth, resulting in lower reconstruction accuracy and unstable outputs. Additionally, since point cloud data only provide discrete geometric information, detail recovery remains constrained. Recent advancements in dental crown generation have leveraged point-to-mesh implicit learning frameworks to achieve high-fidelity mesh reconstruction. For example, Yang et al. [ 46 ] proposed DCrownFormer, a morphology-aware transformer architecture that generates crown prostheses from 3D scan data of preparation and antagonist teeth. Similarly, Hosseinimanesh et al. [ 47 ] developed a personalized crown design framework using point cloud completion followed by mesh generation. While these methods demonstrate strong performance, they rely on point cloud inputs, which are often device-dependent and require additional 3D scanning infrastructure. In contrast, our approach directly reconstructs 3D tooth meshes from 2D images without requiring intermediate point cloud representations, enabling a more accessible and cost-efficient workflow. Other study [ 13 ] has utilized voxel-based approaches for tooth completion, but their high memory demands lead to significant computational costs, restricting their widespread application. Another investigation [ 14 ] incorporated SDF into the concept of implicit templates, enhancing the stability of shape recovery for tooth morphology. However, the process still relies on generated implicit tooth templates for deformation, resulting in insufficient personalization and being limited to the restoration of anterior teeth, making it challenging to apply to other types of teeth. In contrast, our model presents significant advantages. First, our approach entirely discards the template concept and directly utilizes the morphological features of the defective teeth for restoration and reconstruction. This method, based on original morphology, greatly enhances personalization, ensuring that the restored teeth closely align with the patient's specific anatomical characteristics and meet the needs of personalized dental treatment. Second, we employ a mesh representation for the 3D shape of teeth, which not only authentically captures the complex structures and details of tooth surfaces but also allows for more precise detection of local morphological changes during reconstruction. Although the proposed method has demonstrated favorable results, there remains room for improvement. Our approach relies on single-view 3D reconstruction which has long been considered an ill-posed problem due to the lack of substantial spatial information in a single image, particularly regarding depth and texture [ 28 ]. To address this issue, future work will explore multi-view 3D reconstruction methods. By integrating view information from different angles, a more comprehensive and accurate capture of the geometric morphology of tooth can be achieved, further enhancing reconstruction precision. With the rapid advancement of AI technology, new algorithms continually emerge. Future research will aim to explore more advanced image restoration and 3D reconstruction techniques, such as the emerging Neural Radiance Fields (NeRF) [ 48 ] technology, to achieve higher accuracy in tooth reconstruction within complex oral environments. This will further enhance the applicability and stability of the model in dental clinical settings. Conclusion In this work, a deep learning-based method for the automatic restoration and reconstruction of the defective tooth has been proposed. This method integrates CTSDG for tooth image restoration, a CycleGAN combined with LSeSim loss for image preprocessing, and an improved ResNet50-based Pixel2Mesh model for 3D reconstruction, enabling the generation of complete 3D models from a single image of a defective tooth. Experimental results demonstrate that the method excels in image restoration quality, reconstruction accuracy, inference speed, and generalization capability, showcasing its broad application potential. Future work will focus on exploring multi-view reconstruction methods to enhance accuracy. Acknowledgements We acknowledge the support provided by Guangzhou University, Department of Stomatology, General Hospital of Southern Theater Command of PLA, the Guangdong University of Technology Affiliated Dental Hospital and the Sun Yat-sen University Affiliated Dental Hospital. All authors gave their final approval and agreed to be accountable for all aspects of the work. The manuscript is original, has not been published before, and is not currently being considered for publication elsewhere. All authors have contributed significantly to the work and approve of the final version of the manuscript. Authors’ contributions JHW: Methodology, data collection, investigation, conceptualization, drafted the work and substantively revised it. YCW: Data collection. JYH: Data collection. KJC: Data collection. XL: Funding acquisition, validation, and substantively revised the work. WLW: Conceptualization, funding acquisition, supervision, and substantively revised the work. All authors read and approved the final manuscript. Funding This research was supported by the National Natural Science Foundation of China (Nos. 82001983); Guang-dong Basic and Applied Basic Research Foundation (No. 2019A1515111202); the Science and Technology Program of Guangzhou, China, (No. 202002030269) and the Tertiary Education Scientific research project of Guangzhou Municipal Education Bureau (No. 2024312250) . Data availability The datasets generated and/or analyzed during this study will be available by the corresponding author upon reasonable request. Declarations Ethics approval and consent to participate This study was reviewed by the Scientific Ethics Committee of Guangzhou University and has been confirmed to fully comply with the Declaration of Helsinki and the relevant regulations of the People’s Republic of China on biomedical human research. The approval number is GUSE [2024]095. Informed consent was obtained from all subjects involved in the study. Consent for publication Not applicable. Competing interests The authors declare no competing interests. Footnotes Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Wenlong Wang, Email: wlwang@gzhu.edu.cn. Xiao Li, Email: drlixiao@163.com. References 1. Chau RCW, Thu KM, Hsung RTC, Lam WYH. Teeth reconstruction using artificial intelligence: trends, perspectives, and prospects. J Calif Dent Assoc. 2023;51(1): 2199910. 2. Liu H, Gan MX, Zhai W, Song X. Design and additive manufacturing of root analogue dental implants: a comprehensive review. Mater Des. 2023. 10.1016/j.matdes.2023.112462. 3. Johnson A, Jani G, Garriga JA, Pandey A. Digital reconstruction of fragmented tooth remains in forensic context. Forensic Sciences Research. 2022;7(1):88–93. 4. Tian S, et al. Efficient tooth gingival margin line reconstruction via adversarial learning. Biomed Signal Process Control. 2022;78: 103954. 5. Hwang JJ, Azernikov S, Efros AA, Yu SX. Learning beyond human expertise with generative models for dental restorations. 2018 arXiv preprint arXiv:1804.00064. Accessed 10 Sep 2022-20 Oct 2022 6. Yang Y, Cui Z, Li C, Wang W. ToothInpaintor: tooth inpainting from partial 3D dental model and 2D panoramic image. 2022 arXiv. 10.48550/arXiv.2211.15502 7. Tian S, et al. A dual discriminator adversarial learning approach for dental occlusal surface reconstruction. Journal of Healthcare Engineering. 2022;2022(1):1933617. 8. Revilla-León M, et al. Artificial intelligence models for tooth-supported fixed and removable prosthodontics: a systematic review. J Prosthet Dent. 2023;129(2):276–92. 9. Li P, et al. Semantic graph attention with explicit anatomical association modeling for tooth segmentation from CBCT images. IEEE Trans Med Imaging. 2022;41(11):3116–27. 10. Ding H, et al. Morphology and mechanical performance of dental crown designed by 3D-DCGAN. Dent mater. 2023;39(3):320–32. 11. Tian S, et al. DCPR-GAN: dental crown prosthesis restoration using two-stage generative adversarial networks. IEEE J Biomed Health Inform. 2021;26(1):151–60. 12. Feng Y, et al. 3D reconstruction for maxillary anterior tooth crown based on shape and pose estimation networks. Int J Comput Assist Radiol Surg. 2023;18(8):1405–16. 13. Ping Y, Wei G, Yang L, Cui Z, Wang W. Self-attention implicit function networks for 3D dental data completion. Computer Aided Geometric Design. 2021;90: 102026. 14. Chen D, Yu M-Q, Li Q-J, He X, Liu F, Shen J-F. Precise tooth design using deep learning-based templates. J Dent. 2024;144: 104971. 15. Guo X, Yang H, Huang D, "Image inpainting via conditional texture and structure dual generation," in Proceedings of the IEEE/CVF international conference on computer vision, 2021, pp. 14134–14143. 16. Liu H, Jiang B, Song Y, Huang W, Yang C, "Rethinking image inpainting via a mutual encoder-decoder with feature equalizations," in Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part II 16, 2020, pp. 725–741: Springer. 17. Liu H, Jiang B, Xiao Y, Yang C, "Coherent semantic attention for image inpainting," in Proceedings of the IEEE/CVF international conference on computer vision, 2019, pp. 4170–4179. 18. Yu J, Lin Z, Yang J, Shen X, Lu X, Huang TS, "Generative image inpainting with contextual attention," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 5505–5514. 19. Iizuka S, Simo-Serra E, Ishikawa H. Globally and locally consistent image completion. ACM Transactions on Graphics (ToG). 2017;36(4):1–14. 20. Liu H, Wan Z, Huang W, Song Y, Han X, Liao J, "Pd-gan: Probabilistic diverse gan for image inpainting," in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2021, pp. 9371–9381. 21. Suvorov R et al., "Resolution-robust large mask inpainting with fourier convolutions," in Proceedings of the IEEE/CVF winter conference on applications of computer vision, 2022, pp. 2149–2159. 22. Pang Y, Lin J, Qin T, Chen Z. Image-to-image translation: methods and applications. IEEE Trans Multimedia. 2021;24:3859–81. 23. Zhu JY, Park T, Isola P, Efros AA, "Unpaired image-to-image translation using cycle-consistent adversarial networks," in Proceedings of the IEEE international conference on computer vision, 2017, pp. 2223–2232. 24. Zheng C, Cham T-J, Cai J, "The spatially-correlative loss for various image translation tasks," in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2021, pp. 16407–16417. 25. Torbunov D. et al. "Uvcgan: Unet vision transformer cycle-consistent gan for unpaired image-to-image translation," in Proceedings of the IEEE/CVF winter conference on applications of computer vision, 2023, pp. 702–712. 26. Zhao Y, Wu R, Dong H. "Unpaired image-to-image translation using adversarial consistency loss," in Computer Vision–ECCV 2020: 16th European Conference, Glasgow, UK, August 23–28, 2020, Proceedings, Part IX 16, 2020, pp. 800–815: Springer. 27. Nizan O, Tal A, "Breaking the cycle-colleagues are all you need," in Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, 2020, pp. 7860–7869. 28. Samavati T, Soryani M. Deep learning-based 3D reconstruction: a survey. Artif Intell Rev. 2023;56(9):9175–219. 29. Wu J, Wyman O, Tang Y, Pasini D, Wang W. Multi-view 3D reconstruction based on deep learning: A survey and comparison of methods. Neurocomputing. 2024;582: 127553. 30. Kato H, Ushiku Y, Harada T, "Neural 3d mesh renderer," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 3907–3916. 31. Wang N, et al. Pixel2Mesh: 3D mesh model generation via image guided deformation. IEEE Trans Pattern Anal Mach Intell. 2020;43(10):3600–13. 32. Pan J, Han X, Chen W, Tang J, Jia K. "Deep mesh reconstruction from single rgb images via topology modification networks," in Proceedings of the IEEE/CVF International Conference on Computer Vision, 2019, pp. 9964–9973. 33. Demir U, Unal G. "Patch-based image inpainting with generative adversarial networks," arXiv preprint arXiv:1803.07422 , 2018. 34. Chang AX. et al. "Shapenet: An information-rich 3d model repository," arXiv preprint arXiv:1512.03012 , 2015. 35. Hosna A, Merry E, Gyalmo J, Alom Z, Aung Z, Azim MA. Transfer learning: a friendly introduction. Journal of Big Data. 2022;9(1):102. 36. Heusel M, Ramsauer H, Unterthiner T, Nessler B, Hochreiter S, "Gans trained by a two time-scale update rule converge to a local nash equilibrium," Advances in neural information processing systems, 2017;30. 37. Xiang H, Zou Q, Nawaz MA, Huang X, Zhang F, Yu H. Deep learning for image inpainting: A survey. Pattern Recogn. 2023;134: 109046. 38. Zhang R, Isola P, Efros AA, Shechtman E, Wang O. "The unreasonable effectiveness of deep features as a perceptual metric," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2018, pp. 586–595. 39. Bińkowski M, Sutherland DJ, Arbel M, Gretton A, "Demystifying mmd gans," arXiv preprint arXiv:1801.01401 , 2018. 40. Salimans T, Goodfellow I, Zaremba W, Cheung V, Radford A, Chen X, "Improved techniques for training gans," Adv Neural Inf Process Syst. 2016;29. 41. Knapitsch A, Park J, Zhou Q-Y, Koltun V. Tanks and temples: Benchmarking large-scale scene reconstruction. ACM Transactions on Graphics (ToG). 2017;36(4):1–13. 42. Fan H, Su H, Guibas LJ, "A point set generation network for 3d object reconstruction from a single image," in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017;605–613. 43. Belkaid M, Merras M, Berrajaa A, El Akkad N, "Review of 3D Scene Reconstruction: From Traditional Methods to Advanced Deep Learning Models," in 2024 3rd International Conference on Embedded Systems and Artificial Intelligence (ESAI), 2024, pp. 1–11: IEEE. 44. Revanaki N, Biradar P, Kabade PS, Patil S. A Review of the Existing Literature on 3D Reconstruction Methods. 10.22214/ijraset.2023.49010 45. Wang H, Zhang J. A survey of deep learning-based mesh processing. Communications in Mathematics and Statistics. 2022;10(1):163–94. 46. Yang S. et al. "DCrownFormer: Morphology-Aware Point-to-Mesh Generation Transformer for Dental Crown Prosthesis from 3D Scan Data of Antagonist and Preparation Teeth," in International Conference on Medical Image Computing and Computer-Assisted Intervention, 2024, pp. 109–119: Springer. 47. Hosseinimanesh G, Alsheghri A, Keren J, Cheriet F, Guibault F. Personalized dental crown design: a point-to-mesh completion network. Med Image Anal. 2025;101: 103439. 48. Mildenhall B, Srinivasan PP, Tancik M, Barron JT, Ramamoorthi R, Ng R. Nerf: representing scenes as neural radiance fields for view synthesis. Commun ACM. 2021;65(1):99–106. Associated Data Data Availability Statement The datasets generated and/or analyzed during this study will be available by the corresponding author upon reasonable request.
