Gingival margin line generation method and device, computer equipment and storage medium

By automatically generating gingival margin lines, the problem of low cutting efficiency and low precision of invisible braces has been solved, achieving efficient and precise gingival margin cutting, thus improving production efficiency and user comfort.

CN115375720BActive Publication Date: 2026-05-08SHANGHAI MAIYA TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI MAIYA TECH CO LTD
Filing Date
2022-08-26
Publication Date
2026-05-08

AI Technical Summary

Technical Problem

Traditional invisible braces have low efficiency and precision in cutting the gum line, and are prone to damaging the gums.

Method used

By acquiring the edge line of a single tooth, calculating the gingival contour line and combining it with gingival tissue data, the gingival edge line is automatically generated. The edge line is then updated using a tooth displacement data table, thus achieving automatic cutting.

Benefits of technology

It improves the production efficiency and precision of invisible braces, avoids gum damage, and enhances user comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115375720B_ABST
    Figure CN115375720B_ABST
Patent Text Reader

Abstract

The application relates to a gum edge line generation method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: acquiring a single tooth edge line to obtain a tooth gum edge line; calculating a gum contour line according to the tooth gum edge line, and calculating a gum edge line according to the gum contour line; and updating the gum edge line according to a tooth displacement data table to obtain an updated gum edge line. The method can automatically cut a tooth corrector, improve the production efficiency of the tooth corrector and reduce the production cost. Meanwhile, the application improves the precision of gum edge cutting of the tooth corrector, so that the gum is not damaged when a user wears the tooth corrector, and the comfort of the user wearing the tooth corrector is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of manufacturing custom products, and in particular to a method, apparatus, computer device, storage medium, and computer program product for generating gingival margin lines. Background Technology

[0002] In the production of invisible braces, cutting the edges is an essential process. The edges of the aligners need to be cut according to the user's gum line. Furthermore, multiple stages of orthodontic treatment may require different aligners, meaning multiple cutting steps are necessary.

[0003] In traditional techniques, cutting is done by manually marking lines first, which is not only inefficient but also prone to large errors and low cutting precision. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer device, computer-readable storage medium, and computer program product for generating gingival margin lines to improve the production efficiency and accuracy of invisible orthodontic appliances, in order to address the aforementioned technical problems.

[0005] In one aspect, this application provides a method for generating a gingival margin line. The method includes:

[0006] Obtain the edge line of a single tooth to obtain the tooth-gingival edge line;

[0007] Calculate the gingival contour line based on the tooth gingival margin line;

[0008] The gingival margin line is updated based on the tooth displacement data table to obtain the updated gingival margin line.

[0009] In one embodiment, calculating the gingival contour line based on the tooth gingival margin line includes:

[0010] Spatial alignment and planar fitting of all tooth gingival margin lines;

[0011] The gingival margin is processed based on the position of a single tooth to obtain the gingival contour line;

[0012] The gingival margin line is calculated based on the gingival contour line combined with gingival tissue data.

[0013] In one embodiment, the gingival margin line is processed based on the position of a single tooth to obtain the gingival contour line, including:

[0014] Based on the position of a single tooth, the gingival margin line of the tooth after planar fitting is extracted and stitched together to obtain the original gingival contour line;

[0015] The original gingival contour line is integrated to obtain the gingival contour line.

[0016] In one embodiment, based on the position of a single tooth, the gingival margin line of the tooth after planar fitting is extracted and stitched together to obtain the original gingival contour line, including:

[0017] The lowest point of the tooth gingival margin in the first direction is taken as the feature point;

[0018] A triangular area is formed based on two adjacent feature points and the concave point of the gap between adjacent teeth;

[0019] The contour lines of the triangular region are obtained by mapping the triangular region based on the 3D model.

[0020] The original gingival contour line is obtained by piecing together all the triangular area contour lines.

[0021] In one embodiment, the gingival margin line is calculated based on the gingival contour line combined with gingival tissue data, including:

[0022] Based on the gingival contour, the lowest and highest points of each tooth in the first direction are selected, the height difference between the lowest and highest points is calculated, and the point cloud data of the tooth model within the height difference is obtained.

[0023] Translate the gingival contour line in the first direction of the teeth;

[0024] Based on the normal vector of each point on the translated gingival contour line, the points on the gingiva are traversed in the point cloud data, and the gingival margin line is fitted to form the gingival margin line.

[0025] In one embodiment, updating the gingival margin line based on a tooth displacement data table to obtain the updated gingival margin line includes:

[0026] The gingival margin line is translated and rotated in space based on the tooth offset data in the tooth displacement data table.

[0027] The translated and spatially rotated gingival margin is mapped onto a 3D model. The point cloud data of the 3D model is traversed, and the updated gingival margin is obtained by fitting.

[0028] In one embodiment, obtaining the edge line of a single tooth to obtain the tooth-gingival edge line includes:

[0029] Based on a single tooth model, the edge line of a single tooth is calculated using the gradient limit method.

[0030] For individual tooth edge lines, noise in the individual tooth edge lines is removed, the dividing lines between teeth and adjacent teeth are filtered out, and the tooth-gingival edge lines are obtained through the uniform distribution of curve vectors.

[0031] Secondly, this application also provides a gingival margin line generating device. The device includes:

[0032] The acquisition module is used to acquire the edge line of a single tooth and obtain the tooth-gingival edge line;

[0033] The calculation module is used to calculate the gingival contour line based on the tooth gingival margin line, and to calculate the gingival margin line based on the gingival contour line.

[0034] The update module is used to update the gingival margin line based on the tooth displacement data table, and obtain the updated gingival margin line.

[0035] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0036] Obtain the edge line of a single tooth to obtain the tooth-gingival edge line;

[0037] Calculate the gingival contour line based on the tooth gingival margin line;

[0038] The gingival margin line is updated based on the tooth displacement data table to obtain the updated gingival margin line.

[0039] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0040] Obtain the edge line of a single tooth to obtain the tooth-gingival edge line;

[0041] Calculate the gingival contour line based on the tooth gingival margin line;

[0042] The gingival margin line is updated based on the tooth displacement data table to obtain the updated gingival margin line.

[0043] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0044] Obtain the edge line of a single tooth to obtain the tooth-gingival edge line;

[0045] Calculate the gingival contour line based on the tooth gingival margin line;

[0046] The gingival margin line is updated based on the tooth displacement data table to obtain the updated gingival margin line.

[0047] The aforementioned method, apparatus, computer equipment, storage medium, and computer program product for generating gingival margin lines first obtain the gingival margin line within the tooth margin line based on a single tooth model. Then, the gingival contour line is calculated using the gingival margin line, followed by the gingival margin line. The gingival margin line is then updated based on tooth displacement data during the orthodontic process. The gingival margin line calculated in this application is the edge line used when cutting the aligner during the fabrication of the clear aligner. During cutting, the cutting tool follows this line to cut the aligner. Using the gingival margin line calculated in this application, automatic cutting of the gingival margin in clear aligners can be achieved, improving the production efficiency and reducing production costs. Simultaneously, this application improves the accuracy of gingival margin cutting in clear aligners, ensuring that users do not damage their gums when wearing clear aligners, thus enhancing user comfort. Attached Figure Description

[0048] Figure 1 This is a flowchart illustrating a method for generating the gingival margin line in one embodiment;

[0049] Figure 2 This is a flowchart illustrating a method for generating tooth gingival margin lines in one embodiment;

[0050] Figure 3 This is a schematic diagram of the process for calculating the gingival margin in one embodiment;

[0051] Figure 4 This is a schematic diagram of the gingival contour calculation process in one embodiment;

[0052] Figure 5 This is a schematic diagram of the gingival contour in one embodiment;

[0053] Figure 6 This is a schematic diagram of the triangular region when calculating the gingival contour in one embodiment;

[0054] Figure 7 This is a schematic diagram of the process for calculating the gingival margin line using gingival tissue data in one embodiment.

[0055] Figure 8 This is a schematic diagram of the gingival margin in one embodiment;

[0056] Figure 9 This is a schematic diagram of the process for updating the gingival margin in one embodiment;

[0057] Figure 10 This is a structural block diagram of a gingival margin line generating device in one embodiment;

[0058] Figure 11 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0060] In one embodiment, such as Figure 1 As shown, a method for generating a gingival margin line is provided, including the following steps 100 to 300.

[0061] The gingival margin line calculated in this embodiment is the edge line along which the clear aligner is cut during the fabrication of the aligner. During cutting, the cutting tool follows this line to cut the aligner. Step 100: Obtain the edge line of a single tooth to obtain the tooth-gingival margin line.

[0062] The single tooth edge line is obtained based on a single tooth model. The single tooth edge line includes several line information such as the tooth crest, the gingival line, and the dividing line between the tooth and adjacent teeth. In this embodiment, only the gingival edge line needs to be extracted when calculating the gingival edge line.

[0063] Step 200: Calculate the gingival contour line based on the tooth gingival margin line.

[0064] Specifically, after obtaining the gingival margin lines of all individual teeth, these lines are connected to form the gingival contour line. The gingival margin line is then calculated based on this contour line. During the fabrication of invisible aligners, the calculated gingival margin line allows for automatic cutting, eliminating the need for manual intervention and improving the production efficiency and precision of invisible aligners.

[0065] Step 300: Update the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line.

[0066] During orthodontic treatment, the position of the teeth may change, requiring regular updates to the invisible aligners. The gingival margin is recalculated based on the tooth displacement data, resulting in an updated gingival margin. The invisible aligners are then updated according to this updated gingival margin.

