Virtual gingival surface morphology generation method, electronic device and readable storage medium

By deforming and processing the initial gingiva model multiple times, multiple surface morphologies of the gingiva are generated and edited, which solves the problem of poor gingival surface morphology generation in the existing technology, achieves accurate gingival morphology generation and editing, and reduces the cost of Modification time.

CN118370619BActive Publication Date: 2024-09-20SHENZHEN UP3D TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410797687.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-20
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

Existing virtual gum generation algorithms are not effective in generating gum surface morphology, and it is not easy to edit the surface morphology again.

Method used

By obtaining the initial virtual gum model and tooth model, the cervical margin line is generated based on the tooth model, and multiple deformations are performed to generate the shape of the internal tooth area, the gingival papilla area, the gingival protrusion area, the tooth root area, and the gingival root space morphology. Finally, the model is processed to obtain the target virtual gum model to achieve accurate generation and editing of various surface morphologies.

Benefits of technology

It achieves accurate generation and editing of gingival surface morphology. Each surface morphology can be generated and edited independently, greatly reducing the time required to modify the gingival morphology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118370619B
    Figure CN118370619B
Patent Text Reader

Abstract

The present application discloses a method for generating virtual gingival surface morphology, an electronic device, and a readable storage medium. The method for generating virtual gingival surface morphology includes: obtaining an initial virtual gingival model and a tooth model, and generating a neck margin line based on the tooth model; based on the initial virtual gingival model, the tooth model, and the neck margin line, deforming the initial virtual gingival model to generate the tooth internal area morphology and the gingival milk change area morphology to obtain a first virtual gingival model; deforming the first virtual gingival model to generate the gingival protrusion area morphology, the root area morphology, and the gingival root gap morphology to obtain a second virtual gingival model; processing the second virtual gingival model to obtain a target virtual gingival model. The present application realizes the accurate generation of multiple surface morphologies required for the gingiva by sequentially deforming the initial gingival model, and each surface morphology can be generated and edited independently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of oral restoration technology, and in particular to a method for generating virtual gingival surface morphology, an electronic device and a readable storage medium. Background Art

[0002] In scenarios such as orthodontics, full dentures, dental implants or other integrated gingival bridge solutions, there is a demand for digital virtual gingiva. Conventional virtual gingiva generation algorithms will simultaneously generate the surface morphology of the gingiva when generating the virtual gingival morphology. However, the surface morphology of virtual gingiva is relatively rich, and the gingival surface morphology generated by some existing systems is poor, and it is not easy to edit its surface morphology again. Summary of the invention

[0003] The embodiments of the present application provide a method for generating virtual gingival surface morphology, an electronic device and a readable storage medium, aiming to solve the technical problem that the generated virtual gingiva has poor effect.

[0004] The virtual gingival surface morphology generation method of the embodiment of the present application includes: obtaining an initial virtual gingival model and a tooth model, and generating a neck margin line based on the tooth model; based on the initial virtual gingival model, the tooth model and the neck margin line, deforming the initial virtual gingival model to generate the tooth internal area morphology and the gingival papillary area morphology to obtain a first virtual gingival model; deforming the first virtual gingival model to generate the gingival edge protrusion area morphology, the root area morphology and the gingival edge root gap morphology to obtain a second virtual gingival model; processing the second virtual gingival model to obtain a target virtual gingival model.

[0005] In some embodiments, generating a neck margin line based on a tooth model includes: obtaining the center point of each tooth sub-model in the tooth model, and fitting the center points of all the tooth sub-models into a first plane; moving the first plane by a preset distance in a preset direction to obtain the intersection line of the first plane and each tooth sub-model; projecting the center point of each tooth sub-model onto the first plane to obtain the center projection point of each tooth sub-model; obtaining the left highest point, right highest point, left front point, left rear point, right front point, and right rear point of each tooth sub-model based on the center projection point of each tooth sub-model; fitting the left highest point, right highest point, left front point, left rear point, right front point, right rear point of each tooth sub-model and at least some of the points in the initial neck margin line of each tooth sub-model into a curve, and generating the neck margin line of each tooth sub-model based on the curve.

[0006] In some embodiments, the first plane is moved a preset distance in a preset direction to obtain the intersection line between the first plane and each tooth sub-model, including: obtaining the dental arch direction and the normal of the first plane; dot-producting the vector of the normal with the vector of the dental arch direction, and determining the direction of the normal based on the dot-product result; if the dot-product result is greater than 0, the direction corresponding to the normal is determined as the preset direction; if the dot-product result is less than 0, the normal is adjusted to be in the same direction as the dental arch direction, and the adjusted normal is determined as the preset direction.

[0007] In some embodiments, based on the projection point of the center point of each tooth sub-model on the first plane, the left high point, right high point, left front point, left back point, right front point, and right back point of each tooth sub-model are obtained, including: obtaining the connecting line between the center projection point of each tooth sub-model and the center point of the adjacent tooth sub-model to obtain the left connecting line and the right connecting line of each center projection point; obtaining the intersection point of the left connecting line and the right connecting line of each center projection point with the corresponding tooth sub-model to obtain the left high point and the right high point; rotating the left connecting line around the rotation axis by a preset angle in both clockwise and counterclockwise directions to obtain the left front point and the left back point, rotating the right connecting line around the rotation axis by a preset angle in both clockwise and counterclockwise directions to obtain the right front point and the right back point, the rotation axis passes through the center point of the tooth sub-model and the extension direction is a preset direction.

[0008] In some embodiments, based on the initial virtual gingival model, the tooth model and the cervical margin line, the initial virtual gingival model is deformed to generate the internal area morphology of the teeth and the gingival papillary area morphology to obtain a first virtual gingival model, including: obtaining the intersection line between the initial virtual gingival model and each tooth sub-model in the tooth model, and obtaining N field point sets and M field point sets based on the intersection line, M>N; based on the N field point set and the M field point set, the initial virtual gingival model is stretched downward and deformed to generate the internal area morphology of the teeth; the cervical margin line point set of the cervical margin line on the initial virtual gingival model is obtained, and the initial virtual gingival model is deformed based on the cervical margin line point set to generate the gingival papillary area morphology.

