Tooth preparation margin line extraction method and apparatus, device, and medium

By converting the three-dimensional digital model into a two-dimensional image and using a deep learning model to determine the cervical margin line, and then performing error correction in the three-dimensional model, the problem of low efficiency and low accuracy in extracting the cervical margin line of tooth preparations in the existing technology is solved. A more efficient and accurate acquisition of the cervical margin line is achieved.

WO2024199295A1PCT designated stage expired Publication Date: 2024-10-03SHINING 3D TECH CO LTD

Patent Information

Application Number
PCT/CN2024/084163
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-27
Filing Date
2024-03-27
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

The existing technology has low efficiency and accuracy when extracting the cervical margin line of a tooth preparation, and requires a lot of manual interaction and operation time, resulting in insufficient guarantee of obtaining the cervical margin line.

Method used

By obtaining a three-dimensional digital model of the tooth preparation, converting it into a candidate two-dimensional digital image, the deep learning model is used to determine the cervical margin line, and error correction processing is performed in the three-dimensional digital model to obtain the target cervical margin line.

Benefits of technology

The efficiency and accuracy of extracting the cervical edge line of the tooth preparation are improved, the operation process is simplified, and manual interaction time is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024084163_03102024_PF_FP_ABST
    Figure CN2024084163_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a tooth preparation margin line extraction method and apparatus, a device, and a medium. The method comprises: obtaining a three-dimensional digital model of a tooth preparation, and obtaining a candidate two-dimensional digital image corresponding to the three-dimensional digital model; determining a candidate margin line according to the candidate two-dimensional digital image; and in the three-dimensional digital model, performing error correction processing on the candidate margin line to obtain a target margin line.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device, equipment and medium for extracting cervical margin line of tooth preparation

[0001] This disclosure claims priority to Chinese patent application number 2023103396156 filed with the Patent Office of China on March 27, 2023, entitled “Method, device, equipment and medium for extracting the cervical margin line of a tooth preparation”, the entire contents of which are incorporated by reference into this disclosure. Technical Field

[0002] The present disclosure relates to the field of three-dimensional digitization technology, and in particular to a method, device, equipment and medium for extracting the cervical margin line of a tooth preparation. Background Art

[0003] In the field of oral medicine, the introduction of digital technology has brought about profound changes. Extracting the cervical margin of the tooth preparation is a key step in the edge sealing of the oral restoration process. The accuracy of the extraction of the cervical margin directly determines the final shape of the tooth restoration. Among them, the tooth preparation refers to the anatomical shape of the defective tooth that needs to be reconstructed and restored, and the cervical margin of the preparation refers to the outer edge line of the restoration model. It is extracted by the dentist in the tooth model preparation step at the early stage of oral restoration work. It is a closed curve that contains the cervical margin features. Whether the cervical margin of the tooth preparation fits the gum part has an important impact on the patient's comfort, oral health and the success of oral restoration work.

[0004] In the related art, relevant technicians sequentially define key points on the cervical margin line of the tooth preparation, connect every two feature points through algorithms such as the shortest path, and obtain the cervical margin line based on the connection results.

[0005] However, the above-mentioned method of obtaining the cervical margin line not only requires the algorithm to be robust, but also has certain requirements on the operator's skills. It also requires a lot of manual interaction and operation time, etc., resulting in the efficiency and accuracy of obtaining the cervical margin line of the tooth preparation cannot be guaranteed.

[0006] Summary of the Invention

[0007] To solve the above technical problems, or at least partially solve the above technical problems, the present disclosure provides a method, apparatus, device, and medium for extracting the cervical margin line of a tooth preparation. To solve the above technical problems, embodiments of the present disclosure provide a method for extracting the cervical margin line of a tooth preparation, the method comprising: obtaining a three-dimensional digital model of the tooth preparation, obtaining a candidate two-dimensional digital image corresponding to the three-dimensional digital model; determining a candidate cervical margin line based on the candidate two-dimensional digital image; and performing error correction processing on the candidate cervical margin line in the three-dimensional digital model to obtain a target cervical margin line.

[0008] An embodiment of the present disclosure also provides a device for extracting the neck margin line of a tooth preparation, the device comprising: a first acquisition module, configured to acquire a three-dimensional digital model of the tooth preparation; a second acquisition module, configured to acquire a candidate two-dimensional digital image corresponding to the three-dimensional digital model; a determination module, configured to determine a candidate neck margin line based on the candidate two-dimensional digital image; and an error correction module, configured to perform error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line.