[0067] In the gingival margin line generation method disclosed in the above embodiments, the gingival margin line of a single tooth is first obtained based on the individual tooth margin line. Then, the gingival margin lines of all teeth are spliced ​​and fitted to obtain the gingival contour line. The gingival margin line is then calculated based on the gingival contour line. As orthodontic treatment progresses, the gingival margin line is continuously updated in conjunction with a tooth displacement data table. This embodiment can automatically generate the gingival margin line throughout the entire orthodontic process without manual intervention, improving the efficiency and accuracy of gingival margin line generation.

[0068] Figure 2 The diagram shown is a flowchart illustrating a method for generating tooth gingival margin lines in one embodiment. Figure 2 As shown, in one embodiment, obtaining the edge line of a single tooth and obtaining the tooth-gingival edge line includes steps 110 to 130.

[0069] Step 110: Based on the single tooth model, the edge line of the single tooth is calculated using the gradient limit method.

[0070] The edge line of a single tooth includes the crest of the tooth, the line where the tooth and gum meet, and the dividing line between the tooth and adjacent teeth. In this embodiment, only the edge lines of the tooth and gum are needed when generating the gingival edge line; other line segments obtained from the tooth model must be removed.

[0071] Specifically, the tooth model can be an STL (stereolithography) model, which is a three-dimensional model consisting of several triangular faces. The acquired tooth model is then segmented into individual tooth patterns; there are no restrictions on the specific segmentation method, and any method can be used.

[0072] Based on the segmented single-tooth model, the edge line of a single tooth is obtained, and the gradient limit method can be used to traverse the STL model. Since the STL model is composed of triangular faces, this embodiment scans each triangular face and the three triangular faces adjacent to it in the STL model, and performs calculations using the gradient limit method. For example, the scanned triangular face is set as face N, and the three triangular faces adjacent to face N are set as faces M1, M2, and M3. The gradient calculation is performed according to the following formula (1):

[0073]

[0074] In formula (1), n1, n2, and n3 represent the coordinate vectors of the three vertices of surface N, and m11, m12, and m13 represent the coordinate vectors of the three vertices of surface M1. A gradient threshold is set, and the gradient value calculated by formula (1) is compared with the gradient threshold to obtain the edge line of a single tooth.

[0075] Step 120: For individual tooth edge lines, remove noise from the individual tooth edge lines and filter out the dividing lines between teeth and adjacent teeth.

[0076] In this process, the obtained individual tooth edge lines include lines that are not needed when calculating the gingival margin, and these lines need to be filtered out. For example, the length threshold method can be used to filter out other short line noise in the tooth freckles and tooth edge lines, since most of the line segments in the tooth freckles are short lines; the closed curve method can be used to filter out the dividing lines between teeth and adjacent teeth, since most adjacent tooth lines are open curves.

[0077] Step 130: Obtain the tooth gingival margin line through the uniform distribution of the curve vector.

[0078] Specifically, the line segments after filtering out the tooth edge lines can be classified by clustering, and then the distribution of the curve vectors can be analyzed. When the curve vectors are uniformly distributed, the line is confirmed as the tooth-gingival edge line.

[0079] Figure 3 The diagram shown is a flowchart illustrating the calculation of the gingival margin line in one embodiment. Figure 3 As shown, in one embodiment, calculating the gingival contour line based on the tooth gingival margin line, and calculating the gingival margin line based on the gingival contour line, includes steps 210 to 230.

[0080] Step 210: Spatial alignment and planar fitting of all tooth gingival margin lines.

[0081] Step 220: Process the gingival margin line based on the position of a single tooth to obtain the gingival contour line.

[0082] Step 230: Calculate the gingival margin line based on the gingival contour line and gingival tissue data.

[0083] In calculating the gingival contour line based on the tooth-gingival margin line, the spatial arrangement and planar fitting of the tooth-gingival margin lines of all teeth are first performed, connecting the tooth-gingival margin lines of each tooth together. Then, the connected tooth-gingival margin lines are extracted and stitched together based on the tooth position to obtain the gingival contour line. Finally, the gingival contour line is combined with gingival tissue data to calculate the gingival margin line.

[0084] This embodiment calculates gingival margin segments by region based on the gingival contour line and gingival tissue data, and then fits the gingival margin segments of each region to automatically generate gingival margin lines and improve the accuracy of generating gingival margin lines.

[0085] Figure 4 The diagram shown is a schematic of the gingival contour calculation process in one embodiment. Figure 4As shown, in one embodiment, the gingival margin line of a tooth is processed based on the position of a single tooth to obtain a gingival contour line, including steps 222 to 224.

[0086] Step 222: Based on the position of a single tooth, extract and stitch together the tooth gingival margin line after planar fitting to obtain the original gingival contour line.

[0087] Specifically, when spatially arranging the gingival margins of teeth, the tooth positions can be divided into regions. Based on the different tooth positions, line segments and surfaces are matched at the corresponding tooth positions. The position with the shortest approximate distance is selected to determine the coordinates. After determination, the gingival margins of the teeth are marked according to the tooth position number. For the arranged gingival margins, surface fitting can be performed using the least squares method according to the following formula (2):

[0088] A*x+B*y+C*z+D=0(C≠0)(2)

[0089] In formula (2), x, y, and z are the point cloud data vectors of the tooth gingival margin in the STL model, and A, B, C, and D are all undetermined coefficients. The S value in the following formula (3) is minimized. After solving for the corresponding values ​​of a0, a1, and a2, the square fitting equation is obtained, and the plane fitting curve of the single tooth margin is obtained:

[0090]

[0091] In formula (3), a0 = -A / C, a1 = -B / C, and a2 = -D / C. By performing planar fitting on the gingival margin lines of all teeth according to the different tooth position numbers, the fitting curves of the gingival margin lines of all individual teeth are obtained.

[0092] Step 224: Integrate the original gingival contour line to obtain the gingival contour line.

[0093] By integrating the fitted curves of all individual tooth gingival margins, we obtain, as shown below. Figure 5 The gingival contour line is shown. This is to facilitate the calculation of the gingival margin line of the invisible braces based on gingival tissue data and the gingival contour line.

[0094] In one embodiment, based on the position of a single tooth, the original gingival contour line is obtained by extracting and assembling the tooth gingival margin line after planar fitting. This includes: using the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; obtaining the triangular region contour line segment based on the 3D model mapping; and assembling all the triangular region contour line segments to obtain the original gingival contour line. Taking the tooth model coordinate system as an example, it includes three coordinate axes: X, Y, and Z. The XY plane can be a plane parallel to the horizontal plane, and the first direction in this embodiment can be the Z-axis direction in the tooth model coordinate system.

[0095] Figure 6 The diagram illustrates the triangular region during the generation of the gingival margin. The lowest point of the gingival margin in the first direction is the point farthest from the occlusal surface of the tooth. The concave points of the gaps between adjacent teeth are determined based on the curvature of the curve. The curvature of each point on the gingival margin is obtained by calculating the curvature of the curve. Typically, concave points are locations with relatively large curvature, and the direction of the normal vector of the concave point is consistent with the direction of the line connecting the concave point to the nearest point on the dental arch curve. The dental arch curve is formed by fitting the lingual tooth margins to several curves.

[0096] Specifically, such as Figure 6 Point P is shown as the first feature point. Point Q, the lowest point of the gingival margin of the adjacent tooth in the first direction, is taken as the second feature point. The concave point O of the gap between the two teeth is taken as the third feature point. A triangular area is formed based on the three feature points P, Q and O.

[0097] Based on the 3D model within the triangular region, point cloud data within the triangular region is mapped. Then, according to the distance relationship between points on the tooth and gingival margin lines, adjacent points are connected sequentially. To address potential errors and noise during the connection process, a minimum spanning tree method is used to reduce small loops, and a pruning algorithm is employed to reduce redundant short branches. Finally, a smooth triangular region contour segment is fitted. Based on the previously labeled tooth position information and feature point order, all triangular region contour segments are combined to obtain the original gingival contour line.

[0098] In one embodiment, such as Figure 7 The diagram shows a flowchart for calculating the gingival margin based on the gingival contour and gingival tissue data, including steps 232 to 236.

[0099] Step 232: Filter the lowest and highest points of each tooth in the first direction according to the gingival contour line, calculate the height difference between the lowest and highest points, and obtain the point cloud data of the tooth model within the height difference.

[0100] The first direction of the tooth is the same as the first direction of the gingival line mentioned earlier, which is perpendicular to the occlusal surface. To ensure the accuracy of the data search, when obtaining the endpoints in the first direction of the tooth, an additional displacement, such as 2mm, can be added to the obtained endpoints to obtain more comprehensive point cloud data. When calculating the gingival margin line, the points on the gingiva are traversed according to different regions of the tooth model and then fitted. The traversal of different regions can be performed separately by traversing the direction of the normal vector towards the lingual side and the direction of the normal vector towards the labial side, where the lingual side is the cheek side of the tooth model and the labial side is the labial side of the tooth model.

[0101] Specifically, the lowest and highest points of each tooth in the first direction are selected from the gingival contour, and the height difference between the highest and lowest points is calculated. The height difference between the highest and lowest points can be calculated by measuring the height difference between the minimum value of the lowest point and the maximum value of the highest point.

[0102] Step 234: Translate the gingival contour line in the first direction of the teeth.

[0103] In order to avoid damaging the gums during orthodontic treatment, the gum outline is shifted a certain distance in the first direction of the teeth when forming the gum margin.

[0104] Step 236: Based on the normal vector of each point on the translated gingival contour line, traverse the points on the gingiva in the point cloud data and fit them to form the gingival margin line.

[0105] Specifically, point cloud data of the tooth model within the height difference is acquired. For each point on the lingual side of the tooth model corresponding to the gingival contour, the positive direction of data traversal is taken along a plane parallel to the XY plane of the tooth model coordinate system, with the direction of the normal vector towards the lingual side as the positive direction of data traversal. In the acquired point cloud data, each point with the smallest sum of absolute X and absolute Y values ​​is traversed, and lines are drawn to form lingual cutting lines based on a set distance threshold between points. Similarly, for each point on the labial side of the gingival contour, the positive direction of data traversal is taken with the direction of the normal vector towards the labial side as the positive direction of data traversal. In the traversed point cloud data, each point with the largest sum of absolute X and absolute Y values ​​is traversed, and lines are drawn to form labial cutting lines based on a set distance threshold between points. The two cutting lines are then fitted to form... Figure 8 The gingival margin line is shown.

[0106] Figure 9 The diagram shown is a flowchart illustrating the process of updating the gingival margin in one embodiment. Figure 9 As shown, in one embodiment, updating the gingival margin line according to a tooth displacement data table to obtain an updated gingival margin line includes:

[0107] Step 310: Translate and rotate the gingival margin line according to the tooth offset in the tooth displacement data table.

[0108] Step 320: Map the translated and spatially rotated gingival margin onto the 3D model.

[0109] Step 330: Traverse the point cloud data of the 3D model and fit the updated gingival margin line.

[0110] Among them, the tooth displacement data table is a data table developed during orthodontic treatment. Several data tables are designed according to different orthodontic stages, and each data table includes the displacement of the current tooth relative to the previous tooth.

[0111] Specifically, based on the tooth displacement data table in the orthodontic treatment plan, the offset of each tooth in stage K is obtained. According to the tooth model coordinate system, the gingival margin is translated in the XYZ coordinate system, and then the ABC axis offset of each tooth is obtained. The translated gingival margin is then spatially rotated and mapped onto the tooth model in stage K+1. The XYZ coordinate system is a coordinate system where XY is the horizontal plane and Z is the vertical plane. The ABC axes are the axes of rotation around the XYZ coordinate axes, respectively.

[0112] For each point on the lingual side of the tooth model corresponding to the gingival margin, along a plane parallel to the XY plane of the tooth model coordinate system, with the direction of the normal vector towards the lingual side as the positive direction of data traversal, a threshold for the forward search distance is set. In the point cloud data of the tooth model, the point cloud data with the largest absolute X value is traversed. Then, a threshold for the reverse search distance is set, and the point cloud data with the largest absolute X value is traversed in reverse. This part of the data is the point cloud data of the lingual cutting line of the tooth model. Based on the set distance threshold between the points, lines are connected to form the lingual cutting line. Similarly, the labial cutting line of the tooth model can be calculated. The two cutting lines finally formed are the gingival cutting lines of the updated K+1 stage orthodontic appliance.

[0113] This embodiment uses a tooth displacement data table during the orthodontic process to periodically update and automatically generate gingival margin lines for the manufacture of invisible braces. This greatly improves the production efficiency of invisible braces, increases the accuracy of gingival margin line generation, does not damage the user's gums, and enhances the user's comfort when wearing invisible braces.

[0114] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0115] Based on the same inventive concept, this application also provides a gingival margin line generating device for implementing the aforementioned gingival margin line generating method. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations of one or more gingival margin line generating device embodiments provided below can be found in the limitations of the gingival margin line generating method described above, and will not be repeated here.

[0116] In one embodiment, such as Figure 10 As shown, a gingival margin line generation device is provided, comprising: an acquisition module 1002, a calculation module 1004, and an update module 1006, wherein:

[0117] The acquisition module 1002 is used to acquire the edge line of a single tooth and determine the tooth-gingival edge line.

[0118] The calculation module 1004 is used to calculate the gingival contour line based on the tooth gingival margin line and to calculate the gingival margin line based on the gingival contour line.

[0119] The update module 1006 is used to update the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line.

[0120] In one embodiment, the calculation module 1004 calculates the gingival contour line based on the tooth gingival margin line. Calculating the gingival margin line based on the gingival contour line includes: spatially arranging and planar fitting all tooth gingival margin lines; processing the tooth gingival margin lines based on the position of a single tooth to obtain the gingival contour line; and calculating the gingival margin line based on the gingival contour line combined with gingival tissue data.

[0121] In one embodiment, the calculation module 1004 processes the gingival margin line of a tooth based on the tooth position of a single tooth to obtain a gingival contour line, including: extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of a single tooth to obtain an original gingival contour line; and integrating the original gingival contour line to obtain a gingival contour line.

[0122] In one embodiment, the calculation module 1004 extracts and stitches together the tooth gingival margin line after planar fitting based on the tooth position of a single tooth to obtain the original gingival contour line, including: taking the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; mapping the triangular region based on a three-dimensional model to obtain the triangular region contour line segment; and stitching together all the triangular region contour line segments to obtain the original gingival contour line.

[0123] In one embodiment, the calculation module 1004 calculates the gingival edge line based on the gingival contour line and gingival tissue data, including: filtering the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculating the height difference between the lowest and highest points, and obtaining point cloud data of the tooth model within the height difference; translating the gingival contour line in the first direction of the tooth; and traversing the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fitting to form the gingival edge line.

[0124] In one embodiment, the updating module 1006 updates the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line, including: translating and spatially rotating the gingival margin line according to the tooth offset in the tooth displacement data table; mapping the translated and spatially rotated gingival margin line onto a three-dimensional model; traversing the point cloud data of the three-dimensional model; and fitting the updated gingival margin line.

[0125] In one embodiment, the acquisition module 1002 acquires the edge line of a single tooth, and the tooth-gingival edge line is obtained by: calculating the edge line of a single tooth based on a single tooth model using the gradient limit method; for the single tooth edge line, removing noise from the single tooth edge line, filtering out the dividing lines between the tooth and adjacent teeth, and obtaining the tooth-gingival edge line through the uniform distribution of curve vectors.

[0126] Each module in the aforementioned gingival margin generation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the corresponding operations of each module.

[0127] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 11As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores data related to the tooth model. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a method for generating gingival margin lines.

[0128] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0129] In one embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor executes the computer program to perform the following steps: acquiring the edge line of a single tooth to obtain a tooth-gingival edge line; calculating a gingival contour line based on the tooth-gingival edge line; calculating a gingival edge line based on the gingival contour line; and updating the gingival edge line based on a tooth displacement data table to obtain an updated gingival edge line.

[0130] In one embodiment, when the processor executes the computer program, it further performs the following steps: calculating a gingival contour line based on the tooth gingival margin line, and calculating a gingival margin line based on the gingival contour line, including: spatially arranging and planar fitting all tooth gingival margin lines; processing the tooth gingival margin lines based on the tooth position of a single tooth to obtain a gingival contour line; and calculating the gingival margin line based on the gingival contour line combined with gingival tissue data.

[0131] In one embodiment, when the processor executes the computer program, it further performs the following steps: processing the gingival margin line of a tooth based on the tooth position of a single tooth to obtain a gingival contour line, including: extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of a single tooth to obtain an original gingival contour line; and integrating the original gingival contour line to obtain a gingival contour line.

[0132] In one embodiment, when the processor executes the computer program, it further performs the following steps: based on the tooth position of a single tooth, extracting and assembling the tooth gingival margin line after planar fitting to obtain the original gingival contour line, including: taking the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; mapping the triangular region based on a three-dimensional model to obtain the triangular region contour line segment; and assembling all the triangular region contour line segments to obtain the original gingival contour line.

[0133] In one embodiment, when the processor executes the computer program, it further performs the following steps: calculating the gingival margin line based on the gingival contour line and gingival tissue data, including: selecting the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculating the height difference between the lowest and highest points, and obtaining point cloud data of the tooth model within the height difference; translating the gingival contour line in the first direction of the tooth; and traversing the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fitting to form the gingival margin line.

[0134] In one embodiment, when the processor executes the computer program, it further implements the following steps: updating the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line, including: translating and spatially rotating the gingival margin line according to the tooth offset in the tooth displacement data table; mapping the translated and spatially rotated gingival margin line onto a three-dimensional model; traversing the point cloud data of the three-dimensional model; and fitting to obtain the updated gingival margin line.

[0135] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the edge line of a single tooth, which includes: calculating the edge line of a single tooth based on a single tooth model using the gradient limit method; removing noise from the edge line of a single tooth, filtering out the dividing lines between the tooth and adjacent teeth, and obtaining the edge line of the tooth through the uniform distribution of curve vectors.

[0136] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps: acquiring the edge line of a single tooth to obtain a tooth-gingival edge line; calculating a gingival contour line based on the tooth-gingival edge line; calculating a gingival edge line based on the gingival contour line; and updating the gingival edge line based on a tooth displacement data table to obtain an updated gingival edge line.

[0137] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating a gingival contour line based on the tooth gingival margin line, and calculating a gingival margin line based on the gingival contour line, including: spatially arranging and planar fitting all tooth gingival margin lines; processing the tooth gingival margin lines based on the tooth position of a single tooth to obtain a gingival contour line; and calculating the gingival margin line based on the gingival contour line combined with gingival tissue data.

[0138] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: processing the gingival margin line of a tooth based on the tooth position of a single tooth to obtain a gingival contour line, including: extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of a single tooth to obtain an original gingival contour line; and integrating the original gingival contour line to obtain a gingival contour line.

[0139] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: based on the tooth position of a single tooth, extracting and assembling the tooth gingival margin line after planar fitting to obtain the original gingival contour line, including: taking the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; mapping the triangular region based on a three-dimensional model to obtain the triangular region contour line segment; and assembling all the triangular region contour line segments to obtain the original gingival contour line.

[0140] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating the gingival margin line based on the gingival contour line and gingival tissue data, including: selecting the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculating the height difference between the lowest and highest points, and obtaining point cloud data of the tooth model within the height difference; translating the gingival contour line in the first direction of the tooth; and traversing the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fitting to form the gingival margin line.

[0141] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: updating the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line, including: translating and spatially rotating the gingival margin line according to the tooth offset in the tooth displacement data table; mapping the translated and spatially rotated gingival margin line onto a three-dimensional model; traversing the point cloud data of the three-dimensional model; and fitting to obtain the updated gingival margin line.

[0142] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the edge line of a single tooth, which includes: calculating the edge line of a single tooth based on a single tooth model using the gradient limit method; for the single tooth edge line, removing noise from the single tooth edge line, filtering out the dividing lines between the tooth and adjacent teeth, and obtaining the tooth-gingival edge line through the uniform distribution of curve vectors.

[0143] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps: acquiring the edge line of a single tooth to obtain a tooth-gingival edge line; calculating a gingival contour line based on the tooth-gingival edge line; calculating a gingival edge line based on the gingival contour line; and updating the gingival edge line based on a tooth displacement data table to obtain an updated gingival edge line.

[0144] In one embodiment, when the processor executes the computer program, it further performs the following steps: calculating a gingival contour line based on the tooth gingival margin line, and calculating a gingival margin line based on the gingival contour line, including: spatially arranging and planar fitting all tooth gingival margin lines; processing the tooth gingival margin lines based on the tooth position of a single tooth to obtain a gingival contour line; and calculating the gingival margin line based on the gingival contour line combined with gingival tissue data.

[0145] In one embodiment, when the processor executes the computer program, it further performs the following steps: processing the gingival margin line of a tooth based on the tooth position of a single tooth to obtain a gingival contour line, including: extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of a single tooth to obtain an original gingival contour line; and integrating the original gingival contour line to obtain a gingival contour line.

[0146] In one embodiment, when the processor executes the computer program, it further performs the following steps: based on the tooth position of a single tooth, extracting and assembling the tooth gingival margin line after planar fitting to obtain the original gingival contour line, including: taking the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; mapping the triangular region based on a three-dimensional model to obtain the triangular region contour line segment; and assembling all the triangular region contour line segments to obtain the original gingival contour line.

[0147] In one embodiment, when the processor executes the computer program, it further performs the following steps: calculating the gingival margin line based on the gingival contour line and gingival tissue data, including: selecting the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculating the height difference between the lowest and highest points, and obtaining point cloud data of the tooth model within the height difference; translating the gingival contour line in the first direction of the tooth; and traversing the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fitting to form the gingival margin line.

[0148] In one embodiment, when the processor executes the computer program, it further implements the following steps: updating the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line, including: translating and spatially rotating the gingival margin line according to the tooth offset in the tooth displacement data table; mapping the translated and spatially rotated gingival margin line onto a three-dimensional model; traversing the point cloud data of the three-dimensional model; and fitting to obtain the updated gingival margin line.

[0149] In one embodiment, when the processor executes the computer program, it further performs the following steps: obtaining the edge line of a single tooth, which includes: calculating the edge line of a single tooth based on a single tooth model using the gradient limit method; removing noise from the edge line of a single tooth, filtering out the dividing lines between the tooth and adjacent teeth, and obtaining the edge line of the tooth through the uniform distribution of curve vectors.

[0150] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps: acquiring the edge line of a single tooth to obtain a tooth-gingival edge line; calculating a gingival contour line based on the tooth-gingival edge line; calculating a gingival edge line based on the gingival contour line; and updating the gingival edge line based on a tooth displacement data table to obtain an updated gingival edge line.

[0151] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating a gingival contour line based on the tooth gingival margin line, and calculating a gingival margin line based on the gingival contour line, including: spatially arranging and planar fitting all tooth gingival margin lines; processing the tooth gingival margin lines based on the tooth position of a single tooth to obtain a gingival contour line; and calculating the gingival margin line based on the gingival contour line combined with gingival tissue data.

[0152] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: processing the gingival margin line of a tooth based on the tooth position of a single tooth to obtain a gingival contour line, including: extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of a single tooth to obtain an original gingival contour line; and integrating the original gingival contour line to obtain a gingival contour line.

[0153] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: based on the tooth position of a single tooth, extracting and assembling the tooth gingival margin line after planar fitting to obtain the original gingival contour line, including: taking the lowest point of the tooth gingival margin line in the first direction as a feature point; forming a triangular region based on two adjacent feature points and the concave point of the gap between adjacent teeth; mapping the triangular region based on a three-dimensional model to obtain the triangular region contour line segment; and assembling all the triangular region contour line segments to obtain the original gingival contour line.