[0009] In some embodiments, the first virtual gingival model is deformed to generate the morphology of the gingival margin protrusion area, the morphology of the root area and the morphology of the gingival margin and the root gap to obtain the second virtual gingival model, including: obtaining the intersection line of the first virtual gingival model and the tooth model, and expanding the predetermined neighborhood outward based on the intersection line to obtain the gingival margin protrusion area; constructing each second plane correspondingly according to the center point of each tooth sub-model in the tooth model and the tooth occlusal direction; obtaining the projection direction of the point on the gingival margin and the center point of each tooth sub-model on the second plane, and calculating the angle between the projection direction and the main axis direction, the main axis being the line formed by the projection point of the center point of the tooth sub-model and the root high point on the second plane; calculating the protrusion degree of the gingival margin based on the angle, and deforming the gingival margin based on the protrusion degree to generate the morphology of the gingival margin protrusion area.

[0010] In some embodiments, the first virtual gingival morphology is deformed to generate a gingival protrusion area morphology, a root area morphology, and a gingival root gap morphology to obtain a second virtual gingival model, including: obtaining the gingival periphery intersection points of adjacent teeth, and obtaining a preset root depression curvature and a root depression depth; deforming the first virtual gingival model based on a preset root deformation function, gingival periphery intersection points, root depression curvature, and root depression depth to obtain a gingival root gap morphology; segmenting the first virtual gingival model based on the gingival root gap morphology to obtain a sub-gingival area corresponding to each tooth; starting from the bottom point of the gingival protrusion area in each sub-gingival area, sequentially constructing multiple sections downward according to a preset step size, and obtaining multiple control lines for each sub-gingival area based on the multiple sections; deforming the sub-root area in each sub-gingival area based on the multiple control lines to obtain the sub-root area morphology corresponding to each tooth.

[0011] In some embodiments, the second virtual gingival morphology is processed to obtain a target virtual gingival morphology, including: checking the thickness of all areas of the second virtual gingival model, expanding areas of the second virtual gingival model whose thickness does not meet a thickness threshold to obtain a third virtual gingival model, wherein the thickness of all areas of the third virtual gingival model is greater than or equal to the thickness threshold; and cutting the lower surface of the third virtual gingival model to obtain a target virtual gingival model.

[0012] The virtual gingival surface morphology generation module of the implementation mode of the present application includes a generation module, a first deformation module, a second deformation module and a processing module. The generation module is used to obtain an initial virtual gingival model and a tooth model, and generate a neck margin line based on the tooth model; the first deformation module deforms the initial virtual gingival model based on the initial virtual gingival model, the tooth model and the neck margin line to generate the tooth internal area morphology and the gingival papillary area morphology to obtain a first virtual gingival model; the second deformation module is used to deform the first virtual gingival model to generate the gingival protrusion area morphology, the root area morphology and the gingival root gap morphology to obtain a second virtual gingival model; the processing module is used to process the second virtual gingival model to obtain a target virtual gingival model.

[0013] The electronic device of the embodiment of the present application includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the steps of the method for generating virtual gingival surface morphology as described in any of the above embodiments are implemented.

[0014] A computer program is stored on a computer-readable storage medium of an embodiment of the present application. When the computer program is executed by a processor, the steps of the method for generating a virtual gingival surface morphology as described in any of the above embodiments are implemented.

[0015] The virtual gingival surface morphology generation method, generation module, electronic device and readable storage medium of the embodiment of the present application obtain an initial gingival model and a tooth model, and generate a neck margin line based on the tooth model, and deform the initial virtual gingival model based on the neck margin line to generate the tooth internal area morphology and the gingival papillary area morphology to obtain a first virtual gingival model; deform the first virtual gingival model to generate the gingival margin protrusion area morphology, the root area morphology and the gingival margin root gap morphology to obtain a third virtual gingival model; process the third virtual gingival morphology to obtain a target virtual gingival model; thereby, by deforming the initial gingival model in sequence, it is possible to accurately generate a variety of surface morphologies required for the gingiva (i.e., the gingival papillary area morphology, the gingival margin protrusion area morphology, the gingival margin root gap morphology, the root area morphology and the tooth internal area morphology), and each surface morphology can be independently generated and edited, and after the gingival morphology is generated, it is convenient to deform one or more of the surface morphologies again, which greatly reduces the time required to modify the gingival morphology.

[0016] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0018] Figure 1 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0019] Figure 2 is a schematic diagram comparing an initial virtual gingival model and a target virtual gingival model according to an embodiment of the present application;

[0020] Figure 3 is a module schematic diagram of a virtual gingival surface morphology generation module according to an embodiment of the present application;

[0021] Figure 4 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0022] Figure 5 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0023] Figure 6 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0024] Figure 7 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0025] Figure 8 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0026] Fig. 9 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0027] Fig.10 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0028] Fig.11 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0029] Fig.12 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0030] Figures 13 to 17 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0031] Fig.18 It is a schematic diagram of the flow of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0032] Fig.19 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0033] Fig. 20 is a scene schematic diagram of a method for generating virtual gingival surface morphology according to an embodiment of the present application;

[0034] Fig.21 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;

[0035] Fig. 22 It is a schematic diagram of the structure of a computer-readable storage medium in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.

[0037] See also Figure 1 The present application embodiment provides a method for generating a virtual gingival surface morphology. Figure 1In the illustrated embodiment, the method for generating virtual gingival surface morphology includes the following steps 11 to 14.

[0038] 11. Obtain the initial virtual gum model and tooth model, and generate the cervical margin line based on the tooth model;

[0039] 12. Based on the initial virtual gingival model, the tooth model and the cervical margin line, the initial virtual gingival model is deformed to generate the shape of the inner area of ​​the tooth and the shape of the gingival papilla area, so as to obtain a first virtual gingival model;

[0040] 13. Deform the first virtual gingival model to generate the morphology of the gingival protrusion area, the root area, and the morphology of the gingival root space, thereby obtaining a second virtual gingival model;

[0041] 14. Process the second virtual gingival model to obtain a target virtual gingival model.