[0009] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; the processor for reading the executable instructions from the memory and executing the instructions to implement the method for extracting the cervical margin line of a tooth preparation as provided in an embodiment of the present disclosure.

[0010] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the method for extracting the cervical margin line of a tooth preparation as provided in the embodiment of the present disclosure.

[0011] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art:

[0012] The disclosed embodiments provide a method for extracting the cervical margin of a tooth preparation. This method obtains a 3D digital model of the tooth preparation, acquires a candidate 2D digital image corresponding to the 3D digital model, determines a candidate cervical margin based on the candidate 2D digital image, and performs error correction on the candidate cervical margin within the 3D digital model to obtain a target cervical margin. This disclosed embodiment improves the efficiency and accuracy of extracting the cervical margin of a tooth preparation.

[0013] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.

[0015] FIG1 is a schematic diagram of a process for extracting a cervical margin line of a tooth preparation provided by an embodiment of the present disclosure;

[0016] FIG2 is a schematic diagram of expanding a three-dimensional digital model into candidate two-dimensional digital images according to an embodiment of the present disclosure;

[0017] FIG3 is a schematic diagram of a candidate neck margin line provided by an embodiment of the present disclosure;

[0018] FIG4 is a schematic diagram of a three-dimensional digital model provided by an embodiment of the present disclosure;

[0019] FIG5 is a schematic diagram of a candidate neck margin line and a target neck margin line provided by an embodiment of the present disclosure;

[0020] FIG6 is a schematic diagram of a scene for extracting the cervical margin line of a tooth preparation provided by an embodiment of the present disclosure;

[0021] FIG7 is a schematic structural diagram of a device for extracting the cervical margin line of a tooth preparation provided by an embodiment of the present disclosure;

[0022] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.

[0024] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0025] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.

[0026] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0027] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".

[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0029] In order to solve the above problems, an embodiment of the present disclosure provides a method for extracting the neck margin line of a tooth preparation. In this method, on the one hand, the neck margin line of the tooth preparation is preliminarily determined in a two-dimensional digital image. Since the recognition efficiency is high when the neck margin line is identified in a two-dimensional digital image and is not affected by the diversity of the preparation and the quality of the mesh surface, the accuracy and efficiency of the neck margin line extraction are preliminarily guaranteed; on the other hand, the preliminarily determined neck margin line of the tooth preparation is mapped to a digital three-dimensional model to ensure that the neck margin line can be further refined in the digital three-dimensional model, thereby obtaining the final neck margin line after refined extraction, and ensuring the accuracy of the final extracted neck margin line.

[0030] The method is described below with reference to specific embodiments.

[0031] FIG1 is a flow chart of a method for extracting the neck margin line of a tooth preparation provided by an embodiment of the present disclosure. The method can be performed by a device for extracting the neck margin line of a tooth preparation, wherein the device can be implemented using software and / or hardware and can generally be integrated into an electronic device. As shown in FIG1 , the method includes:

[0032] Step 101: Acquire a three-dimensional digital model of a tooth preparation and acquire a candidate two-dimensional digital image corresponding to the three-dimensional digital model.

[0033] In one embodiment of the present disclosure, a three-dimensional digital model of a tooth preparation from which a cervical margin is to be extracted is obtained. In some possible implementations, the three-dimensional digital model of the tooth preparation can be obtained by scanning a target oral cavity using a preset three-dimensional data scanning device. The preset three-dimensional data scanning device can be a high-precision intraoral scanner, for example. The intraoral scanner uses an immersive optical scanning head to directly scan the patient's oral cavity. Using the principle of structured light triangulation imaging, a digital projection system projects a light pattern onto the tooth preparation, etc. A camera acquisition system acquires the pattern and then processes it through an algorithm to perform three-dimensional reconstruction and splicing to obtain a three-dimensional digital model. The three-dimensional digital model is composed of curved surface patches of multiple triangular meshes.

[0034] Considering that directly extracting the neck margin line on the three-dimensional digital model may be affected by the geometric characteristics of the three-dimensional digital model, resulting in low robustness of the extraction algorithm, affecting the efficiency and accuracy of neck margin line extraction, while the recognition algorithm in the two-dimensional field is relatively accurate and robust. Therefore, in the embodiment of the present disclosure, a candidate two-dimensional digital image corresponding to the three-dimensional digital model is obtained.

[0035] In different application scenarios, the method of expanding the three-dimensional digital model to obtain the candidate two-dimensional digital image is different, as shown below:

[0036] In some possible examples, mesh vertices in a corresponding triangular mesh in a three-dimensional digital model are determined, and a candidate two-dimensional digital image is obtained according to the mesh vertices.

[0037] For example, the first two-dimensional pixel point corresponding to each mesh vertex in the three-dimensional digital model can be determined according to a first preset algorithm. The first preset algorithm includes but is not limited to least squares conformal map (LSCM). The LSCM algorithm can ensure that after the three-dimensional mesh is converted to a two-dimensional plane, the local scale and feature information can be retained as much as possible. Based on the LSCM algorithm, the first two-dimensional pixel point (u, v) corresponding to each mesh vertex (x, y, z) on the two-dimensional plane can be obtained.

[0038] Since the three-dimensional digital model contains not only the mesh vertices in the triangular mesh but also the three-dimensional points inside the triangle, in the embodiment of the present disclosure, the first curvature value of each mesh vertex is also obtained, and the second two-dimensional pixel points corresponding to the internal feature points in each triangular mesh in the three-dimensional digital model are determined according to the preset interpolation algorithm and the curvature value. That is, the curvature information on the vertices on the three-dimensional mesh is converted into a two-dimensional RGB space (0-255), and the pixel value of each second two-dimensional pixel point on the two-dimensional plane is assigned by the interpolation method corresponding to the preset interpolation algorithm, thereby forming a candidate two-dimensional digital image.

[0039] In one embodiment of the present disclosure, grid parameterization is performed based on the three-dimensional digital model to generate the corresponding candidate two-dimensional digital image. That is, the first preset algorithm is grid parameterization, and preferably, the grid parameterization is least squares conformal parameterization.

[0040] For example, as shown in Figure 2, using the aforementioned first preset algorithm, such as mesh parameterization, the 3D digital model can be expanded to obtain a corresponding candidate 2D digital image, wherein 2D pixels in the candidate 2D digital image correspond to corresponding 3D model points in the 3D digital model. That is, while mesh parameterization of the 3D digital model generates the corresponding candidate 2D digital image, a mapping relationship is formed between 2D pixels in the candidate 2D digital image and 3D model points in the 3D digital model. A 2D pixel in the candidate 2D digital image can be identified as a corresponding 3D model point in the 3D digital model, and a 3D model point in the 3D digital model can be identified as a corresponding 2D pixel in the candidate 2D digital image.

[0041] In some possible examples, the coordinate transformation relationship between the three-dimensional model points in the three-dimensional digital model in this embodiment and the two-dimensional pixel points in the candidate two-dimensional digital image picture can be determined in advance. For example, multiple sets of sample data are pre-constructed, each set of sample data includes a sample three-dimensional digital model and a sample two-dimensional digital image corresponding to the sample three-dimensional digital model, multiple reference pixel points in each sample two-dimensional digital image are obtained, and multiple reference three-dimensional points matching the multiple reference pixel points are determined in the corresponding sample three-dimensional digital model, wherein the reference pixel point and the corresponding reference three-dimensional point belong to the same point on the tooth, and the matching method of the multiple reference pixel points and the reference three-dimensional point can be implemented according to a feature matching algorithm, etc.

[0042] Then, the two-dimensional coordinates of each reference pixel point and the three-dimensional coordinates of the corresponding reference three-dimensional point are obtained, and a coordinate conversion relationship is determined according to the two-dimensional coordinates and the three-dimensional coordinates.

[0043] In this example, the two-dimensional pixel points corresponding to the three-dimensional coordinate points of the three-dimensional digital model can be determined based on the coordinate transformation relationship, thereby obtaining a candidate two-dimensional digital image composed of the two-dimensional pixel points.

[0044] Step 102: determining a candidate neck margin line based on the candidate two-dimensional digital image.

[0045] In one embodiment of the present disclosure, a candidate neck margin line is determined based on a candidate two-dimensional digital image. Thus, since the algorithm for determining the candidate neck margin line in the candidate two-dimensional digital image is highly robust, the extracted candidate neck margin line is highly efficient and accurate.

[0046] In some optional implementations, a deep learning model can be trained based on a large amount of sample data, where the sample data includes two-dimensional digital images and manually labeled neck margin lines. The specific training process is as follows: the two-dimensional digital image without the neck margin line is input into the deep learning model, and a neck margin area mask is output. This mask is compared with the manually labeled neck margin area to calculate the loss function. The deep learning model is then optimized using a backpropagation algorithm. The above process is iterated repeatedly until the loss function no longer decreases, indicating that the model has converged, resulting in a trained deep learning model. The candidate two-dimensional digital image is then input into the pre-trained deep learning model, and the "predicted" neck margin area is output, i.e., the candidate neck margin line is determined. Taking the scenario shown in Figure 3 as an example, the candidate two-dimensional digital image obtained in Figure 2 can be input into the pre-trained deep learning model to quickly obtain the candidate neck margin line output by the model.

[0047] Furthermore, considering that the candidate two-dimensional digital image may not completely correspond to the three-dimensional digital model, for example, if the second two-dimensional pixel point in the three-dimensional digital model is obtained by interpolating the first curvature value of each grid vertex according to a preset interpolation algorithm, the second two-dimensional pixel point may have a certain error, and the obtained candidate neck margin line may have an error. Therefore, in order to further refine the candidate neck margin line, the candidate neck margin line can also be determined in the three-dimensional digital model to facilitate further refinement of the candidate neck margin line in the three-dimensional digital model.

[0048] It should be noted that in different application scenarios, the methods for determining the two-dimensional candidate neck margin line in the three-dimensional digital model are different. Examples are as follows:

[0049] In some possible embodiments, candidate neck margin lines are marked in a candidate two-dimensional digital image to obtain a marked target two-dimensional digital image. The candidate neck margin lines in the target two-dimensional digital image are two-dimensional candidate neck margin lines. The target two-dimensional digital image is reprojected onto a three-dimensional digital model to determine candidate neck margin lines corresponding to the two-dimensional candidate neck margin lines in the three-dimensional digital model. The candidate neck margin lines in the three-dimensional digital model are three-dimensional candidate neck margin lines. Reprojection involves determining corresponding three-dimensional candidate neck margin lines in the three-dimensional digital model based on the two-dimensional candidate neck margin lines in the target two-dimensional digital image. It should be noted that the target two-dimensional digital image is the candidate two-dimensional digital image in which the two-dimensional candidate neck margin lines are determined. The mapping relationship between the two-dimensional pixels in the candidate two-dimensional digital image and the three-dimensional model points in the three-dimensional digital model, that is, the mapping relationship between the two-dimensional pixels in the target two-dimensional digital image and the three-dimensional model points in the three-dimensional digital model, can naturally be used to determine the three-dimensional candidate neck margin lines corresponding to the two-dimensional candidate neck margin lines in the target two-dimensional digital image in the three-dimensional digital model based on this mapping relationship. The 2D candidate neck margin line is composed of multiple 2D pixel points corresponding to the candidate neck margin line in the 2D digital image, and the 3D candidate neck margin line is composed of multiple 3D model points corresponding to the 3D candidate neck margin line in the 3D digital model. The reprojection in this embodiment can also be implemented using any reprojection algorithm known in the art, including but not limited to a raster reprojection algorithm.

[0050] When reprojecting the target two-dimensional digital image into the three-dimensional digital model, a mapping relationship between the two-dimensional pixel points in the target two-dimensional digital image and the corresponding three-dimensional model points in the three-dimensional digital model is determined. The mapping relationship describes the correspondence between the two-dimensional pixel points and the three-dimensional model points of the same point on the tooth preparation. For example, the mapping relationship may be a description of the coordinate conversion relationship between the two-dimensional pixel points and the three-dimensional model points of the same point on the tooth preparation.

[0051] Then, based on the mapping relationship, the first 3D point in the 3D digital model corresponding to each 2D point in the 2D candidate neck margin line is determined. For example, a random sampling algorithm can be used to determine sampled 2D points in the 2D candidate neck margin line, and the first 3D point corresponding to each sampled 2D point can be determined based on the mapping relationship. Another example is that the mapping relationship can be used to determine the first 3D point in the 3D digital model corresponding to each 2D point in the 2D candidate neck margin line. Then, based on the first 3D point, the candidate neck margin line in the 3D digital model is obtained.

[0052] It should be emphasized that the purpose of determining the three-dimensional candidate neck margin line corresponding to the two-dimensional candidate neck margin line in the three-dimensional digital model is to determine the position of the candidate neck margin line in the three-dimensional digital model, so as to facilitate further refinement of the candidate neck margin line in the three-dimensional digital model. The three-dimensional candidate neck margin line corresponding to the two-dimensional candidate neck margin line determined in the three-dimensional digital model can be non-visual or visual. In some possible implementation methods, in order to improve the intuitiveness of obtaining the neck margin line of the tooth preparation, the three-dimensional candidate neck margin line corresponding to the two-dimensional candidate neck margin line determined in the three-dimensional digital model will be displayed in a visual manner. For example, as shown in Figure 4, the three-dimensional digital model is displayed, and the corresponding candidate neck margin line is displayed in the three-dimensional digital model.

