CN117770991A - Method for automatically generating dental socket model cutting line, storage medium and electronic device - Google Patents

Method for automatically generating dental socket model cutting line, storage medium and electronic device Download PDF

Info

Publication number
CN117770991A
CN117770991A CN202311745907.6A CN202311745907A CN117770991A CN 117770991 A CN117770991 A CN 117770991A CN 202311745907 A CN202311745907 A CN 202311745907A CN 117770991 A CN117770991 A CN 117770991A
Authority
CN
China
Prior art keywords
points
cap
point
tooth
dental floss
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311745907.6A
Other languages
Chinese (zh)
Inventor
王雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Clear Medical Technology Changzhou Co ltd
Original Assignee
Clear Medical Technology Changzhou Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Clear Medical Technology Changzhou Co ltd filed Critical Clear Medical Technology Changzhou Co ltd
Priority to CN202311745907.6A priority Critical patent/CN117770991A/en
Publication of CN117770991A publication Critical patent/CN117770991A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a method for automatically generating a tooth socket model cutting line based on dental floss and a sprouting cap accessory, which mainly utilizes the traditional graph geometric algorithm to select a connection control point between adjacent dental floss by utilizing the sprouting cap accessory and the dental floss generated by the intersection of teeth and gingiva, fine-adjusts the control point according to the characteristics of the teeth and gingiva at different positions, then generates a connection curve according to the control point to connect the two adjacent dental floss, and finally integrates the cutting curve of each section to generate the whole cutting line. The cutting line obtained by the method can consider various scenes including small teeth which are about to erupt or not erupt, can avoid discomfort of patients caused by the fact that the tooth socket presses the gums or the small teeth to a greater extent, can realize more complete automatic cutting line generation, and can greatly save manpower and material resources to a certain extent.

Description