[0042] In step 11, the initial virtual gum model may be a previously constructed 3D mesh model of gums without surface morphology, which may be constructed by 3D software or pre-stored in a memory. The tooth model may be a model constructed based on the scanned data after scanning the user's teeth using a 3D scanner or other equipment. The tooth model may include multiple tooth sub-models, each tooth sub-model corresponding to one tooth, and the tooth models of different users may be different. The tooth model and the initial virtual gum model may be combined into one to obtain a tooth gum model, for example Figure 2 As shown in part (a) of the figure, the cervical margin line can be obtained by processing the tooth model.

[0043] In step 12, the initial virtual gingival model can be deformed based on the initial virtual gingival model and the tooth model to generate the morphology of the inner area of ​​the teeth. The morphology of the inner area of ​​the teeth has a certain concave effect, which is consistent with the morphology of the gums themselves and is convenient for the placement of teeth in the actual process. The deformation to generate the morphology of the inner area of ​​the teeth can be achieved through the topological results of the mesh of the initial virtual gingival model. The point set that needs to be deformed on the initial virtual gingival model can be confirmed based on the cervical margin line, and these point sets can be deformed on the initial virtual gingival model to obtain the morphology of the gingival papillary area. Among them, the order of the two deformation processes is not specifically limited here.

[0044] In step 13, the gingival protrusion area in the first virtual gingival model can be subjected to a first deformation to generate a gingival protrusion area morphology, the gingival protrusion area morphology matches the root protrusion area morphology, and the gingival transition area has a small protrusion degree; the gingival root gap area in the first virtual gingival model can be subjected to a second deformation to generate a gingival root gap morphology; the root area in the first virtual gingival model can also be subjected to a third deformation to generate a root area morphology. In step 14, the second virtual gingival model can be expanded and / or cut and deformed so that the surface morphology in the target virtual gingival model can meet the actual process requirements and be more accurate. Figure 2 Part (b) of FIG. 4 shows a schematic diagram of a target virtual gingival model with teeth. Figure 2 Part (a) and Figure 2 Compared with part (b) in the figure, it can be seen that the virtual gingival surface morphology generation method can accurately generate various surface morphologies required by the gingiva.

[0045] See also Figure 3 The present application also provides a virtual gingival surface morphology generation module 300, including a generation module 301, a first deformation module 302, a second deformation module 303 and a processing module 304, wherein the generation module 301 is used to obtain an initial virtual gingival model and a tooth model, and generate a neck margin line based on the tooth model; the first deformation module 302 deforms the initial virtual gingival model based on the initial virtual gingival model, the tooth model and the neck margin line to generate the tooth internal area morphology and the gingival papillary area morphology to obtain a first virtual gingival model; the second deformation module 303 is used to deform the first virtual gingival model to generate the gingival protrusion area morphology, the root area morphology and the gingival root gap morphology to obtain a second virtual gingival model; the processing module 304 is used to process the second virtual gingival model to obtain a target virtual gingival model.

[0046] The virtual gingival surface morphology generation method and generation module of the implementation mode of the present application realizes the accurate generation of various surface morphologies required for the gingiva (i.e., the morphology of the gingival papilla area, the morphology of the gingival protrusion area, the morphology of the gingival root gap, the morphology of the root area and the morphology of the internal area of ​​the tooth) by deforming the initial gingival model in sequence, and each surface morphology can be generated and edited independently. After the gingival morphology is generated, it is convenient to deform one or more of the surface morphologies again, which greatly reduces the time required to modify the gingival morphology.

[0047] Among them, the deformation processing in the above steps 12 and 13 can be performed independently or in combination, that is, it can support the independent generation and editing of one of the forms, and can also support the generation and editing of multiple form combinations, which greatly reduces the time required to modify the gingival morphology parameters.

[0048] See also Figure 4In some embodiments, generating the neck margin line based on the tooth model in step 11 includes the following steps 111 to 115:

[0049] 111. Obtain the center point of each tooth sub-model in the tooth model, and fit the center points of all tooth sub-models into a first plane;

[0050] 112. Move the first plane by a preset distance in a preset direction to obtain an intersection line between the first plane and each tooth sub-model;

[0051] 113. Project the center point of each tooth sub-model onto the first plane to obtain the center projection point of each tooth sub-model;

[0052] 114. Based on the central projection point of each tooth sub-model, obtain the left high point, right high point, left front point, left back point, right front point, and right back point of each tooth sub-model;

[0053] 115. Fit the left highest point, right highest point, left front point, left back point, right front point, and right back point of each tooth sub-model into a curve, and generate the cervical margin line of each tooth sub-model based on the curve.

[0054] In some embodiments, the generation module 301 may also be used to implement steps 111 to 115 .

[0055] Obtaining the cervical margin line can facilitate the deformation of the gingival papilla. In theory, the papilla of each adjacent tooth should have the same height. The tooth model includes multiple tooth sub-models, each tooth sub-model corresponds to a tooth. The center points of all tooth sub-models can be selected, and all center points can be fitted into a first plane. Then the first plane is moved in a preset direction and a preset distance. The moved first plane will intersect with the outer surface of each tooth sub-model to cut out a circle of intersection lines, such as Figure 5 The center point of each tooth sub-model is projected onto the first plane after the movement to obtain the center projection point of each tooth sub-model on the first plane. The left high point, right high point, left front point, left back point, right front point, and right back point of each tooth sub-model can be obtained by comparing the center projection point of each tooth sub-model with the center projection points of the two adjacent tooth sub-models on the left and right. Figure 6As shown in part (a) of FIG. 1 , the left highest point L1, the right highest point R1, the left front point L2, the left rear point L3, the right front point R2, and the right rear point R3 of one of the tooth sub-models are shown. The left highest point, the right highest point, the left front point, the left rear point, the right front point, the right rear point of each tooth sub-model and at least part of the points in the initial cervical margin line of each tooth sub-model can be sequentially fitted into a curve, and the points on the curve are re-searched to the points on the corresponding tooth sub-model through algorithms such as approximate nearest neighbor search (ANN) and k nearest neighbor classification (KNN), thereby obtaining the cervical margin line of each tooth sub-model, as shown in FIG. Figure 6 As shown in part (b) of FIG. 1 , the preset distance may be the mastoid height (Highforce) distance, so that the obtained left high point, right high point, left front point, left back point, right front point and right back point are more accurate, and thus the obtained neck edge line is more accurate. Figure 6 As shown in part (a) of the figure, at least some of the points in the initial neck margin line may include the front and / or rear points of the initial neck margin line, and these points to be fitted can be selected by the following process: obtaining the projection point of each point on the initial neck margin line on the tooth sub-model on the first plane, calculating the vector of each projection point and the center point of the tooth sub-model, calculating the angle between each vector and the lingual and buccal direction, and selecting the point whose angle is within a predetermined angle (for example, within a 45-degree angle) as the fitting point. In other embodiments, other methods can also be used to obtain the points in the initial neck margin line that need to be fitted with the left high point, the right high point, the left front point, the left rear point, the right front point, and the right rear point, which are not limited here.

[0056] In some embodiments, step 112 includes: obtaining the normal of the dental arch direction and the first plane; dot-producting the vector of the normal with the vector of the dental arch direction, and determining the direction of the normal based on the dot-product result; if the dot-product result is greater than 0, the direction corresponding to the normal is determined as the preset direction; if the dot-product result is less than 0, the normal is adjusted to be in the same direction as the dental arch direction, and the adjusted normal is determined as the preset direction.

[0057] In some embodiments, the generation module 301 can also be used to: obtain the normal of the dental arch direction and the first plane; dot product the vector of the normal with the vector of the dental arch direction, and determine the direction of the normal based on the dot product result; if the dot product result is greater than 0, the direction corresponding to the normal is determined as the preset direction; if the dot product result is less than 0, the normal is adjusted to be in the same direction as the dental arch direction, and the adjusted normal is determined as the preset direction.

[0058] Taking the dental arch direction as the positive direction, the normal of the fitting plane may be positive or negative. The normal direction can be determined by performing a dot product of the normal of the plane and the dental arch direction. If the dot product result is greater than 0, the normal is positive, and the normal of the first plane is in the same direction as the dental arch direction; if the dot product result is less than 0, the normal is negative, and the normal of the first plane is in a different direction from the dental arch direction. The normal of the first plane is modified to be in the same direction as the dental arch direction, and the adjusted normal is determined as the preset direction. The same direction does not mean that the directions coincide, but that the dot product of the vectors corresponding to the two directions is greater than zero. The normal of the first plane is determined to be positive or negative by the dental arch direction. If it is positive, the normal at this time is the preset direction. If it is negative, it is corrected, and the preset direction is the corrected normal. The dental arch direction is a parameter output by the front end (for example, in the step before the virtual gingival surface morphology is generated), which is a bottom-up direction.

[0059] In some embodiments, step 114 includes: obtaining the connecting line between the central projection point of each tooth sub-model and the central point of the adjacent tooth sub-model to obtain the left connecting line and the right connecting line of each central projection point; obtaining the intersection of the left connecting line and the right connecting line of each central projection point with the corresponding tooth sub-model to obtain the left high point and the right high point; rotating the left connecting line around the rotation axis by a preset angle in both the clockwise and counterclockwise directions to obtain the left front point and the left rear point, and rotating the right connecting line around the rotation axis by a preset angle in both the clockwise and counterclockwise directions to obtain the right front point and the right rear point.

[0060] In some embodiments, the generation module 301 can also be used to: obtain the connecting line between the central projection point of each tooth sub-model and the central point of the adjacent tooth sub-model to obtain the left connecting line and the right connecting line of each central projection point; obtain the intersection of the left connecting line and the right connecting line of each central projection point with the corresponding tooth sub-model to obtain the left high point and the right high point; rotate the left connecting line around the rotation axis by a preset angle in both the clockwise and counterclockwise directions to obtain the left front point and the left rear point, and rotate the right connecting line around the rotation axis by a preset angle in both the clockwise and counterclockwise directions to obtain the right front point and the right rear point.

[0061] The center projection points of all tooth sub-models on the first plane can be connected in sequence to obtain multiple connecting lines. Take one of the tooth sub-models as an example to illustrate how to obtain the left high point, right high point, left front point, left back point, right front point, and right back point. Obtain the connecting line between the center projection point of each tooth sub-model and the center point of the left adjacent tooth sub-model (left connecting line) and the connecting line between the center point of the right adjacent tooth sub-model (right connecting line), calculate the intersection points of the left connecting line and the right connecting line with the tooth sub-model respectively, and obtain the left high point and the right high point. Construct a rotation axis based on the center point of the tooth sub-model and the preset direction, rotate the left connecting line around the rotation axis in the clockwise and counterclockwise directions by preset angles, and obtain the intersection points of the left connecting line after clockwise and counterclockwise rotation with the tooth sub-model, which are the left back point and the left front point respectively. Similarly, the right connecting line is rotated around the axis of rotation by a preset angle in both the clockwise and counterclockwise directions to obtain the intersection points of the right connecting line after clockwise and counterclockwise rotation with the tooth sub-model, which are the right front point and the right back point. By selecting the angle, some points in front and behind the original neck margin are retained. The preset angle is rotated so that the neck margin line generated subsequently has a certain width on the left and right, and the shape is more beautiful and natural. In one example, the preset angle can be 15°, which is an empirical value. In other embodiments, it can also be other angles (such as 10°, 20°, etc.), which can be reasonably selected according to the size of the tooth sub-model. For large models, the width of the side is wider.

[0062] See also Figure 7 In some embodiments, step 12 includes the following steps 121 to 123:

[0063] 121. Obtain the intersection line between the initial virtual gum model and each tooth sub-model in the tooth model, and obtain the N domain point set and the M domain point set based on the intersection line, M>N;

[0064] 122. Based on the N-domain point set and the M-domain point set, the initial virtual gingival model is stretched and deformed downward to generate the internal area morphology of the tooth;

[0065] 123. Obtain a cervical margin point set on the initial virtual gingival model, and deform the initial virtual gingival model based on the cervical margin point set to generate the gingival papillary region morphology.

[0066] In some embodiments, the first deformation module 302 may also be used to implement steps 121 to 123 .

[0067] Each tooth sub-model will have a circle of intersection lines with the initial virtual gingival model. The intersection lines of each tooth sub-model and the initial virtual gingival model can be obtained. The inward N-domain point set and M-domain point set can be obtained through neighborhood search. The N-domain point set and the M-domain point set are used as control points to pull down and deform. The deformation algorithm is determined and applied to adjust the control points and their adjacent pixels to achieve the effect of pulling down. An appropriate interpolation algorithm can also be used to smoothly fill the blank area generated after deformation, and output the deformed shape to form a concave shape in the internal area of ​​the tooth. Among them, the pulling distance can be controlled according to the N-domain point set and the M-domain point set. The inward N-domain selects N-domain pixels centered on the target pixel as control points, and these control points will be used to define the reference position of the deformation operation. The inward M-domain selects eight-domain pixels centered on the target pixel as control points, which provides a denser reference position and can be used for more sophisticated deformation operations. In the process of pulling down and deforming, the thickness of the gums needs to be detected to ensure that the gum thickness meets the minimum gum thickness. Because the minimum gingival thickness is a product requirement, after the virtual gingiva is made, it needs to be perforated, so some places cannot be too thin, and the upper and lower layers cannot penetrate. If the minimum thickness is not met during the stretching deformation, it is only stretched downward to the distance that meets the minimum thickness. In an example, M=8, N=4. Figure 8 As shown, Figure 8 Where D1 and D2 represent the N-domain point set and the M-domain point set respectively.

[0068] The point set on the cervical margin line is queried on the initial virtual gingival model through the nearest neighbor search and other algorithms, and the point set that the initial virtual gingival model should deform is found, and it corresponds to the target point set, and then these point sets are deformed to obtain the shape of the gingival papillary area. In this process, it should be ensured that the deformation point set that has been selected is not selected repeatedly, because if a point has multiple corresponding targets, it is easy to cause problems in the deformation algorithm. For this reason, when a point on the initial virtual gingival model is selected as the closest point by multiple target points on the cervical margin line, the first matching target point can be selected as the corresponding point, and the subsequent target points can be ignored. Although this method may cause some deformation inaccuracies, it is simple and easy to implement; it can also be used to average or fuse the deformation requirements of multiple target points, which can provide smoother and more accurate deformation results. Among them, the deformation of the gingival papillary area and the deformation of the internal area of ​​the teeth do not conflict with each other, so steps 121 and 122 and step 123 can be processed in parallel, or they can be executed one after another. After the deformation of the gingival papillary area and the internal area of ​​the teeth are completed, the first virtual gingival model with the shape of the internal area of ​​the teeth and the shape of the gingival papillary area can be obtained, such as Fig. 9 As shown, the gingival elongation deformation effect diagram is shown. Fig. 9 It can be seen that the mastoid has been pulled up to a fixed height, and the mastoid gap between the teeth is also sufficiently full, and the overall effect meets expectations.

[0069] like Fig.10 As shown, in some embodiments, step 13 includes the following steps 131 to 134:

[0070] 131. Obtain an intersection line between the first virtual gum model and the tooth model, and expand a predetermined neighborhood outward based on the intersection line to obtain a gum margin protrusion area;

[0071] 132. Constructing respective second planes according to the center point of each tooth sub-model in the tooth model and the tooth occlusal direction;

[0072] 133. Obtain the projection direction of the point on the gingival margin and the center point of each tooth sub-model on the corresponding second plane, and calculate the angle between the projection direction and the main axis direction, where the main axis is the line formed by the projection point of the center point of the tooth sub-model and the root high point on the second plane;

[0073] 134. The protrusion degree of the gingival margin is calculated based on the included angle, and the gingival margin is deformed based on the protrusion degree to generate the morphology of the gingival margin protrusion area.

[0074] In some embodiments, the second deformation module 303 may also be used to implement steps 131 to 134 .

[0075] The gingival margin protrusion area refers to the part of the area outside the tooth neck line, which can be obtained by expanding a certain neighborhood outward from the intersection line of the tooth model and the first virtual gingival model. It should be noted that during the outward expansion process, the neighborhood lines of different teeth need to be merged to obtain the overall tooth gingival margin effect diagram as shown in the figure. Fig.11 shown.

[0076] The tooth occlusal direction refers to the relative movement direction between the upper and lower teeth when the teeth are occluded. This direction is usually used to determine the arrangement and occlusal relationship of the teeth. Taking the gingival deformation of one of the tooth sub-models as an example, the center point of the tooth sub-model is used as the reference point, and the tooth occlusal direction is used as the normal to construct a plane perpendicular to the occlusal direction, namely the second plane. Selecting the tooth occlusal direction as the normal means that the plane will be perpendicular to the movement trajectory of the teeth when they are occluded, which helps to ensure that the fitting plane can accurately reflect the occlusal relationship and movement state of the teeth. The first projection point of the point on the gingival edge on the second plane and the second projection point of the center point of each tooth sub-model on the second plane are obtained, and the first projection point and the second projection point are connected to obtain the projection direction vector. The third projection point of the root high point on the fitting plane is obtained, and the second projection point and the third projection point are connected to obtain the principal axis vector, and the line connecting the two is the principal axis. The projection direction vector can be standardized to the first unit vector, and the principal axis vector can be standardized to the second unit vector. The cosine value of the angle is calculated using the dot multiplication formula of the two unit vectors, and the angle can be obtained by the inverse cosine function. Assuming that the dot product of the projection direction vector and the principal axis vector of the point on the gingival margin and the center point of the tooth sub-model on the fitting plane is x, the protrusion strength of the corresponding point is (x-0.1) / 0.9. This formula assumes that when x is equal to 0.1, the protrusion strength is 0; when x is equal to 1, the protrusion strength is 1 (because (1 - 0.1) / 0.9 = 1). The protrusion strength multiplied by the gingival margin strength represents the deformation strength of the gingival margin, and then the gingival margin is deformed based on the deformation strength. The smaller the angle with the center point, the greater the protrusion degree. The purpose of this design is to make the gingival margin protrusion match the root protrusion and make the protrusion degree of the gingival margin transition zone small.

[0077] like Fig.12 As shown, in some embodiments, step 13 further includes the following steps 135 to 139:

[0078] 135. Obtain the intersection point of the gingival margins of adjacent teeth, and obtain the preset root concave curvature and root concave depth;

[0079] 136. Based on a preset root deformation function, a gingival periphery intersection point, a root concave curvature, and a root concave depth, deform the first virtual gingival model to obtain a gingival root gap shape;

[0080] 137. Segment the first virtual gingival model based on the morphology of the gingival gap along the tooth root to obtain a sub-gingival region corresponding to each tooth;

[0081] 138. Starting from the bottom point of the gingival protrusion area in each sub-gingival area, a plurality of cross sections are sequentially constructed downward according to a preset step length, and a plurality of control lines of each sub-gingival area are obtained based on the plurality of cross sections;

[0082] 139. The sub-root region in each sub-gingival region is deformed based on a plurality of control lines to obtain the sub-root region shape corresponding to each tooth.

[0083] In some embodiments, the second deformation module 303 may also be used to implement steps 135 to 139 .

[0084] The main purpose of the gingival margin root gap is to highlight the root shape and make the distinction between roots more obvious. Putting the root gap and the root area in the same deformation can strengthen the connection between the two deformation strengths. Fig.13 As shown in the figure, the root part is selected through the intersection of the adjacent tooth area. The normal direction of the section is the direction of the line projected by the center points of the adjacent tooth sub-models on the first plane. That is, the adjacent tooth direction is used as the normal direction to generate a section with the intersection of the gingival edge periphery, as shown in the figure. Fig.13 The circled point in the figure is the intersection point of the gingival margin. Fig.14 An intersection view of the root depression section is shown.

[0085] Considering that the overall shape of the gingival root gap is an arch, the overall root deformation function is a quadratic function, which is more convex in the middle. This is a combination of function design and the original shape, such as Fig.15 As shown, a diagram of the root space morphology control is shown. In one embodiment, the control function is: y=-8* (toothRootConcavityBulge)*(x) * (x-1)+toothRootConcavityDepth, wherein toothRootConcavityBulge is the curvature of the root concavity. This parameter controls the opening size of the parabola, that is, the curvature of the concavity. The larger the value, the larger the curvature of the concavity and the steeper the shape; the smaller the value, the smaller the curvature of the concavity and the flatter the shape; toothRootConcavityDepth is the depth of the root concavity. This parameter controls the vertical offset of the parabola, that is, the depth of the concavity. The larger the value, the deeper the concavity; the smaller the value, the shallower the concavity; x represents the gingival coordinate, which represents the position or distance of the root along a certain direction (such as the long axis direction) compared to the intersection of the outer gingival edge; y represents the depth of the concavity. Both the root concavity curvature and the root concavity depth are user input parameters. Because the root concavity determines the overall effect of the root morphology, more adjustable parameters are given here to facilitate users to set the values ​​of these two parameters according to the actual root concavity shape. Based on the control function, the target shape of the deformation processing can be obtained, and then the first virtual gingival model can be deformed to obtain the shape of the gingival margin and tooth root gap.

[0086] In addition, the tooth direction can be found according to the root gap. Compared with other methods, if the tooth is placed and rotated at the wrong angle, it is likely to cause incorrect root shape. Here, the root center is located by the root gap, and the left and right root gap areas are marked. A cross section can be generated by adding the root high point to the normal of the first plane. The left and right intersection points can be intercepted to calculate the midpoint. The root high point is the highest point of the tooth gingival margin area in the non-tooth internal area cut out by the plane generated with the normal direction of each tooth sub-model and the adjacent tooth. The tooth center point is as follows: Fig.16 The black center.

[0087] The first virtual gingival model can be segmented according to the gingival root gap shape to obtain the sub-gingival area corresponding to each tooth, so as to accurately deform the sub-gingival area corresponding to each tooth. Fig.17 As shown, the root area mainly adopts multiple transverse control lines (the multiple lines can be 2, 3, 4, 5, 6 or more, Fig.17 The deformation morphology is controlled by the control lines (three in the middle). Multiple horizontal lines are used to make cross sections from the bottom point of the gingival protrusion area downward according to the preset step length (for example, 2.2mm, determined by the height of the root shape). The overall horizontal line uses a parabola to design the protrusion strength. The design formula is as follows: y = -a * force * 2.4 * (x-length) * (x - (1-length)) – concavity. Among them, length is the ratio of the root control line to the left and right root depression areas, concavity is the depth of the left and right root depression, force is the root deformation strength, and a refers to the root protrusion strength. In order to achieve the beauty of the overall shape, the strength of multiple control lines needs to be adjusted in a related manner. Multiple different control lines correspond to different sizes of a and lengths. a is getting smaller as the root control line moves downward, and length is getting larger as the root gets deeper. In this way, the root protrusion becomes smaller and shorter as it moves downward. The displacement of the two ends is consistent with the displacement of the root gap, and the displacement of the middle part depends on the deformation strength of the root. The stronger the deformation strength of the root, the more it bulges outward as a whole. The longer the control line is, the larger it is. This can make the root shape present an inverted triangle trend, because the overall side surface hopes to be convex and flat. The farther the control line is downward, the larger a is, because the length is increasing. Only by adjusting a accordingly can the middle point of the control line be connected smoothly. In practical applications, a can be a function of x to reflect this change, and length can be achieved through a function of x or root depth. The final deformation effect is as follows: Fig.17 shown.

[0088] Among them, the above steps 131 to step 134 and steps 135 to step 139 can be executed in parallel or in sequence, that is, steps 131 to step 134 and steps 135 to step 139 can be executed simultaneously, or steps 131 to step 134 can be executed first and then steps 135 to step 139, or steps 135 to step 139 can be executed first and then steps 131 to step 134.

[0089] like Fig.18 As shown, in some embodiments, step 14 includes the following steps 141 and 142:

[0090] 141. Checking the thickness of all regions of the second virtual gingival model, expanding the regions of the second virtual gingival model whose thickness does not meet the thickness threshold, to obtain a third virtual gingival model, wherein the thickness of all regions of the third virtual gingival model is greater than or equal to the thickness threshold;

[0091] 142. Cut the lower surface of the third virtual gingival model to obtain a target virtual gingival model.

[0092] In some embodiments, the processing module 304 may also be used to implement step 141 and step 142 .

[0093] When the overall thickness check of the third virtual gingival model is performed, in order to prevent some areas of the upper and lower layers of the second virtual gingival model from not meeting the minimum thickness requirements after multiple deformations, it is necessary to find all areas that do not meet the minimum thickness. Laplace deformation and other methods can be used to fix the boundaries according to the field expansion needs, and all repairs of areas that do not meet the minimum thickness are placed in this deformation to avoid penetration and non-compliance with the minimum thickness. In addition, the overall thickness check has another advantage, because Laplace deformation can retain the original shape as much as possible, so the third virtual gingival model obtained after the overall thickness check and deformation processing of the areas that do not meet the thickness requirements can still retain the original deformation effect.

[0094] Because part of the bottom surface of the third virtual gingival model is under the dental arch, in order to make the bottom surface fit the dental arch, the collision detection method can be used to identify the area where the bottom surface of the bottom surface intersects with the dental arch, and the intersecting area is cut, and the bottom surface attributes are re-marked (including but not limited to updating the vertex coordinates, normals, texture coordinates or other related attributes of the mesh). The target virtual gingival model is obtained, and the bottom surface of the target virtual gingival model fits the dental arch. Fig.19 As shown, Fig.19 Part (a) shows the effect of the lower surface of the third virtual gingival model before cutting. Fig.19 Part (b) shows the effect of the lower surface of the third virtual gingival model after cutting.

[0095] The virtual gingival surface morphology generation method provided in the embodiment of the present application generates and edits the gingival surface morphology through deformation based on the initial virtual gingival model without surface morphology, separates the gingival model generation from the gingival morphology editing, and can use the grid topology relationship when editing the gingival morphology, and can more conveniently and accurately control the gingival morphology according to the morphological strength specified by the user; at the same time, it can support the independent generation and editing of one of the morphologies, and can also support the generation and editing of multiple morphological combinations, which greatly reduces the time required to modify the gingival morphological parameters. For example, Fig. 20 As shown, a morphological comparison diagram before and after adjusting the mastoid strength alone is shown. Fig. 20 Part (a) shows the virtual gingival morphology effect before adjusting the papilla strength alone. Fig. 20 Part (b) shows the virtual gingival morphology effect diagram after adjusting the papilla strength separately. It can be seen that the virtual gingival surface morphology generation method of the present application can edit and generate one of the surface morphologies separately, which is more convenient to operate.

[0096] like Fig.21 As shown, the embodiment of the present application further provides an electronic device 200, the electronic device 200 includes one or more processors 210, a memory 220, and one or more computer programs, wherein the one or more computer programs are stored in the memory 220 and executed by the one or more processors 210, and the computer program includes instructions for executing the virtual gingival surface morphology generation method of any of the above embodiments of the present application. For example, when the processor 210 executes the program, the processor 210 can implement step 11, step 12, step 13 and step 14.

[0097] The memory 220 is used to store a computer program that can be run on the processor 210. When the processor 210 executes the program, the method for generating a virtual gingival surface morphology in any of the above-mentioned embodiments is implemented.

[0098] The memory 220 may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory. Furthermore, the electronic device 200 may also include a communication interface 230, which is used to implement communication between the memory 220 and the processor 210.

[0099] If the memory 220, the processor 210 and the communication interface 230 are implemented independently, the communication interface 230, the memory 220 and the processor 210 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.21 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0100] Optionally, in a specific implementation, if the memory 220, the processor 210 and the communication interface 230 are integrated on a chip, the memory 220, the processor 210 and the communication interface 230 can communicate with each other through an internal interface.

[0101] The processor 210 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0102] like Fig. 22 As shown, the embodiment of the present application further provides a non-volatile computer-readable storage medium 2200 including a computer program 2201. When the computer program 2201 is executed by one or more processors 220, the processor 220 can execute the virtual gingival surface morphology generation method of any of the above embodiments. The computer program 2201 may include a virtual gingival surface morphology generation program.

[0103] For example, when the computer program 2201 is executed by the processor, please combine Figure 1 , realize the following virtual gingival surface morphology generation method:

[0104] 11. Obtain the initial virtual gum model and tooth model, and generate the cervical margin line based on the tooth model;

[0105] 12. Based on the initial virtual gingival model, the tooth model and the cervical margin line, the initial virtual gingival model is deformed to generate the shape of the inner area of ​​the tooth and the shape of the gingival papilla area, so as to obtain a first virtual gingival model;

[0106] 13. Deform the first virtual gingival model to generate the morphology of the gingival protrusion area, the root area, and the morphology of the gingival root space, thereby obtaining a second virtual gingival model;

[0107] 14. Process the second virtual gingival model to obtain a target virtual gingival model.

[0108] For another example, when the computer program 2201 is executed by a processor, steps 11, 12, 13 and 14 and sub-steps therein, such as steps 111 to 115, 121 to 123, etc. can also be implemented.

[0109] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0110] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0111] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0112] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0113] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a disk or an optical disk, etc.

[0114] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0115] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0116] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for generating virtual gingival surface morphology, characterized in that: include: Acquire an initial virtual gum model and a tooth model, and generate a cervical margin line based on the tooth model; Based on the initial virtual gingival model, the tooth model and the cervical margin line, deforming the initial virtual gingival model to generate the shape of the inner area of ​​the teeth and the shape of the gingival papilla area, so as to obtain a first virtual gingival model; Deforming the first virtual gingival model to generate a gingival protrusion area shape, a root area shape, and a gingival root space shape, thereby obtaining a second virtual gingival model; processing the second virtual gingival model to obtain a target virtual gingival model; The method of deforming the initial virtual gingival model to generate the shape of the inner area of ​​the teeth and the shape of the gingival papilla area based on the initial virtual gingival model, the tooth model and the cervical margin line to obtain a first virtual gingival model includes: Obtaining an intersection line between the initial virtual gum model and each tooth sub-model in the tooth model, and obtaining an N domain point set and an M domain point set based on the intersection line, M>N; Based on the N-domain point set and the M-domain point set, the initial virtual gingival model is stretched and deformed downward to generate the internal area morphology of the tooth, wherein the stretching distance is controlled according to the N-domain point set and the M-domain point set.

2. The method for generating virtual gingival surface morphology according to claim 1, characterized in that: The step of generating a cervical margin line based on the tooth model comprises: Acquire the center point of each tooth sub-model in the tooth model, and fit the center points of all the tooth sub-models into a first plane; Move the first plane by a preset distance in a preset direction to obtain an intersection line between the first plane and each of the tooth sub-models; Projecting the center point of each tooth sub-model onto the first plane to obtain the center projection point of each tooth sub-model; Based on the central projection point of each tooth sub-model, obtain the left high point, right high point, left front point, left back point, right front point, and right back point of each tooth sub-model; The left highest point, the right highest point, the left front point, the left back point, the right front point, the right back point of each of the tooth sub-models and at least part of the points in the initial cervical margin line of each of the tooth sub-models are fitted into a curve, and the cervical margin line of each of the tooth sub-models is generated based on the curve.

3. The method for generating virtual gingival surface morphology according to claim 2, characterized in that: The step of moving the first plane by a preset distance in a preset direction to obtain an intersection line between the first plane and each of the tooth sub-models includes: Acquire the dental arch direction and the normal direction of the first plane; Perform a dot product of the normal vector and the dental arch direction vector, and determine the direction of the normal based on the dot product result; If the dot product result is greater than 0, the direction corresponding to the normal is determined as the preset direction; If the dot product result is less than 0, the normal direction is adjusted to be in the same direction as the dental arch direction, and the adjusted normal direction is determined as the preset direction.

4. The method for generating virtual gingival surface morphology according to claim 2, characterized in that: The step of acquiring the left high point, the right high point, the left front point, the left back point, the right front point, and the right back point of each tooth sub-model based on the projection point of the center point of each tooth sub-model on the first plane comprises: Obtaining the connecting line between the central projection point of each tooth sub-model and the central point of the adjacent tooth sub-model to obtain the left connecting line and the right connecting line of each central projection point; Obtain the intersection of the left and right lines of each of the central projection points with the corresponding tooth sub-model to obtain the left high point and the right high point; The left connecting line is rotated around the rotating axis by a preset angle in both clockwise and counterclockwise directions to obtain the left front point and the left rear point, and the right connecting line is rotated around the rotating axis by a preset angle in both clockwise and counterclockwise directions to obtain the right front point and the right rear point. The rotating axis passes through the center point of the tooth sub-model and extends in the preset direction.

5. The method for generating virtual gingival surface morphology according to any one of claims 1 to 4, characterized in that: The method further comprises: deforming the initial virtual gingival model to generate the internal area shape of the teeth and the gingival papillary area shape based on the initial virtual gingival model, the tooth model and the cervical margin line to obtain a first virtual gingival model; A neck margin point set of the neck margin line on the initial virtual gingival model is obtained, and the initial virtual gingival model is deformed based on the neck margin point set to generate the gingival papillary region morphology.

6. The method for generating virtual gingival surface morphology according to any one of claims 1 to 4, characterized in that: The deforming the first virtual gingival model to generate the morphology of the gingival protrusion area, the morphology of the root area and the morphology of the gingival root gap to obtain the second virtual gingival model includes: Acquire an intersection line between the first virtual gum model and the tooth model, and expand a predetermined neighborhood outward based on the intersection line to obtain a gingival protrusion area; Constructing respective second planes according to the center point of each tooth sub-model in the tooth model and the tooth occlusal direction; Obtain the projection direction of the point on the gingival margin and the center point of each tooth sub-model on the corresponding second plane, and calculate the angle between the projection direction and the main axis direction, where the main axis is the line formed by the projection point of the center point of the tooth sub-model and the root high point on the second plane; The protrusion degree of the gingival margin is calculated based on the included angle, and the gingival margin is deformed based on the protrusion degree to generate the morphology of the gingival margin protrusion area.

7. The method for generating virtual gingival surface morphology according to any one of claims 1 to 4, characterized in that: The deforming the first virtual gingival model to generate the morphology of the gingival protrusion area, the morphology of the root area and the morphology of the gingival root gap to obtain the second virtual gingival model includes: Obtain the peripheral intersection point of the gingival margins of adjacent teeth, and obtain the preset root concave curvature and root concave depth; Based on a preset root deformation function, the gingival edge periphery intersection point, the root concave curvature and the root concave depth, the first virtual gingival model is deformed to obtain the gingival edge root gap shape; Segmenting the first virtual gingival model based on the gingival root space morphology to obtain a sub-gingival region corresponding to each tooth; Starting from the bottom point of the gingival protrusion area in each of the sub-gingival areas, a plurality of cross sections are sequentially constructed downwards according to a preset step length, and a plurality of control lines of each of the sub-gingival areas are obtained based on the plurality of cross sections; The sub-root region in each of the sub-gingival regions is deformed based on the multiple control lines to obtain the sub-root region shape corresponding to each tooth.

8. The method for generating virtual gingival surface morphology according to any one of claims 1 to 4, characterized in that: The processing of the second virtual gingival morphology to obtain a target virtual gingival morphology includes: checking the thickness of all regions of the second virtual gingival model, expanding regions of the second virtual gingival model whose thickness does not meet the thickness threshold, to obtain a third virtual gingival model, wherein the thickness of all regions of the third virtual gingival model is greater than or equal to the thickness threshold; The lower surface of the third virtual gingival model is cut to obtain the target virtual gingival model.

9. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method for generating virtual gingival surface morphology according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for generating a virtual gingival surface morphology according to any one of claims 1 to 8 are implemented.