Digital gradient color restoration generation method, device and storage medium
By constructing a three-dimensional model of the teeth and obtaining personalized curve parameters and dividing the color gradient area, the problem that existing dental restoration technology is difficult to achieve personalization and coordination, and the personalized color design and aesthetics of dental restoration are realized. Sex improvement.
Patent Information
- Application Number
- CN202411336528.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2044-09-25
AI Technical Summary
Existing dental restoration techniques are difficult to achieve personalization and coordination in morphology and color, resulting in disharmoniousness between the restoration and the patient's facial contour.
By obtaining the color of the gingival edge, body color and end color, a three-dimensional model of the complete teeth is constructed, the boundary fitting function is determined, the personalized curve parameters are obtained, and the step size and adjustment coefficient are combined to divide the color gradient area to achieve personalized Color design.
The personalized color design of the dental restoration is realized, the coordination between the restoration and facial contour is enhanced, and the aesthetics and functionality are improved.
Smart Images

Figure CN118887317B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of restoration preparation, and in particular to a method, device and storage medium for generating a morphology-based gradient color personalized restoration. Background Art
[0002] As a treatment method, dental restorations are designed to effectively repair tooth tissue defects. For severe tooth tissue defects. Dental restorations can accurately reconstruct the normal anatomical morphology and adjacent relationships of teeth in terms of morphology, and can significantly restore the patient's occlusal effectiveness in terms of function. In addition, for complex tooth morphological abnormalities such as fluorosis, tetracycline-stained teeth, tapered teeth, small teeth, enamel hypoplasia, and twisted teeth, dental restorations can reshape the natural appearance of teeth, fully meeting patients' high expectations for dental aesthetics and achieving dual optimization of morphology and function.
[0003] With the prosperity of the economy, patients' pursuit of beautiful teeth has become stronger. The ideal tooth shape needs to be coordinated with the individual's dental arch shape and facial contour. It can be subdivided into pointed round, oval and square round shapes. The curvature of the edge line of each shape is unique. It is worth noting that the edge lines of different patients are significantly different. Even the same teeth of the same patient will have different edge lines. In addition, the color gradient and curvature design have a significant impact on visual perception, which can modify the tooth shape and change the visual effect. Therefore, it is necessary to design the color of the restoration. For example, PCT application WO2020154450A1 discloses a customized coloring method for dental restorations, which mainly copies the color of the original teeth for coloring. The specific process of copying the color adopts a downsampling method, or Japanese patent JP2022070463A discloses a dental restoration coloring method, which also first collects the color of the original teeth and then performs inkjet coloring.
[0004] The above existing technologies usually use the color information of the original teeth for coloring. Although different colors can be achieved, the mutual influence of the overall shape and color is not considered. The color of the restoration, including the choice of brightness, saturation and hue, and the distribution range of the color, will greatly affect the visual effect and may even change the initial shape of the restoration, thereby affecting its overall harmony with the facial contour. Therefore, the method of coloring the teeth in blocks cannot meet the requirements of improving the overall coordination and morphological aesthetics. Summary of the invention
[0005] The purpose of the present invention is to provide a method, device and storage medium for generating a digital gradient color restoration.
[0006] The purpose of the present invention can be achieved by the following technical solutions:
[0007] A method for generating a digital gradient color restoration, comprising:
[0008] Obtain the gingival margin color, body color and incisal color, and build a three-dimensional model of the complete tooth including abutment teeth and restorations;
[0009] Determine the fitting function of the upper and lower boundaries of the complete tooth based on the three-dimensional model of the complete tooth;
[0010] Determine the endpoint coordinates of the upper color gradient area based on the fitting function of the upper boundary of the complete tooth;
[0011] Obtain personalized upper curve parameters, and based on the personalized upper curve parameters, combine the step size and the adjustment coefficient to obtain multiple upper color gradient areas;
[0012] Fill the portion between the upper border and the upper color gradient area with the gingival margin color, fill each upper color gradient area with a different color between the gingival margin color and the body color, and complete the coloring of the remaining portion.
[0013] Obtaining the personalized upper curve parameters includes:
[0014] Obtaining the significant color change area of the abutment tooth, and dividing the significant color change area of the abutment tooth into an upper significant area and a lower significant area according to the line connecting the leftmost and rightmost endpoints of the complete tooth;
[0015] Selecting a plurality of first significant points in the upper significant region, respectively calculating a longitudinal distance of each first significant point to the upper boundary, and calculating a first distance ratio of each first significant point based on the longitudinal distance of each first significant point to the upper boundary;
[0016] The average of the first distance ratios of all first significant points is calculated as the personalized upper curve parameter.
[0017] The first distance ratio is:
[0018] γ i = d 1 / d 2
[0019] in: γ i is the first distance ratio, d 1 is the vertical distance from the first significant point to the upper boundary, d 2 is the sum of the longitudinal distance from the first prominent point to the upper boundary and the longitudinal distance from the first prominent point to the lower boundary.
[0020] The endpoint of the upper boundary line of the upper color gradient area is the intersection of the smile line and the upper boundary of the complete teeth.
[0021] The endpoints of the lower boundary line of the upper color gradient area are the vertices of the intergingival papillae on the left and right sides.
[0022] Based on the personalized upper curve parameters, multiple upper color gradient areas and multiple lower color gradient areas are obtained by combining the step length and the adjustment coefficient, including:
[0023] Along the upper boundary of the complete tooth, from the left end point of the upper boundary line of the upper color gradient area to the left end point of the lower boundary line, move to the left multiple times according to the step length to obtain the left end points of multiple upper partition lines, and from the right end point of the upper boundary line of the upper color gradient area to the right end point of the lower boundary line, move to the right multiple times according to the step length to obtain the right end points of each upper partition line;
[0024] Determine target upper curve parameters for each upper partition line and upper and lower boundary lines of the upper color gradient area based on the adjustment coefficient and the personalized upper curve parameter;
[0025] Based on the target upper curve parameters of the upper and lower boundaries of each upper partition line and the upper color gradient area, multiple sampling points of the upper and lower boundaries of each upper partition line and the upper color gradient area are obtained respectively, and the upper and lower boundaries of each upper partition line and the upper color gradient area are determined based on the obtained sampling points, and the area between each adjacent upper partition line and the area between the upper and lower boundaries of the upper color gradient area and the nearest upper partition line are used as the upper color gradient area.
[0026] Determining target upper curve parameters of upper partition lines and upper and lower boundary lines of upper color gradient areas based on the adjustment coefficients and personalized upper curve parameters includes:
[0027] Calculate the total area of the complete tooth;
[0028] Obtain the straight line L1R1 connected by the two endpoints of the upper boundary line of the upper color gradient area, calculate the area of the area enclosed by the upper boundary of the complete tooth and the straight line L1R1, and calculate the ratio to the total area as the area ratio of the upper boundary line η 1;
[0029] Obtain the straight line MN formed by connecting the two endpoints of the lower boundary line of the upper color gradient area, calculate the area of the area enclosed by the upper boundary of the complete tooth and the straight line MN, and calculate the ratio to the total area as the area ratio of the lower boundary line. η n ;
[0030] Get the straight line L formed by connecting the two endpoints of each upper partition line k R k , calculate the value between the upper boundary of the complete tooth and the straight line L k R k The area of the enclosed area is calculated, and the ratio to the total area is used as the area ratio of each upper partition line. ηk ;
[0031] Calculate area ratio η 1 and all area ratios η k The mean of :
[0032] ,
[0033] Based on personalized upper curve parameters and mean η The ratio of determines the upper adjustment coefficient;
[0034] The product of the upper adjustment coefficient and the area ratio of each upper partition line is calculated as the target upper curve parameter of each upper partition line, and the product of the adjustment coefficient and the area ratio of the upper and lower boundary lines of the upper color gradient area is calculated as the target upper curve parameters of the upper and lower boundary lines of the upper color gradient area.
[0035] The personalized upper curve parameters are obtained, and based on the personalized upper curve parameters, multiple upper color gradient areas are obtained by combining the step size and the adjustment coefficient, specifically:
[0036] Obtain personalized upper curve parameters and personalized lower curve parameters, and divide and obtain multiple upper color gradient areas based on the personalized upper curve parameters and the personalized lower curve parameters in combination with the step length and the adjustment coefficient;
[0037] Obtaining the personalized upper curve parameters and the personalized lower curve parameters, including
[0038] Obtaining the significant color change area of the abutment tooth, and dividing the significant color change area of the abutment tooth into an upper significant area and a lower significant area according to the line connecting the leftmost and rightmost endpoints of the complete tooth;
[0039] Selecting a plurality of first significant points in the upper significant region, respectively calculating a longitudinal distance of each first significant point to the upper boundary, and calculating a first distance ratio of each first significant point based on the longitudinal distance of each first significant point to the upper boundary;
[0040] Calculate the average of the first distance ratios of all first significant points as a personalized upper curve parameter;
[0041] Selecting a plurality of second significant points in the lower significant area, respectively calculating a longitudinal distance of each second significant point to the lower boundary, and calculating a second distance ratio of each second significant point based on the longitudinal distance of each second significant point to the lower boundary;
[0042] Calculate the average of the second distance ratios of all second significant points as the personalized lower curve parameter;
[0043] The second distance ratio is:
[0044] ,
[0045] in: γ ' i is the second distance ratio, d 3 is the vertical distance from the second significant point to the lower boundary, d 2 is the sum of the longitudinal distance from the second prominent point to the lower boundary and the longitudinal distance from the second prominent point to the upper boundary;
[0046] Based on the personalized upper curve parameters and the personalized lower curve parameters, multiple upper color gradient areas are obtained by combining the step length and the adjustment coefficient, including:
[0047] Along the upper boundary of the complete tooth, from the left end point of the upper boundary line of the upper color gradient area to the left end point of the lower boundary line, move to the left multiple times according to the step length to obtain the left end points of multiple upper partition lines, and from the right end point of the upper boundary line of the upper color gradient area to the right end point of the lower boundary line, move to the right multiple times according to the step length to obtain the right end points of each upper partition line;
[0048] Determine target upper curve parameters of each upper partition line and upper and lower boundary lines of the upper color gradient area based on the setting coefficient, the personalized upper curve parameter and the personalized lower curvature parameter;
[0049] Based on the target upper curve parameters of the upper and lower boundaries of each upper partition line and the upper color gradient area, multiple sampling points of the upper and lower boundaries of each upper partition line and the upper color gradient area are obtained respectively, and the upper and lower boundaries of each upper partition line and the upper color gradient area are determined based on the obtained sampling points, and the area between each adjacent upper partition line and the area between the upper and lower boundaries of the upper color gradient area and the nearest upper partition line are used as the upper color gradient area.
[0050] The color difference between adjacent upper color gradient areas is the same.
[0051] A digital gradient color restoration generating device comprises a memory, a processor, and a program stored in the memory, wherein the processor implements the above method when executing the program.
[0052] A storage medium stores a program, which implements the above method when executed.
[0053] Compared with the prior art, the present invention has the following beneficial effects:
[0054] 1. It has the function of automatically extracting the color characteristics of the residual abutment teeth and identifying the edge of the restoration. It combines the edge line shape and the restoration color determined by the clinician to accurately capture the characteristic color information of the abutment teeth and generate a personalized restoration color design plan. Finally, through computer-assisted additive manufacturing technology, a restoration that meets both aesthetic requirements and has high functionality can be accurately prepared.
[0055] 2. Introduce adjustment coefficients to determine the target curve parameters, so that the color of the restoration can be more coordinated with the overall tooth shape and the characteristics of the mouth and facial features, achieving the coordination and unity of tooth shape, dental arch, and facial shape.
[0056] 3. By using tooth edges of different lengths, we can get the ratio of the area of this region to the total area of the tooth, so as to draw the color change edge curve, and through mathematical methods such as differentiation, we can get a more precise and bionic color gradient design. The whole process is the result of calculation, which is more accurate.
[0057] 4. While achieving personalization, it is universal due to its automatic recognition and can be widely used in the design of anterior and posterior tooth restorations. It can also be used for the preparation of artificial teeth such as removable dentures and full dentures, making the color of its artificial teeth more in line with the patient's physiological conditions.
[0058] 5. For patients with residual abutment teeth in their mouths, make full use of the tooth color characteristics of the abutment teeth and design and adjust the curvature parameters so that the final restoration color design is more consistent with the abutment teeth. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 It is a schematic flow chart of the main steps of the method of the present invention;
[0060] Figure 2 This is a schematic diagram of the STL file of a complete tooth;
[0061] Figure 3 Schematic diagram of the upper and lower boundaries of a complete tooth;
[0062] Figure 4 Schematic diagram of the process of obtaining personalized curve parameters;
[0063] Figure 5 Schematic diagram of the process of obtaining sampling points;
[0064] Figure 6 for Figure 5 A top enlarged schematic diagram of
[0065] Figure 7 This is a schematic diagram of the coloring effect;
[0066] Figure 8 It is a schematic diagram of the technical route of the present invention. DETAILED DESCRIPTION
[0067] The present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. This embodiment is implemented based on the technical solution of the present invention, and provides a detailed implementation method and specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0068] Embodiment 1:
[0069] A method for generating a digital gradient color restoration, such as Figure 1 and Figure 8 Shown, including:
[0070] 1. Obtain the color of the gingival margin, body and incisal edge, and construct a three-dimensional model of the complete tooth including the abutment and restoration;
[0071] In this embodiment, the process includes the following steps:
[0072] The intraoral scanner is used to scan the patient's oral situation and obtain the patient's oral situation.
[0073] Clinicians use colorimetry to obtain the gingival margin color, body color, and incisal color of the restoration design, and convert the color information into Lab code. Specifically:
[0074] Gingival margin color: L 1, a 1, b 1
[0075] Body colors: L n , a n , b n
[0076] Cut end color: L’ n , a’ n , b’ n
[0077] Then, the restoration design file (CAD.stl) is designed by computer aided design software, and combined with the scanned abutment file to obtain the stl format file of the complete tooth. Figure 2 .
[0078] (ii) determining the fitting function of the upper and lower boundaries of the complete tooth based on the three-dimensional model of the complete tooth;
[0079] Based on the stl format file of the complete tooth, the three-dimensional image is first converted to a two-dimensional image to obtain the front view, and then the front view is converted into a grayscale image. The edge information of the complete tooth is extracted through the grayscale value, and then the grayscale function is used to convert the input three-dimensional image into a grayscale image to simplify the subsequent image processing steps.
[0080] Then the Sobel operator is used to calculate the gradient of the image grayscale value in different directions to highlight the edge features. The Sobel operator uses two 3x3 convolution kernels to calculate the gradient of the image in the horizontal and vertical directions, which are expressed as G x , G y . Calculate the gradient magnitude F, that is, the Euclidean norm of the gradient vector, to obtain the strength of the edge. The gradient magnitude is as follows:
[0081] ,
[0082] The gradient amplitude F reflects the comprehensive change rate of the image at each pixel, thereby effectively highlighting the edge of the image.
[0083] Set the threshold to 99% of the gradient amplitude, binarize the gradient amplitude image, set the pixels with gradient amplitude greater than the threshold to white (edge), and set the remaining pixels to black (non-edge). Use the plot function to display the binarized edge image.
[0084] Then, the contours of the binarized edge image are extracted. By marking and segmenting the image, multiple independent contours are generated, and the length of each contour, that is, the number of pixels contained in the contour, is calculated. The contour with the longest length is selected as the analysis object.
[0085] After that, extract the leftmost endpoint L, rightmost endpoint R, topmost endpoint T, and bottommost endpoint D of the complete tooth, and x The coordinates are set to 0, the lowest point D of y The coordinates are set to 0 and a coordinate system is established with (0,0) as the origin.
[0086] In order to convert the image coordinate system into a conventional mathematical coordinate system expression, that is, the y-axis increases from bottom to top. Get the coordinates of the selected contour, flip the y-axis, compare the x-coordinate values of all points in the selected contour, extract the two points with the smallest and largest x-coordinates, and use them as the leftmost endpoint L and the rightmost endpoint R. Set the x-coordinate value of the leftmost endpoint L to 0, and the x-coordinate value of the rightmost endpoint R to W. Compare the y-coordinate values of all points in the selected contour, extract the two points with the smallest and largest y-coordinates, and use them as the top endpoint T and the bottom endpoint D, respectively. Set the y-coordinate value of the top endpoint T to H, and the y-coordinate value of the bottom endpoint D to 0.
[0087] Then, the complete tooth is divided into upper and lower parts according to the line connecting the leftmost endpoint L and the rightmost endpoint R. For the upper contour, points L, T, and R are used as the outermost points of the upper boundary. For the lower contour, points L, D, and R are used as the outermost points of the lower boundary, and the selected maximum contour is drawn.
[0088] By grouping the x-coordinates, for the upper contour, extract the point with the largest y-coordinate corresponding to each x-coordinate in each group; for the lower contour, extract the point with the smallest y-coordinate corresponding to each x-coordinate. Then, use the visualization tool to mark the y extreme points in each x-group in the upper and lower contours with red and blue, respectively, and then obtain the upper and lower boundary curves.
[0089] The upper and lower boundaries are fitted using a standard polynomial basis (up to order 7). The fitting process uses the least squares method to find a polynomial function that fits all boundary points as closely as possible.
[0090] like Figure 3 As shown, in this embodiment, the fitting function of the upper boundary is obtained as:
[0091] ,
[0092] ,
[0093] The fitting function of the lower boundary is obtained as:
[0094] ,
[0095] ,
[0096] (iii) determining the endpoint coordinates of the upper and lower boundaries of the upper color gradient area based on the fitting function of the upper and lower boundaries of the complete tooth;
[0097] The endpoints of the upper boundary line of the upper color gradient area are the intersection points of the smile line and the upper boundary of the complete teeth. The smile line can be selected by yourself. The coordinates of the two points are:
[0098] , ,
[0099] The endpoints of the lower boundary line of the upper color gradient area are the vertices of the left and right gingival papillae. The coordinates of the two points are:
[0100] , ,
[0101] (iv) obtaining personalized upper curve parameters, and based on the personalized upper curve parameters, combining the step size and the adjustment coefficient, dividing to obtain a plurality of upper color gradient areas and a plurality of lower color gradient areas;
[0102] Among them, Figure 4 As shown, obtaining personalized upper curve parameters and personalized lower curve parameters includes:
[0103] Obtaining the significant color change area of the abutment tooth, and dividing the significant color change area of the abutment tooth into an upper significant area and a lower significant area according to the line connecting the leftmost and rightmost endpoints of the complete tooth;
[0104] Select multiple first salient points C in the upper salient region i , the coordinates can be expressed as ( x i , i ( x i )), x i ∈[0,W], calculate the longitudinal distance of each first salient point to the upper boundary respectively, and calculate the first distance ratio of each first salient point based on the longitudinal distance of each first salient point to the upper boundary:
[0105] ,
[0106] in: γ i is the first distance ratio, d 1 is the vertical distance from the first significant point to the upper boundary, d 2 is the sum of the longitudinal distance from the first prominent point to the upper boundary and the longitudinal distance from the first prominent point to the lower boundary;
[0107] Calculate the mean of the first distance ratios of all first significant points as the personalized upper curve parameter:
[0108] ,
[0109] Afterwards, based on the personalized upper curve parameters, combined with the step size and the adjustment coefficient, multiple upper color gradient areas are obtained, including:
[0110] Along the upper boundary of the complete tooth, from the left end point of the upper boundary line of the upper color gradient area to the left end point of the lower boundary line, move leftward multiple times according to the step length to obtain the left end points of multiple upper partition lines, and from the right end point of the upper boundary line of the upper color gradient area to the right end point of the lower boundary line, move rightward multiple times according to the step length to obtain the right end points of each upper partition line, wherein, in the process of moving left and right, in each movement, the change amount of the horizontal coordinate to the left and to the right needs to be kept consistent;
[0111] Determine target upper curve parameters for each upper partition line and upper and lower boundary lines of the upper color gradient area based on the adjustment coefficient and the personalized upper curve parameter;
[0112] Based on target upper curve parameters of the upper and lower boundaries of the upper partition lines and the upper color gradient area, a plurality of sampling points of the upper and lower boundaries of the upper partition lines and the upper color gradient area are obtained respectively, and the upper and lower boundaries of the upper partition lines and the upper color gradient area are determined based on the obtained sampling points, and the area between adjacent upper partition lines and the area between the upper and lower boundaries of the upper color gradient area and the nearest upper partition line are taken as the upper color gradient area;
[0113] Specifically, Figure 5 and Figure 6 As shown, in In the area enclosed by the straight line L1R1, there is a point E1( x , j 1( x )), x ∈[ x L1 , x R1 ],satisfy:
[0114] ,
[0115] ,
[0116] Where: κ1 is the target lower curve parameter of the upper boundary line of the upper color gradient area, j 1( x ) is the function expression of the upper boundary line of the upper color gradient area, and the curve formed by point E1 y = j 1( x ), which can be expressed as:
[0117] ,
[0118] Similarly, expressions for other partition lines and boundary lines can be obtained.
[0119] In addition, target upper curve parameters of each upper partition line and upper and lower boundary lines of the upper color gradient area are determined based on the adjustment coefficient and the personalized upper curve parameters, including:
[0120] Calculate the total area of the complete tooth:
[0121] ,
[0122] Get the function of the straight line L1R1 connected by the two endpoints of the upper boundary line of the upper color gradient area It can be expressed as:
[0123] , ,
[0124] Calculate the area enclosed by the upper border of the complete tooth and the straight line L1R1:
[0125] ,
[0126] And calculate the ratio to the total area as the area ratio of the upper boundary line η 1:
[0127] ,
[0128] Obtain the straight line MN formed by connecting the two endpoints of the lower boundary line of the upper color gradient area, calculate the area of the area enclosed by the upper boundary of the complete tooth and the straight line MN, and calculate the ratio to the total area as the area ratio of the lower boundary line. η n ;
[0129] Get the straight line L formed by connecting the two endpoints of each upper partition line k R k , straight line L k R k Function It can be expressed as:
[0130] , ,
[0131] Calculate the upper boundary of the complete tooth and the straight line L k R k The area of the enclosed region:
[0132] ,
[0133] And calculate the ratio to the total area as the area ratio of each upper partition line η k :
[0134] ,
[0135] Calculate area ratio η 1 and all area ratios η k The mean of :
[0136] ,
[0137] Based on personalized upper curve parameters and mean η The ratio of determines the upper adjustment coefficient, where the basis for the upper adjustment coefficient is set as the personalized upper curvature parameter γ and the mean η The ratio, in this embodiment, is as follows:
[0138] ,
[0139] in: ψ To adjust the coefficient upward.
[0140] The product of the upper adjustment coefficient and the area ratio of each upper partition line is calculated as the target upper curve parameter of each upper partition line, and the product of the adjustment coefficient and the area ratio of the upper and lower boundary lines of the upper color gradient area is calculated as the target upper curve parameters of the upper and lower boundary lines of the upper color gradient area.
[0141] Coloring steps: fill the part between the upper boundary and the upper color gradient area with the gingival margin color, fill each upper color gradient area with different colors between the gingival margin color and the body color, and complete the coloring of the remaining parts. Among them, the area below the upper color gradient area can be colored in other ways, so it will not be repeated here.
[0142] In addition, in this embodiment, the color difference between adjacent upper color gradient areas is the same, and the color difference between adjacent lower color gradient areas is the same. For each upper color gradient area within the upper color gradient region, the colors are as follows:
[0143] L k The calculation formula is:
[0144] ,
[0145] a k The calculation formula is:
[0146] ,
[0147] b k The calculation formula is:
[0148] ,
[0149] The final coloring effect is as follows Figure 7 shown.
[0150] Embodiment 2:
[0151] This embodiment is substantially the same as Embodiment 1, except that, in addition to obtaining personalized upper curve parameters, this embodiment also obtains personalized lower curve parameters.
[0152] Get the personalized upper curve parameters, and based on the personalized upper curve parameters, combine the step size and the adjustment coefficient to obtain multiple upper color gradient areas, specifically:
[0153] Obtain personalized upper curve parameters and personalized lower curve parameters, and divide and obtain multiple upper color gradient areas based on the personalized upper curve parameters and the personalized lower curve parameters in combination with the step length and the adjustment coefficient;
[0154] Get personalized upper curve parameters and personalized lower curve parameters, including
[0155] Obtaining the significant color change area of the abutment tooth, and dividing the significant color change area of the abutment tooth into an upper significant area and a lower significant area according to the line connecting the leftmost and rightmost endpoints of the complete tooth;
[0156] Selecting a plurality of first significant points in the upper significant region, respectively calculating a longitudinal distance of each first significant point to the upper boundary, and calculating a first distance ratio of each first significant point based on the longitudinal distance of each first significant point to the upper boundary;
[0157] Calculate the average of the first distance ratios of all first significant points as a personalized upper curve parameter;
[0158] Selecting a plurality of second significant points in the lower significant area, respectively calculating a longitudinal distance of each second significant point to the lower boundary, and calculating a second distance ratio of each second significant point based on the longitudinal distance of each second significant point to the lower boundary;
[0159] Calculate the average of the second distance ratios of all second significant points as the personalized lower curve parameter;
[0160] The second distance ratio is:
[0161] ,
[0162] Among them: γ' i is the second distance ratio, d 3 is the vertical distance from the second significant point to the lower boundary, d 2 is the sum of the longitudinal distance from the second prominent point to the lower boundary and the longitudinal distance from the second prominent point to the upper boundary;
[0163] Based on the personalized upper curve parameters and the personalized lower curve parameters, combined with the step size and the adjustment coefficient, multiple upper color gradient areas are obtained, including:
[0164] Along the upper boundary of the complete tooth, from the left end point of the upper boundary line of the upper color gradient area to the left end point of the lower boundary line, move to the left multiple times according to the step length to obtain the left end points of multiple upper partition lines, and from the right end point of the upper boundary line of the upper color gradient area to the right end point of the lower boundary line, move to the right multiple times according to the step length to obtain the right end points of each upper partition line;
[0165] Determine target upper curve parameters of each upper partition line and upper and lower boundary lines of the upper color gradient area based on the setting coefficient, the personalized upper curve parameter and the personalized lower curvature parameter;
[0166] Based on the target upper curve parameters of the upper and lower boundaries of each upper partition line and the upper color gradient area, multiple sampling points of the upper and lower boundaries of each upper partition line and the upper color gradient area are obtained respectively, and the upper and lower boundaries of each upper partition line and the upper color gradient area are determined based on the obtained sampling points, and the area between each adjacent upper partition line and the area between the upper and lower boundaries of the upper color gradient area and the nearest upper partition line are used as the upper color gradient area.
[0167] In the process of determining the target upper curve parameters of each upper partition line and the upper and lower boundary lines of the upper color gradient area based on the adjustment coefficient, the personalized upper curve parameter and the personalized lower curvature parameter, the personalized upper curve parameter and the personalized lower curvature parameter act on the target upper curve parameter together. Specifically, the target upper curve parameter can oscillate under the influence of the personalized upper curve parameter and the personalized lower curvature parameter.
[0168] The electronic device of the present invention includes a central processing unit (CPU), which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) or loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for device operation can also be stored. The CPU, ROM and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0169] Multiple components in the device are connected to the I / O interface, including: input units, such as keyboards, mice, etc.; output units, such as various types of displays, speakers, etc.; storage units, such as disks, optical disks, etc.; and communication units, such as network cards, modems, wireless communication transceivers, etc. The communication unit allows the device to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunication networks.
[0170] The processing unit performs the various methods and processes described above, such as all steps of the method. For example, in some embodiments, all steps of the method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit. In some embodiments, part or all of the computer program can be loaded and / or installed on the device via a ROM and / or a communication unit. When the computer program is loaded into the RAM and executed by the CPU, one or more steps of all steps of the method described above can be executed. Alternatively, in other embodiments, the CPU can be configured to execute all steps of the method by any other appropriate means (e.g., by means of firmware).
[0171] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0172] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0173] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0174] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A method for generating a digital gradient color restoration, characterized in that: include: Obtain the gingival margin color, body color and incisal color, and build a three-dimensional model of the complete tooth including abutment teeth and restorations; Determine the fitting function of the upper and lower boundaries of the complete tooth based on the three-dimensional model of the complete tooth; Determine the endpoint coordinates of the upper color gradient area based on the fitting function of the upper boundary of the complete tooth; Obtain personalized upper curve parameters, and based on the personalized upper curve parameters, combine the step size and the adjustment coefficient to obtain multiple upper color gradient areas; Filling the portion between the upper border and the upper color gradient area with the gingival margin color, filling each upper color gradient area with different colors between the gingival margin color and the body color, and completing the coloring of the remaining portion; The endpoint of the upper boundary line of the upper color gradient area is the intersection of the smile line and the upper boundary of the complete teeth. The endpoints of the lower boundary line of the upper color gradient area are the vertices of the left and right gingival papillae; Based on the personalized upper curve parameters, multiple upper color gradient areas and multiple lower color gradient areas are obtained by combining the step length and the adjustment coefficient, including: Along the upper boundary of the complete tooth, from the left end point of the upper boundary line of the upper color gradient area to the left end point of the lower boundary line, move to the left multiple times according to the step length to obtain the left end points of multiple upper partition lines, and from the right end point of the upper boundary line of the upper color gradient area to the right end point of the lower boundary line, move to the right multiple times according to the step length to obtain the right end points of each upper partition line; Determine target upper curve parameters for each upper partition line and upper and lower boundary lines of the upper color gradient area based on the adjustment coefficient and the personalized upper curve parameter; Based on target upper curve parameters of the upper and lower boundaries of the upper partition lines and the upper color gradient area, multiple sampling points of the upper and lower boundaries of the upper partition lines and the upper color gradient area are obtained respectively, and the upper and lower boundaries of the upper partition lines and the upper color gradient area are determined based on the obtained sampling points, and the area between each adjacent upper partition line and the area between the upper and lower boundaries of the upper color gradient area and the nearest upper partition line are taken as the upper color gradient area; Determining target upper curve parameters of upper partition lines and upper and lower boundary lines of upper color gradient areas based on the adjustment coefficients and personalized upper curve parameters includes: Calculate the total area of the complete tooth; Obtain the straight line L1R1 connected by the two endpoints of the upper boundary line of the upper color gradient area, calculate the area of the area enclosed by the upper boundary of the complete tooth and the straight line L1R1, and calculate the ratio to the total area as the area ratio of the upper boundary line η 1; Obtain the straight line MN formed by connecting the two endpoints of the lower boundary line of the upper color gradient area, calculate the area of the area enclosed by the upper boundary of the complete tooth and the straight line MN, and calculate the ratio to the total area as the area ratio of the lower boundary line. η n ; Get the straight line L connecting the two endpoints of each upper partition line k R k , calculate the value between the upper boundary of the complete tooth and the straight line L k R k The area of the enclosed area is calculated, and the ratio to the total area is used as the area ratio of each upper partition line. η k ; Calculate all area ratios η k The mean of : , Based on personalized upper curve parameters and mean η The ratio of determines the upper adjustment coefficient; Calculate the product of the upper adjustment coefficient and the area ratio of each upper partition line as the target upper curve parameter of each upper partition line, and calculate the product of the adjustment coefficient and the area ratio of the upper and lower boundary lines of the upper color gradient area as the target upper curve parameters of the upper and lower boundary lines of the upper color gradient area; Obtaining the personalized upper curve parameters includes: Obtaining the significant color change area of the abutment tooth, and dividing the significant color change area of the abutment tooth into an upper significant area and a lower significant area according to the line connecting the leftmost and rightmost endpoints of the complete tooth; Selecting a plurality of first significant points in the upper significant region, respectively calculating a longitudinal distance of each first significant point to the upper boundary, and calculating a first distance ratio of each first significant point based on the longitudinal distance of each first significant point to the upper boundary; The average of the first distance ratios of all first significant points is calculated as the personalized upper curve parameter.
2. A method for generating a digital gradient color restoration according to claim 1, characterized in that: The first distance ratio is: γ i = d 1 / d 2 in: γ i is the first distance ratio, d 1 is the vertical distance from the first significant point to the upper boundary, d 2 is the sum of the longitudinal distance from the first prominent point to the upper boundary and the longitudinal distance from the first prominent point to the lower boundary.
3. The method for generating a digital gradient color restoration according to claim 1, characterized in that: The color difference between adjacent upper color gradient areas is the same.
4. A digital gradient color restoration generating device, comprising a memory, a processor, and a program stored in the memory, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.
5. A storage medium having a program stored thereon, characterized in that: When the program is executed, the method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Dental prosthesis manufacturing system, dental prosthesis manufacturing method, and program
JP2022070463A
Customized coloration of dental restorations
WO2020154450A1
A method of generating digital tooth model with color texture information
CN112017280A
Method for displaying perspective area based on mixed reality technology in orthodontic treatment
CN112826615A