Method for automatically generating dental socket model cutting line, storage medium and electronic device
Technical Field
The invention relates to the technical field of digital oral cavities, in particular to a method for automatically generating a dental socket model cutting line based on dental floss and a sprouting cap accessory, a storage medium and electronic equipment.
Background
With the continuous development of computer graphics, stealth correction techniques based on digital modeling have been widely put into use. The production process of the invisible dental floss mainly comprises the processes of 3D printing dental floss mould, pressing mould, cutting dental floss, polishing and grinding and the like. The key of the whole production process is how to cut the dental floss so that the dental floss can be completely attached to teeth of a patient and the gum is not scraped. The cutting tooth socket is mainly based on a tooth socket cutting line obtained from a three-dimensional tooth jaw model, gums and teeth of the model are separated by the cutting line, and the integrity of the separated tooth socket and the adaptation degree of the separated tooth socket to the teeth of a patient depend on the generation quality of the cutting line.
The conventional method for generating the cutting line mostly depends on manual cutting, the quality stability of the generated cutting line is poor, batch generation cannot be performed, and a large amount of manpower and material resources are consumed. Thus, several technical methods of automatically generating a cutting line, such as a cutting line generated based on curvature and a cutting line generated based on the shortest path of two dental floss, have emerged in the current research. However, the method of generating the cutting line based on the curvature is easy to cause false recognition, and the cutting line generated based on the shortest path is easy to cause model over-cutting, and also needs to be manually adjusted and even regenerated. The methods cannot realize complete dental floss automation, and do not take additional consideration for the small teeth erupted by children, if cutting lines are generated according to a normal tooth method, the cutting lines can cause oppression for erupting teeth, and discomfort is caused to patients.
Disclosure of Invention
The invention aims to solve the technical problem of designing a method for automatically generating a tooth socket model cutting line, wherein connection control points between adjacent tooth holes are selected by utilizing a sprouting cap accessory and tooth hole lines generated by intersecting teeth and gingiva, fine adjustment is carried out on the control points according to tooth and gingiva characteristics at different tooth positions, then a connection curve is generated according to the control points to connect two adjacent tooth holes, finally a cutting curve of each section is integrated, and the whole cutting line is generated, so that the prior technical problem is solved.
In order to solve the technical problems, the method for automatically generating the tooth socket model cutting line is based on dental floss and sprouting cap accessories and specifically comprises the following steps:
step S1: obtaining virtual dental floss sprouting out of the cap accessory;
step S2: judging triangular teeth on the lip and tongue sides of the eruption cap;
step S3: combining the sprouting cap accessory and adjacent inverted concave grids into the whole dental grid;
step S4: traversing the tooth position to construct a lip-tongue side cutting line;
step S5: carrying out integral smoothing on the cutting line;
step S6: filter repeat points: filtering out repeated points in the cut line points smoothed in the step S5;
step S7: improvement curve: the cutting curve is further improved, the generated cutting line is moved outwards by a corresponding distance according to the input offset parameter (unit: mm) to obtain a moved point, and the generated point is smoothed to obtain the cutter control line capable of being applied to automatic cutting equipment.
Further, step S1 includes the steps of:
step S11: traversing all tooth data according to the tooth positions, marking whether a tooth hole of the current tooth position has an emergent cap accessory or not, and merging a plurality of emergent caps into a grid if the current tooth position has a plurality of emergent caps;
step S12: obtaining initial sprouting cap tooth hole lines, and ensuring that the lip and tongue side sprouting cap tooth hole lines are respectively 0.1-0.5 mm higher than the lowest points of the edges of adjacent tooth hole lines on two sides;
step S13: judging the type of the erupted cap teeth according to the initial dental floss of the erupted cap obtained in the step S12: determining whether the dental floss is an external dental floss through judging the spatial position relation between the dental floss of the emergent cap and the real dental floss, judging whether the dental floss is an emergent cap to repair the rotten teeth through the wrapping condition of the dental floss of the emergent cap and the dental floss of the normal teeth if the emergent cap is a non-external dental floss, directly merging grids of the emergent cap and the rotten teeth if the current dental floss is the emergent cap to repair the rotten teeth, intersecting the grids with gum to obtain a new dental floss, and setting the non-emergent cap of the teeth of the current dental floss at the same time, namely the generation mode of the rotten teeth; if the current eruption cap is an external tooth, directly using a dental floss of the eruption cap;
step S14: updating a local coordinate system of the sprouting cap: according to the initial local coordinate system (X points to the middle and Z axes points to the root growth direction) of the two adjacent denture teeth, calculating the average value of each small coordinate of the two sides of the coordinates of the denture teeth to obtain an average vector of X, Y, Z axes, and taking the average vector as the local coordinate system of the sprouting cap;
step S15: sprouting cap dental cavity floss partition: acquiring starting points of four quadrants of the tooth hole of the sprouted cap according to the X, Y direction of the sprouted cap after updating, namely: the method comprises the steps that points on a tooth hole of a cap are projected onto a straight line where an X axis and a Y axis are located, the maximum projection points and the minimum projection points in two directions are respectively found to serve as quadrant starting points, the tooth hole is divided into four quadrants according to quadrant starting points, storage sequences of different quadrant points are different, the quadrant starting points in the X direction are all initial points of the quadrants, the points in the Y axis direction are all tail end points of the quadrants, the points in the quadrants need to be stored respectively according to the forward and reverse directions of original tooth hole points when the points in the quadrants are divided, wherein the 0 quadrant and the 1 quadrant are two quadrants of a lip side, and the 2 quadrant and the 3 quadrant are two quadrants of a tongue side;
step S16: the 0,1 quadrant of the labial side and the 2,3 quadrant tooth hole points of the lingual side are respectively adjusted along the z-axis direction according to the lowest points of adjacent tooth hole lines of each side, so that the tooth hole points of the cap at each side are 0.1 mm-0.5 mm higher than the lowest points of the two sides.
Step S17: storing all sprouted cap accessories except for the rotten teeth.
Further, in step S12, the manner of obtaining the hole floss of the cap is divided into a boundary bit sprouting cap and a non-boundary bit sprouting cap according to different bit positions; taking the central point of a dental floss of a tooth with normal current tooth position and a Z-axis direction construction plane of a tooth jaw to intercept the dental floss of the eruption cap for the boundary tooth position (the molar eruption cap is 0.1mm higher than the bottom edge of the dental floss of the teeth on two sides); for the non-boundary tooth position eruption cap, determining the small coordinates of the current eruption cap according to the tooth coordinate directions of the non-eruption caps at two sides, and intercepting dental floss by using a local Z axis and a construction plane of the central point of the dental floss of the eruption cap after moving; if the intercepted dental floss is too few, intercepting and sprouting the cap dental floss according to the fitting plane of the small dental floss.
Further, in step S13, the determination method of the external teeth is: if the distance between the center points of the two dental holes is more than 2.5mm and the normal included angle of the plane fitted by the two dental holes is more than 40 degrees, the current sprouting cap can be judged to be the external tooth; the judging mode of repairing the decayed teeth by the sprouted cap is as follows: the method comprises the steps of projecting two dental cavity wires onto the same plane, constructing rays from the central point of the dental cavity wires to all points on the real dental cavity wires, respectively projecting the points on the emergent cap dental cavity wires onto all the rays, judging that the point of the real dental cavity wires is outside the emergent cap dental cavity projection points if the distance from the projection point on the emergent cap dental cavity wires to the central point of the real dental cavity wires is smaller than the distance from the point on the real dental cavity wires to the central point, and if the point is not outside, not recording, and if the number of the points outside the emergent cap is larger than 1/8 of the number of the real dental cavity points, proving that the current dental position is the emergent cap for repairing the rotten teeth.
Further, in the step S2, the judgment method of the trigonometric tooth on the labial and lingual sides of the cap is as follows:
cap triangle tooth sprouts on lingual side: obtaining two points A, B closest to the lingual side on 2 and 3 quadrants of left and right adjacent lingual dental floss, comparing the two points with a point C closest to the lingual side on the lingual dental floss of a sprouting cap, projecting three A, B, C points onto a ray constructed by the point C and the Y-axis quantity (the labial-lingual direction) of the current tooth position, wherein the starting point of the ray is the point C, the ray direction is the Y-axis direction, and if the distance between the projection point of the point A, B on the ray and the point C is more than 2mm and the two projection points are in the direction closer to the lingual side than the point C, the current tooth can be judged to be the triangle tooth;
the judgment of the labial eruption cap triangle tooth is the same as the judgment of the lingual eruption cap triangle tooth, and is also judged according to the dent degree of the dental floss in the Y-axis direction, namely, the point closest to the labial side on the current dental floss and the dental floss on the two adjacent sides is projected onto the radial line which is constructed along the Y-axis direction by taking the point closest to the labial side of the current dental floss as the starting point, so as to respectively obtain C 1 ,A 1 ,B 1 Comparing the distances between the three points, if B 1 、A 1 Projection point of point on ray and C 1 The distance between the points is more than 2mm and is equal to C 1 If the two projected points are located closer to the labial direction than the point, it is possible to determine that the current tooth is labial triangle.
Further, step S3 includes the steps of:
step S31: acquiring an inverted concave grid adjacent to the sprouting cap;
step S32: and (3) merging the sprouting cap accessory acquired in the step (S1) and the inverted concave grid block acquired in the step (S31) onto the dental grid.
Further, step S4 includes the steps of:
step S41: detecting whether the traversed current tooth is a head, namely a boundary tooth position, if so, directly storing the points of the 0 th quadrant and the 3 rd quadrant of the current tooth position into a point set A as cutting line points to serve as partial initial points for generating cutting lines, and if not, executing the steps S42-S44;
step S42: according to the judgment result in the step S2, whether the currently traversed tooth is a triangle tooth or not is obtained:
in the case of labial triangle, the jump connection is realized from the lingual side: obtaining the nearest points of the gingival lingual grid below the current tooth position, finding out the two nearest points on the quadrants of the adjacent tooth holes of the nearest points as low-level control points, and finely adjusting the two nearest points by 0.5-1.5 mm towards the central direction of the two control points; finding the nearest point from the low-level control point to the dental floss, and recording corresponding dental floss point indexes IndexLeft and IndexRight as jump connection positions; taking two tooth hole points along the labial direction of the tooth hole line according to the obtained low-level control points, taking the two tooth hole points as high-level control points, finely adjusting 0.5 mm-1.5 mm towards the central direction of the two control points, constructing a tooth hole connecting curve according to four control points by using BezierCurve (Bezier curve), connecting the tooth hole lines at the two sides of the triangular tooth at the jumping index points again, wherein the projection direction of the connecting curve is the average normal direction of the tooth hole construction planes at the two sides;
in the case of lingual triangle, the jump connection is achieved from the labial side: acquiring a low-level control point according to the set jump distance of the adjacent tooth holes, and acquiring a high-level control point by affine transformation; constructing a tooth hole connecting curve by using BezierCurve, connecting tooth hole wires at two sides of the triangular tooth at the position of a re-jump index point, wherein the projection direction of the connecting curve is the average normal direction of tooth hole construction planes at two sides;
step S43: dividing a cutting line into two parts of a lip and a tongue for generation:
lip side cutting line: according to the different properties of two adjacent tooth holes, four conditions can be divided: (1) the normal teeth on the left side currently erupt out of the cap; (2) the current normal teeth of the cap are sprouted out from the left side; (3) the cap is currently sprouted out from the left sprouting cap; (4) the left side and the current tooth position are normal teeth; for the cases (1) and (2), firstly acquiring a low-order control point according to the jump distance, acquiring a high-order control point by utilizing affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and projecting the interpolation point along the average normal direction of three grid patches closest to the interpolation point to acquire a projection point on a corresponding grid; acquiring left and right side dental floss and projection points, simultaneously acquiring 10 points extending forwards and backwards from the dental floss points as original fitting points, and performing fourth-order polynomial fitting; projecting the fitted points according to the average normal direction of the nearest surface patch, and removing points falling in the tooth cavity and curve points of transition bending; in the case (3), the sprouted cap tooth holes are directly connected without constructing a connecting wire; acquiring a low-level control point according to the jump distance, acquiring a high-level control point by affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and connecting dental floss of normal teeth on two sides;
tongue side cutting line: similarly, the tongue side cutting line can be divided into four cases, and the method for generating the cutting line is the same as the method for generating the lip side cutting line;
step S44: and detecting whether the current tooth is the tail boundary tooth position, and if so, directly storing the 0 th and 3 rd quadrant tooth hole wires of the current tooth hole into the point set A as cutting line points serving as part of initial points for generating the cutting line.
Further, step S5 includes the steps of:
step S51: traversing the initial point of the cutting line, calculating the curvature of the circumcircle of the triangle constructed by each point and two adjacent points thereof, and forming an angle between the point and the two adjacent points, wherein the angle range of the return point is [0, 180 °);
step S52: and (3) traversing the initial point of the cutting line, judging whether smoothing is needed according to the circumscribing circle curvature and the angle of each point obtained in the step S51, and if the difference value of the circumscribing circle curvature of the traversing point and the left side point and the right side point is twice the curvature difference value of the left side point and the left side adjacent point or twice the curvature difference value of the right side point and the adjacent point, and the current traversing point or the front and rear points thereof belong to cutting points of the sprouting cap teeth, performing smoothing operation, or the angles formed by the current point and the two side points are less than or equal to 165 degrees, and the current point or the front and rear 5 points thereof are marked as cutting points of the sprouting cap teeth, performing smoothing operation on the current traversing point and the front and rear points thereof, wherein the smoothing operation is mainly to uniformly distribute the selected 5 points on a straight line connected with the initial point and the tail point.
The present invention also provides an electronic device including:
at least one processor; and
at least one memory communicatively coupled to the processor;
the memory stores instructions executable by the processor to cause the electronic device to perform the method of automatically generating a socket model cut line.
The present invention also provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the aforementioned method of automatically generating a socket model cut line.
The invention has the beneficial effects that:
the method for automatically generating the tooth socket model cutting line based on the tooth hole line and the emergent cap accessory mainly utilizes the traditional graph geometric algorithm, utilizes the tooth hole line generated by the emergent cap accessory and the intersection of teeth and gingiva to select the connection control point between adjacent tooth holes, carries out fine adjustment on the control point according to the tooth and gingiva characteristics at different tooth positions, then generates a connection curve according to the control point to connect two adjacent tooth holes, and finally integrates the cutting curve of each section to generate the whole cutting line. The cutting line obtained by the method can consider various scenes including small teeth which are about to erupt or not erupt, can avoid discomfort of patients caused by the fact that the tooth socket presses the gums or the small teeth to a greater extent, can realize more complete automatic cutting line generation, and can greatly save manpower and material resources to a certain extent.
Drawings
The following description of the embodiments of the invention is further defined by reference to the accompanying drawings.
FIG. 1 is a flow chart of a method of automatically generating a shell model cut line in accordance with the present invention;
FIG. 2 is a graph of the results of stages of the cap cut line eruption;
FIG. 3 is a schematic view of a cutting line for normal cap ejection;
FIG. 4 is a schematic view of the cut line of the eruption cap;
FIG. 5 is a schematic view of the cut line of the out-of-arch tooth eruption cap;
fig. 6 is a schematic view of the cut line of the trigonometric tooth eruption cap.
Detailed Description
Example 1
Referring to fig. 1, the method for automatically generating a cut line of a dental socket model according to the present embodiment is based on a dental floss and a cap-sprouting attachment, and specifically includes the following steps:
step S1: obtaining a virtual dental floss of a sprouted cap accessory, comprising the following steps:
step S11: traversing all tooth data according to the tooth positions, marking whether a tooth hole of the current tooth position has an emergent cap accessory or not, setting a tooth hole attribute m_EmerrgentHat=true if the emergent cap exists in the current tooth position, and merging a plurality of emergent caps into a grid if the emergent caps exist in the current tooth position;
step S12: obtaining initial sprouting cap tooth hole lines, and ensuring that the lip and tongue side sprouting cap tooth hole lines are respectively 0.1-0.5 mm higher than the lowest points of the edges of adjacent tooth hole lines on two sides;
in step S12, the mode of obtaining the tooth hole line of the sprouting cap is divided into a boundary tooth sprouting cap and a non-boundary tooth sprouting cap according to different tooth positions; taking the central point of a dental floss of a tooth with normal current tooth position and a Z-axis direction construction plane of a tooth jaw to intercept the dental floss of the eruption cap for the boundary tooth position (the molar eruption cap is 0.1mm higher than the bottom edge of the dental floss of the teeth on two sides); for the non-boundary tooth position eruption cap, determining the small coordinates of the current eruption cap according to the tooth coordinate directions of the non-eruption caps at two sides, and intercepting dental floss by using a local Z axis and a construction plane of the central point of the dental floss of the eruption cap after moving; if the intercepted dental floss is too few, intercepting and sprouting the cap dental floss according to the fitting plane of the small dental floss.
Step S13: judging the type of the erupted cap teeth according to the initial dental floss of the erupted cap obtained in the step S12: determining whether the dental cavity line of the eruption cap and the real dental cavity line are external teeth or not by judging the spatial position relation of the dental cavity line of the eruption cap and the real dental cavity line, if the current eruption cap is non-external teeth, namely m_EmerrgentWithExarch=false, judging whether the dental cavity line of the eruption cap is used for repairing the decayed teeth by wrapping the dental cavity line of the eruption cap and the dental cavity line of the normal teeth, if the current dental cavity is the eruption cap for repairing the decayed teeth, directly merging grids of the eruption cap and the decayed teeth, intersecting with the gingival grids to obtain new dental cavity line, and setting the non-eruption cap of the current dental cavity, namely m_EmerrgentHat=false, namely the generation mode of the decayed teeth; if the current eruption cap is an external tooth, directly using a dental floss of the eruption cap; the staged result of the cap cutting line is shown in fig. 2, and the sequence from top to bottom in fig. 2 is that the cap tooth hole line is generated, the cutting connecting line is generated according to the tooth hole line, and the complete cutting connecting line is generated; a schematic of the cutting line for a normal cap ejection is shown in fig. 3.
In step S13, the determination method of the external teeth is: if the distance between the center points of the two dental holes is greater than 2.5mm and the normal included angle of the plane fitted by the two dental holes is greater than 40 degrees, the current eruption cap can be judged to be an external tooth, and m_EmerrgentWithExarch=true is set, and a cutting line generated by the external tooth is shown in figure 5; the judging mode of repairing the decayed teeth by the sprouted cap is as follows: the method comprises the steps of projecting two dental cavity wires onto the same plane, constructing rays from the central point of the dental cavity wires to all points on the real dental cavity wires, projecting the points on the dental cavity wires of the emergent cap onto all the rays respectively, judging that the points of the real dental cavity wires are positioned outside the projection points of the emergent cap dental cavity if the distance from the projection points on the emergent cap dental cavity wires to the central point of the real dental cavity wires is smaller than the distance from the points on the real dental cavity wires to the central point, if the points are not positioned outside, not recording, and if the number of the points positioned outside the emergent cap is larger than 1/8 of the number of the real dental cavity points, proving that the current dental position is the emergent cap for repairing the rotten teeth, setting m_EmergFixedRotten=true, and setting cutting lines generated by the rotten teeth as shown in fig. 4, wherein the cutting lines fall on grids of inverted concave, emergent cap and jaw structures.
Step S14: updating a local coordinate system of the sprouting cap: according to the initial local coordinate system (X points to the middle and Z axes points to the root growth direction) of the two adjacent denture teeth, calculating the average value of each small coordinate of the two sides of the coordinates of the denture teeth to obtain an average vector of X, Y, Z axes, and taking the average vector as the local coordinate system of the sprouting cap;
step S15: sprouting cap dental cavity floss partition: acquiring starting points of four quadrants of the tooth hole of the sprouted cap according to the X, Y direction of the sprouted cap after updating, namely: the method comprises the steps that points on a tooth hole of a cap are projected onto a straight line where an X axis and a Y axis are located, the maximum projection points and the minimum projection points in two directions are respectively found to serve as quadrant starting points, the tooth hole is divided into four quadrants according to quadrant starting points, storage sequences of different quadrant points are different, the quadrant starting points in the X direction are all initial points of the quadrants, the points in the Y axis direction are all tail end points of the quadrants, the points in the quadrants need to be stored respectively according to the forward and reverse directions of original tooth hole points when the points in the quadrants are divided, wherein the 0 quadrant and the 1 quadrant are two quadrants of a lip side, and the 2 quadrant and the 3 quadrant are two quadrants of a tongue side;
step S16: the 0,1 quadrant of the labial side and the 2,3 quadrant tooth hole points of the lingual side are respectively adjusted along the z-axis direction according to the lowest points of adjacent tooth hole lines of each side, so that the tooth hole points of the cap at each side are 0.1 mm-0.5 mm higher than the lowest points of the two sides.
Step S17: storing all sprouted cap accessories except for the rotten teeth.
Step S2: the triangular teeth on the lip and tongue sides of the sprouting cap are judged, a cutting line schematic diagram of the sprouting cap of the triangular teeth is shown in fig. 6, and the specific judging mode is as follows:
cap triangle tooth sprouts on lingual side: obtaining two points A, B closest to the lingual side on 2 and 3 quadrants of left and right adjacent lingual dental floss, comparing the two points with a point C closest to the lingual side on the lingual dental floss of a sprouting cap, projecting three A, B, C points onto a ray constructed by the point C and the Y-axis quantity (the labial-lingual direction) of the current tooth position, wherein the starting point of the ray is the point C, the ray direction is the Y-axis direction, and if the distance between the projection point of the point A, B on the ray and the point C is more than 2mm and the two projection points are in the direction closer to the lingual side than the point C, the current tooth can be judged to be the triangle tooth;
the judgment of the labial eruption cap triangle tooth is the same as the judgment of the lingual eruption cap triangle tooth, and is also judged according to the dent degree of the dental floss in the Y-axis direction, namely, the point closest to the labial side on the current dental floss and the dental floss on the two adjacent sides is projected onto the radial line which is constructed along the Y-axis direction by taking the point closest to the labial side of the current dental floss as the starting point, so as to respectively obtain C 1 ,A 1 ,B 1 Comparing the distances between the three points, if B 1 、A 1 Projection point of point on ray and C 1 The distance between the points is more than 2mm and is equal to C 1 If the two projected points are located closer to the labial direction than the point, it is possible to determine that the current tooth is labial triangle.
The judgment method of the labial triangle teeth of the normal teeth is different from the judgment method of the labial eruption cap triangle teeth, the normal teeth are fitted with a gum peripheral curve by means of points on a gum grid below a tooth hole line, and whether the labial teeth are triangle teeth or not is judged according to the sinking degree of the gum peripheral curve of each tooth position relative to two side tooth positions.
Step S3: combining the sprouting cap accessory and the adjacent inverted concave grid thereof into the whole dental grid, and specifically comprises the following steps:
step S31: acquiring an inverted concave grid adjacent to the sprouting cap;
step S32: and (3) merging the sprouting cap accessory acquired in the step (S1) and the inverted concave grid block acquired in the step (S31) onto the dental grid.
Step S4: traversing the tooth position to construct a labial-lingual cutting line, which comprises the following steps:
step S41: detecting whether the traversed current tooth is a head, namely a boundary tooth position, if so, directly storing the points of the 0 th quadrant and the 3 rd quadrant of the current tooth position into a point set A as cutting line points to serve as partial initial points for generating cutting lines, and if not, executing the steps S42-S44;
step S42: according to the judgment result in the step S2, whether the currently traversed tooth is a triangle tooth or not is obtained:
in the case of labial triangle, the jump connection is realized from the lingual side: obtaining the nearest points of the gingival lingual grid below the current tooth position, finding out the two nearest points on the quadrants of the adjacent tooth holes of the nearest points as low-level control points, and finely adjusting the two nearest points by 0.5-1.5 mm towards the central direction of the two control points; finding the nearest point from the low-level control point to the dental floss, and recording corresponding dental floss point indexes IndexLeft and IndexRight as jump connection positions; taking two tooth hole points along the labial direction of the tooth hole line according to the obtained low-level control points, taking the two tooth hole points as high-level control points, finely adjusting 0.5 mm-1.5 mm towards the central direction of the two control points, constructing a tooth hole connecting curve by using BezierCurve according to the four control points, connecting the tooth hole lines at the two sides of the triangular tooth at the position of the re-jump index point, wherein the projection direction of the connecting curve is the average normal direction of tooth hole constructing planes at the two sides;
in the case of lingual triangle, the jump connection is achieved from the labial side: acquiring a low-level control point according to the set jump distance of the adjacent tooth holes, and acquiring a high-level control point by affine transformation; constructing a tooth hole connecting curve by using BezierCurve, connecting tooth hole wires at two sides of the triangular tooth at the position of a re-jump index point, wherein the projection direction of the connecting curve is the average normal direction of tooth hole construction planes at two sides;
step S43: dividing a cutting line into two parts of a lip and a tongue for generation:
lip side cutting line: according to the different properties of two adjacent tooth holes, four conditions can be divided: (1) the normal teeth on the left side currently erupt out of the cap; (2) the current normal teeth of the cap are sprouted out from the left side; (3) the cap is currently sprouted out from the left sprouting cap; (4) the left side and the current tooth position are normal teeth; for the cases (1) and (2), firstly acquiring a low-order control point according to the jump distance, acquiring a high-order control point by utilizing affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and projecting the interpolation point along the average normal direction of three grid patches closest to the interpolation point to acquire a projection point on a corresponding grid; acquiring left and right side dental floss and projection points, simultaneously acquiring 10 points extending forwards and backwards from the dental floss points as original fitting points, and performing fourth-order polynomial fitting; projecting the fitted points according to the average normal direction of the nearest surface patch, and removing points falling in the tooth cavity and curve points of transition bending; in the case (3), the sprouted cap tooth holes are directly connected without constructing a connecting wire; acquiring a low-level control point according to the jump distance, acquiring a high-level control point by affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and connecting dental floss of normal teeth on two sides;
tongue side cutting line: similarly, the tongue side cutting line can be divided into four cases, and the method for generating the cutting line is the same as the method for generating the lip side cutting line;
step S44: and detecting whether the current tooth is the tail boundary tooth position, and if so, directly storing the 0 th and 3 rd quadrant tooth hole wires of the current tooth hole into the point set A as cutting line points serving as part of initial points for generating the cutting line.
Step S5: the integral smoothing of the cutting line comprises the following steps:
step S51: traversing the initial point of the cutting line, calculating the curvature of the circumcircle of the triangle constructed by each point and two adjacent points thereof, and forming an angle between the point and the two adjacent points, wherein the angle range of the return point is [0, 180 °);
step S52: and (3) traversing the initial point of the cutting line, judging whether smoothing is needed according to the circumscribing circle curvature and the angle of each point obtained in the step S51, and if the difference value of the circumscribing circle curvature of the traversing point and the left side point and the right side point is twice the curvature difference value of the left side point and the left side adjacent point or twice the curvature difference value of the right side point and the adjacent point, and the current traversing point or the front and rear points thereof belong to cutting points of the sprouting cap teeth, performing smoothing operation, or the angles formed by the current point and the two side points are less than or equal to 165 degrees, and the current point or the front and rear 5 points thereof are marked as cutting points of the sprouting cap teeth, performing smoothing operation on the current traversing point and the front and rear points thereof, wherein the smoothing operation is mainly to uniformly distribute the selected 5 points on a straight line connected with the initial point and the tail point.
Step S6: filter repeat points: filtering out repeated points in the cut line points smoothed in the step S5;
step S7: improvement curve: the cutting curve is further improved, the generated cutting line is moved outwards by a corresponding distance according to the input offset parameter (unit: mm) to obtain a moved point, and the generated point is smoothed to obtain the cutter control line capable of being applied to automatic cutting equipment.
Example 2
The electronic device of the present embodiment includes:
at least one processor; and
at least one memory communicatively coupled to the processor;
wherein the memory stores instructions executable by the processor to cause the electronic device to perform the method of automatically generating a socket model cut line of embodiment 1.
Example 3
The computer-readable storage medium of this embodiment stores thereon computer-executable instructions that, when executed by a processor, implement the method of automatically generating a socket model cut line of embodiment 1.
In the above description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The foregoing description is only of a preferred embodiment of the invention, which can be practiced in many other ways than as described herein, so that the invention is not limited to the specific implementations disclosed above. While the foregoing disclosure has been described with reference to certain embodiments, it will be understood by those skilled in the art that various changes and modifications may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. Any simple modification, equivalent variation and modification of the above embodiments according to the technical substance of the present invention without departing from the technical solution of the present invention still falls within the scope of the technical solution of the present invention.

