Generation method of gingival model and electronic equipment

The user-drawn gingival region boundary line generates point clouds of multiple gingival areas, which solves the problem of lack of flexibility in gingival model generation in the prior art, and improves the matching degree and comfort of the oral morphology of the bionic gingival and the target object.

CN118887364APending Publication Date: 2024-11-01SHENZHEN UP3D TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410918964.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing virtual gingival model generation methods lack flexibility, resulting in low oral morphology matching between the bionic gingival and the target object, affecting the comfort of use.

Method used

The user-drawn gingival region boundary lines generate point clouds of multiple gingival regions, including the minimum morphological region, nonmorphological region and base area, improving the design flexibility and accuracy of the gingival model.

Benefits of technology

It improves the matching degree between the bionic gingival and the oral morphology of the target object, and improves the comfort of the bionic gingival.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887364A_ABST
    Figure CN118887364A_ABST
Patent Text Reader

Abstract

The invention discloses a gingival model generation method and electronic equipment, and the method comprises the steps: obtaining tooth information, gingival region related information and a gingival base model of a target object, and the gingival region related information comprises a gingival region boundary line drawn by a user; determining a boundary of the morphological region based on the tooth information, the gingival region-related information, and the gingival base model; generating a point cloud representing a minimum morphological region and a point cloud representing a non-morphological region on the gingival base model based on the boundary of the morphological region; generating a point cloud representing a bottom surface area on the gingival base model based on the gingival area related information and the gingival base model; and processing the gingival base model based on the point clouds of the plurality of gingival areas to obtain a gingival model of the target object. The point clouds of the plurality of gingival areas are generated according to the gingival area related information including the gingival area boundary line drawn by the user, and compared with the use of a fixed gingival boundary, the flexibility of designing the gingival model of the target object can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical technology, and in particular to a method for generating a gum model and an electronic device. Background Art

[0002] In the field of oral rehabilitation, when the interdental space or gingival space is too large due to alveolar bone atrophy, bionic gingiva is needed. With the rapid development of computer technology, a method of designing and manufacturing bionic gingiva using digital gingival models has emerged. Through gingival models, the morphology of real gingiva can be simulated more accurately, providing strong support for the manufacture of bionic gingiva.

[0003] In the existing virtual gingival model generation method, the real gingiva and tooth model are usually separated based on the three-dimensional scanning data of the patient's mouth, and the boundary of the virtual gingiva is calculated to generate the virtual gingival model.

[0004] However, the oral morphology of each patient is different. The existing method of calculating the fixed gingival boundary through the tooth model lacks flexibility, which often leads to a low match between the bionic gingiva and the oral morphology of the target object, thereby affecting the comfort of using the bionic gingiva. Summary of the invention

[0005] In response to the shortcomings of the prior art, the present application provides a method and electronic device for generating a gingival model. The present application generates point clouds of multiple gingival areas based on gingival area-related information including gingival area boundary lines drawn by a user. Compared with using fixed gingival boundaries, the present application can improve the flexibility in designing the gingival model of the target object. In addition, the gingival area boundary lines drawn by the user can more accurately reflect the real gingival boundaries than fixed gingival boundaries, so that the bionic gingiva made based on the gingival model of the target object is more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gingiva.

[0006] To solve the above problems, the present invention provides the following technical solutions:

[0007] In a first aspect, an embodiment of the present application provides a method for generating a gingival model, the method comprising: obtaining tooth information, gingival area related information and a gingival base model of a target object, the gingival area related information comprising a gingival area boundary line drawn by a user; determining the boundary of a morphological area based on the tooth information, the gingival area related information and the gingival base model; generating a point cloud representing a minimum morphological area and a point cloud representing a non-morphological area on the gingival base model based on the boundary of the morphological area; generating a point cloud representing a bottom surface area on the gingival base model based on the gingival area related information and the gingival base model; processing the gingival base model based on the point clouds of multiple gingival areas to obtain a gingival model of the target object, wherein the multiple gingival areas include the minimum morphological area, the non-morphological area and the bottom surface area.

[0008] In a second aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for generating a gingival model as in the first aspect.

[0009] The present application provides a method for generating a gingival model and an electronic device. The present application generates point clouds of multiple gingival areas based on gingival area related information including gingival area boundary lines drawn by a user. Compared with using fixed gingival boundaries, the present application can improve the flexibility in designing a gingival model of a target object. In addition, the gingival area boundary lines drawn by the user can more accurately reflect the real gingival boundaries than fixed gingival boundaries, so that the bionic gingiva made based on the gingival model of the target object is more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gingiva. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 It is a flowchart of the method for generating a gum model provided in an embodiment of the present application.

[0011] Figure 2 yes Figure 1 Schematic diagram of the first detailed process of step S200.

[0012] Figure 3 yes Figure 2 Schematic diagram of the principle of determining the highest point of the initial neck margin line in step S240.

[0013] Figure 4 yes Figure 1 A second detailed flow chart of step S200 in FIG.

[0014] Figure 5 yes Figure 1 Detailed flowchart of step S300.

[0015] Figure 6 yes Figure 5 Schematic diagram of the principle of intercepting the boundary of the morphological area in step S310.

[0016] Figure 7 yes Figure 5 Detailed flowchart of step S320 in FIG.

[0017] Figure 8 yes Figure 7 Schematic diagram of the principle of step S321.

[0018] Fig. 9 It is a schematic diagram of a point cloud of the minimum morphological area provided in an embodiment of the present application.

[0019] Fig.10 yes Figure 1 Detailed flowchart of step S400.

[0020] Fig.11 It is a schematic diagram of the first gingival model provided in an embodiment of the present application.

[0021] Fig.12 It is a schematic diagram of the second gingival model provided in an embodiment of the present application.

[0022] Fig.13 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0024] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0025] The present application provides a method for generating a gingival model. By generating point clouds of multiple gingival areas based on gingival area related information including gingival area boundary lines drawn by a user, the flexibility in designing a gingival model of a target object can be improved compared to using a fixed gingival boundary. In addition, the gingival area boundary lines drawn by the user can more accurately reflect the real gingival boundaries than fixed gingival boundaries, so that the bionic gingiva made based on the gingival model of the target object is more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gingiva.

[0026] The gum base model involved in this application refers to a model that represents the basic physiological morphology of the oral cavity. The gum base model has an upper surface and a lower surface. The upper surface of the gum base model is an oral surface that represents the presence of teeth, and the lower surface of the gum base model is an oral surface that represents the absence of teeth, and the lower surface is opposite to the upper surface.

[0027] The method for generating the gingival model provided by the present application will be described in detail below with reference to the accompanying drawings.

[0028] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a method for generating a gum model provided in an embodiment of the present application. Figure 1 As shown, the method for generating the gum model includes: steps S100 to S500.

[0029] Step S100: Acquire tooth information, gum area related information and gum base model of the target object.

[0030] In some embodiments, the dental information includes a plurality of dental models.

[0031] Optionally, the multiple tooth models are virtual models of multiple teeth of the target object obtained through oral scanning.

[0032] In some embodiments, the multiple tooth models and the gum base model are mesh models composed of multiple triangular facets, each triangular facet includes three vertices, and each vertex has a corresponding normal vector.

[0033] In some embodiments, the tooth information further includes the center point of each tooth model, an initial cervical margin line, a cusp direction vector, a buccal direction vector, and tooth position information.

[0034] In some embodiments, the gingival region related information includes a gingival region boundary line, and the gingival region boundary line is located on the upper surface of the gingival base model.

[0035] In some embodiments, the gingival area boundary line is drawn by a user.

[0036] In some embodiments, the gum region boundary line is an optimized gum region boundary line drawn by the user. In this way, when the boundary line drawn by the user is relatively irregular, a relatively regular boundary of the designated area can be obtained, which is convenient for subsequent processing.

[0037] In some embodiments, the gingival region related information further includes a designated area on the gingival base model, where the designated area is determined by a boundary line drawn by a user.

[0038] In some embodiments, the gingival region related information further includes a normal vector of the gingival base model and a plurality of parameters related to a plurality of gingival regions.

[0039] In some embodiments, the plurality of parameters associated with the plurality of gingival regions include overall gingival thickness and root depth, among others.

[0040] In some embodiments, a plurality of gingival regions are used to represent the generated virtual gingiva on the gingival base model.

[0041] Optionally, the multiple gingival regions include a standard morphological region, a basic morphological region, a morphological region, a minimum morphological region, a non-morphological region, and a bottom surface region. The standard morphological region is a region on the upper surface of the gingival base model that represents the main physiological morphology of the virtual gingiva, the basic morphological region is a region in the space close to the upper surface and close to the lower surface of the gingival base model that represents the main physiological morphology of the virtual gingiva, and the morphological region is an intersection region of the standard morphological region and a designated region in the gingival region related information. The minimum morphological region is a key region in the basic morphological region that represents the main physiological morphology of the virtual gingiva. The non-morphological region is a region on the upper surface of the gingival base model that does not represent the main physiological morphology of the virtual gingiva. The bottom surface region is a region on the lower surface of the gingival base model.

[0042] Optionally, the point cloud of the basic morphological area includes a point cloud of the minimum morphological area, a point cloud of the non-morphological area, and a point cloud of the bottom surface area.

[0043] Optionally, the plurality of gingival regions further include other gingival regions, for example, at least one gingival region further includes two end transition regions and edge regions. The two end transition regions are regions where the minimum morphological region transitions to other gingival regions. The edge region is a region where the virtual gingiva transitions to the surface of the gingival base model.

[0044] Optionally, the point cloud of the basic morphological area also includes point clouds of transition areas at both ends and point clouds of edge areas.

[0045] In some embodiments, the gingival region related information further includes a distance corresponding to a minimum morphological region, and the distance corresponding to the minimum morphological region is used to determine a boundary of the intercepted morphological region.

[0046] Step S200: Determine the boundary of the morphological region based on the tooth information, gum region related information and the gum base model.

[0047] In some embodiments, the boundary of the morphological region is determined based on the tooth information, the gingival region related information including a gingival region boundary line drawn by a user, and the gingival base model.

[0048] In some implementations, the initial designated area is determined based on a gingival area boundary line drawn by a user, but the gingival area boundary line drawn by the user may be irregular, and the gingival area boundary line drawn by the user needs to be optimized first for subsequent processing.

[0049] See also Figure 2 , Figure 2 yes Figure 1 The first detailed flow chart of step S200 in FIG. Figure 2 As shown, step S200 includes steps S210 to S260.

[0050] Step S210: Determine a designated filling area enclosed by the gingival area boundary line.

[0051] In some embodiments, the gingival area boundary line includes an inner boundary line and a peripheral boundary line of the gingival area.

[0052] In some embodiments, the gum area boundary line drawn by the user may be irregular, for example, it may be a five-pointed star shape, and there is an internal boundary line inside the gum area, which divides the gum area into multiple areas. Therefore, it is necessary to determine the designated filling area surrounded by the gum area boundary line.

[0053] In some embodiments, an area enclosed by a peripheral boundary line of the gingival region boundary line is determined as the designated filling area.

[0054] In some implementations, step S210 includes the following steps.

[0055] (1) Starting from any vertex on the lower surface of the gingival base model, all vertices on the gingival base model are traversed toward the gingival area boundary line until the vertex belongs to the gingival area boundary line, and the outer boundary line in the gingival area boundary line and the area outside the outer boundary line are obtained.

[0056] Because the gingival region boundary line is located on the upper surface of the gingival base model, the area outside the outer boundary line can be obtained by traversing the vertices on the gingival base model in all directions toward the gingival region boundary line starting from any vertex on the lower surface of the gingival base model.

[0057] (2) Inversely select the area outside the outer boundary line on the gingival base model to obtain the designated area to be filled.

[0058] In some implementations, the boundary line of the designated area to be filled may have sharp parts. In order to improve the smoothness of the subsequently obtained gingival model, it is necessary to perform boundary expansion processing on the designated area to be filled.

[0059] Step S220: performing boundary expansion processing on the filled designated area to obtain an optimized designated area.

[0060] In some implementations, step S220 includes the following steps.

[0061] (1) Each third vertex on the outer boundary line of the designated area is traversed one by one, and a first point set including the third vertex and the fourth vertex is determined with the third vertex as the center.

[0062] Optionally, a circular area with a first radius is determined on the gum base model with the third vertex as the center, and the set of all vertices in the circular area is a first point set. The vertices in the first point set all belong to the fourth vertex. That is, the third vertex is one of the multiple fourth vertices.

[0063] Optionally, the first radius ranges from 0.1 mm (millimeter) to 5 mm, for example, the first radius is 0.1 mm, 0.2 mm, 0.3 mm, 0.4 mm, 0.5 mm, 1 mm, 2 mm, 3 mm or 5 mm.

[0064] (2) Traverse the fourth vertices in the first point set one by one, and determine a second point set including the fourth vertex and the fifth vertex with the fourth vertex as the center.

[0065] Optionally, a circular area with a second radius is determined on the gingival base model with each fourth vertex as the center, and the set of all vertices in the circular area is the second point set of the fourth vertex, thereby determining a second point set equal to the number of fourth vertices. The vertices in the second point set all belong to the fifth vertex. That is, the fourth vertex is one of the multiple fifth vertices.

[0066] Optionally, the second radius ranges from 0.1 mm to 5 mm, for example, the second radius is 0.1 mm, 0.2 mm, 0.3 mm, 0.4 mm, 0.5 mm, 1 mm, 2 mm, 3 mm or 5 mm.

[0067] (3) The first ratio is obtained by dividing the number of fifth vertices in the second point set that fill the specified area by the number of all vertices in the second point set.

[0068] (4) When the second ratio is greater than the second preset value, update and fill the boundary of the designated area according to the fourth vertex in the second point set.

[0069] When the second ratio is greater than the second preset value, it means that the boundary line at the third vertex is relatively sharp. The fourth vertex at this time is used as the updated point on the boundary of the designated filling area. The updated boundary of the designated filling area is refitted according to the unupdated points on the boundary of the designated filling area adjacent to the third vertex and the fourth vertex.

[0070] Optionally, the second preset value ranges from 0.4 to 0.8, for example, the second preset value is 0.4 mm, 0.5 mm, 0.6 mm, 0.7 mm or 0.8 mm.

[0071] Optionally, the algorithm for fitting the curve includes a cubic B-spline algorithm, a polynomial interpolation algorithm, a K-spline interpolation algorithm, and the like.

[0072] (5) After traversing all third vertices, the boundary of the optimized designated area and the optimized designated area are obtained.

[0073] In some implementations, a curve smoothing method may also be used to perform boundary expansion processing on the filled designated area.

[0074] Optionally, the curve smoothing method includes a Gaussian blur smoothing method and a window moving average smoothing method.

[0075] Through the above method, the gingival area boundary line drawn by the user can be optimized, which can facilitate the subsequent determination of multiple gingival areas by optimizing the boundary of the designated area and the designated area, and can improve the accuracy of the gingival model.

[0076] In some implementations, the positions and placements of the multiple tooth models may be relatively messy, and the multiple tooth models need to be optimized first for subsequent processing.

[0077] Step S230: Determine the tooth model in the optimized designated area based on the optimized designated area and the tooth information, and group the continuous adjacent tooth models in the optimized designated area into one group to obtain at least one group of tooth models.

[0078] Step S240: For each tooth model, the tooth model is processed by rotating the cervical margin line and / or the buccal direction vector based on the tooth information to obtain an optimized tooth model.

[0079] In some embodiments, in step S240, the rotation of the cervical margin line of the tooth model is processed based on the tooth information to obtain an optimized tooth model, which includes the following steps.

[0080] (1) Construct a first vector corresponding to each point according to the center point of the tooth model and each point on the initial cervical margin line of the tooth model to obtain multiple first vectors.

[0081] See also Figure 3 , Figure 3 yes Figure 2 FIG. 1 is a schematic diagram showing the principle of determining the highest point of the initial neck margin line in step S240. Figure 3 As shown, the starting point of the first vector b is the center point O of the tooth model 10 , and the end point of the first vector b is the point Q on the initial cervical margin line 11 of the tooth model 10 .

[0082] (2) Calculate the first dot product value of each first vector and the tooth cusp direction vector of the tooth model to obtain the first dot product values ​​corresponding to the multiple first vectors.

[0083] like Figure 3 As shown, optionally, a first dot product value of the first vector b and the tooth cusp direction vector a of the tooth model 10 is calculated.

[0084] (3) Selecting a point corresponding to the largest first dot product value among multiple first dot product values ​​as the first highest point of the initial cervical margin line.

[0085] Optionally, a plurality of first dot product values ​​are arranged in descending order to obtain a first array, and a point corresponding to the first first dot product value in the first array is selected as the first highest point of the initial neck margin line.

[0086] like Figure 3 As shown, for example, the point Q corresponding to the largest first dot product value among multiple first dot product values ​​is selected as the first highest point of the initial neck edge line 11.

[0087] (4) Determine the second highest point of the initial cervical margin line based on the first vector corresponding to the first highest point, other first vectors and multiple first point product values.

[0088] In some embodiments, step (4) in step S240 includes the following steps (1) to (4).

[0089] (1) Traverse the first array, perform dot product on the first vector corresponding to the Nth first dot product value and the fourth vector to obtain the Mth second dot product value.

[0090] Wherein, N and M are both positive integers, the initial value of N is 2, the initial value of M is 1, and the fourth vector is the first vector corresponding to the first highest point.

[0091] like Figure 3 As shown, the fourth vector is the first vector b corresponding to the first highest point.

[0092] (2) Store the Mth second dot product value into the second array.

[0093] (3) Let N=N+1, M=M+1, and return to execute the above step (1) to perform dot product of the first vector corresponding to the Nth first dot product value and the fourth vector to obtain the Mth second dot product value.

[0094] (4) When the degree to which the M+1th second dot product value in the second array is smaller than the Mth second dot product value is greater than a preset degree, the point corresponding to the Nth first dot product value when calculating the M+1th second dot product value is taken as the second highest point of the initial neck margin line.

[0095] like Figure 3 As shown, for example, when the second dot product value obtained by performing dot product of the first vector c corresponding to point P and the fourth vector is smaller than the Mth second dot product value by more than a preset degree, point P is taken as the second highest point of the initial neck edge line 11.

[0096] Optionally, the degree to which the M+1th second dot product value in the second array is less than the Mth second dot product value is greater than a preset degree: the result value of subtracting the M+1th second dot product value in the second array from the Mth second dot product value is greater than a third preset value or the result value of dividing the Mth second dot product value by the M+1th second dot product value in the second array is greater than a fourth preset value.

[0097] Optionally, the third preset value ranges from 0.2 to 3, for example, the third preset value is 0.2, 1, 1.5, 2 or 3.

[0098] Optionally, the fourth preset value ranges from 1.5 to 3, for example, the fourth preset value is 1.5, 2 or 3.

[0099] Step (5) in step S240: fitting a first curve based on the center points of the plurality of tooth models.

[0100] Optionally, the center points of the plurality of tooth models are used as control points of the first curve to obtain the first curve by fitting.

[0101] Optionally, the algorithm for fitting the curve includes a cubic B-spline algorithm, a polynomial interpolation algorithm, a K-spline interpolation algorithm, and the like.

[0102] (6) Determine the tangent vector of the center point of the tooth model on the first curve based on the tooth position information and the first curve.

[0103] Optionally, the derivative and tangent line of the center point of the current tooth model on the first curve are calculated according to the first curve, and the direction of the tangent vector of the center point is determined based on the tangent line of the center point.

[0104] Optionally, the derivative at the center point is taken as the magnitude of the tangent vector at the center point.

[0105] Optionally, the next tooth model adjacent to the current tooth model in order of tooth position is determined based on the tooth position information.

[0106] Optionally, the second vector is determined by taking the center point of the current tooth model as the starting point of the second vector and taking the center point of the next tooth model adjacent to the current tooth model in order of tooth position as the end point of the second vector.

[0107] Optionally, the derivative of the center point is used as the modulus of the tangent vector of the center point, and the first tangent vector and the second tangent vector of the center point can be determined on the tangent line of the center point. The tangent vector whose dot product value with the second vector is greater than 0 is selected as the final tangent vector of the center point.

[0108] (7) Determine the rotation angle and rotation direction of the initial cervical margin line based on the tangent vector, the first highest point and the second highest point.

[0109] Optionally, the angle between the tangent vector and the vector corresponding to the highest point is calculated and used as the rotation angle of the initial neck margin line, and the rotation angle is used to turn the vector corresponding to the highest point toward the tangent vector.

[0110] Optionally, the first highest point and the second highest point are both endpoints of the vector corresponding to the highest point, and the vector corresponding to the highest point is determined based on the first highest point and the second highest point in a manner that satisfies the point product value of the vector corresponding to the highest point and the tangent vector is greater than 0.

[0111] Optionally, the rotation direction is determined according to the direction in which the vector corresponding to the highest point turns to the tangential vector.

[0112] (8) Taking the straight line where the tooth cusp direction vector of the tooth model is located as the rotation axis, the initial cervical margin line of the tooth model is rotated according to the rotation angle and rotation direction.

[0113] Optionally, the first highest point and the second highest point of the initial cervical margin line of the tooth model are rotated according to the rotation angle and the rotation direction, so that the vectors corresponding to the highest points are turned to the tangential vector and substantially coincide with the tangential vector.

[0114] Optionally, when the first highest point and the second highest point of the initial cervical margin line of the tooth model are rotated, all other points on the initial cervical margin line are rotated synchronously.

[0115] (9) Determine on the tooth model the corresponding vertex closest to each point on the rotated initial cervical margin line of the tooth model, and obtain an optimized cervical margin line of the tooth model and an optimized tooth model.

[0116] Optionally, the corresponding vertices closest to each point on the rotated initial cervical margin line of the tooth model are determined on the tooth model, and a set of all corresponding vertices is used as the optimized cervical margin line of the tooth model.

[0117] In some embodiments, in step S240, the tooth model is corrected by performing buccal direction vector correction based on the tooth information to obtain an optimized tooth model, which includes the following steps.

[0118] (1) Determine a second vector based on the tooth position information of the plurality of tooth models, the center point of the tooth model, and the center point of the tooth model adjacent to the tooth model.

[0119] The center point of the tooth model and the center point of the tooth model adjacent to the tooth model are both endpoints of the second vector.

[0120] The method of determining the second vector is as described above.

[0121] (2) Cross-product the second vector with the normal vector of the gingival base model to obtain the third vector.

[0122] (3) Calculate the angle between the third vector and the buccal direction vector of the tooth model. When the angle is greater than a first preset value, use the third vector as the optimized buccal direction vector of the tooth model to obtain the optimized tooth model.

[0123] In some embodiments, the first preset value ranges from 10 degrees to 50 degrees, for example, the first preset value is 10 degrees, 20 degrees, 30 degrees, 45 degrees, or 50 degrees.

[0124] In some implementations, in step S240 , a first lowest point and a second lowest point of the initial cervical margin line are also determined.

[0125] Optionally, the method for determining the first lowest point and the second lowest point of the initial cervical margin line refers to the method for determining the first highest point and the second highest point of the initial cervical margin line.

[0126] In some embodiments, determining the first lowest point and the second lowest point of the initial cervical margin line in step S240 includes the following steps.

[0127] (1) Construct a fifth vector corresponding to each point according to the center point of the tooth model and each point on the initial cervical margin line of the tooth model to obtain multiple fifth vectors.

[0128] The starting point of the fifth vector is the center point of the tooth model, and the end point of the fifth vector is the point on the initial cervical margin line of the tooth model.

[0129] (2) Calculate the third dot product value of each fifth vector and the tooth cusp direction vector of the tooth model to obtain the third dot product values ​​corresponding to multiple fifth vectors.

[0130] (3) Selecting a point corresponding to the smallest third point product value among multiple third point product values ​​as the first lowest point of the initial neck edge line.

[0131] Optionally, a plurality of third dot product values ​​are arranged in ascending order to obtain a third array, and a point corresponding to the first third dot product value in the third array is selected as the first lowest point of the initial neck margin line.

[0132] (4) Determine the second lowest point of the initial cervical margin line based on the fifth vector corresponding to the first lowest point, other fifth vectors and multiple third point product values.

[0133] In some embodiments, step (4) determines the second lowest point of the initial cervical margin line based on the fifth vector corresponding to the first lowest point, other fifth vectors and multiple third point product values, including the following steps (1) to (4).

[0134] (1) Traverse the third array, perform dot product on the fifth vector corresponding to the Xth third dot product value and the sixth vector to obtain the Yth fourth dot product value.

[0135] Wherein, X and Y are both positive integers, the initial value of X is 2, the initial value of Y is 1, and the sixth vector is the fifth vector corresponding to the first lowest point.

[0136] (2) storing the Yth fourth dot product value into the fourth array;

[0137] (3) Let X=X+1, Y=Y+1, and return to execute the above step (1) to perform dot product of the fifth vector corresponding to the Xth third dot product value and the sixth vector to obtain the Yth fourth dot product value.

[0138] (4) When the degree to which the Y+1th fourth dot product value in the fourth array is less than the Yth fourth dot product value is greater than a preset degree, the point corresponding to the Xth third dot product value when calculating the Y+1th fourth dot product value is used as the second lowest point of the initial neck margin line.

[0139] Optionally, the degree to which the Y+1th fourth dot product value in the fourth array is less than the Yth fourth dot product value is greater than a preset degree: the result value of subtracting the Yth fourth dot product value from the Y+1th fourth dot product value in the fourth array is greater than a third preset value or the result value of dividing the Yth fourth dot product value by the Y+1th fourth dot product value in the fourth array is greater than a fourth preset value.

[0140] Through the above method, it is possible to facilitate the subsequent use of the optimized tooth model to generate a point cloud of the gum area, thereby improving the accuracy of the gum model.

[0141] Step S250: Determine the boundary of the standard morphological area on the gum base model based on the multiple optimized tooth models and the optimized designated area.

[0142] The method for determining the boundaries of the standard morphological regions is described in detail below.

[0143] Step S260: Determine the boundary of the morphological region based on the boundary of the standard morphological region and the gingival region related information.

[0144] In some implementations, an intersection operation is performed between a designated area in the gum region related information and a standard morphological area to obtain a morphological area and a boundary of the morphological area.

[0145] See also Figure 4 , Figure 4 yes Figure 1 A second detailed flow chart of step S200 in FIG. Figure 4 As shown, step S200 includes steps S270 to S280.

[0146] Step S270: Determine multiple boundary curves based on the tooth information, gum area related information and the gum base model.

[0147] In some embodiments, a plurality of boundary curves are determined based on a plurality of optimized tooth models and the optimized designated regions.

[0148] In some embodiments, the plurality of boundary curves include a first boundary curve, a second boundary curve, a first end boundary curve, and a second end boundary curve.

[0149] In some embodiments, step S270 includes the following steps.

[0150] (1) A first curve is obtained based on center point fitting of multiple tooth models.

[0151] (2) Based on the first curve and the tooth model located at the first end of the first curve, the endpoint of the first end of the first curve is moved to obtain a first intermediate point.

[0152] In some embodiments, a tooth model located at the first end of the first curve is found according to the first curve, and the first end extension direction vector is obtained by cross-producting the buccal normal vector and the cusp direction vector of the tooth model located at the first end of the first curve.

[0153] In some embodiments, the endpoint of the first end of the first curve is moved a third preset distance along the first end extension direction vector to obtain a first midpoint, and the third preset distance includes a distance corresponding to the minimum morphological area and distances corresponding to other gingival areas.

[0154] In some embodiments, the distance corresponding to the minimum morphological area is 0.5 mm to 2 mm, for example, the distance corresponding to the minimum morphological area is 0.5 mm, 0.6 mm, 0.8 mm, 1 mm, 1.5 mm or 2 mm.

[0155] In some embodiments, the distance corresponding to the other gingival area is 2 mm to 3 mm, for example, the distance corresponding to the other gingival area is 2 mm, 2.5 mm, or 3 mm.

[0156] Optionally, the distance corresponding to other gingival areas is the distance corresponding to the transition areas at both ends.

[0157] In some embodiments, when the tooth model is relatively close to the upper surface of the gingival base model (eg, the distance between the center point of the tooth model and the upper surface of the gingival augmentation model is less than a fifth preset value), the distance corresponding to the minimum morphological area is 1.5 mm.

[0158] (3) Determine a first control point of the first end corresponding to the first middle point on the gingival base model according to the first middle point and the normal vector of the gingival base model.

[0159] In some embodiments, the first middle point is used as the endpoint of the ray, and the inverse vector of the normal vector of the gingival base model is used as the direction of the ray. The ray corresponding to the first middle point is constructed, and the intersection point of the ray corresponding to the first middle point and the gingival base model is calculated, and the intersection point corresponding to the first middle point is used as the first control point of the first end.

[0160] (4) Based on the first curve and the tooth model located at the second end of the first curve, the endpoint of the second end of the first curve is moved to obtain a second middle point.

[0161] The method for obtaining the second midpoint in step (4) refers to the method for obtaining the first midpoint in step (2).

[0162] (5) Determine a first control point of a second end corresponding to the second middle point on the gingival base model according to the second middle point and the normal vector of the gingival base model.

[0163] The method for determining the first control point of the second end in step (5) refers to the method for determining the first control point of the first end in step (3).

[0164] (6) Based on the first curve, the root depth and the gingival base model, determine a first facet set located on the lingual side of the gingival base model and a second facet set located on the buccal side of the gingival base model whose distance from the first curve is the root depth.

[0165] In some embodiments, the tangent vector of each point on the first curve is cross-multiplied with the normal vector of the gingival base model to obtain the seventh vector corresponding to the point, and the first section corresponding to each point is constructed according to the tangent vector of each point and the seventh vector corresponding to the point to obtain multiple first sections.

[0166] In some embodiments, the gingival base model is intercepted with multiple first sections to determine a first facet set located on the lingual side of the gingival base model and a second facet set located on the buccal side of the gingival base model whose distance from the first curve is the root depth.

[0167] Optionally, on the first section, the first point and the second point whose distance from the point on the first curve is the root depth are determined according to the direction of the seventh vector, and the patch including the first point on the gingival base model is determined as a patch in the first patch set, and the patch including the second point on the gingival base model is determined as a patch in the second patch set.

[0168] Optionally, the direction from a patch in the first patch set on a first section to a patch in the second patch set is the direction of the seventh vector, so it can be determined that the first patch set is located on the lingual side of the gum base model and the second patch set is located on the buccal side of the gum base model.

[0169] (7) Process the first face set to obtain a first boundary curve.

[0170] The first boundary curve is a lingual boundary curve.

[0171] In some implementations, the center point of each patch in the first patch set is calculated, and the set of center points of all patches in the first patch set is used as a plurality of control points of the first boundary curve.

[0172] Optionally, the first boundary curve is obtained by fitting according to a plurality of control points of the first boundary curve.

[0173] In some embodiments, some points in the fitted first boundary curve may not be on the gingival base model. In this case, the corresponding vertices from the points on the first boundary curve to the gingival base model that are closest to each other are calculated, and the set of corresponding vertices from the points on the first boundary curve to the gingival base model that are closest to each other is determined as the final first boundary curve.

[0174] Optionally, the center point of the patch is the average coordinate point of the three vertices of the patch.

[0175] (8) Process the second face set to obtain a second boundary curve.

[0176] The second boundary curve is the buccal boundary curve.

[0177] The method for obtaining the second boundary curve in step (8) refers to the method for obtaining the first boundary curve in step (7).

[0178] (9) The first end boundary curve is obtained by fitting and processing based on the endpoint of the first end of the first boundary curve, the endpoint of the first end of the second boundary curve and the first control point of the first end.

[0179] In some embodiments, the endpoint of the first end of the first boundary curve, the endpoint of the first end of the second boundary curve and the first control point of the first end are used as control points of the first end boundary curve, and the first end boundary curve is fitted according to the control points of the first end boundary curve.

[0180] In some embodiments, some points in the fitted first-end boundary curve may not be on the gingival base model. In this case, the corresponding vertices from the points on the first-end boundary curve to the gingival base model that are closest to each other are calculated, and the set of corresponding vertices from the points on the first-end boundary curve to the gingival base model that are closest to each other are determined as the final first-end boundary curve.

[0181] (10) A second-end boundary curve is obtained by fitting and processing based on the endpoint of the second end of the first boundary curve, the endpoint of the second end of the second boundary curve, and the first control point of the second end.

[0182] The method for obtaining the second end boundary curve in step (10) refers to the method for obtaining the first end boundary curve in step (9).

[0183] Step S280: Determine the boundary of the morphological area based on the multiple boundary curves and the gum area related information.

[0184] In some embodiments, the first boundary curve, the second boundary curve, the first end boundary curve, and the second end boundary curve are spliced ​​to obtain the boundary of the standard morphological area.

[0185] In some embodiments, a breadth-first algorithm is used to traverse the area of ​​the first boundary curve, the second boundary curve, the first end boundary curve, and the second end boundary curve and construct point set adjacency table information, and then a shortest path first search algorithm is used to calculate the shortest path on the grid topology structure, and the boundary is closed to obtain the boundary of the standard morphological area.

[0186] In some embodiments, the optimized designated region is further optimized according to the boundary of the standard morphological region to obtain the final designated region, including the following steps.

[0187] (1) A second cross section corresponding to each point is constructed according to the tangent vectors of every second preset number of points on the first curve and the seventh vector corresponding to the points, so as to obtain a plurality of second cross sections.

[0188] Optionally, the number of the second preset points ranges from 3 or more, for example, the number of the second preset points is 3, 5 or 10, etc.

[0189] (2) Using multiple second sections, the boundary line of the intersection area of ​​the optimized designated area and the standard morphological area on the gingival base model is intercepted to obtain a pair of intersection points on a second section, thereby obtaining multiple pairs of intersection points.

[0190] (2) The points on the boundary line of the intersection area of ​​the optimized designated area and the standard shape area are sorted according to the multiple pairs of intersection points to obtain the order of the points on the boundary line.

[0191] (3) For each point on the boundary line, determine the next point that is separated from the point by a third preset number of points according to the order of the points on the boundary line.

[0192] Optionally, the number of the third preset points ranges from 3 or more, for example, the number of the third preset points is 3, 5 or 10, etc.

[0193] (4) Determine whether the Euclidean distance between each point on the boundary line and the next point of the point is greater than a fifth preset distance. If so, delete the point.

[0194] (5) The buccal boundary line and the lingual boundary line of the first middle area are obtained by fitting the remaining points on the boundary line of the intersection area of ​​the optimized designated area and the standard morphological area.

[0195] (6) The first end boundary curve, the second end boundary curve, the buccal boundary line and the lingual boundary line of the first middle area are spliced ​​together to obtain the boundary of the first middle area.

[0196] (7) Starting from any vertex on the lower surface of the gingival base model, traverse all vertices on the gingival base model toward the boundary of the first middle region until the vertex belongs to the boundary of the first middle region, and obtain the outer boundary line of the boundary of the first middle region and the region other than the outer boundary line of the first middle region.

[0197] (8) Inversely select the area except the outer boundary line of the first middle area on the gingival base model to obtain the final designated area.

[0198] In some implementations, the boundary of the standard morphological region is processed according to the initial designated region, the optimized designated region, or the final designated region in the gingival region related information to obtain the boundary of the morphological region.

[0199] Optionally, the initially designated area is determined directly based on a gingival area boundary line drawn by the user.

[0200] Optionally, an intersection operation is performed on the final designated area and the standard morphological area to obtain the morphological area and the boundary of the morphological area.

[0201] Optionally, the boundary of the morphological region includes a first boundary curve, a second boundary curve, a first end boundary curve, and a second end boundary curve obtained after an intersection operation.

[0202] Optionally, without further optimizing the optimized designated area, the optimized designated area is intersected with the standard morphological area to obtain the morphological area and the boundary of the morphological area.

[0203] Optionally, without further optimizing the initial designated area, the initial designated area is intersected with the standard morphological area to obtain the morphological area and the boundary of the morphological area.

[0204] Through the above method, the boundary of the morphological area can be determined according to the gingival area boundary line drawn by the user. Compared with using a fixed gingival boundary, the flexibility in designing the gingival model of the target object can be improved, and the gingival area boundary line drawn by the user can more accurately reflect the real gingival boundary than the fixed gingival boundary, so that the bionic gingiva made based on the gingival model of the target object is more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gingiva.

[0205] Optionally, the designated area is an initial designated area, an optimized designated area, or a final designated area.

[0206] In some implementations, points on the boundary of a specified region are sorted and stored for subsequent processing.

[0207] Optionally, the point sorting includes clockwise sorting and counterclockwise sorting.

[0208] In some implementations, for a vertex in a designated area that is adjacent to a boundary of the designated area, a first point and a second point on the boundary adjacent to the vertex are determined based on point sorting.

[0209] Optionally, when the dot product value of a vector obtained by the cross product of a vector from the vertex passing through a first point and a vector from the vertex passing through a second point and the normal vector of the face where the vertex is located is greater than 0, the current point sorting is determined to be counterclockwise.

[0210] Optionally, if the current point sorting is counterclockwise, the current point sorting is changed to clockwise.

[0211] Please return to Figure 1 , step S300: generating a point cloud representing a minimum morphological area and a point cloud representing a non-morphological area on a gingival base model based on the boundary of the morphological area.

[0212] See also Figure 5 , Figure 5 yes Figure 1 Detailed flow chart of step S300 in FIG. Figure 5 As shown, step S300 includes steps S310 to S340.

[0213] Step S310: Determine the boundary of the intercepted morphological region based on the boundary of the morphological region, the tooth information and the gum region related information.

[0214] In some implementations, step S310 includes the following steps.

[0215] (1) A first curve is obtained based on center point fitting of multiple tooth models.

[0216] (2) Based on the first curve and the tooth model located at the first end of the first curve, the endpoint of the first end of the first curve is moved to obtain a second control point of the first end.

[0217] Among them, the moving distance is the distance corresponding to the minimum morphological area.

[0218] In some embodiments, the buccal normal vector and the cusp direction vector of the tooth model located at the first end of the first curve are cross-producted to obtain the first end extension direction vector, and the endpoint of the first end of the first curve is moved along the first end extension direction vector by a distance corresponding to the minimum morphological area to obtain a third intermediate point.

[0219] In some embodiments, the third middle point is used as the endpoint of the ray, and the inverse vector of the normal vector of the gingival base model is used as the direction of the ray. The ray corresponding to the third middle point is constructed, and the intersection point of the ray corresponding to the third middle point and the gingival base model is calculated, and the intersection point corresponding to the third middle point is used as the second control point of the first end.

[0220] (3) Based on the first curve and the tooth model located at the second end of the first curve, the endpoint of the second end of the first curve is moved to obtain a second control point of the second end.

[0221] Among them, the moving distance is the distance corresponding to the minimum morphological area.

[0222] The method for obtaining the second control point of the second end in step (3) refers to the method for obtaining the second control point of the first end in step (2).

[0223] (4) The boundary of the morphological region is processed based on the second control point at the first end and the second control point at the second end to obtain the boundary of the intercepted morphological region.

[0224] In some embodiments, the boundary of the morphological area includes a first end boundary and a second end boundary, the first end boundary includes a first end boundary curve, and the second end boundary includes a second end boundary curve. The first end boundary and the second end boundary of the morphological area are processed separately to obtain a buccal boundary curve and a lingual boundary curve in the boundary of the intercepted morphological area.

[0225] In some embodiments, the first end boundary of the morphological region is processed based on the second control point of the first end in step (4), including the following steps.

[0226] (1) Taking the extension direction vector of the first end as the normal vector of the third section, the third section passing through the second control point of the first end is determined.

[0227] (2) Using the third cross section, the boundary of the morphological region is cut to obtain a first intersection point and a second intersection point.

[0228] In some embodiments, the boundary of the morphological region is intercepted using the intersection line of the third cross section and the gingival base model.

[0229] See also Figure 6 , Figure 6 yes Figure 5 FIG. 1 is a schematic diagram showing the principle of intercepting the boundary of the morphological region in step S310. Figure 6 As shown, in some embodiments, the boundary 21 of the morphological region has a certain width and is composed of multiple patches on the gingival base model 20.

[0230] Optionally, among the face patches on the first side and the face patches on the second side intersecting with the intersection line 22 on the boundary 21 of the morphological region, vertices with the largest Euclidean distances to the intersection line 22 are respectively selected to obtain a first intersection point K1 on the first side and a second intersection point K2 on the second side.

[0231] (3) The center point of the tooth model located at the first end of the first curve is taken as the starting point, and the first intersection point is taken as the end point to construct the eighth vector.

[0232] like Figure 6 As shown, the center point O of the tooth model located at the first end of the first curve is taken as the starting point, and the first intersection point K1 is taken as the end point to construct the eighth vector d.

[0233] (4) Taking the center point of the tooth model at the first end of the first curve as the starting point and the second intersection point as the end point, a ninth vector is constructed.

[0234] like Figure 6 As shown, the center point O of the tooth model located at the first end of the first curve is taken as the starting point, and the second intersection point K2 is taken as the end point to construct the ninth vector e.

[0235] (5) Obtain the buccal direction vector and the lingual direction vector of the tooth model located at the first end of the first curve, and perform one-to-one multiplication of the eighth vector and the ninth vector with the buccal direction vector and the lingual direction vector, respectively.

[0236] like Figure 6 As shown, for example, the eighth vector d and the ninth vector e are respectively multiplied by the buccal direction vector f.

[0237] (6) Determine the endpoints of the intercepted buccal boundary curve and the lingual boundary curve according to the results of one-to-one multiplication of the eighth vector and the ninth vector with the buccal direction vector and the lingual direction vector respectively.

[0238] In some embodiments, when the dot product values ​​of the eighth vector and the ninth vector with the buccal direction vector are both greater than 0, indicating that the first intersection point and the second intersection point are both located in the buccal direction; or the dot product values ​​of the eighth vector and the ninth vector with the buccal direction vector are both less than 0, indicating that the first intersection point and the second intersection point are both located in the lingual direction, no subsequent operation will be performed.

[0239] Optionally, a region defined by a boundary line between the first intersection and the second intersection including a first end boundary line of the morphological region and an intersection line 22 between the first intersection and the second intersection is taken as a portion of the non-morphological region.

[0240] Optionally, when the dot product value of the eighth vector and the buccal direction vector is greater than 0 and the dot product value of the ninth vector and the lingual direction vector is greater than 0, it means that the first intersection point is located in the buccal direction and the second intersection point is located in the lingual direction. The first intersection point is used as an endpoint of the intercepted buccal boundary curve, and the second intersection point is used as an endpoint of the intercepted lingual boundary curve.

[0241] Optionally, the method for processing the second end boundary of the morphological region refers to the method for determining the processing of the first end boundary of the morphological region.

[0242] In some embodiments, the second end boundary of the morphological region is processed based on the second control point of the second end in step (4), including the following steps.

[0243] (1) Taking the extension direction vector of the second end as the normal vector of the fourth section, the fourth section passing through the second control point of the second end is determined.

[0244] (2) Using the fourth cross section, the second end boundary of the morphological region is intercepted to obtain a third intersection point and a fourth intersection point.

[0245] (3) Determine the directions of the third and fourth intersection points.

[0246] (4) Determine the endpoints of the intercepted buccal boundary curve and the lingual boundary curve according to the directions of the third intersection point and the fourth intersection point.

[0247] Optionally, when the third intersection is located in the buccal direction and the fourth intersection is located in the lingual direction, the third intersection is used as the other endpoint of the intercepted buccal boundary curve, and the fourth intersection is used as the other endpoint of the intercepted lingual boundary curve.

[0248] In some embodiments, the boundaries of the truncated morphological region include truncated buccal boundary curves and lingual boundary curves.

[0249] In some embodiments, when the first intersection is located in the buccal direction, the second intersection is located in the lingual direction, the third intersection is located in the buccal direction, and the fourth intersection is located in the lingual direction, the buccal boundary curve of the morphological area between the first intersection and the third intersection is used as the intercepted buccal boundary curve, and the lingual boundary curve of the morphological area between the second intersection and the fourth intersection is used as the intercepted lingual boundary curve.

[0250] Step S320: Generate a point cloud representing the minimum morphological area on the gingival base model based on the boundary of the intercepted morphological area, tooth information, gingival area related information and the gingival base model.

[0251] See also Figure 7 , Figure 7 yes Figure 5 Detailed flow chart of step S320 in FIG. Figure 7 As shown, step S320 includes step S321 to step S322.

[0252] Step S321: Determine a plurality of control curves based on the boundaries of the intercepted morphological region, tooth information, gum region related information and the gum base model.

[0253] In some embodiments, the number of the multiple control curves is greater than 3, for example, the number of the multiple control curves may be 3, 4, 5, 6, 7 or 8.

[0254] In some implementations, the number of the plurality of control curves is 6, and step S321 includes the following steps.

[0255] (1) A first control curve is obtained by fitting based on a point on the first curve, a second control point at the first end, and a second control point at the second end.

[0256] See also Figure 8 , Figure 8 yes Figure 7 Schematic diagram of the principle of step S321. Figure 8 It is also a schematic diagram of a partial cross section of the gingival base model being processed according to the normal vector of the gingival base model. Figure 8 It is a schematic diagram of the cross section. Multiple points overlap at one position. Figure 8 A point can also represent multiple points at the same position in the cross section.

[0257] Figure 8The figure shows the upper surface 200 of the gingival base model, the normal vector g of the gingival base model, the cross section 110 of the tooth model, the interception line 300 of the point cloud of the minimum morphological area, multiple control points F of the first control curve, multiple control points C of the second control curve, multiple control points D of the third control curve, multiple control points E of the fourth control curve, multiple control points B of the fifth control curve, multiple control points A of the sixth control curve, multiple points M1 on the intercepted lingual boundary curve separated by a first preset number of points, and multiple points M2 on the intercepted buccal boundary curve separated by a first preset number of points.

[0258] In some embodiments, after determining the plurality of control curves, a point cloud of the minimum morphological area is generated in step S322. Figure 8 FIG. 3 shows the relative positions of the intercept line 300 of the point cloud of the minimum morphological region and the control points of the plurality of control curves.

[0259] like Figure 8 As shown, optionally, the center point of each tooth model on the first curve, the second control point at the first end and the second control point at the second end are used as multiple control points F of the first control curve, and the first control curve is obtained according to the multiple control points F of the first control curve.

[0260] (2) Obtain multiple lowest points of the first cervical margin lines in the lingual direction of multiple tooth models.

[0261] (3) The lowest point of the first neck edge line at the first end is moved along the extension direction vector of the first end by a distance corresponding to the minimum morphological area to obtain the first end control point of the second control curve.

[0262] (4) The lowest point of the first cervical margin line at the second end is moved along the extension direction vector of the second end by a distance corresponding to the minimum morphological area to obtain the second end control point of the second control curve.

[0263] (5) A second control curve is obtained by fitting based on the lowest points of the first cervical margin lines, the first end control points of the second control curve, and the second end control points of the second control curve.

[0264] like Figure 8 As shown, optionally, multiple lowest points of the first cervical margin lines, first end control points of the second control curve and second end control points of the second control curve are used as multiple control points C of the second control curve, and the second control curve is obtained by fitting based on the multiple control points C of the second control curve.

[0265] (6) Obtain multiple second cervical margin lowest points in the buccal direction of each tooth model.

[0266] (7) The lowest point of the second neck edge line at the first end is moved along the extension direction of the first end by a distance corresponding to the minimum morphological area to obtain the first end control point of the third control curve.

[0267] (8) The lowest point of the second neck edge line at the second end is moved along the extension direction of the second end by a distance corresponding to the minimum morphological area to obtain the second end control point of the third control curve.

[0268] (9) A third control curve is obtained by fitting based on a plurality of second cervical margin line lowest points, a first end control point of the third control curve, and a second end control point of the third control curve.

[0269] like Figure 8 As shown, optionally, multiple second cervical margin line lowest points, the first end control point of the third control curve and the second end control point of the third control curve are used as multiple control points D of the third control curve, and the third control curve is obtained by fitting according to the multiple control points D of the third control curve.

[0270] (10) Moving multiple control points of the third control curve along the inverse vector of the normal vector of the gingival base model by a fourth preset distance to obtain multiple control points of the fourth control curve.

[0271] like Figure 8 As shown, optionally, multiple control points D of the third control curve are moved along the inverse vector of the normal vector of the gingival base model by a fourth preset distance to obtain multiple control points E of the fourth control curve.

[0272] (11) Move a plurality of points on the intercepted buccal boundary curve that are separated by a first preset number of points along the normal vectors corresponding to the points by a distance equal to the total thickness of the gum to obtain a plurality of control points of the fifth control curve, and obtain the fifth control curve based on fitting of the plurality of control points of the fifth control curve.

[0273] Optionally, the intercepted buccal boundary curve is located on the upper surface 200 of the gingival base model, the points on the intercepted buccal boundary curve are vertices of the gingival base model, and the normal vectors corresponding to the points are the normal vectors corresponding to the vertices.

[0274] Optionally, the normal vector corresponding to the vertex is an average vector of the normal vectors of the facets adjacent to the vertex.

[0275] like Figure 8 As shown, a plurality of points M2 separated by a first preset number of points on the intercepted buccal boundary curve are moved along the normal vectors corresponding to the points by the distance of the entire gum thickness to obtain a plurality of control points B of the fifth control curve.

[0276] Optionally, the range of the number of the first preset points is greater than 3, for example, the number of the first preset points is 3, 5 or 10, etc.

[0277] (12) A plurality of points on the intercepted lingual boundary curve separated by a first preset number of points are moved along the normal vectors corresponding to the points by the total thickness of the gums, and the points are used as a plurality of control points of the sixth control curve. The sixth control curve is obtained by fitting the plurality of control points of the sixth control curve.

[0278] like Figure 8 As shown, a plurality of points M1 separated by a first preset number of points on the intercepted lingual boundary curve are moved along the normal vectors corresponding to the points by the entire gum thickness distance to serve as a plurality of control points A of the sixth control curve.

[0279] (13) Optimize the fifth control curve and the sixth control curve to obtain optimized fifth control curve and sixth control curve.

[0280] In some embodiments, the fifth control curve is optimized in step (13) to obtain an optimized fifth control curve, which includes the following steps (1) to (6).

[0281] (1) For each control point of the fifth control curve, the tangent vector of the control point is calculated according to the fifth control curve, and the tangent vector of the control point and the normal vector of the gingival base model are cross-multiplied to obtain the normal vector corresponding to the control point.

[0282] (2) Subtract the normal vector corresponding to the next control point of the current control point selected according to the tangent vector of the current control point from the normal vector corresponding to the current control point of the fifth control curve to obtain a tenth vector.

[0283] Optionally, the current control point and the next control point satisfy: the dot product value of a vector of a next control point starting from the current control point and the current control point and a tangent vector of the current control point is greater than 0.

[0284] (3) Perform a dot product of the tenth vector and the tangent vector of the current control point. When the result value of the dot product is greater than 0, the curve segment of the fifth control curve between the current control point and the next control point of the current control point is determined as a concave curve segment; when the result value of the dot product is less than 0, the curve segment of the fifth control curve between the current control point and the next control point of the current control point is determined as a convex curve segment.

[0285] (9) A plurality of convex curve segments and a plurality of concave curve segments are obtained according to a plurality of control points of the fifth control curve, and a plurality of control points on the plurality of convex curve segments of the fifth control curve are selected for fitting to obtain an optimized fifth control curve.

[0286] In some embodiments, the method for obtaining multiple convex curve segments and multiple concave curve segments based on multiple control points of the sixth control curve in step (13) refers to the method for obtaining multiple convex curve segments and multiple concave curve segments based on multiple control points of the fifth control curve in step (13).

[0287] Optionally, a plurality of convex curve segments and a plurality of concave curve segments are obtained according to a plurality of control points of the sixth control curve, and a plurality of control points on the plurality of concave curve segments of the sixth control curve are selected for fitting to obtain an optimized sixth control curve.

[0288] Because the fifth control curve is located in the buccal direction and the sixth control curve is located in the lingual direction, through the above method, the fifth control curve and the sixth control curve can be made to fit the physiological morphology of both sides of the real gums more closely, and thus the point cloud of the subsequently generated minimum morphological area can be made to better match the oral morphology of the target object, thereby improving the comfort of using the bionic gums.

[0289] Step S322: Generate a point cloud representing the minimum morphological area on the gingival base model based on the multiple control curves.

[0290] In some implementations, the number of the plurality of control curves is 6, and step S322 includes the following steps.

[0291] (1) Sampling the first control curve, the second control curve, the third control curve, the fourth control curve, the fifth control curve and the sixth control curve at intervals of a first preset sampling distance to obtain a plurality of groups of six sampling points.

[0292] Optionally, the first preset sampling distance may be represented by the number of points, for example, the first preset sampling distance may be a distance of 2 points, a distance of 3 points, a distance of 5 points, etc.

[0293] Optionally, the sixth control curve, the second control curve, the first control curve, the third control curve, the fourth control curve and the fifth control curve are sampled in sequence.

[0294] (2) A curve is fitted based on each group of six sampling points to obtain second curves corresponding to multiple groups of six sampling points.

[0295] (3) Generate a point cloud representing the minimum morphological area on the gingival base model based on the multiple second curves.

[0296] In some implementations, each second curve is sampled according to a second preset sampling distance to obtain a third point set, and the third point set is used as a point cloud representing the minimum morphological area on the gingival base model.

[0297] Optionally, the second preset sampling distance may be represented by the number of points, for example, the second preset sampling distance may be a distance of 2 points, a distance of 3 points, a distance of 5 points, etc.

[0298] Through the above method, the point cloud of the minimum morphological area can be neither too sparse nor too dense, and the point cloud of the minimum morphological area can be naturally transitioned with the point cloud of other gingival areas, while reducing the amount of calculation for subsequent processing.

[0299] In some implementations, a set of all points on the plurality of second curves is directly used as a point cloud representing the minimum morphological region.

[0300] See also Fig. 9 , Fig. 9 Schematic diagram of the point cloud of the minimum morphological area provided in the embodiment of the present application. Fig. 9 As shown, the point cloud 310 of the minimum morphological region is neither too sparse nor too dense.

[0301] Step S330: Determine the non-morphological area based on the boundary of the morphological area and the relevant information of the gingival area.

[0302] In some embodiments, an area within a designated area and outside a boundary of a morphological area is selected on the gingival base model as a non-morphological area.

[0303] Optionally, the designated area is an initial designated area, an optimized designated area, or a final designated area.

[0304] Step S340: generating a point cloud representing the non-morphological area on the gingival base model based on the non-morphological area, information related to the gingival area and the gingival base model.

[0305] In some implementations, step S340 includes the following steps.

[0306] (1) A plurality of vertices in the non-morphological region are moved along a normal vector of each vertex by a first preset distance to obtain a first vertex set including a plurality of first vertices.

[0307] Optionally, the first preset distance is the overall thickness of the gums.

[0308] (2) Based on the first vertex set and the gingival base model, some of the first vertices in the first vertex set are deleted.

[0309] In some implementations, when the distance between the first vertex and the gum base model is less than a sixth preset value multiplied by the overall gum thickness, the first vertex is considered as a noise point and deleted.

[0310] Optionally, the sixth preset value ranges from 0.6 to 1, for example, the sixth preset value is 0.6, 0.7, 0.8, 0.9 or 1.

[0311] In some embodiments, when the first vertex is cross-distributed with point clouds of other gingival regions, a first noise point region is determined according to the point clouds of other gingival regions, and the first vertex in the first noise point region is deleted.

[0312] Optionally, other gingival areas include a minimum morphological area, transition areas at both ends, and edge areas, etc.

[0313] Optionally, a set of spherical regions determined by a third radius for each point in the point cloud of other gum regions is taken as the first noise point region.

[0314] Optionally, the third radius ranges from 0.2 mm to 0.5 mm, for example, the third radius is 0.2 mm, 0.3 mm, 0.4 mm or 0.5 mm.

[0315] In some implementations, when the first vertex is cross-distributed with the point cloud of the edge region, a second noise point region is determined according to each point in the point cloud of the edge region, and the first vertex in the second noise point region is deleted.

[0316] Optionally, a set of conical areas determined according to a normal vector of each point in the point cloud of the edge area at a first preset angle and a second preset angle is used as the second noise point area.

[0317] Optionally, the first preset angle is -20 degrees to -45 degrees, for example, the first preset angle is -20 degrees, -22.5 degrees, -30 degrees or -45 degrees.

[0318] Optionally, the second preset angle is -20 degrees to -45 degrees, for example, the second preset angle is -20 degrees, -22.5 degrees, -30 degrees or -45 degrees.

[0319] (3) A point cloud representing the non-morphological area on the gingival base model is generated based on the first vertex set from which part of the first vertices are deleted.

[0320] Optionally, the first vertex set from which some first vertices are deleted is used as a point cloud representing a non-morphological area on the gingival base model.

[0321] Please return to Figure 1 , step S400: generating a point cloud representing the bottom surface area on the gingival base model based on the gingival area related information and the gingival base model.

[0322] See also Fig.10 , Fig.10 yes Figure 1 Detailed flow chart of step S400 in FIG. Fig.10 As shown, step S400 includes steps S410 to S420.

[0323] Step S410: Determine the bottom surface area based on the gum area related information.

[0324] In some embodiments, a region within the designated region but not including a boundary of the designated region is selected on the gingival base model as the bottom surface region.

[0325] Step S420: generating a point cloud representing the bottom surface area on the gingival base model based on the bottom surface area, gingival area related information and the gingival base model.

[0326] In some implementations, step S420 includes the following steps.

[0327] (1) A plurality of vertices in the bottom surface region are moved by a second preset distance along the inverse vector of the normal vector of each vertex to obtain a second vertex set including a plurality of second vertices.

[0328] Optionally, the second preset distance is the seventh preset value multiplied by the overall thickness of the gums.

[0329] Optionally, the seventh preset value ranges from 0.3 to 0.8, for example, the seventh preset value is 0.3, 0.4, 0.5, 0.6 or 0.8.

[0330] (2) Based on the second vertex set and the gingival base model, some second vertices in the second vertex set are deleted.

[0331] In some implementations, when the distance between the second vertex and the gum base model is less than an eighth preset value multiplied by the overall gum thickness, the second vertex is considered as a noise point and deleted.

[0332] Optionally, the eighth preset value ranges from 0.3 to 0.5, for example, the eighth preset value is 0.3, 0.4, 0.45, or 0.5.

[0333] In some implementations, the second vertex within the first noise region is deleted.

[0334] In some implementations, the second vertex in the second noise area is deleted.

[0335] (3) A point cloud representing the bottom surface area is generated on the gingival base model based on the second vertex set from which some of the second vertices are deleted.

[0336] Optionally, the second vertex set from which some second vertices are deleted is used as a point cloud representing the bottom surface area on the gingival base model.

[0337] Please return to Figure 1 , step S500: processing the gingival base model based on the point clouds of multiple gingival areas to obtain the gingival model of the target object.

[0338] The plurality of gingival regions include a minimum morphological region, a non-morphological region and a bottom surface region.

[0339] In some embodiments, the plurality of gingival regions further include two end transition regions and a marginal region.

[0340] In some implementations, step S500 includes the following steps.

[0341] (1) De-noising the gingival base model.

[0342] In some implementations, the closest distance from each point in the point cloud to a vertex on the gum base model is calculated, and when the closest distance is greater than a first threshold, the point is considered a noise point and deleted.

[0343] Optionally, the first threshold is greater than or equal to 5 mm, for example, the second threshold may be 5 mm, 6 mm or 10 mm.

[0344] (2) The gingival base model is meshed and reconstructed based on the point clouds of multiple gingival areas.

[0345] In some embodiments, the gingival base model is meshed according to the order of the points in the point cloud.

[0346] In some implementations, the ordering of the points includes clockwise ordering and counterclockwise ordering.

[0347] Optionally, the method for performing mesh reconstruction processing includes a Poisson reconstruction method.

[0348] (3) The gingival base model after mesh reconstruction is smoothed to obtain the gingival model of the target object.

[0349] Optionally, the Laplace smoothing method is used to smooth the meshes of the minimum morphological region and the transition regions at both ends.

[0350] Optionally, the mesh in the edge region is smoothed using a minimum film energy method.

[0351] Optionally, the mesh of other gingival regions is smoothed using Laplace smoothing.

[0352] See also Fig.11 , Fig.11 is a schematic diagram of a first gum model provided in an embodiment of the present application. Fig.11 As shown, the first gum model 30 includes a minimum morphological area A1, a first end area A2 of the transition area at both ends (the second end area of ​​the transition area at both ends is not shown), and a non-morphological area A3. Fig.11It can be seen that the first gum model 30 is very smooth and has a very natural shape, so the bionic gum made based on the gum model can better match the oral shape of the target object, thereby improving the comfort of using the bionic gum.

[0353] See also Fig.12 , Fig.12 is a schematic diagram of a second gingival model provided in an embodiment of the present application. Fig.12 As shown, the second gum model 40 includes a minimum morphological area A4, transition areas A5 at both ends, and a non-morphological area A6. Fig.12 As shown, the method for generating a gingival model provided in the embodiment of the present application can generate a virtual gingiva representing a part of the real gingiva according to the gingival area boundary line drawn by the user, and the second gingival model 40 is very smooth and has a very natural shape.

[0354] In summary, the method for generating a gum model provided in the embodiment of the present application has the following advantages:

[0355] 1. By generating multiple point clouds of the gingival area based on gingival area related information including the gingival area boundary line drawn by the user, the flexibility in designing the gingival model of the target object can be improved compared to using a fixed gingival boundary. In addition, the gingival area boundary line drawn by the user can more accurately reflect the real gingival boundary than the fixed gingival boundary, so that the bionic gingiva made based on the gingival model of the target object is more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gingiva.

[0356] 2. By generating point clouds of multiple gum areas, compared with the method of generating point clouds of only one gum area, the flexibility in designing the gum model of the target object can be further improved, and the bionic gums made based on the gum model of the target object can be further made to better match the oral morphology of the target object, thereby improving the comfort of using the bionic gums.

[0357] 3. By optimizing the gingival area boundary line drawn by the user, it is convenient to subsequently use the optimized designated area boundary and the optimized designated area to determine multiple gingival areas, which can improve the accuracy of the gingival model. By optimizing multiple tooth models, it is convenient to subsequently use the optimized tooth models to generate the point cloud of the gingival area, which can improve the accuracy of the gingival model.

[0358] 4. By optimizing the fifth control curve and the sixth control curve, the fifth control curve and the sixth control curve can be made to better fit the physiological morphology of both sides of the real gums, so that the point cloud of the subsequently generated minimum morphological area can be more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gums.

[0359] See also Fig.13 , Fig.13 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.13 As shown, the electronic device 400 includes: one or more processors 410 and a memory 420, Fig.13 A processor 410 is taken as an example.

[0360] In some implementations, the processor 410 and the memory 420 may be connected via a bus or other means. Fig.13 The example of connecting through bus is taken in the following.

[0361] In some embodiments, the processor 410 is used to obtain tooth information, gum area related information and a gum base model of the target object, the gum area related information including a gum area boundary line drawn by a user; determine the boundary of the morphological area based on the tooth information, gum area related information and the gum base model; generate a point cloud representing the minimum morphological area and a point cloud representing the non-morphological area on the gum base model based on the boundary of the morphological area; generate a point cloud representing the bottom surface area on the gum base model based on the gum area related information and the gum base model; and process the gum base model based on the point clouds of multiple gum areas to obtain the gum model of the target object.

[0362] In some embodiments, the memory 420, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions / modules of the method for generating a gingival model in the embodiment of the present application. The processor 410 executes various functional applications and data processing of the electronic device 400 by running the non-volatile software programs, instructions and modules stored in the memory 420, that is, the method for generating a gingival model in the above method embodiment is implemented.

[0363] In some embodiments, the memory 420 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 420 may optionally include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the controller via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0364] In some embodiments, one or more modules are stored in the memory 420, and when executed by one or more processors 410, the method for generating a gum model in any of the above method embodiments is executed, for example, the above described method is executed. Figure 1 The method comprises steps S100 to S500.

[0365] In summary, the present application provides a method for generating a gum model and an electronic device. The method generates point clouds of multiple gum areas based on gum area related information including gum area boundary lines drawn by a user. Compared with using fixed gum boundaries, the method can improve the flexibility in designing the gum model of the target object. In addition, the gum area boundary lines drawn by the user can more accurately reflect the real gum boundaries than fixed gum boundaries, so that the bionic gums made based on the gum model of the target object are more matched with the oral morphology of the target object, thereby improving the comfort of using the bionic gums.

Claims

1. A method for generating a gingival model, It is characterized in that The method comprises: Acquire tooth information, gum area related information and a gum base model of a target object, wherein the gum area related information includes a gum area boundary line drawn by a user; determining a boundary of a morphological region based on the tooth information, the gum region related information and the gum base model; generating a point cloud representing a minimum morphological area and a point cloud representing a non-morphological area on the gingival base model based on the boundary of the morphological area; Generate a point cloud representing the bottom surface area on the gum base model based on the gum area related information and the gum base model; The gingival base model is processed based on point clouds of multiple gingival regions to obtain a gingival model of the target object, wherein the multiple gingival regions include the minimum morphological region, the non-morphological region and the bottom surface region.

2. The method for generating a gum model according to claim 1, It is characterized in that The step of generating a point cloud representing a minimum morphological area and a point cloud representing a non-morphological area on the gingival base model based on the boundary of the morphological area comprises: Determine the boundary of the intercepted morphological region based on the boundary of the morphological region, the tooth information and the gum region related information; Generate a point cloud representing the minimum morphological area on the gingival base model based on the boundary of the intercepted morphological area, the tooth information, the gingival area related information and the gingival base model; Determine the non-morphological area based on the boundary of the morphological area and the relevant information of the gingival area; generating a point cloud representing the non-morphological area on the gingival base model based on the non-morphological area, the gingival area related information and the gingival base model; The step of generating a point cloud representing the bottom surface area on the gingival base model based on the gingival area related information and the gingival base model comprises: Determining the bottom surface area based on the gum area related information; A point cloud representing the bottom surface area on the gum base model is generated based on the bottom surface area, the gum area related information and the gum base model.

3. The method for generating a gum model according to claim 1 or 2, It is characterized in that The tooth information includes a plurality of tooth models, and determining the boundary of the morphological region based on the tooth information, the gum region related information and the gum base model includes: Determine a designated filling area enclosed by the boundary line of the gingival area; Performing boundary expansion processing on the filled designated area to obtain an optimized designated area; Determine a tooth model in the optimized designated area based on the optimized designated area and the tooth information, and group consecutively adjacent tooth models in the optimized designated area into one group to obtain at least one group of tooth models; For each of the tooth models, based on the tooth information, a rotation neck margin line and / or a buccal direction vector correction process is performed on the tooth model to obtain an optimized tooth model; Determining the boundary of the standard morphological area on the gingival base model based on the plurality of optimized tooth models and the optimized designated area; The boundary of the morphological region is determined based on the boundary of the standard morphological region and the gingival region related information.

4. The method for generating a gum model according to claim 3, It is characterized in that The tooth information includes the center point, initial cervical margin line, cusp direction vector, buccal direction vector and tooth position information of each tooth model, and the gum area related information includes the normal vector of the gum base model. The tooth model is processed by rotating the neck edge line based on the tooth information to obtain an optimized tooth model, including: Constructing a first vector corresponding to each point according to the center point of the tooth model and each point on the initial cervical margin line of the tooth model, to obtain a plurality of first vectors, wherein the starting point of the first vector is the center point of the tooth model, and the end point of the first vector is the point on the initial cervical margin line of the tooth model; Calculate a first dot product value of each of the first vectors and the tooth cusp direction vector of the tooth model to obtain first dot product values ​​corresponding to a plurality of the first vectors; Selecting a point corresponding to the largest first dot product value among the plurality of first dot product values ​​as the first highest point of the initial neck margin line; Determine the second highest point of the initial cervical margin line based on the first vector corresponding to the first highest point, other first vectors and a plurality of first point product values; Fitting a first curve based on the center points of the plurality of tooth models; Determine a tangent vector of a center point of the tooth model on the first curve based on the tooth position information and the first curve; Determine the rotation angle and rotation direction of the initial neck margin line based on the tangent vector, the first highest point and the second highest point; Taking the straight line where the tooth cusp direction vector of the tooth model is located as the rotation axis, rotating the initial cervical margin line of the tooth model according to the rotation angle and the rotation direction; Determine, on the tooth model, a corresponding vertex that is closest to each point on the rotated initial cervical margin line of the tooth model, to obtain an optimized cervical margin line of the tooth model and the optimized tooth model; The tooth model is processed by performing buccal direction vector correction based on the tooth information to obtain an optimized tooth model, including: Determine a second vector according to the tooth position information of the multiple tooth models, the center point of the tooth model and the center point of the tooth model adjacent to the tooth model, wherein the center point of the tooth model and the center point of the tooth model adjacent to the tooth model are both endpoints of the second vector; Performing a cross product of the second vector and the normal vector of the gingival base model to obtain a third vector; The angle between the third vector and the buccal direction vector of the tooth model is calculated, and when the angle is greater than a first preset value, the third vector is used as the optimized buccal direction vector of the tooth model to obtain the optimized tooth model.

5. The method for generating a gum model according to claim 1, It is characterized in that The step of determining the boundary of the morphological region based on the tooth information, the gum region related information and the gum base model comprises: determining a plurality of boundary curves based on the tooth information, the gum region related information and the gum base model; The boundary of the morphological area is determined based on the plurality of boundary curves and the gingival area related information.

6. The method for generating a gum model according to claim 5, It is characterized in that The plurality of boundary curves include a first boundary curve, a second boundary curve, a first end boundary curve, and a second end boundary curve; the tooth information includes a plurality of tooth models; the gum region related information includes a tooth root depth and a normal vector of the gum base model; and determining the plurality of boundary curves based on the tooth information, the gum region related information, and the gum base model includes: Obtaining a first curve based on center point fitting of the plurality of tooth models; Based on the first curve and the tooth model located at the first end of the first curve, an endpoint of the first end of the first curve is moved to obtain a first intermediate point; Determining a first control point of a first end corresponding to the first middle point on the gum base model according to the first middle point and a normal vector of the gum base model; Based on the first curve and the tooth model located at the second end of the first curve, an endpoint of the second end of the first curve is moved to obtain a second intermediate point; Determining a first control point of a second end corresponding to the second middle point on the gum base model according to the second middle point and a normal vector of the gum base model; Based on the first curve, the tooth root depth and the gum base model, determine a first face patch set located on the lingual side of the gum base model and a second face patch set located on the buccal side of the gum base model whose distance from the first curve is the tooth root depth; Processing the first face patch set to obtain the first boundary curve, where the first boundary curve is a lingual boundary curve; Processing the second face patch set to obtain the second boundary curve, where the second boundary curve is a buccal boundary curve; The first-end boundary curve is obtained by fitting and processing based on the endpoint of the first end of the first boundary curve, the endpoint of the first end of the second boundary curve, and the first control point of the first end; The second-end boundary curve is obtained by fitting and processing based on the endpoint of the second end of the first boundary curve, the endpoint of the second end of the second boundary curve and the first control point of the second end.

7. The method for generating a gum model according to claim 2, It is characterized in that The tooth information includes a plurality of tooth models and a center point of each of the tooth models, the gum region related information includes a distance corresponding to the minimum morphological region, and the determining the boundary of the intercepted morphological region based on the boundary of the morphological region, the tooth information and the gum region related information includes: Obtaining a first curve based on center point fitting of the plurality of tooth models; Based on the first curve and the tooth model located at the first end of the first curve, the endpoint of the first end of the first curve is moved to obtain a second control point of the first end, wherein the moving distance is the distance corresponding to the minimum morphological area; Based on the first curve and the tooth model located at the second end of the first curve, the endpoint of the second end of the first curve is moved to obtain a second control point of the second end, wherein the moving distance is the distance corresponding to the minimum morphological area; The boundary of the morphological region is processed based on the second control point of the first end and the second control point of the second end to obtain the boundary of the intercepted morphological region.

8. The method for generating a gum model according to claim 2, It is characterized in that The step of generating a point cloud representing the minimum morphological area on the gingival base model based on the boundary of the intercepted morphological area, the tooth information, the gingival area related information and the gingival base model comprises: Determine a plurality of control curves based on the boundary of the intercepted morphological region, the tooth information, the gum region related information and the gum base model; A point cloud representing the minimum morphological area is generated on the gingival base model based on the plurality of control curves.

9. The method for generating a gum model according to claim 2, It is characterized in that The gum region related information includes a designated area on the gum base model, and the non-morphological area is determined based on the boundary of the morphological area and the gum region related information, including: Selecting, on the gingival base model, an area within the designated area and outside the boundary of the morphological area as the non-morphological area; The step of generating a point cloud representing the non-morphological area on the gingival base model based on the non-morphological area, the gingival area related information and the gingival base model comprises: Moving a plurality of vertices in the non-morphological region along a normal vector of each vertex by a first preset distance to obtain a first vertex set including a plurality of first vertices; Deleting some of the first vertices in the first vertex set based on the first vertex set and the gingival base model; generating a point cloud representing the non-morphological area on the gingival base model based on the first vertex set from which some of the first vertices are deleted; The determining of the bottom surface area based on the gum area related information includes: Selecting an area within the designated area but excluding a boundary of the designated area on the gingival base model as the bottom surface area; The step of generating a point cloud representing the bottom surface area on the gingival base model based on the bottom surface area, the gingival area related information and the gingival base model comprises: Moving a plurality of vertices in the bottom surface region along the inverse vector of the normal vector of each vertex by a second preset distance to obtain a second vertex set including a plurality of second vertices; Deleting some of the second vertices in the second vertex set based on the second vertex set and the gingival base model; A point cloud representing the bottom surface area is generated on the gum base model based on the second vertex set from which some of the second vertices are deleted.

10. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method for generating a gum model according to any one of claims 1 to 9.