[0053] Step 103 : performing error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line.

[0054] In one embodiment of the present disclosure, after obtaining a three-dimensional digital model, error correction processing is performed on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line, wherein, as shown in FIG5 , the target neck margin line corrects the error of the candidate neck margin line, thereby ensuring the accuracy of the obtained target neck margin line.

[0055] It should be noted that in different application scenarios, the methods for performing error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain the target neck margin line are different. Examples are as follows:

[0056] In some possible embodiments, the logic of algorithms such as random walk algorithms can be used to perform error correction processing. In this embodiment, the determined area and the unknown area in the three-dimensional digital model are determined based on the candidate cervical margin line. The determined area in this embodiment can be understood as an area composed of three-dimensional points that do not belong to the cervical margin line, which is usually located in the tooth tip area (the upper half of the tooth preparation as shown in Figure 6). The unknown area is understood as an area composed of three-dimensional points that may belong to the candidate cervical margin line and the three-dimensional points near it (the candidate cervical margin line and the area near it as shown in Figure 6).

[0057] In some possible embodiments, in the three-dimensional digital model, associated three-dimensional points are determined for a second three-dimensional point in the candidate neck margin line. For example, associated three-dimensional points are determined for a sampled second three-dimensional point in the candidate neck margin line. Another example is determining associated three-dimensional points for each second three-dimensional point in the candidate neck margin line. An associated three-dimensional point can be understood as a three-dimensional point in the three-dimensional digital model whose distance from the corresponding second three-dimensional point in the candidate neck margin line is less than a preset distance threshold, where the preset distance threshold can be calibrated based on experimental data. In this embodiment, the region corresponding to the second two-dimensional point and the associated three-dimensional point is determined as an unknown region. That is, in this embodiment, the candidate neck margin line and its surrounding region can be defined as an unknown region based on a preset distance. In this embodiment, to ensure the accuracy of the determination of the unknown region, the long axis of the tooth in the three-dimensional digital model of the tooth preparation is parallel to the Z-axis on the coordinate system (it should be emphasized that parallelism here can be understood as the central axis direction of the tooth long axis being parallel to the Z-axis, and visually, the long axis of the tooth can be approximately parallel to the Z-axis). The root-to-crown direction in the three-dimensional digital model of the tooth preparation is the positive direction of the Z-axis. It should be noted that, in the present disclosure, the first three-dimensional point, the second three-dimensional point and the three-dimensional model point are all three-dimensional points containing three-dimensional coordinate information in the three-dimensional digital model.

[0058] Furthermore, in this embodiment, according to the second preset algorithm, the second curvature value of the sampling grid points in the three-dimensional digital model is traversed in the direction from the determined area to the unknown area, wherein the sampling grid point can be understood as any three-dimensional point on the target tooth model, and the second preset algorithm can be the random walk algorithm mentioned above, etc.

[0059] The target sampling grid points that meet the preset convergence conditions corresponding to the preset second preset algorithm are determined according to the second curvature value, wherein when the second preset algorithm is a random walk algorithm, since the walk logic of the random walk algorithm is: starting from one or a series of vertices to traverse a graph, at any vertex, the traverser will walk to the neighboring vertex of this vertex with probability 1-a, and randomly jump to any vertex in the graph with probability a (these jumped vertices can be understood as the sampling grid points mentioned above), a is called the jump probability, and a probability distribution is obtained after each walk, which describes the probability of each vertex in the graph being visited. This probability distribution is used as the input of the next walk and the process is iterated repeatedly. When the preset convergence conditions are met, this probability distribution will tend to converge.

[0060] In this embodiment, considering that the second curvature value of the sampling grid points on the neck edge line is greater than the curvature value of the sampling grid points on the non-neck edge line, the convergence condition in this embodiment corresponds to the inability to walk near the neck edge line to accurately determine the target sampling grid point on the corresponding target neck edge line. In this embodiment, the preset convergence condition can be that the second curvature value of the current sampling grid point is greater than the curvature value of the previous adjacent sampling grid point, and the second curvature value of the current sampling grid point is greater than the curvature value of the next adjacent sampling grid point, etc., that is, when the second curvature value of the current sampling grid point is greater than the second curvature value of the adjacent sampling grid point, it is considered that the preset convergence condition is met, and the random walk is stopped to determine the corresponding current sampling grid point as the target sampling grid point.