Claims (10)

1. A method for automatically generating a shell model cut line, comprising: based on dental floss and sprouting cap accessories, the method specifically comprises the following steps:
step S1: obtaining virtual dental floss sprouting out of the cap accessory;
step S2: judging triangular teeth on the lip and tongue sides of the eruption cap;
step S3: combining the sprouting cap accessory and adjacent inverted concave grids into the whole dental grid;
step S4: traversing the tooth position to construct a lip-tongue side cutting line;
step S5: carrying out integral smoothing on the cutting line;
step S6: filter repeat points: filtering out repeated points in the cut line points smoothed in the step S5;
step S7: improvement curve: the cutting curve is further improved, the generated cutting line is moved outwards by a corresponding distance according to the input offset parameter (unit: mm) to obtain a moved point, and the generated point is smoothed to obtain the cutter control line capable of being applied to automatic cutting equipment.
2. The method of automatically generating a socket model cut line according to claim 1, wherein: step S1 comprises the steps of:
step S11: traversing all tooth data according to the tooth positions, marking whether a tooth hole of the current tooth position has an emergent cap accessory or not, and merging a plurality of emergent caps into a grid if the current tooth position has a plurality of emergent caps;
step S12: obtaining initial sprouting cap tooth hole lines, and ensuring that the lip and tongue side sprouting cap tooth hole lines are respectively 0.1-0.5 mm higher than the lowest points of the edges of adjacent tooth hole lines on two sides;
step S13: judging the type of the erupted cap teeth according to the initial dental floss of the erupted cap obtained in the step S12: determining whether the dental floss is an external dental floss through judging the spatial position relation between the dental floss of the emergent cap and the real dental floss, judging whether the dental floss is an emergent cap to repair the rotten teeth through the wrapping condition of the dental floss of the emergent cap and the dental floss of the normal teeth if the emergent cap is a non-external dental floss, directly merging grids of the emergent cap and the rotten teeth if the current dental floss is the emergent cap to repair the rotten teeth, intersecting the grids with gum to obtain a new dental floss, and setting the non-emergent cap of the teeth of the current dental floss at the same time, namely the generation mode of the rotten teeth; if the current eruption cap is an external tooth, directly using a dental floss of the eruption cap;
step S14: updating a local coordinate system of the sprouting cap: according to the initial local coordinate system of the adjacent two sides of the denture teeth, the average value of the coordinates of the two sides of the denture teeth can be obtained to obtain an average vector of X, Y, Z axes, and the average vector is used as the local coordinate system of the sprouting cap;
step S15: sprouting cap dental cavity floss partition: acquiring starting points of four quadrants of the tooth hole of the sprouted cap according to the X, Y direction of the sprouted cap after updating, namely: the method comprises the steps that points on a tooth hole of a cap are projected onto a straight line where an X axis and a Y axis are located, the maximum projection points and the minimum projection points in two directions are respectively found to serve as quadrant starting points, the tooth hole is divided into four quadrants according to quadrant starting points, storage sequences of different quadrant points are different, the quadrant starting points in the X direction are all initial points of the quadrants, the points in the Y axis direction are all tail end points of the quadrants, the points in the quadrants need to be stored respectively according to the forward and reverse directions of original tooth hole points when the points in the quadrants are divided, wherein the 0 quadrant and the 1 quadrant are two quadrants of a lip side, and the 2 quadrant and the 3 quadrant are two quadrants of a tongue side;
step S16: the 0,1 quadrant of the labial side and the 2,3 quadrant tooth hole points of the lingual side are respectively adjusted along the z-axis direction according to the lowest points of adjacent tooth hole lines of each side, so that the tooth hole points of the cap at each side are 0.1 mm-0.5 mm higher than the lowest points of the two sides.
Step S17: storing all sprouted cap accessories except for the rotten teeth.
3. The method of automatically generating a socket model cut line according to claim 2, wherein: in step S12, the mode of obtaining the tooth hole line of the sprouting cap is divided into a boundary tooth sprouting cap and a non-boundary tooth sprouting cap according to different tooth positions; taking the central point of a dental cavity of a tooth with normal current tooth position and a Z-axis direction construction plane of a tooth jaw as a boundary tooth position sprouting cap to intercept and sprouting cap dental cavity; for the non-boundary tooth position eruption cap, determining the small coordinates of the current eruption cap according to the tooth coordinate directions of the non-eruption caps at two sides, and intercepting the dental floss by using the local Z axis and the construction plane of the central point of the dental floss of the eruption cap after moving.
4. The method of automatically generating a socket model cut line according to claim 1, wherein: in step S13, the determination method of the external teeth is: if the distance between the center points of the two dental holes is more than 2.5mm and the normal included angle of the plane fitted by the two dental holes is more than 40 degrees, the current sprouting cap can be judged to be the external tooth; the judging mode of repairing the decayed teeth by the sprouted cap is as follows: the method comprises the steps of projecting two dental cavity wires onto the same plane, constructing rays from the central point of the dental cavity wires to all points on the real dental cavity wires, respectively projecting the points on the emergent cap dental cavity wires onto all the rays, judging that the point of the real dental cavity wires is outside the emergent cap dental cavity projection points if the distance from the projection point on the emergent cap dental cavity wires to the central point of the real dental cavity wires is smaller than the distance from the point on the real dental cavity wires to the central point, and if the point is not outside, not recording, and if the number of the points outside the emergent cap is larger than 1/8 of the number of the real dental cavity points, proving that the current dental position is the emergent cap for repairing the rotten teeth.
5. The method of automatically generating a socket model cut line according to claim 1, wherein: in the step S2, the judgment mode of the triangular teeth on the labial lingual side of the sprouted cap is as follows:
cap triangle tooth sprouts on lingual side: obtaining two points A, B closest to the lingual side on 2 and 3 quadrants of left and right adjacent lingual dental hole lines, comparing the two points with a point C closest to the lingual side on the lingual dental hole line of an eruption cap, projecting A, B, C three points onto a ray constructed by the point C and a Y-axis vector of the current tooth position, wherein the starting point of the ray is the point C, the ray direction is the Y-axis direction, and if the distance between the projection point of the point A, B on the ray and the point C is more than 2mm and the two projection points are in the direction closer to the lingual side than the point C, the current tooth can be judged to be a triangle tooth;
the judgment of the labial eruption cap triangle tooth is the same as the judgment of the lingual eruption cap triangle tooth, and is also judged according to the dent degree of the dental floss in the Y-axis direction, namely, the point closest to the labial side on the current dental floss and the dental floss on the two adjacent sides is projected onto the radial line which is constructed along the Y-axis direction by taking the point closest to the labial side of the current dental floss as the starting point, so as to respectively obtain C 1 ,A 1 ,B 1 Comparing the distances between the three points, if B 1 、A 1 Point-on-spot-shootingProjection point and C on line 1 The distance between the points is more than 2mm and is equal to C 1 If the two projected points are located closer to the labial direction than the point, it is possible to determine that the current tooth is labial triangle.
6. The method of automatically generating a socket model cut line according to claim 1, wherein: step S3 includes the steps of:
step S31: acquiring an inverted concave grid adjacent to the sprouting cap;
step S32: and (3) merging the sprouting cap accessory acquired in the step (S1) and the inverted concave grid block acquired in the step (S31) onto the dental grid.
7. The method of automatically generating a socket model cut line according to claim 1, wherein: step S4 includes the steps of:
step S41: detecting whether the traversed current tooth is a boundary tooth position, if so, directly storing the points of the 0 th quadrant and the 3 rd quadrant of the current tooth position into a point set A as cutting line points to serve as partial initial points for generating cutting lines, and if not, executing the steps S42-S44;
step S42: according to the judgment result in the step S2, whether the currently traversed tooth is a triangle tooth or not is obtained:
in the case of labial triangle, the jump connection is realized from the lingual side: obtaining the nearest points of the gingival lingual grid below the current tooth position, finding out the two nearest points on the quadrants of the adjacent tooth holes of the nearest points as low-level control points, and finely adjusting the two nearest points by 0.5-1.5 mm towards the central direction of the two control points; finding the nearest point from the low-level control point to the dental floss, and recording corresponding dental floss point indexes IndexLeft and IndexRight as jump connection positions; taking two tooth hole points along the labial direction of the tooth hole line according to the obtained low-level control points, taking the two tooth hole points as high-level control points, finely adjusting 0.5 mm-1.5 mm towards the central direction of the two control points, constructing a tooth hole connecting curve by using BezierCurve according to the four control points, connecting the tooth hole lines at the two sides of the triangular tooth at the position of the re-jump index point, wherein the projection direction of the connecting curve is the average normal direction of tooth hole constructing planes at the two sides;
in the case of lingual triangle, the jump connection is achieved from the labial side: acquiring a low-level control point according to the set jump distance of the adjacent tooth holes, and acquiring a high-level control point by affine transformation; constructing a tooth hole connecting curve by using BezierCurve, connecting tooth hole wires at two sides of the triangular tooth at the position of a re-jump index point, wherein the projection direction of the connecting curve is the average normal direction of tooth hole construction planes at two sides;
step S43: dividing a cutting line into two parts of a lip and a tongue for generation:
lip side cutting line: according to the different properties of two adjacent tooth holes, four conditions can be divided: (1) the normal teeth on the left side currently erupt out of the cap; (2) the current normal teeth of the cap are sprouted out from the left side; (3) the cap is currently sprouted out from the left sprouting cap; (4) the left side and the current tooth position are normal teeth; for the cases (1) and (2), firstly acquiring a low-order control point according to the jump distance, acquiring a high-order control point by utilizing affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and projecting the interpolation point along the average normal direction of three grid patches closest to the interpolation point to acquire a projection point on a corresponding grid; acquiring left and right side dental floss and projection points, simultaneously acquiring 10 points extending forwards and backwards from the dental floss points as original fitting points, and performing fourth-order polynomial fitting; projecting the fitted points according to the average normal direction of the nearest surface patch, and removing points falling in the tooth cavity and curve points of transition bending; in the case (3), the sprouted cap tooth holes are directly connected without constructing a connecting wire; acquiring a low-level control point according to the jump distance, acquiring a high-level control point by affine transformation, constructing BezierCurve according to the acquired control point, interpolating on a curve, and connecting dental floss of normal teeth on two sides;
tongue side cutting line: similarly, the tongue side cutting line can be divided into four cases, and the method for generating the cutting line is the same as the method for generating the lip side cutting line;
step S44: and detecting whether the current tooth is the tail boundary tooth position, and if so, directly storing the 0 th and 3 rd quadrant tooth hole wires of the current tooth hole into the point set A as cutting line points serving as part of initial points for generating the cutting line.
8. The method of automatically generating a socket model cut line according to claim 1, wherein: step S5 includes the steps of:
step S51: traversing the initial points of the cutting lines, and calculating the curvature of the circumscribed circle of the triangle constructed by each point and two adjacent points thereof and the angle formed by the point and the two adjacent points;
step S52: and (3) traversing the initial point of the cutting line, judging whether smoothing is needed according to the circumscribing circle curvature and the angle of each point obtained in the step S51, and if the difference value of the circumscribing circle curvature of the traversing point and the left side point and the right side point is twice the curvature difference value of the left side point and the left side adjacent point or twice the curvature difference value of the right side point and the adjacent point, and the current traversing point or the front and rear points thereof belong to cutting points of the sprouting cap teeth, performing smoothing operation, or the angles formed by the current point and the two side points are less than or equal to 165 degrees, and the current point or the front and rear 5 points thereof are marked as cutting points of the sprouting cap teeth, performing smoothing operation on the current traversing point and the front and rear points thereof, wherein the smoothing operation is mainly to uniformly distribute the selected 5 points on a straight line connected with the initial point and the tail point.
9. An electronic device, characterized in that: comprising the following steps:
at least one processor; and
at least one memory communicatively coupled to the processor;
wherein the memory stores instructions executable by the processor to cause the electronic device to perform the method of automatically generating a socket model cut line of any one of claims 1-8.
10. A computer-readable storage medium, characterized by: on which computer-executable instructions are stored which, when executed by a processor, implement the method of automatically generating a socket model cut line as claimed in any one of claims 1 to 8.
CN202311745907.6A 2023-12-19 2023-12-19 Method for automatically generating dental socket model cutting line, storage medium and electronic device Pending CN117770991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311745907.6A CN117770991A (en) 2023-12-19 2023-12-19 Method for automatically generating dental socket model cutting line, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311745907.6A CN117770991A (en) 2023-12-19 2023-12-19 Method for automatically generating dental socket model cutting line, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN117770991A true CN117770991A (en) 2024-03-29

