A method for constructing a virtual gum line from a three-dimensional tooth model
By combining the point deletion strategy of distance and angle and the segmented Hermit interpolation method, the accuracy and smoothness problems of virtual gum line construction when the teeth are close and far away in the existing technology are solved, and a more accurate and reasonable virtual gum line is achieved. Build.
Patent Information
- Application Number
- CN202410858059.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-28
AI Technical Summary
The existing method of constructing a virtual gum line has its own shortcomings when the teeth are close and far apart. The distance judgment is not accurate enough when the teeth are close, and the angle deletion point is not accurate enough when the teeth are far away. It cannot satisfy the accuracy and smoothness of the gum line at the same time.
Using a point deletion strategy that combines distance and angle, the boundary line is extracted through the segmentation model, downsampled and projected to the tooth center, the tooth spacing is calculated and the interdental gap and interdental space are distinguished, and the distance deletion point and angle deletion point strategies are used to mark the deletion points. The segmented Hermit interpolation method is used to smoothly connect the boundary lines, which are divided into labial and lingual boundary lines.
It achieves the accuracy of the gum line when the teeth are close together and the smooth connection when the teeth are widely spaced, creating a more accurate and reasonable virtual gum line.
Smart Images

Figure CN118447171B
Abstract
Description
Technical Field
[0001] The invention relates to a graphics processing technology, in particular to a method for constructing a virtual gum line from a three-dimensional tooth model. Background Art
[0002] With the continuous progress of modern society, people pay more and more attention to dental health. It is not only for aesthetic reasons, but also can prevent the occurrence of many diseases. In the traditional orthodontic method, doctors determine the orthodontic plan based on the patient's initial tooth shape. Doctors need to make continuous adjustments in the middle process according to the current treatment progress, and patients can only see the effect of orthodontics after the orthodontic treatment is completed. Digital technology is used to construct virtual gums in orthodontics. Virtual gum technology can generate the overall shape of the oral cavity after tooth displacement to assist doctors in designing a complete set of orthodontic processes. It can also allow patients to see beautiful teeth after orthodontics in advance and increase their confidence in orthodontics. The most basic part of virtual gum technology is to extract the virtual gum line. The gum line is the curve at the junction of the teeth and gums. There are two gum lines in the same row of teeth: the labial gum line and the lingual gum line. The gum shape is different, and the gum line also changes accordingly. In addition, the virtual gum line can also be used to determine the placement of tooth attachments, the cutting of braces in 3D braces printing, etc., so the accuracy of the virtual gum line is very important.
[0003] Existing methods for constructing virtual gum lines are based on either distance judgment or angle judgment. Both methods have their own advantages and disadvantages: when the teeth are close together, distance judgment refers to the medical definition of tooth gaps, so it can accurately determine the shape of the gum line at the tooth gap position, but when the teeth are far apart, the gum shape should be different from when the distance is close, so the distance threshold needs to be frequently modified to ensure a smooth connection between the gums; when the teeth are far apart, angle deletion can ensure that the connection between the teeth is smooth without sudden changes, but when the distance is close, angle deletion is not as accurate as the gum line estimated by distance deletion. Both point deletion methods cannot take into account the gum line when the teeth are close and far, so a new solution is urgently needed to construct a more accurate virtual gum line. Summary of the invention
[0004] The purpose of the present invention is to provide a more accurate method for constructing a virtual gum line.
[0005] In order to achieve the purpose of the present invention, the following technical solutions are proposed:
[0006] A method for constructing a virtual gum line from a three-dimensional tooth model, characterized by the following specific steps:
[0007] S1. Extract the boundary line through the segmentation model; the segmentation model is extracted based on the oral scan model, so the boundary line of the segmentation model is the boundary line between the tooth and the original gum. According to the topological relationship, the orderly boundary line of a single tooth can be obtained.
[0008] S2. The ordered boundary lines obtained in S1 are downsampled and projected toward the center of the tooth onto the closed model with the tooth root to obtain the ordered boundary lines on the closed model of the single tooth.
[0009] S3. Calculate the spacing between adjacent teeth and distinguish whether the spacing belongs to a gap or a tooth space; if the distance between boundary lines is less than the gap definition threshold, it is judged as a gap, and if it is greater than the threshold, it is judged as a tooth space; for the teeth on both sides of the gap, use the distance deletion strategy to mark the deletion points; for the teeth on both sides of the tooth space, use the angle deletion strategy to mark the deletion points; delete part of the boundary line to obtain two continuous boundary lines, and then divide them into labial boundary line and lingual boundary line according to the positional relationship between the boundary line and the teeth.
[0010] S4. At the position of the tooth gap or interdental space, the segmented Hermit interpolation method is used to calculate the boundary line at the tooth gap or interdental space, and the boundary lines of adjacent teeth are smoothly connected. After performing this operation on all teeth, a complete lingual virtual gum line and a labial virtual gum line are obtained.
[0011] Furthermore, in step S1, according to the properties of the non-closed model, if there is an edge at a point on the non-closed model that belongs to only one polygon, then this edge belongs to the boundary edge, and the two endpoints of this edge belong to the boundary points, so first find a boundary point to add to the boundary line, find the boundary edge related to it, add the other endpoint on the edge to the current boundary line, and then find the boundary edge related to the other endpoint, and loop until the other endpoint found is equal to the endpoint added to the boundary line at the beginning, and a complete and ordered boundary line is obtained.
[0012] Furthermore, in step S2, the boundary line obtained in S1 is projected onto the closed model, and the obtained boundary line is downsampled to 150 points. Each point is connected with the center of gravity of the current tooth to obtain the projection direction, and after projection, an ordered boundary line on the closed model is obtained.
[0013] Furthermore, step S3 is specifically as follows:
[0014] S31, calculating the distance between adjacent teeth, and distinguishing whether the distance belongs to a gap between teeth or a space between teeth;
[0015] The calculation method of the spacing value of adjacent teeth is as follows: According to the adjacency relationship, the teeth can be divided into teeth at the head and end boundaries and normal teeth with adjacent teeth on both the left and right sides. For normal teeth, the minimum distance calculation is required using its own boundary line point set and the boundary line point set of the teeth on the left and right sides; for the head and end boundary teeth, the minimum distance calculation is required using its own boundary line point set and the boundary line point set of the teeth on the other side. The calculation of this minimum distance does not consider the distance in the Z-axis direction. After calculating the minimum distance from each point to the adjacent teeth, the minimum value of the minimum distance is selected as the spacing value of the two adjacent teeth.
[0016] Basis for judging tooth gap or interdental space: According to general medical knowledge, if the distance between two adjacent teeth is less than 6mm, the relationship between the two adjacent teeth is considered as a tooth gap; if the distance between two adjacent teeth is greater than 6mm, the relationship between the two adjacent teeth is considered as an interdental space.
[0017] S32, for the teeth on both sides of the tooth gap, the distance point deletion strategy is used to mark the deletion points; for the teeth on both sides of the tooth gap, the angle point deletion strategy is used to mark the deletion points;
[0018] Distance point deletion strategy: The fixed value of the tooth spacing plus 4mm is used as the point deletion threshold. This value is derived from the practical application of the definition of the tooth gap. Selecting this value can more accurately present the characteristics of the tooth gap. For any tooth on both sides of the tooth gap, traverse the boundary line point set of the tooth, calculate the minimum Euclidean distance between these points and the boundary line point set of the adjacent teeth, and when the minimum Euclidean distance is less than the point deletion threshold, the point is marked as a point to be deleted.
[0019] Angle point deletion strategy: calculate the unit vector of the line connecting the center of gravity of the current tooth and the adjacent tooth , and the boundary point set Pts and unit vector of the current tooth itself From the world coordinate system to the local coordinate system of the current tooth. Next, traverse the boundary line point set Pts, and connect each point with the current tooth's centroid to obtain the unit vector , calculated by the vector dot multiplication function and All points with angles less than the preset angle deletion threshold are marked as points to be deleted. The angle deletion threshold is between 20-40°. Different tooth types have different initial values, and the threshold can be manually modified interactively.
[0020] S33, after the point to be deleted is marked, the marked boundary line is deleted, the boundary line point set is traversed, the two longest unmarked continuous boundary lines are obtained, and then the two continuous boundary lines are divided into the labial boundary line and the lingual boundary line according to the position relationship with the current tooth.
[0021] The advantages of the present invention are: utilizing the medical definition of tooth gaps, adopting a point deletion strategy combining distance and angle to process the boundary line of the teeth, ensuring the accuracy of the gum line between the teeth when the distance between the teeth is small and the smoothness of the connection between the teeth when the distance between the teeth is large, making the constructed gum line more accurate and reasonable. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is the overall logical architecture.
[0023] Figure 2 It is the result of projecting the boundary line extracted from the segmentation model onto the closed model.
[0024] Figure 3 This is the tooth boundary line before point deletion.
[0025] Figure 4 This is the tooth boundary line after the distance and angle deletion strategy was performed.
[0026] Figure 5 It is the labial boundary line divided according to the relationship with the tooth position after deleting points.
[0027] Figure 6 It is the labial virtual gingival line obtained by connecting the labial boundary lines of each segment through segmented Hermit interpolation at the tooth gap. DETAILED DESCRIPTION
[0028] Next, the present invention is further described in detail with reference to the accompanying drawings: the main steps of extracting the virtual gum line based on three-dimensional teeth are extracting the segmentation model boundary line, projecting the boundary line, extracting the labial and lingual boundary lines of a single tooth, and constructing a suture line to connect the labial and lingual boundary lines of a single tooth.
[0029] Figure 1 This is the overall logical architecture of the present invention, which is introduced in detail below.
[0030] S1. Extract the boundary line through the segmentation model; the segmentation model is extracted based on the oral scan model, so the boundary line of the segmentation model is the boundary line between the tooth and the original gum. According to the topological relationship, the ordered boundary line of a single tooth can be obtained. According to the properties of the non-closed model, if there is an edge on the point on the non-closed model that belongs to only one triangle, then this edge belongs to the boundary edge, and the two endpoints of this edge belong to the boundary point, so first find a boundary point to add to the boundary line, find the boundary edge related to it, add the other endpoint on the edge to the current boundary line, and then find the boundary edge related to the other endpoint, and loop until the other endpoint found is equal to the endpoint added to the boundary line at the beginning, and a complete and ordered boundary line is obtained.
[0031] S2, after downsampling the ordered boundary line obtained in S1, project it to the center of the tooth onto the closed model with the tooth root to obtain the ordered boundary line on the closed model of a single tooth. The obtained boundary line is downsampled to 150 points, and each point is connected to the center of gravity of the current tooth to obtain the projection direction. After projection, the ordered boundary line on the closed model is obtained (such as Figure 2 As shown in Figure 2). Experiments show that when 150 data points are collected, the most ideal effect can be obtained. If too few data points are collected, important local features on the boundary line may be missed; if too many data points are collected, some sudden noise points may not be effectively filtered out, thus affecting the accuracy of the results.
[0032] S3. Calculate the spacing between adjacent teeth and distinguish whether the spacing belongs to a gap or a tooth space; if the distance between boundary lines is less than the gap definition threshold, it is judged as a gap, and if it is greater than the threshold, it is judged as a tooth space; for the teeth on both sides of the gap, use the distance deletion strategy to mark the deletion points; for the teeth on both sides of the tooth space, use the angle deletion strategy to mark the deletion points; delete part of the boundary line to obtain two continuous boundary lines, and then divide them into labial boundary line and lingual boundary line according to the positional relationship between the boundary line and the teeth.
[0033] S4. At the position of the gap between teeth or the interdental space, use the segmented Hermit curve to smoothly connect the boundary line between two teeth. After performing this operation on all teeth, a complete lingual virtual gum line and labial virtual gum line are obtained.
[0034] In step S3, for each tooth boundary line (such as Figure 3 As shown in the figure, it is necessary to separate its labial boundary line and lingual boundary line. According to the adjacent relationship, the teeth can be divided into teeth at the head and end boundaries and normal teeth with adjacent teeth on both sides. For normal teeth, it is necessary to use its own boundary line point set and the boundary line point set of the left and right teeth to calculate the minimum distance; for the head and end boundary teeth, it is necessary to use its own boundary line point set and the boundary line point set of the other side teeth to calculate the minimum distance. The calculation of this minimum distance does not consider the distance in the Z-axis direction. After calculating the minimum distance from each point to the adjacent teeth, the minimum value of the minimum distance is selected as the spacing value of the two adjacent teeth. According to general medical knowledge, if the spacing value of two adjacent teeth is less than 6mm, the relationship between the two adjacent teeth is regarded as a tooth gap; if the spacing value of two adjacent teeth is greater than 6mm, the relationship between the two adjacent teeth is regarded as a tooth gap. Then, for the teeth on both sides of the tooth gap, the distance point deletion strategy is adopted; for the teeth on both sides of the tooth gap, the angle point deletion strategy is adopted.
[0035] In the distance point deletion strategy, the fixed value of the tooth spacing plus 4 mm is used as the point deletion threshold. For any tooth on both sides of the tooth gap, the boundary line point set of the tooth is traversed, and the minimum Euclidean distance between these points and the boundary line point set of the adjacent teeth is calculated. When the minimum Euclidean distance is less than the point deletion threshold, the point is marked as a point to be deleted.
[0036] The angle point deletion strategy requires calculating the unit vector of the line connecting the center of gravity of the current tooth and the adjacent tooth. , and the boundary point set Pts and unit vector of the current tooth itself From the world coordinate system to the local coordinate system of the current tooth. Next, traverse the boundary line point set Pts, and connect each point with the current tooth's centroid to obtain the unit vector , calculated by the vector dot multiplication function and All points with angles less than the preset angle deletion threshold are marked as points to be deleted. The angle deletion threshold is between 20-40°. Different tooth types have different initial values, and the threshold can be manually modified interactively.
[0037] After the points to be deleted are marked, many points to be deleted are marked in the previously ordered boundary point set. The boundary point set is traversed to obtain the two longest unmarked continuous boundary lines. Considering the position relationship between these two lines and the current teeth, they are divided into labial boundary lines and lingual boundary lines (such as Figure 4 as shown).
[0038] In step S4, after traversing all teeth, the labial and lingual boundary lines of all teeth are calculated (such as Figure 5 As shown in the figure, for the labial boundary line or lingual boundary line of two adjacent teeth, the segmented Hermit interpolation method is used to calculate the boundary line at the tooth gap or tooth space, and smoothly connect the boundary lines of adjacent teeth. Hermit interpolation is a traditional curve interpolation algorithm that can ensure Continuous, according to the boundary lines of two adjacent teeth, take the end points of each boundary line and its tangent , take the first endpoint of the other segment and its tangent , perform Hermit interpolation. For the interdental space, in order to ensure aesthetics, the gum line needs to have a slight protrusion. It is necessary to obtain the midpoint of the line connecting the two endpoints, and then offset the midpoint 1mm toward the occlusal surface of the teeth to obtain a new control point and its tangent .exist and between, and After interpolation is performed on all the gaps and spaces between teeth, a complete set of labial and lingual gum lines on the teeth is obtained (e.g. Figure 6 as shown).
[0039] The contents described in the embodiments of this specification are merely an enumeration of the implementation forms of the inventive concept. The protection scope of the present invention should not be regarded as limited to the specific forms described in the embodiments. The protection scope of the present invention also extends to equivalent technical means that can be conceived by those skilled in the art based on the inventive concept.
Claims
1. A method for constructing a virtual gum line from a three-dimensional tooth model, It is characterized in that The specific steps are as follows: S1, extracting ordered boundary lines through segmentation model; S2, downsampling the ordered boundary line obtained in S1 and projecting it toward the center of the tooth onto the closed model with the tooth root to obtain the ordered boundary line on the closed model of the single tooth; S3, calculate the distance between adjacent teeth and distinguish whether the distance belongs to the gap or the interdental space; if the distance between the boundary lines is less than the gap definition threshold, it is judged as a gap, and if it is greater than the threshold, it is judged as an interdental space; for the teeth on both sides of the gap, the distance point deletion strategy is used to mark the deletion points; for the teeth on both sides of the interdental space, the angle point deletion strategy is used to mark the deletion points; delete part of the boundary line to obtain two continuous boundary lines, and then divide them into labial boundary lines and lingual boundary lines according to the positional relationship between the boundary line and the teeth; S4. At the position of the tooth gap or interdental space, the boundary line at the tooth gap or interdental space is calculated by using the segmented Hermit interpolation method, and the boundary lines of adjacent teeth are smoothly connected. After performing the above operation on all teeth, a complete lingual virtual gingival line and a labial virtual gingival line are obtained; Wherein, step S3 is specifically as follows: S31, calculating the distance between adjacent teeth, and distinguishing whether the distance belongs to a gap between teeth or a space between teeth; The calculation method of the spacing value of adjacent teeth is as follows: according to the adjacent relationship, the teeth are divided into boundary teeth at the head and the end, and normal teeth with adjacent teeth on both the left and right sides. For normal teeth, it is necessary to use its own boundary line point set and the boundary line point set of the left and right teeth to calculate the minimum distance; for boundary teeth, use its own boundary line point set and the boundary line point set of the other side teeth to calculate the minimum distance. This minimum distance calculation does not consider the distance in the Z-axis direction. After calculating the minimum distance from each point to the adjacent teeth, select the minimum value of the minimum distance as the spacing value of the two adjacent teeth; if the spacing value of two adjacent teeth is less than 6mm, the spacing relationship between the two adjacent teeth is regarded as a tooth gap; if the spacing value of two adjacent teeth is greater than 6mm, the spacing relationship between the two adjacent teeth is regarded as a tooth gap; S32, for the teeth on both sides of the tooth gap, the distance point deletion strategy is used to mark the deletion points; for the teeth on both sides of the tooth gap, the angle point deletion strategy is used to mark the deletion points; Distance point deletion strategy: The fixed value of the tooth spacing plus 4mm is used as the point deletion threshold. For any tooth on both sides of the tooth gap, the boundary line point set of the tooth is traversed, and the minimum Euclidean distance between these points and the boundary line point set of the adjacent teeth is calculated. When the minimum Euclidean distance is less than the point deletion threshold, the point is marked as a point to be deleted. Angle point deletion strategy: calculate the unit vector of the line connecting the center of gravity of the current tooth and the adjacent tooth , and the boundary point set Pts and unit vector of the current tooth itself Convert from the world coordinate system to the local coordinate system of the current tooth, then traverse the boundary line point set Pts, and connect each point with the center of gravity of the current tooth to obtain the unit vector , calculated by the vector dot multiplication function and All points with angles less than the preset angle deletion threshold are marked as points to be deleted. The angle deletion threshold is between 20-40°. Different tooth types have different initial values, and the threshold can be manually modified interactively. S33, after the point to be deleted is marked, the marked boundary line is deleted, the boundary line point set is traversed, the two longest unmarked continuous boundary lines are obtained, and then the two continuous boundary lines are divided into the labial boundary line and the lingual boundary line according to the position relationship with the current tooth.
2. A method for constructing a virtual gum line from a three-dimensional tooth model according to claim 1, It is characterized in that Specifically, step S1 first finds a boundary point to add to the boundary line, finds the boundary edge related to it, adds the other endpoint on the edge to the current boundary line, and then finds the boundary edge related to the other endpoint, and loops until the other endpoint found is equal to the endpoint added to the boundary line at the beginning, and a complete ordered boundary line is obtained.
3. A method for constructing a virtual gum line from a three-dimensional tooth model according to claim 1, It is characterized in that In step S2, the number of down-sampled sampling points is 150 points.
4. A method for constructing a virtual gum line from a three-dimensional tooth model according to claim 1, It is characterized in that The segmented Hermit interpolation method in step S4 is specifically to take the end points of each segment of the boundary line according to the boundary lines of two adjacent segments of teeth. and its tangent , take the first endpoint of the other segment and its tangent , perform Hermit interpolation; for the interdental space, in order to ensure aesthetics, the gum line needs to have a slight protrusion, and the midpoint of the line connecting the two endpoints needs to be obtained, and then the midpoint is offset 1mm toward the occlusal surface of the tooth to obtain a new control point and its tangent ,exist and between, and Hermit interpolation is performed between them.