[0061] Among them, in the actual execution process, in order to further ensure that the acquired target sampling grid point belongs to the neck margin line, the second curvature value of the sampling grid point with a larger second curvature value can be further improved when traversing the second curvature value of the sampling grid point in the three-dimensional digital model according to the second preset algorithm. For example, the initial curvature value of the grid point in the unknown area is identified, and it is determined whether the initial curvature value is greater than or equal to the preset curvature threshold (wherein the preset curvature threshold can be set according to the scene requirements). If it is greater than the preset curvature threshold, the weight of the initial curvature value is increased. For example, the initial curvature value greater than the preset curvature threshold is multiplied by a preset weight value greater than 1 to obtain the weighted curvature value, thereby further ensuring that the random walk algorithm can stop walking when it walks to the target sampling grid point, thereby ensuring the accuracy of the target sampling grid point.

[0062] Furthermore, after determining the target sampling grid points, the target sampling grid points are fitted to obtain a target neck margin line. Fitting algorithms for fitting the target sampling grid points include, but are not limited to, Bezier curve fitting and 3D B-spline fitting. In some possible embodiments, to avoid an unevenly smooth target neck margin line, a smoothing method can be used to process the target sampling grid points to obtain the target neck margin line. Specifically, after fitting the target sampling grid points according to a preset fitting algorithm to obtain a fitting curve, the fitting curve is sampled to obtain multiple 3D sampling points. The sampling 3D points can be obtained using any random sampling algorithm. Then, the corresponding target neck margin line is obtained based on the multiple 3D sampling points. In other words, in this embodiment, the fitting curve is resampled and refitted to obtain a smoother target neck margin line.

[0063] In some possible embodiments, since the curvature value near the neck edge line is significantly larger, after determining the candidate neck edge line, the third curvature value of the candidate neck edge 3D point belonging to the triangular mesh vertex in each candidate neck edge line is also determined, and the fourth curvature value of the other adjacent 3D mesh vertices on the triangular mesh where each candidate neck edge 3D point is located is determined. If the third curvature value is greater than the fourth curvature value of the other adjacent 3D mesh points, the corresponding candidate neck edge 3D point is determined as the target neck edge 3D point on the target neck edge line. If the third curvature value is not greater than the fourth curvature value of the other adjacent 3D mesh vertices, the maximum fourth curvature value among the fourth curvature values ​​of the other adjacent 3D mesh vertices is determined, and the maximum fourth curvature value is continued to be compared. The largest fourth curvature value and the fifth curvature values ​​of other adjacent three-dimensional mesh vertices on the triangular mesh where the largest fourth curvature value is located are compared. If the fourth curvature values ​​are all greater than the fifth curvature values ​​of other adjacent three-dimensional mesh points, the three-dimensional mesh vertex corresponding to the fourth curvature value is determined as the target neck edge three-dimensional point on the target neck edge line. If the fourth curvature value is not greater than the fifth curvature value of other adjacent three-dimensional mesh vertices, the maximum fifth curvature value among the fifth curvature values ​​of other adjacent three-dimensional mesh vertices is determined, and the sixth curvature values ​​of other adjacent three-dimensional mesh vertices on the triangular mesh where the maximum fifth curvature value is located are continued to be compared... and so on, to determine multiple target neck edge three-dimensional points belonging to the target neck edge line, and determine the target neck edge line based on the target neck edge three-dimensional points.

[0064] The method for extracting the cervical margin line of a tooth preparation provided by the present invention can improve the extraction efficiency and accuracy of the cervical margin line of a tooth preparation, and has strong industrial applicability.

[0065] In summary, the method for extracting the cervical margin of a tooth preparation in the disclosed embodiment obtains a 3D digital model of the tooth preparation, obtains a candidate 2D digital image corresponding to the 3D digital model, then determines a candidate cervical margin based on the candidate 2D digital image. Error correction is then performed on the candidate cervical margin within the 3D digital model to obtain a target cervical margin. In the disclosed embodiment, the efficiency and accuracy of extracting the cervical margin of a tooth preparation are improved.

[0066] In order to implement the above embodiment, the present disclosure also proposes a device for extracting the cervical margin line of a tooth preparation.

[0067] FIG7 is a schematic diagram of the structure of a device for extracting the neck margin line of a tooth preparation provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device to extract the neck margin line of a tooth preparation. As shown in FIG7 , the device includes: a first acquisition module 710, a second acquisition module 720, a determination module 730, and an error correction module 740, wherein:

[0068] A first acquisition module 710 is configured to acquire a three-dimensional digital model of the tooth preparation;

[0069] The second acquisition module 720 is configured to acquire a candidate two-dimensional digital image corresponding to the three-dimensional digital model;

[0070] The determination module 730 is configured to determine a candidate neck margin line based on the candidate two-dimensional digital image.

[0071] The error correction module 740 is configured to perform error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line.

[0072] The device for extracting the cervical margin line of a tooth preparation provided in the embodiment of the present disclosure can execute the method for extracting the cervical margin line of a tooth preparation provided in any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method. The implementation principle is similar and will not be repeated here.

[0073] In order to implement the above embodiments, the present disclosure further proposes a computer program product, including a computer program / instruction, which implements the method for extracting the cervical margin line of the tooth preparation in the above embodiments when executed by a processor.

[0074] FIG8 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0075] 8 , which illustrates a schematic diagram of an electronic device 800 suitable for implementing embodiments of the present disclosure. The electronic device 800 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG8 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.

[0076] As shown in Figure 8, electronic device 800 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a memory 808 into a random access memory (RAM) 803. Various programs and data required for the operation of electronic device 800 are also stored in RAM 803. Processor 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to bus 804.

[0077] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although FIG8 shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0078] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 809, or installed from the memory 808, or installed from the ROM 802. When the computer program is executed by the processor 801, the above-mentioned functions defined in the method for extracting the cervical margin line of the tooth preparation according to the embodiment of the present disclosure are performed.

[0079] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0080] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.

[0081] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0082] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0083] A three-dimensional digital model of a tooth preparation is obtained, and a candidate two-dimensional digital image corresponding to the three-dimensional digital model is obtained. A candidate neck margin line is then determined based on the candidate two-dimensional digital image. Error correction processing is then performed on the candidate neck margin line within the three-dimensional digital model to obtain a target neck margin line. In the disclosed embodiments, the efficiency and accuracy of extracting the neck margin line of a tooth preparation are improved.

[0084] The electronic device may write computer program code for performing the operations of the present disclosure in one or more programming languages, or a combination thereof, including but not limited to object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0085] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0086] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.

[0087] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0088] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0089] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0090] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0091] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A method for extracting the cervical margin line of a tooth preparation, comprising: Acquire a three-dimensional digital model of the tooth preparation, and acquire a candidate two-dimensional digital image corresponding to the three-dimensional digital model; Determine a candidate neck margin line according to the candidate two-dimensional digital image; An error correction process is performed on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line.

2. The method according to claim 1, wherein obtaining the candidate two-dimensional digital image corresponding to the three-dimensional digital model comprises: Determining mesh vertices in a triangular mesh in the three-dimensional digital model; The candidate two-dimensional digital image is acquired according to the mesh vertices.

3. The method according to claim 1 or 2, wherein obtaining the candidate two-dimensional digital image according to the mesh vertices comprises: Determine a first two-dimensional pixel point corresponding to a mesh vertex according to a first preset algorithm; Acquire a first curvature value of the mesh vertex, and determine a second two-dimensional pixel point corresponding to an internal feature point in a triangular mesh in the three-dimensional digital model according to a preset interpolation algorithm and the curvature value; The candidate two-dimensional digital image is acquired according to the first two-dimensional pixel points and the second two-dimensional pixel points.

4. The method according to any one of claims 1 to 3, wherein obtaining a candidate two-dimensional digital image corresponding to the three-dimensional digital model comprises: A grid parameterization is performed based on the three-dimensional digital model to generate a corresponding candidate two-dimensional digital image.

5. The method according to any one of claims 1 to 4, wherein determining the candidate neck margin line according to the candidate two-dimensional digital image comprises: The candidate two-dimensional digital image is input into a pre-trained deep learning model, and the candidate cervical margin line is determined according to an output result of the deep learning model.

6. The method according to any one of claims 1 to 5, before performing error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain the target neck margin line, further comprising: Determine a two-dimensional candidate neck edge line in the candidate two-dimensional digital image to obtain a target two-dimensional Digital images; The target two-dimensional digital image is reprojected into the three-dimensional digital model, and the candidate neck margin line corresponding to the two-dimensional candidate neck margin line is determined in the three-dimensional digital model, where the candidate neck margin line is a three-dimensional candidate neck margin line.