Family

ID=90399292

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311745907.6A Pending CN117770991A (en) 2023-12-19 2023-12-19 Method for automatically generating dental socket model cutting line, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN117770991A (en)

Similar Documents

Publication Publication Date Title
CN108986111B (en) Three-dimensional dental model segmentation method for computer-aided invisible orthodontics
CN112690914B (en) Tooth modeling method with gingiva suitable for digital orthodontic treatment
CN109998709B (en) Tooth inverted-concave automatic filling printing method based on tooth characteristic points
CN105769353A (en) Automatic tooth arrangement method and device
CN104699865A (en) Digital oral fixed restoration method and device
CN111991106B (en) Automatic tooth socket cutting line generation method and application
CN111563900B (en) Method for repairing digital dental crown model and designing and preparing shell-shaped dental appliance
CN111568592B (en) Intelligent design method of digital model for oral digital impression instrument
CN107146232B (en) Data fusion method of oral CBCT image and laser scanning tooth grid
CN117770991A (en) Method for automatically generating dental socket model cutting line, storage medium and electronic device
CN112308861B (en) Tooth and gum segmentation method, tooth segmentation method and electronic equipment
CN107689077B (en) Digital generation method of full-crown bridge body
CN107638224B (en) Digital denture form and position parameter measuring method
CN111292857A (en) Gum generation method for computer-aided invisible orthodontic
CN114329964A (en) Filling concave state optimization method and device for tooth digital model
CN112206064B (en) Digital dental model generation method and system
CN114663621A (en) Three-dimensional dental crown model optimization method based on geometric information
CN116012529B (en) Virtual root generating method, device, computer equipment and storage medium
CN114663279A (en) Method and system for quickly constructing virtual gum triangular mesh
CN114652467B (en) Tooth bracket-free invisible correction method based on computer assistance
CN114897924B (en) Tooth model segmentation method and device
CN115798728B (en) Tooth preparation digital model design method based on computer assistance
CN117038024A (en) Arc inverted concave automatic filling method, program, storage medium and system based on tooth surface characteristic points
CN113693757B (en) Tool posture planning method for tooth socket cutting, electronic equipment and storage medium
CN112070897B (en) Preparation method of shell-shaped tooth appliance

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination