Intraoral teeth sparse view 3d reconstruction method based on global geometry alignment transformer
By using a global geometric alignment transformer, the robustness and efficiency issues of sparse view tooth 3D reconstruction in dentistry are solved, achieving high-precision 3D reconstruction without pre-calibration, which is suitable for acquiring tooth 3D models in dentistry.
Patent Information
- Application Number
- CN202611054398.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies in dentistry struggle to achieve high-precision 3D tooth reconstruction without pre-calibration, especially in sparse views and special environments where robustness is insufficient, computational efficiency is low, and it is difficult to meet the real-time feedback needs of clinical settings.
A method based on a global geometric alignment transformer is adopted to achieve feature encoding through image tokenization and learnable camera tokens. Multi-view feature association is established by combining local self-attention and cross-frame global attention. Camera intrinsic and extrinsic parameters are automatically regressed, and multi-view point cloud fusion and meshing are performed to generate a high-precision 3D model of the dental arch.
It achieves high-precision and rapid intraoral tooth 3D reconstruction without pre-calibration, improves the adaptability and robustness of sparse views, and meets the real-time feedback needs of clinical settings.
Smart Images

Figure CN123181772A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the interdisciplinary field of computer vision and digital healthcare, and more specifically, to a method for three-dimensional reconstruction of sparse intraoral dental views based on a global geometric alignment transformer. Background Technology
[0002] In modern oral medicine, the accurate acquisition of three-dimensional tooth models is fundamental for applications such as digital orthodontics, dental implant surgery planning, and denture fabrication. Traditional intraoral three-dimensional reconstruction methods typically rely on high-precision laser scanning equipment or continuous video stream processing based on Structure from Motion (SfM), and are highly dependent on the pre-calibration parameters of the camera. However, in clinical practice, these methods face several technical challenges: First, they are highly dependent on equipment, requiring expensive specialized scanning equipment, making them difficult to implement in primary care clinics. Second, camera pre-calibration is complex; existing SfM-based methods must pre-obtain camera intrinsic parameters (focal length, principal point, distortion coefficients, etc.), requiring frequent recalibration once intraoral imaging conditions change, making the process cumbersome. Third, they are poorly adaptable to sparse views; when only 3 to 10 images can be acquired and the visual overlap is limited, traditional algorithms are prone to problems such as feature point matching failure, pose estimation drift, and loss of reconstruction integrity. In addition, special environmental factors such as narrow intraoral space, high reflectivity of tooth surfaces, and strong texture repetition also make traditional local feature matching-based methods less robust in this scenario. Finally, there is the bottleneck of computational efficiency; traditional SfM methods require iterative optimization through bundle adjustment, which is computationally intensive and time-consuming, making it difficult to meet the needs of real-time feedback in clinical settings.
[0003] In recent years, although deep learning technology has made significant progress in the field of 3D reconstruction, existing deep learning-based methods are still mainly designed for regular scenes. For special scenes such as intraoral views with sparse views and no pre-calibration conditions, there is still a lack of effective solutions. Therefore, there is an urgent need for a new method that can achieve high-precision 3D reconstruction from extremely sparse intraoral views without the need for pre-calibration. Summary of the Invention
[0004] To address at least one of the aforementioned technical problems, this invention proposes a three-dimensional reconstruction method for sparse intraoral tooth views based on a global geometric alignment transformer.
[0005] The first aspect of this invention provides a method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer, comprising the following steps:
[0006] S1. Obtain N sparse view color images of the dental arch from different perspectives. Preprocess the sparse view color images to obtain a normalized image sequence. Perform block and mapping processing on the normalized image sequence to obtain an image token sequence. Insert a learnable camera function token into the image token sequence to generate an input token sequence that fuses camera information.
[0007] S2, based on the input token sequence obtained in step S1, extracts single-frame anatomical features through local self-attention and establishes multi-view feature associations through cross-frame global attention. A geometrically guided mapping module is introduced to generate anatomical prior masks to strengthen the weights of key regions. Local features and globally associated features are then fused through a feedforward network to construct a cross-view... Figure 1 Consistent global geometric topological features;
[0008] S3, taking the global geometric topology features output in step S2 as input, the camera token features drive the intrinsic parameter regression head and the extrinsic parameter regression head, solve the camera intrinsic parameter matrix and extrinsic parameter matrix frame by frame, regress the pixel-level depth field based on cross-view alignment features and construct the camera coordinate system point map;
[0009] S4. Obtain the initial point cloud based on the camera coordinate system point map, construct a voxel mesh and use the truncated sign distance function to perform voxel-level fusion of the overlapping areas of multiple views, introduce tooth size constraints and dental arch topology constraints to form a joint loss, perform smoothing and noise reduction and structural correction on the point cloud, and generate a geometrically reasonable and topologically continuous 3D point cloud of the dental arch.
[0010] S5. The zero isosurface is extracted from the voxel symbolic distance field obtained in step S4 using the moving cube algorithm to generate an initial triangular mesh. After Poisson disk sampling simplification, Laplace smoothing, and boundary hole repair, an optimized mesh is obtained. The optimized mesh is then encoded and exported as a medical 3D model file in a preset format.
[0011] In a preferred embodiment of the present invention, step S1 specifically includes:
[0012] N sparse view color images of the dentition to be reconstructed are acquired, with 3≤N≤10, covering different perspectives of the dentition, to form a sparse view image sequence;
[0013] Denoising, pixel value linear normalization, and size regularization are performed sequentially on the sparse view color image to output a standardized image with a uniform resolution of H×W×3.
[0014] The standardized image is divided into non-overlapping pixel blocks, and high-dimensional image tokens are generated by linear projection of each block to form an image token sequence.
[0015] A learnable camera token of dimension D is inserted at the front of the image token sequence to construct an input token sequence that fuses the camera's implicit parameters. The camera tokens implicitly encode the camera's intrinsic and extrinsic features through attention interactions.
[0016] In a preferred embodiment of the present invention, step S2 specifically includes:
[0017] The input token sequence is fed into the Transformer encoding layer, and the token association within a single frame is calculated through a self-attention mechanism to output local anatomical features.
[0018] Construct a cross-frame token set, calculate and normalize the global similarity matrix, establish multi-view fully connected feature associations, and output global aligned features;
[0019] A binary mask matrix is constructed based on dental anatomy priors and then multiplied with the attention weight matrix using the Hadamard product to enhance the contribution of key regions such as the incisal edge, pits and fissures, and marginal ridges, and output geometrically guided features.
[0020] By fusing local features and geometrically guided global features through a feedforward network, globally connected, cross-view features are generated. Figure 1 The geometric and topological features are consistent.
[0021] In a preferred embodiment of the present invention, step S3 specifically includes:
[0022] The implicit features of the camera tokens are extracted and mapped through a three-layer fully connected network to generate intrinsic parameter vectors consisting of focal length and principal points, thus constructing the camera intrinsic parameter matrix.
[0023] The camera's implicit features are mapped to rotation and translation vectors using an extrinsic regression head. The rotation vectors are then transformed by Rodrigues to generate a rotation matrix, which is used to construct the camera's extrinsic matrix.
[0024] Based on the cross-view alignment feature, the depth value is regressed pixel by pixel to construct the 3D points in the camera coordinate system and transformed to the world coordinate system through extrinsic parameters to generate a multi-view point map.
[0025] A view scale factor is introduced and a weighted scale consistency loss is constructed to suppress cross-view scale drift and ensure global geometric consistency.
[0026] In a preferred embodiment of the present invention, step S4 specifically includes:
[0027] Merge the 3D points in the world coordinate system of each view to generate an initial multi-view point cloud set;
[0028] Construct a 0.1mm resolution voxel mesh, calculate the truncation symbol distance function for each view and perform weighted fusion, extract the zero isosurface to generate a fused surface point cloud;
[0029] By introducing tooth size constraint loss and dental arch topology constraint loss, a joint optimization objective is constructed to smooth, denoise, and correct the structure of the point cloud, and output a high-precision dental arch point cloud.
[0030] In a preferred embodiment of the present invention, step S5 specifically includes:
[0031] Based on the voxel-symmetric distance field, the moving cube algorithm is used to extract the zero isosurface and generate the initial triangular mesh;
[0032] Perform Poisson disk sampling to generate a uniform subset of vertices, and reconstruct the mesh to reduce the number of patches while maintaining geometric accuracy;
[0033] Laplace smoothing is used to suppress noise, boundary loops are detected, and holes are repaired with minimum area triangulation to obtain an optimized mesh with topological closure and geometric uniformity.
[0034] The optimized mesh is encoded to generate and export medical 3D model files in STL or OBJ format.
[0035] In a preferred embodiment of the present invention, the image tokenization in step S1 is performed by dividing the image into fixed-size pixel blocks with a side length P = 16 pixels and a token embedding dimension D = 512 or 768 dimensions.
[0036] In a preferred embodiment of the present invention, the intrinsic parameter regression head in step S3 is a three-layer fully connected network, and the output intrinsic parameter vector includes: horizontal focal length, vertical focal length, principal point x-coordinate and principal point y-coordinate.
[0037] In a preferred embodiment of the present invention, the extrinsic parameter regression head outputs a three-dimensional rotation vector and a three-dimensional translation vector in step S3. The rotation vector is converted into a 3×3 rotation matrix by the Rodriguez formula, and combined with the translation vector to form a 4×4 extrinsic parameter matrix.
[0038] The technical solution of the present invention has the following advantages compared with the prior art:
[0039] Through an end-to-end deep learning architecture, high-precision and fast intraoral tooth 3D reconstruction is achieved under the condition that no pre-calibration is required and only sparse view input is available. Attached Figure Description
[0040] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, some of the drawings in the following description are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0041] Figure 1 This is a flowchart of a three-dimensional reconstruction method for sparse intraoral tooth views based on a global geometric alignment transformer, according to an embodiment of the present invention. Detailed Implementation
[0042] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0043] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0044] Example 1
[0045] This invention provides a method for 3D reconstruction of sparse intraoral dental views based on a global geometric alignment transformer. Without requiring pre-calibration, this method first encodes the features of the sparse intraoral view through image tokenization and learnable camera tokens. Then, it establishes global topological relationships using alternating local and cross-frame attention mechanisms combined with geometric guidance. Subsequently, it automatically regresses camera intrinsic and extrinsic parameters and generates a scale-consistent point map. After multi-view point cloud fusion, dental arch morphology prior smoothing, and meshing, a medical 3D model file is finally output.
[0046] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and embodiments. The flowchart is as follows: Figure 1 As shown, the technical solution process of the embodiment includes the following steps:
[0047] Step S1: Intraoral image sequence acquisition and feature tokenization. N (3≤N≤10) sparse view color images of the dentition to be reconstructed are acquired using an intraoral imaging device. These N images cover different perspectives of the dentition, forming a sparse view image sequence I={I1,I2,...,IN}.
[0048] The acquired sparse view color images In (n=1,2,...,N) are sequentially subjected to denoising, pixel value normalization, and size adjustment preprocessing to obtain standardized images. The preprocessed image has a uniform size of H×W×3. Here, H is the image height, W is the image width, and 3 is the number of RGB color channels; pixel normalization uses linear normalization, mapping pixel values to the interval [0,1].
[0049] The normalization formula is:
[0050] ;
[0051] A single standardized image Divide the pixels into L non-overlapping blocks at a fixed resolution, with the number of blocks satisfying:
[0052] ;
[0053] In the formula, P is a preset fixed pixel block side length (e.g., P=16); each pixel block is converted into a one-dimensional feature vector, i.e., image tokens, through a linear mapping layer, resulting in an image token sequence:
[0054]
[0055] The token dimension is D (high-dimensional embedding dimension).
[0056] In the image token sequence Insert a learnable camera function token The token is a high-dimensional learnable vector of dimension D, which ultimately generates an input token sequence that fuses camera information:
[0057] ;
[0058] Camera token By learning through attentional interaction with image tokens, the intrinsic features of the camera (focal length, principal point) and the extrinsic pose information (spatial position, shooting posture) are implicitly encoded, thereby realizing the vectorized representation of the camera's optical characteristics and spatial pose.
[0059] Step S2, Global Geometric Association Modeling Based on Alternating Attention Mechanism. This step uses an alternating attention mechanism to jointly model the local anatomical features within a single image and the global geometric correspondence between multiple views, constructing a robust 3D geometric topological association for the dental arch. The specific steps are as follows:
[0060] (1) The fusion token sequence output in step S1 Input the Transformer encoding layer to extract and encode the anatomical features of teeth inside a single intraoral image based on a local self-attention mechanism.
[0061] Perform self-attention computation on the token sequence and output local self-attention features:
[0062] ;
[0063] The query matrix Q, key matrix K, and value matrix V are obtained by linear projection of the input token T.
[0064] ;
[0065] , , For learnable projection matrices, Let D be the matrix transpose of the key matrix, and D be the token embedding dimension. This local self-attention mechanism enables the aggregation and representation of local anatomical features such as cusps, pits, and axial planes within a single image.
[0066] (2) Construct a cross-frame token set Tall=[T1,T2,…,TN], where Tn is the input token sequence corresponding to the nth image. Based on a cross-frame global attention mechanism, establish fully connected geometric relationships among all view tokens. Automatically match the 3D geometric correspondences under different viewpoints by calculating the view similarity matrix S:
[0067] ;
[0068] Normalize the similarity matrix and output global attention features:
[0069] ;
[0070] in , , These correspond to the global query matrix, the transpose of the global key matrix, and the global value matrix, respectively. Encode the 3D geometric correspondence between N sparse views to achieve cross-view feature alignment.
[0071] (3) A geometric guided mapping module is introduced, which applies explicit constraints to the attention weights based on prior knowledge of tooth anatomy, and constructs an anatomical prior mask M, so that the model prioritizes key geometric regions such as incisal edges, pits and fissures, pits and gaps, and marginal ridges during training and inference:
[0072] ;
[0073] ;
[0074] Where ⊙ is the Hadamard product (element-wise multiplication), and M is a binary weight matrix constructed based on dental anatomy priors to enhance the feature contribution of key anatomical regions.
[0075] (4) Based on the global receptive field of Transformer, local self-attention features are applied. Geometrically Guided Cross-Frame Attention Features Global fusion and feedforward encoding are performed to obtain global geometric association features:
[0076] ;
[0077] FFN(⋅) is a Transformer feedforward network that uses global information fusion to suppress the problems of high reflectivity, local overexposure, and local feature degradation and matching failure caused by noise on the tooth surface. Finally, it constructs a globally connected, geometrically consistent, and robust three-dimensional geometric topology relationship of the tooth among N sparse views, providing a stable cross-view geometric association basis for three-dimensional reconstruction.
[0078] Step S3: Camera parameter self-calibration and dense geometric attribute regression. In this step, the global geometric association features output from steps S1 and S2 are used. As input, further camera parameter self-calibration and pixel-level 3D geometric attribute regression are achieved, thereby establishing a continuous mapping relationship from 2D image to 3D space. The specific steps are as follows: (1) The fused features output in step S2 are used as input. Input to the decoder module, and to the camera function token within it. Feature extraction is performed to obtain the implicit camera representation f(i)cam for each view.
[0079] Based on the camera's implicit representation, an intrinsic parameter regression head is constructed, and it is mapped through a three-layer fully connected network to obtain the intrinsic parameter vector of the i-th frame image:
[0080] ;
[0081] And further construct the corresponding camera intrinsic parameter matrix:
[0082] ;
[0083] in, Let represent the equivalent focal length of the i-th frame image in the x-direction (horizontal axis). This represents the equivalent focal length of the i-th frame image in the y-direction (vertical axis). This represents the coordinates of the principal point in the i-th frame of the image along the horizontal direction (x-axis). This indicates the coordinates of the principal point in the i-th frame of the image in the vertical direction (y-axis).
[0084] (2) Construct an extrinsic regression head to map the camera's implicit representation to extrinsic parameters:
[0085] ;
[0086] Where the rotation vector ∈ 3. Convert to a rotation matrix using the Rodriguez transformation:
[0087] ;
[0088] Translation vector ∈ 3. Thus, the camera extrinsic parameter matrix is obtained:
[0089] ;
[0090] (3) After obtaining the camera parameters, based on the cross-view alignment features output in step S2, perform dense geometric attribute regression on the image tokens of each view to predict the depth value corresponding to each pixel. And construct a pointmap. Specifically, for pixel u= Its three-dimensional position in the camera coordinate system is represented as:
[0091] ;
[0092] Furthermore, the aforementioned 3D points are mapped to a unified world coordinate system using camera extrinsic parameters:
[0093] ;
[0094] To ensure the consistency of the cross-view geometric correspondence established in step S2 in three-dimensional space, a scale factor is introduced. The scale of 3D points in different views is normalized, and a scale consistency constraint loss function is constructed:
[0095] ;
[0096] in, This represents the cross-view corresponding pixel mapping obtained based on the global attention matching relationship in step S2.
[0097] Further combining the geometric guidance features in step S2 By applying stronger constraint weights to key anatomical regions, a weighted scale consistency loss is obtained:
[0098] ;
[0099] Among them, weight Adaptive generation of attention features guided by geometry.
[0100] Step S4: Multi-view geometric fusion and 3D point cloud reconstruction. In this step, based on the camera intrinsic and extrinsic parameters output in step S3 and the corresponding 3D point maps for each view, the multi-view geometric information is fused into the same global coordinate system, and high-precision 3D point cloud reconstruction is completed. The specific steps are as follows:
[0101] (1) For the i-th frame image, map its corresponding depth value to the unified world coordinate system according to the method in step S3 (3), and then converge all the three-dimensional points of all views i=1,2,…,N to obtain the initial multi-view point cloud set:
[0102] ;
[0103] (2) In this embodiment, to achieve robust fusion of overlapping regions, a truncated signed distance function (TSDF) is introduced for voxel-level fusion. A voxel mesh G is constructed with a resolution of 0.1 mm. For any voxel center v∈G, its signed distance function is defined as:
[0104] ;
[0105] in, This represents the predicted depth after voxel v is projected onto the i-th view. To correspond to the observation depth, μ is the cutoff distance (in this embodiment, μ = 0.5 mm), and clip(⋅) is the cutoff function.
[0106] The global symbolic distance function is obtained by weighted fusion of the TSDF values of all views:
[0107] ;
[0108] Where wi(v) is a weight function defined based on perspective consistency and observation confidence.
[0109] By extracting the zero isosurface (i.e., ϕ(v)=0), the fused 3D surface point cloud or implicit surface representation is obtained.
[0110] (3) To improve the structural rationality and geometric smoothness of the reconstructed dentition, pre-trained prior knowledge of dentition morphology is introduced to constrain and optimize the fused point cloud. The prior knowledge of dentition morphology includes tooth size constraints and dental arch topological constraints, specifically expressed as follows:
[0111] Tooth anatomical size constraints:
[0112] ;
[0113] in This represents the key dimensional parameters (such as crown width, height, etc.) of the k-th tooth. This represents the corresponding statistical prior value.
[0114] Dental arch geometric topological constraints:
[0115] ;
[0116] in Let k be the center point of the kth tooth. The ideal position is generated based on the dental arch curve model (such as a quadratic curve or spline curve).
[0117] Finally, by jointly optimizing the following objective function, point cloud smoothing and denoising are achieved:
[0118] ;
[0119] in This represents the consistency error of the signed distance function. , These are the weighting coefficients.
[0120] Step S5: 3D mesh generation and digitization output. In this step, the global symbolic distance function ϕ(v) or 3D point cloud data obtained in step S4 is used for digitization. A continuous 3D surface mesh model is constructed, and then optimized and standardized for output. The specific steps are as follows:
[0121] (1) Based on the signed distance function ϕ(v) on the voxel grid, the moving cubes algorithm is used to extract the iso-surface, which satisfies:
[0122] ;
[0123] The initial triangular mesh model is obtained by determining the vertex symbol within each voxel and generating a set of triangular facets based on a predefined topological lookup table.
[0124] ;
[0125] Where G represents the set of mesh vertices and J represents the set of triangles.
[0126] (2) To reduce mesh complexity and maintain geometric uniformity, Poisson disk sampling is performed on the mesh model to obtain a uniformly distributed subset of vertices G′ that satisfies the minimum distance constraint:
[0127] ;
[0128] Where r is the preset sampling radius. The original mesh is reconstructed based on the sampling results to achieve mesh simplification:
[0129] ;
[0130] ;
[0131] in Represents the simplified set of triangular facets, Reconstruct(⋅) represents the mesh reconstruction operator (which can be triangulation, edge folding, or reconstruction algorithm), and Z represents the original mesh.
[0132] (3) To eliminate noise and improve surface smoothness, Laplacian smoothing is performed on the mesh vertices, and the update rule is as follows:
[0133] ;
[0134] Where N(i) represents the set of adjacent vertices of vertex vi. λ is the weighting coefficient (usually uniform weighting or weighting based on side length), and λ is the smoothing coefficient. This represents the 3D coordinate position of the i-th grid vertex during the t-th iteration.
[0135] To address potential voids in the mesh, a void repair method based on boundary detection is introduced. First, the boundary loop B is extracted and filled using a minimum area triangulation method, ensuring the newly added facet satisfies the following:
[0136] ;
[0137] This results in a topologically closed three-dimensional mesh model.
[0138] (4) The optimized mesh model is standardized and encoded to generate a 3D digital model file that meets the requirements of medical applications. Its geometric representation can be formalized as follows:
[0139] ;
[0140] And they are stored in either STL (StereoLithography) or OBJ (Wavefront) formats respectively. Among them:
[0141] STL format describes triangle facet normals and vertex coordinates:
[0142] ;
[0143] The OBJ format is described by the relationship between vertex and face indices:
[0144] ;
[0145] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0146] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to the above embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0147] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer, characterized in that, Includes the following steps: S1. Obtain N sparse view color images of the dental arch from different perspectives. Preprocess the sparse view color images to obtain a normalized image sequence. Perform block and mapping processing on the normalized image sequence to obtain an image token sequence. Insert a learnable camera function token into the image token sequence to generate an input token sequence that fuses camera information. S2, based on the input token sequence obtained in step S1, extract single-frame anatomical features through local self-attention and establish multi-view feature association through cross-frame global attention. Introduce a geometric guided mapping module to generate anatomical prior masks to strengthen the weight of key regions. Then, fuse local features and global associated features through a feedforward network to construct cross-view consistent global geometric topology features. S3, taking the global geometric topology features output in step S2 as input, the camera token features drive the intrinsic parameter regression head and the extrinsic parameter regression head, solve the camera intrinsic parameter matrix and extrinsic parameter matrix frame by frame, regress the pixel-level depth field based on cross-view alignment features and construct the camera coordinate system point map; S4. Obtain the initial point cloud based on the camera coordinate system point map, construct a voxel mesh and use the truncated sign distance function to perform voxel-level fusion of the overlapping areas of multiple views, introduce tooth size constraints and dental arch topology constraints to form a joint loss, perform smoothing and noise reduction and structural correction on the point cloud, and generate a geometrically reasonable and topologically continuous 3D point cloud of the dental arch. S5. The zero isosurface is extracted from the voxel symbolic distance field obtained in step S4 using the moving cube algorithm to generate an initial triangular mesh. After Poisson disk sampling simplification, Laplace smoothing, and boundary hole repair, an optimized mesh is obtained. The optimized mesh is then encoded and exported as a medical 3D model file in a preset format.
2. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 1, characterized in that, Step S1 specifically includes: N sparse view color images of the dentition to be reconstructed are acquired, with 3≤N≤10, covering different perspectives of the dentition, to form a sparse view image sequence; Denoising, pixel value linear normalization, and size regularization are performed sequentially on the sparse view color image to output a standardized image with a uniform resolution of H×W×3. The standardized image is divided into non-overlapping pixel blocks, and high-dimensional image tokens are generated by linear projection of each block to form an image token sequence. A learnable camera token of dimension D is inserted at the front of the image token sequence to construct an input token sequence that fuses the camera's implicit parameters. The camera tokens implicitly encode the camera's intrinsic and extrinsic features through attention interactions.
3. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 1, characterized in that, Step S2 specifically includes: The input token sequence is fed into the Transformer encoding layer, and the token association within a single frame is calculated through a self-attention mechanism to output local anatomical features. Construct a cross-frame token set, calculate and normalize the global similarity matrix, establish multi-view fully connected feature associations, and output global aligned features; A binary mask matrix is constructed based on dental anatomy priors and then multiplied with the attention weight matrix using the Hadamard product to enhance the contribution of key regions such as the incisal edge, pits and fissures, and marginal ridges, and output geometrically guided features. By fusing local features and geometrically guided global features through a feedforward network, globally connected and cross-view consistent geometric topological features are generated.
4. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 3, characterized in that, Step S3 specifically includes: The implicit features of the camera tokens are extracted and mapped through a three-layer fully connected network to generate intrinsic parameter vectors consisting of focal length and principal points, thus constructing the camera intrinsic parameter matrix. The camera's implicit features are mapped to rotation and translation vectors using an extrinsic regression head. The rotation vectors are then transformed by Rodrigues to generate a rotation matrix, which is used to construct the camera's extrinsic matrix. Based on the cross-view alignment feature, the depth value is regressed pixel by pixel to construct the 3D points in the camera coordinate system and transformed to the world coordinate system through extrinsic parameters to generate a multi-view point map. A view scale factor is introduced and a weighted scale consistency loss is constructed to suppress cross-view scale drift and ensure global geometric consistency.
5. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 1, characterized in that, Step S4 specifically includes: Merge the 3D points in the world coordinate system of each view to generate an initial multi-view point cloud set; Construct a 0.1mm resolution voxel mesh, calculate the truncation symbol distance function for each view and perform weighted fusion, extract the zero isosurface to generate a fused surface point cloud; By introducing tooth size constraint loss and dental arch topology constraint loss, a joint optimization objective is constructed to smooth, denoise, and correct the structure of the point cloud, and output a high-precision dental arch point cloud.
6. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 5, characterized in that, Step S5 specifically includes: Based on the voxel-symmetric distance field, the moving cube algorithm is used to extract the zero isosurface and generate the initial triangular mesh; Perform Poisson disk sampling to generate a uniform subset of vertices, and reconstruct the mesh to reduce the number of patches while maintaining geometric accuracy; Laplace smoothing is used to suppress noise, boundary loops are detected, and holes are repaired with minimum area triangulation to obtain an optimized mesh with topological closure and geometric uniformity. The optimized mesh is encoded to generate and export medical 3D model files in STL or OBJ format.
7. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 6, characterized in that, The image tokenization described in step S1 uses fixed-size pixel blocks with a side length P = 16 pixels and a token embedding dimension D = 512 or 768 dimensions.
8. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 1, characterized in that, The intrinsic parameter regression head mentioned in step S3 is a three-layer fully connected network, and the output intrinsic parameter vector includes: horizontal focal length, vertical focal length, principal point x-coordinate and principal point y-coordinate.
9. The method for three-dimensional reconstruction of sparse intraoral tooth views based on a global geometric alignment transformer according to claim 1, characterized in that, In step S3, the extrinsic regression head outputs a three-dimensional rotation vector and a three-dimensional translation vector. The rotation vector is converted into a 3×3 rotation matrix using the Rodriguez formula, and combined with the translation vector to form a 4×4 extrinsic matrix.