7. The method according to any one of claims 1 to 6, wherein reprojecting the target two-dimensional digital image into the three-dimensional digital model and determining the candidate neck margin line corresponding to the two-dimensional candidate neck margin line in the three-dimensional digital model comprises: Determine a mapping relationship between two-dimensional pixel points in the target two-dimensional digital image and corresponding three-dimensional model points in the three-dimensional digital model; A first three-dimensional point corresponding to a two-dimensional point in the two-dimensional candidate neck margin line in the three-dimensional digital model is determined according to the mapping relationship, and the candidate neck margin line is acquired according to the first three-dimensional point.

8. The method according to any one of claims 1 to 7, wherein the step of performing error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line comprises: Determine a determined area and an unknown area in the three-dimensional digital model according to the candidate cervical margin line; Traversing second curvature values ​​of sampling grid points in the unknown area in a direction from the determined area to the unknown area according to a second preset algorithm; Determining, according to the second curvature value, a target sampling grid point that satisfies a preset convergence condition corresponding to the second preset algorithm; The target sampling grid points are fitted to obtain the target neck edge line.

9. The method according to any one of claims 1 to 8, wherein determining the determined area and the unknown area in the three-dimensional digital model according to the candidate neck margin line comprises: In the three-dimensional digital model, determining an associated three-dimensional point of the second three-dimensional point in the candidate neck margin line, wherein the distance between the associated three-dimensional point and the corresponding second three-dimensional point in the candidate neck margin line is less than a preset distance threshold; Determine an area corresponding to the second three-dimensional point and the associated three-dimensional point as the unknown area; The region above the unknown region in the three-dimensional digital model is determined as the determined region, wherein the Z axis of the coordinate system of the three-dimensional digital model of the tooth preparation is parallel to the long axis of the tooth in the three-dimensional digital model of the tooth preparation, and the three-dimensional digital model of the tooth preparation is parallel to the long axis of the tooth in the three-dimensional digital model of the tooth preparation. The direction from the root to the crown in the 3D digital model is the positive direction of the Z axis.

10. The method according to any one of claims 1 to 9, wherein the preset convergence condition comprises: The second curvature value of the current sampling grid point is greater than the curvature value of the previous adjacent sampling grid point, and the second curvature value of the current sampling grid point is greater than the curvature value of the next adjacent sampling grid point.

11. The method according to any one of claims 1 to 10, wherein the fitting process of the target sampling grid points to obtain the target neck edge line comprises: Fitting the target sampling grid points according to a preset fitting algorithm to obtain a fitting curve; The fitting curve is sampled to obtain a plurality of sampling three-dimensional points, and the target neck margin line is acquired according to the plurality of sampling three-dimensional points.

12. The method according to any one of claims 1 to 11, before traversing the second curvature values ​​of the sampling grid points in the unknown area in the three-dimensional digital model, further comprising: Identifying initial curvature values ​​of grid points in the unknown region, and determining candidate grid points whose initial curvature values ​​are greater than a preset curvature threshold; The product of a preset weight and an initial curvature value of the candidate grid point is calculated, and the curvature value of the candidate grid point is updated according to the product value, wherein the preset weight is greater than 1.

13. A device for extracting the cervical margin line of a prepared tooth, comprising: A first acquisition module is configured to acquire a three-dimensional digital model of the tooth preparation; A second acquisition module is configured to acquire a candidate two-dimensional digital image corresponding to the three-dimensional digital model; A determination module is configured to determine a candidate neck edge line according to the candidate two-dimensional digital image. The error correction module is configured to perform error correction processing on the candidate neck margin line in the three-dimensional digital model to obtain a target neck margin line.

14. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the method for extracting the neck margin line of the tooth preparation body as described in any one of claims 1-12.

15. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the method for extracting the cervical margin line of a tooth preparation according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Three-dimensional graph recognition method, device and apparatus and storage medium

    CN111414809A

  • Tooth preparation neck-edge line extraction method, device, equipment and medium

    CN116468750A

  • Three-dimensional tooth modeling using a two-dimensional x-ray image

    US20160239631A1

  • Method for manipulating 3D objects by flattened mesh

    US20200273248A1

  • Teeth segmentation using neural networks

    US20220215531A1

Cited By

  • False tooth edge line determination method and device, electronic equipment and storage medium

    CN119339029A

  • False tooth edge line determination method and device, computer equipment and storage medium

    CN119359754A

  • Deep-learning-based method and system for extracting finish line of full-crown-restoration preparation

    WO2026092363A1