[0154] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: calculating the gingival margin line based on the gingival contour line and gingival tissue data, including: selecting the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculating the height difference between the lowest and highest points, and obtaining point cloud data of the tooth model within the height difference; translating the gingival contour line in the first direction of the tooth; and traversing the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fitting to form the gingival margin line.

[0155] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: updating the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line, including: translating and spatially rotating the gingival margin line according to the tooth offset in the tooth displacement data table; mapping the translated and spatially rotated gingival margin line onto a three-dimensional model; traversing the point cloud data of the three-dimensional model; and fitting to obtain the updated gingival margin line.

[0156] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: obtaining the edge line of a single tooth, which includes: calculating the edge line of a single tooth based on a single tooth model using the gradient limit method; for the single tooth edge line, removing noise from the single tooth edge line, filtering out the dividing lines between the tooth and adjacent teeth, and obtaining the tooth-gingival edge line through the uniform distribution of curve vectors.

[0157] It should be noted that the user information (including but not limited to user device information, user personal information, user dental information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0158] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0159] 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.

[0160] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for generating a gingival margin line, characterized in that, The method includes: Obtain the edge line of a single tooth to obtain the tooth-gingival edge line; The gingival contour line is calculated based on the tooth gingival margin line, and the gingival margin line is calculated based on the gingival contour line. The gingival margin line is updated based on the tooth displacement data table to obtain the updated gingival margin line; The step of calculating the gingival contour line based on the tooth gingival margin line and calculating the gingival margin line based on the gingival contour line includes: Spatial alignment and planar fitting were performed on all the described tooth gingival margin lines; The gingival margin line of the tooth is processed based on the position of a single tooth to obtain the gingival contour line; Based on the gingival contour line, the lowest and highest points of each tooth in the first direction are selected, the height difference between the lowest and highest points is calculated, and the point cloud data of the tooth model within the height difference is obtained. The gingival contour line is translated in the first direction of the teeth; Based on the normal vector of each point on the translated gingival contour line, the points on the gingiva are traversed in the point cloud data, and the gingival edge line is fitted to form the gingival margin line.

2. The method according to claim 1, characterized in that, The process of processing the gingival margin line based on the position of a single tooth to obtain the gingival contour line includes: Based on the position of the single tooth, the gingival margin line of the tooth after planar fitting is extracted and stitched together to obtain the original gingival contour line; The original gingival contour line is integrated to obtain the gingival contour line.

3. The method according to claim 2, characterized in that, The process of extracting and assembling the gingival margin line of the tooth after planar fitting based on the tooth position of the single tooth to obtain the original gingival contour line includes: The lowest point of the tooth gingival margin in the first direction is taken as the feature point; A triangular area is formed based on two adjacent feature points and the concave point of the gap between adjacent teeth; The triangular region is mapped using a 3D model to obtain the triangular region's outline line segments; The original gingival contour line is obtained by piecing together all the triangular contour line segments.

4. The method according to claim 1, characterized in that, The step of updating the gingival margin line based on the tooth displacement data table to obtain the updated gingival margin line includes: The gingival margin line is translated and spatially rotated based on the tooth offset in the tooth displacement data table; The translated and spatially rotated gingival margin is mapped onto a 3D model, and the point cloud data of the 3D model is traversed to obtain an updated gingival margin.

5. The method according to any one of claims 1 to 4, characterized in that, The process of obtaining the edge line of a single tooth to obtain the tooth-gingival edge line includes: Based on a single tooth model, the edge line of a single tooth is calculated using the gradient limit method. For the edge line of a single tooth, remove noise from the edge line of the single tooth and filter out the dividing line between the tooth and the adjacent teeth; The tooth gingival margin line is obtained by uniform distribution of the curve vector.

6. A device for generating a gingival margin line, characterized in that, The device includes: The acquisition module is used to acquire the edge line of a single tooth and obtain the tooth-gingival edge line; The calculation module is used to calculate the gingival contour line based on the tooth gingival margin line, and to calculate the gingival margin line based on the gingival contour line. The update module is used to update the gingival margin line according to the tooth displacement data table to obtain the updated gingival margin line; The calculation module is specifically used to spatially arrange and planar fit all the tooth gingival margin lines; process the tooth gingival margin lines based on the position of a single tooth to obtain the gingival contour line; filter the lowest and highest points of each tooth in a first direction according to the gingival contour line, calculate the height difference between the lowest and highest points, and obtain the point cloud data of the tooth model within the height difference; translate the gingival contour line in the first direction of the tooth; and traverse the points on the gingiva in the point cloud data according to the normal vector of each point on the translated gingival contour line, and fit to form the gingival margin line.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Virtual gum triangular mesh algorithm construction and follow-up algorithm

    CN105551081A

  • Tooth model generation method and device, equipment and storage medium

    CN114638838A