Method and apparatus for determining tooth color, and device and medium
Obtaining high-resolution tooth data through image acquisition and three-dimensional scanning technology solves the problem of tooth color determination errors, achieves more accurate tooth color parameter extraction, and improves the accuracy of tooth processing.
Patent Information
- Application Number
- PCT/CN2024/077939
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-10
- Filing Date
- 2024-02-21
- Publication Date
- 2024-09-19
AI Technical Summary
In the existing technology, tooth color determination relies on manual experience and is limited by light and doctor experience, resulting in large color comparison errors and inability to accurately obtain tooth color information.
Preset image acquisition equipment and three-dimensional data scanning equipment are used to obtain high-resolution tooth pictures and three-dimensional data. The display interface responds to user operations to determine the color parameters of the tooth area and reduce errors.
It improves the accuracy of tooth color parameters, improves the accuracy of tooth processing such as tooth preparation, and reduces errors that rely on manual experience.
Smart Images

Figure CN2024077939_19092024_PF_FP_ABST
Abstract
Description
Method, device, equipment and medium for determining tooth color
[0001] This disclosure claims priority to Chinese patent application number 2023102343607, filed with the China Patent Office on March 10, 2023, entitled “Method, device, apparatus and medium for determining tooth color,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present disclosure relates to the field of three-dimensional digitization, and in particular to a method, device, equipment and medium for determining tooth color. Background Art
[0003] With the development of dental technology, people are paying more and more attention to their teeth. Among them, since the color of teeth is one of the important indicators affecting the beauty of teeth, the color of teeth has important reference significance for the manufacture of dental restorations, etc. Therefore, determining the color of teeth has become a mainstream demand.
[0004] In the related art, the color of teeth is determined by using a color comparison card. For example, the color comparison card is placed next to the teeth in the mouth, and the doctor uses the experience of the doctor to compare and judge the color numbers one by one with the naked eye to determine the color information of the teeth.
[0005] However, the above method of relying on manual experience to judge tooth color information is limited by lighting conditions and doctor's experience, and colorimetric errors always exist, resulting in inaccurate determined tooth color.
[0006] Summary of the Invention
[0007] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a method, device, equipment and medium for determining tooth color.
[0008] An embodiment of the present disclosure provides a method for determining tooth color, the method comprising the following steps: photographing a target oral cavity by a preset image acquisition device to obtain an original tooth image, and scanning the target oral cavity by a preset three-dimensional data scanning device to obtain three-dimensional tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the three-dimensional tooth data is less than a preset error threshold; displaying the three-dimensional tooth data on a first display interface, and determining a triggering tooth area corresponding to the triggering operation in response to a triggering operation on the three-dimensional tooth data; and determining a first original tooth color parameter corresponding to the triggering tooth area in the original tooth image.
[0009] An embodiment of the present disclosure also provides a device for determining tooth color, the device comprising: a shooting module, used to shoot a target oral cavity through a preset image acquisition device to obtain an original tooth image, wherein the image resolution of the original tooth image is greater than a preset resolution threshold; a scanning module, used to scan the target oral cavity through a preset three-dimensional data scanning device to obtain three-dimensional tooth data, wherein the data color error of the three-dimensional tooth data is less than a preset error threshold; a display module, used to display the three-dimensional tooth data on a first display interface; a first determination module, used to determine, in response to a trigger operation on the three-dimensional tooth data, a triggered tooth area corresponding to the trigger operation; and a second determination module, used to determine a first original tooth color parameter corresponding to the triggered tooth area in the original tooth image.
[0010] An embodiment of the present disclosure also provides an electronic device, comprising: a processor; a memory for storing instructions executable by the processor; the processor for reading the executable instructions from the memory and executing the instructions to implement the method for determining tooth color as provided in the embodiment of the present disclosure.
[0011] The embodiment of the present disclosure further provides a computer-readable storage medium, which stores a computer program for executing the method for determining tooth color provided by the embodiment of the present disclosure.
[0012] The technical solution provided by the embodiments of the present disclosure has the following advantages over the prior art:
[0013] The tooth color determination scheme provided by the embodiment of the present disclosure uses a preset image acquisition device to photograph a target oral cavity to obtain an original tooth image, and uses a preset three-dimensional data scanning device to scan the target oral cavity to obtain three-dimensional tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the three-dimensional tooth data is less than a preset error threshold. Then, the three-dimensional tooth data is displayed on a first display interface, and in response to a triggering operation on the three-dimensional tooth data, a triggering tooth area corresponding to the triggering operation is determined, and a first original tooth color parameter corresponding to the triggering tooth area is determined in the original tooth image. As a result, the accuracy of the extracted tooth color parameters is improved, which helps to improve the accuracy of tooth preparation and other dental treatments based on the tooth color parameters.
[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0016] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0017] FIG1 is a flow chart of a method for determining tooth color provided by an embodiment of the present disclosure;
[0018] FIG2 is a schematic diagram of a tooth color determination scenario provided by an embodiment of the present disclosure;
[0019] FIG3 is a flow chart of another method for determining tooth color provided by an embodiment of the present disclosure;
[0020] FIG4 is a schematic diagram of another tooth color determination scenario provided by an embodiment of the present disclosure;
[0021] FIG5 is a schematic structural diagram of a device for determining tooth color provided by an embodiment of the present disclosure;
[0022] FIG6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0024] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0025] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0026] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0027] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0028] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0029] In order to solve the above problems, an embodiment of the present disclosure provides a method for determining tooth color.
[0030] The method is described below with reference to specific embodiments.
[0031] FIG1 is a flow chart of a method for determining tooth color provided by an embodiment of the present disclosure. The method can be executed by a tooth color determination device, wherein the device can be implemented using software and / or hardware and can generally be integrated into an electronic device. As shown in FIG1 , the method includes:
[0032] Step 101: photograph the target oral cavity using a preset image acquisition device to obtain an original tooth image, and scan the target oral cavity using a preset three-dimensional data scanning device to obtain three-dimensional tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the three-dimensional tooth data is less than a preset error threshold.
[0033] The original tooth image of the target oral cavity is the original tooth image of the teeth initially collected, and the three-dimensional tooth data is the three-dimensional scanning data of the teeth in the target oral cavity, including depth information of the teeth.
[0034] In one embodiment of the present disclosure, in order to ensure the image accuracy of the original tooth image and the accuracy of the tooth three-dimensional data, different advantageous devices are used to respectively obtain the original tooth image and the tooth three-dimensional data, so as to avoid the problem of error accumulation caused by a single device synchronously obtaining the original tooth image and the tooth three-dimensional data (for example, although the intraoral scanner can synchronously obtain tooth three-dimensional data and tooth two-dimensional images, the intraoral scanner usually has low resolution performance, resulting in the low resolution of the collected tooth two-dimensional image, etc.).
[0035] In this embodiment, a preset image acquisition device is used to photograph the target oral cavity to obtain an original dental image, wherein the image resolution of the original dental image is greater than a preset resolution threshold, i.e., the original dental image is a high-resolution image. The preset image acquisition device can be a high-resolution camera device, such as a single-lens reflex camera or a mobile phone with tens of millions of pixels. In this embodiment, a preset 3D data scanning device is also used to scan the target oral cavity to obtain 3D dental data, wherein the color error of the 3D dental data is less than a preset error threshold, i.e., the 3D dental data has high accuracy. Alternatively, the preset 3D data scanning device can be a high-precision intraoral scanner, etc., wherein the intraoral scanner utilizes an immersive optical scanning head to directly scan the patient's oral cavity. Using the principle of structured light triangulation imaging, a digital projection system is used to project an active light pattern onto the teeth, gums, mucosa, etc. within the oral cavity. After the camera acquisition system acquires the pattern, it performs 3D reconstruction and splicing through algorithmic processing to obtain 3D dental data.
[0036] During the actual implementation process, taking into account the influence of light, in order to further improve the accuracy of the original tooth image and tooth three-dimensional data of the target mouth, before obtaining the original tooth image and tooth three-dimensional data of the target mouth, the target mouth is also filled with light according to the preset color temperature, wherein the uniformity of the light source at each position of the target mouth after filling is greater than the preset uniformity threshold, which ensures that the fill light at each position of the target mouth is relatively uniform.
[0037] In some possible embodiments, multiple white LEDs in a ring configuration can be used. While ensuring light source uniformity (the uniformity of the light source at each location in the target oral cavity after fill-in illumination exceeds a preset uniformity threshold), the light source should also meet standard light standards as closely as possible. The preset color temperature can be 6500K, or D65 for short. Standard light, as defined by the International Commission on Illumination, is stable and unaffected by factors such as season, time of day, and climate, making it an essential device for color science research.
[0038] Step 102: Display the three-dimensional tooth data on the first display interface, and in response to a triggering operation on the three-dimensional tooth data, determine a triggering tooth area corresponding to the triggering operation.
[0039] In one embodiment of the present disclosure, to facilitate user selection of teeth, three-dimensional tooth data may be displayed on the first display interface, and in response to a trigger operation on the three-dimensional tooth data, a triggering tooth region corresponding to the triggering operation may be determined. The user may perform the triggering operation using a finger or a device such as a stylus pen.
[0040] Step 103: Determine a first original tooth color parameter corresponding to the triggering tooth area in the original tooth image.
[0041] In one embodiment of the present disclosure, a first original tooth color parameter corresponding to a triggered tooth area is determined in the original tooth image, wherein the first original tooth color parameter includes but is not limited to the hue, chroma, brightness, etc. of the tooth (for example, RGB color information can be determined in the original tooth image, and the first original tooth color parameter can be extracted based on the RGB color information, etc.).
[0042] Among them, in some possible embodiments, in order to further improve the intuitiveness of the display, the first original tooth color parameters can also be synchronously displayed on the first display interface, and the selected trigger tooth area can be selected by prompting, etc. The selection prompt can be displayed in a highlighted manner or with a guide line, etc.
[0043] For example, as shown in Figure 2, the original tooth picture and tooth three-dimensional data of the target mouth are displayed on the first display interface. In response to the triggering operation of the tooth three-dimensional data, the triggering tooth area A corresponding to the triggering operation is determined, and the first original tooth color parameter of A is obtained as a according to the original tooth picture. Then, the first original tooth color parameter a is directly displayed on the first display interface.
[0044] When determining the first original tooth color parameter corresponding to the triggered tooth area in the original tooth image, determine the coordinate transformation relationship between the original tooth image and the tooth three-dimensional data, and then obtain the triggering three-dimensional point of the triggered tooth area, determine the target pixel point corresponding to the triggering three-dimensional point in the original tooth image based on the triggering three-dimensional point and the coordinate transformation relationship, and determine the first original tooth color parameter of the target pixel point in the original tooth image.
[0045] The coordinate transformation relationship is used to achieve the mapping between the original tooth image and the three-dimensional tooth data. It should be noted that in different application scenarios, the method of determining the coordinate transformation relationship is different. The examples are as follows:
[0046] In some possible embodiments, multiple reference pixel points are obtained in the original tooth image, and multiple reference three-dimensional points that match the multiple reference pixel points are determined in the tooth three-dimensional data, wherein the reference pixel point and the corresponding reference three-dimensional point belong to the same point on the tooth, and the matching method of the multiple reference pixel points and the reference three-dimensional point can be implemented according to a feature matching algorithm, etc.
[0047] Furthermore, the two-dimensional coordinates of each reference pixel point and the three-dimensional coordinates of the corresponding reference three-dimensional point are obtained, and the coordinate transformation relationship is determined according to the two-dimensional coordinates and the three-dimensional coordinates. Based on this coordinate transformation relationship, the three-dimensional coordinate position of the two-dimensional pixel point in the original tooth image in the three-dimensional tooth data can be determined.
[0048] In some possible embodiments, the intrinsic and extrinsic parameters of the camera used to take the original tooth image may also be obtained, and the coordinate transformation relationship may be determined based on the intrinsic and extrinsic parameters of the camera and the triangle theorem.
[0049] Of course, in the actual implementation process, the scale invariant feature transformation matching algorithm (Scale Invariant Feature Transform, SIFT), the local feature point detection algorithm (Speeded Up Robust Feature, SURF), the image feature description algorithm (Binary Robust Invariant Scalable Keypoints, BRISK), etc. can also be used to determine the coordinate transformation relationship.
[0050] Among them, the first original tooth color parameters obtained above can meet the processing requirements for teeth in relevant scenarios. For example, in one embodiment of the present disclosure, in order to facilitate the manufacture of restorations according to tooth color numbers, etc., a convenient reading of tooth color numbers can also be achieved based on the first original tooth color parameters obtained above. Among them, the tooth color number can be understood as information describing the color of the tooth that is set in advance according to relevant standards. Each tooth color number is determined according to its corresponding tooth color parameter. Different tooth color numbers correspond to different tooth color parameters. Usually, a tooth color comparison card is set according to relevant standards, such as a 24-level tooth color comparison card, etc. The tooth color comparison card contains multiple tooth color numbers. Finally, the tooth color number is determined based on the standard tooth color parameter corresponding to each tooth color number in the tooth color comparison card and the matching result of the first original tooth parameter.
[0051] In this embodiment, after obtaining the original tooth image and tooth three-dimensional data of the target mouth, the first original color number viewing operation of the triggered tooth area is obtained. The viewing operation can be performed by voice or by triggering the relevant color number viewing control, etc.
[0052] In some optional embodiments, the teeth can be sorted in advance according to a preset sorting rule, for example, the teeth can be sorted from top to bottom and from left to right to determine the order of teeth that triggers the tooth area, and the first original tooth color parameter corresponding to the tooth order is determined in the original tooth image. Further, the first original tooth color number of the triggered tooth area is determined according to the first original tooth color parameter. For example, the first original tooth color parameter can be input into a pre-trained tooth color number recognition model to obtain the first original tooth color number of the triggered tooth area, or the first original tooth color number can be identified by a preset recognition algorithm, etc. This digital method of obtaining tooth color numbers reduces the problem of color mismatch after the restoration tooth is processed due to the dentist's reliance on experience and visual errors to determine the tooth color number. Furthermore, the first original tooth color number is displayed on the first display interface. Therefore, without the need to construct a tooth model based on the original tooth image and tooth three-dimensional data, it is convenient for the user to know the original tooth color number in real time, which provides convenience for scene requirements based on the original tooth color number.
[0053] For example, continuing with the scenario shown in Figure 2, the second original tooth color number of A obtained according to the first original tooth color parameter is b, and the first original tooth color parameter A and the first original tooth color number b are displayed on the first display interface, thereby achieving that when the operator clicks on a certain position of the tooth three-dimensional data, the software automatically picks up the corresponding point on the original tooth image and gives the corresponding hue, chroma, brightness and other first original tooth color parameters, so that the operator can obtain the first original tooth color number of the tooth position in real time as a reference for subsequent tooth treatment.
[0054] In summary, the method for determining tooth color in the embodiment of the present disclosure uses a preset image acquisition device to photograph a target oral cavity to obtain an original tooth image, and uses a preset three-dimensional data scanning device to scan the target oral cavity to obtain three-dimensional tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the three-dimensional tooth data is less than a preset error threshold. Then, the three-dimensional tooth data is displayed on a first display interface, and in response to a triggering operation on the three-dimensional tooth data, a triggering tooth area corresponding to the triggering operation is determined, and a first original tooth color parameter corresponding to the triggering tooth area is determined in the original tooth image. As a result, the accuracy of the extracted tooth color parameters is improved, which helps to improve the accuracy of tooth preparation and other dental treatments based on tooth color parameters.
[0055] Based on the above embodiment, a three-dimensional model of teeth beautification can also be constructed in a three-dimensional model format, which facilitates users to understand the teeth beautification effects from multiple angles and improves the intuitiveness of the teeth beautification effect display. Among them, beautification treatment includes but is not limited to whitening treatment, brightening treatment, etc.
[0056] That is, in one embodiment of the present disclosure, as shown in FIG3 , the method further includes:
[0057] Step 301: In response to an operation of acquiring a beautified three-dimensional tooth model, beautify the original tooth image to acquire a beautified tooth image.
[0058] In one embodiment of the present disclosure, a user's acquisition operation on a teeth beautification three-dimensional model is obtained. For example, the user's voice operation information can be obtained. When the voice operation information contains the keyword "beautification effect", it is considered that an acquisition operation on the teeth beautification three-dimensional model is obtained. For example, a display control of the teeth beautification three-dimensional model can be displayed on a visual operation interface. When a trigger operation of the display control by the user is detected, it is considered that a display operation on the teeth beautification three-dimensional model is obtained.
[0059] When the beautified teeth three-dimensional model is obtained, the original teeth image is beautified to obtain the beautified teeth image after the beautification process.
[0060] For example, when the beautification process is whitening, in order to meet the user's need to view the teeth whitening effect, the original teeth picture can be whitened to obtain a whitened teeth picture after the whitening process, wherein the teeth color of the whitened teeth picture after the whitening process is whiter than that of the original teeth picture.
[0061] Step 302: Map the beautified teeth image to the three-dimensional teeth data to obtain a beautified three-dimensional teeth model.
[0062] In one embodiment of the present disclosure, the beautified tooth image can be mapped to the tooth three-dimensional data to obtain a tooth beautification three-dimensional model. In some possible embodiments, the beautified tooth image can be mapped to the tooth three-dimensional data to obtain the tooth beautification three-dimensional model based on a predetermined coordinate transformation relationship between the original tooth image and the tooth three-dimensional data. Since the beautified tooth image is obtained by beautification processing based on the original tooth image, the coordinate transformation relationship between the original tooth image and the tooth three-dimensional data can be regarded as the coordinate transformation relationship between the beautified tooth image and the tooth three-dimensional data.
[0063] In some possible embodiments, a texture matching algorithm (such as SIFT, SURF, BRISK, FREAK, ORB, etc.) can also be used to map the three-dimensional tooth data and the beautified tooth image based on texture features to obtain a beautified tooth three-dimensional model.
[0064] In order to make the process of obtaining the beautified tooth image clearer to those skilled in the art, the beautification processing is used as an example to illustrate the whitening processing. In one embodiment of the present disclosure, the original tooth image is beautified to obtain the beautified tooth image, including: extracting the second original tooth color parameters of each tooth in the original tooth image, and determining the second original tooth color number of each tooth based on the second original tooth color parameters, wherein the second original tooth color parameters include but are not limited to the hue, chroma, and brightness of the teeth (for example, RGB color information can be determined in the original tooth image, and the second original tooth color parameters can be extracted based on the RGB color information).
[0065] Then, a standard tooth shade number corresponding to each tooth is obtained, and standard tooth parameters corresponding to the standard tooth shade number are determined. The standard tooth shade number can be understood as an ideal whitened tooth shade number. The standard tooth parameters corresponding to the standard tooth shade number are determined. The standard tooth parameters correspond to the first original tooth color parameters, including but not limited to the hue, chroma, and lightness of the tooth.
[0066] In one embodiment of the present disclosure, teeth whose standard tooth color number is inconsistent with the corresponding first original tooth color number are determined to be teeth to be whitened, that is, whitening treatment is not performed on every tooth, but only teeth whose standard tooth color number is inconsistent with the second original tooth color number are determined to be teeth to be whitened, thereby avoiding the problem of "false white" caused by excessive tooth whitening.
[0067] Among them, in different application scenarios, the method of determining the standard tooth color number corresponding to each tooth is different. In some possible embodiments, the original tooth image is mapped to the tooth three-dimensional data to obtain the original tooth three-dimensional model, and the original tooth three-dimensional model is displayed on a preset second display interface. The preset second display interface can be a user interaction interface provided by the software, and the whitened tooth three-dimensional model is displayed on the preset second display interface, so that the user can intuitively view the effect of tooth whitening in three-dimensional form.
[0068] In response to obtaining a whitening operation on the first tooth on the second display interface, a plurality of preset candidate tooth color number images are displayed on the second display interface, wherein the plurality of preset subsequent tooth color number images can visually and intuitively display the visual effect of each tooth color number. Furthermore, in response to obtaining a determination operation on the target tooth color number in the plurality of preset candidate tooth color number images, the target tooth color number is determined to be the standard tooth color number, thereby realizing the user's personalized definition of the tooth whitening effect and meeting the personalized tooth whitening needs.
[0069] In this embodiment, if the user's whitening operation on the second tooth on the second display interface is not obtained, the skin color information corresponding to the target mouth is obtained, and the standard tooth color number of the second tooth is determined based on the skin color information, that is, the standard tooth color number can be determined based on the skin color information. For example, a preset database can be queried to determine the standard tooth color number of the second tooth corresponding to the skin color information, further ensuring the natural feeling of tooth whitening.
[0070] In some possible embodiments, the standard tooth color numbers of all teeth may be determined directly based on the user's skin color information, thereby improving the efficiency of teeth whitening.
[0071] Furthermore, the teeth to be whitened are whitened according to standard tooth parameters to obtain a whitened teeth picture after the whitening process, so that the relevant teeth in the whitened teeth picture meet the user's demand for teeth whitening and improve the teeth whitening effect.
[0072] In some possible embodiments, in order to facilitate users to compare the whitening effects more intuitively, a 3D model of the original teeth before whitening may be constructed, and the 3D model of the original teeth and the 3D model of the whitened teeth may be compared and displayed.
[0073] In this embodiment, a comparison operation of the whitening effect is obtained, wherein the comparison operation can be implemented by triggering a preset whitening comparison control, etc. In response to obtaining the whitening effect comparison operation, the original tooth image is mapped to the tooth three-dimensional data according to the coordinate transformation relationship to obtain the original tooth three-dimensional model. Since the original tooth three-dimensional model is obtained by mapping the original tooth image without whitening processing, the original tooth three-dimensional model can be regarded as a model of the teeth before whitening. In this embodiment, the original tooth model is also displayed on the second display interface.
[0074] As shown in FIG4 , in addition to the original teeth 3D model, the whitened teeth 3D model is also displayed on the second display interface, thereby facilitating the comparison of teeth whitening effects. The figure only shows the left-right distribution of the original teeth 3D model and the whitened teeth 3D model. In actual application, the original teeth 3D model and the whitened teeth 3D model can be distributed in any direction, such as up and down, without limitation.
[0075] In one embodiment of the present disclosure, in order to further enhance the intuitiveness of viewing the teeth beautification effect, an instruction for adjusting the display angle of the teeth beautification 3D model can also be obtained. This adjustment instruction can be input via voice, or can be implemented by triggering the angle adjustment control of the prepared teeth 3D model preset on the second display interface, or can be implemented by dragging the teeth beautification 3D model displayed on the second display interface to achieve angle adjustment, etc. In this embodiment, in response to obtaining the display angle adjustment instruction for the teeth beautification 3D model, the adjusted target display angle is determined, and then the teeth beautification 3D model and the original teeth 3D model are displayed according to the target display angle. This further enhances the intuitiveness of the user's viewing of the teeth beautification effect. The user can understand the teeth beautification effect from multiple angles and simultaneously adjust the display angle of the prepared teeth 3D model and the original teeth 3D model, thereby enhancing the intuitiveness of comparing the teeth beautification effects.
[0076] In summary, the tooth color determination method of the disclosed embodiment performs beautification processing on an original tooth image to obtain a beautified tooth image after beautification processing. Furthermore, the coordinate transformation relationship between pixels in the beautified tooth image and 3D points in the 3D tooth data is determined. Based on the coordinate transformation relationship, the beautified tooth image is mapped onto the 3D tooth data to obtain a beautified 3D tooth model. The beautified 3D tooth model is then displayed on a preset first display interface. Thus, a beautified 3D tooth model after beautification processing is constructed, facilitating an intuitive display of the beautified effect of the teeth from various angles after beautification processing.
[0077] In order to implement the above embodiment, the present disclosure also proposes a device for determining tooth color.
[0078] FIG5 is a schematic diagram of the structure of a tooth color determination device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. As shown in FIG5 , the device includes: a shooting module 510, a scanning module 520, a display module 530, a first determination module 540 and a second determination module 550, wherein:
[0079] The photographing module 510 is configured to photograph the target oral cavity using a preset image acquisition device to obtain an original tooth image, wherein the image resolution of the original tooth image is greater than a preset resolution threshold;
[0080] A scanning module 520 is configured to scan a target oral cavity using a preset three-dimensional data scanning device to obtain three-dimensional data of teeth, wherein a color error of the three-dimensional data of the teeth is less than a preset error threshold;
[0081] Display module 530, for displaying three-dimensional tooth data on a first display interface;
[0082] A first determining module 540 is configured to determine a triggering tooth region corresponding to the triggering operation in response to a triggering operation on the three-dimensional tooth data;
[0083] The second determining module 550 is configured to determine a first original tooth color parameter corresponding to a triggering tooth region in the original tooth image.
[0084] The tooth color determination device provided in the embodiment of the present disclosure can execute the tooth color determination method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method, which will not be repeated here.
[0085] In order to implement the above embodiments, the present disclosure further proposes a computer program product, including a computer program / instruction, which implements the method for determining tooth color in the above embodiments when executed by a processor.
[0086] FIG6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
[0087] 6 , which illustrates a schematic diagram of the structure of an electronic device 600 suitable for implementing embodiments of the present disclosure. The electronic device 600 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG6 is merely an example and should not limit the functionality or scope of use of the embodiments of the present disclosure.
[0088] As shown in Figure 6, electronic device 600 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a memory 608 into a random access memory (RAM) 603. Various programs and data required for the operation of electronic device 600 are also stored in RAM 603. Processor 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0089] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows the electronic device 600 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0090] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the memory 608, or installed from the ROM 602. When the computer program is executed by the processor 601, the above-mentioned functions defined in the method for obtaining a prepared tooth model of the embodiment of the present disclosure are performed.
[0091] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0092] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0093] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0094] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0095] The target oral cavity is photographed using a preset image acquisition device to obtain an original tooth image, and the target oral cavity is scanned using a preset 3D data scanning device to obtain 3D tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the 3D tooth data is less than a preset error threshold. The 3D tooth data is then displayed on a first display interface, and in response to a triggering operation on the 3D tooth data, a triggering tooth region corresponding to the triggering operation is determined, and a first original tooth color parameter corresponding to the triggering tooth region is determined in the original tooth image. This improves the accuracy of the extracted tooth color parameters, which helps to improve the accuracy of tooth preparation and other dental treatments based on the tooth color parameters.
[0096] The electronic device may write computer program code for performing the operations of the present disclosure in one or more programming languages, or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0097] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0098] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0099] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and 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 chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0100] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can 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.
[0101] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0102] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0103] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
[0104] The tooth color determination method provided by the present disclosure can improve the accuracy of extracted tooth color parameters and has strong industrial applicability.
Claims
1. A method for determining tooth color, characterized in that: The following steps are involved: The target oral cavity is photographed by a preset image acquisition device to obtain an original tooth image, and the target oral cavity is scanned by a preset three-dimensional data scanning device to obtain three-dimensional tooth data, wherein the image resolution of the original tooth image is greater than a preset resolution threshold, and the data color error of the three-dimensional tooth data is less than a preset error threshold; Displaying the three-dimensional tooth data on a first display interface, and in response to a triggering operation on the three-dimensional tooth data, determining a triggering tooth area corresponding to the triggering operation; A first original tooth color parameter corresponding to the triggering tooth region is determined in the original tooth image.
2. The method according to claim 1, characterized in that The method further comprises: A first original tooth color number of the triggering tooth area is determined according to the first original tooth color parameter.
3. The method according to claim 1 or 2, characterized in that Before photographing the target oral cavity by a preset image acquisition device to obtain the original tooth image, the method further includes: The target oral cavity is subjected to fill-in light processing according to a preset color temperature, wherein the uniformity of the light source at each position of the target oral cavity after the fill-in light processing is greater than a preset uniformity threshold.
4. The method according to any one of claims 1 to 3, characterized in that: The determining of the first original tooth color parameter corresponding to the triggering tooth area in the original tooth image includes: Determine the coordinate transformation relationship between the original tooth image and the three-dimensional tooth data; Acquire a triggering three-dimensional point of the triggering tooth area, and determine a target pixel point corresponding to the triggering three-dimensional point in the original tooth image according to the triggering three-dimensional point and the coordinate transformation relationship; The first original tooth color parameter of the target pixel is determined in the original tooth image.
5. The method according to any one of claims 1 to 4, characterized in that: The determining of the coordinate transformation relationship between the original tooth image and the tooth three-dimensional data includes: Acquire multiple reference pixel points in the original tooth image; Determining a plurality of reference three-dimensional points matching the plurality of reference pixel points in the three-dimensional tooth data; Obtaining the two-dimensional coordinates of each of the reference pixel points, and obtaining the three-dimensional coordinates of each of the reference three-dimensional points; The coordinate conversion relationship is determined according to the two-dimensional coordinates and the three-dimensional coordinates.
6. The method according to any one of claims 1 to 5, characterized in that: Also includes: In response to the acquisition operation of acquiring the teeth beautification three-dimensional model, beautification processing is performed on the original teeth image to obtain a beautified teeth image; The beautified teeth image is mapped to the teeth three-dimensional data to obtain a teeth beautification three-dimensional model.
7. The method according to any one of claims 1 to 6, characterized in that: The step of mapping the beautified teeth image to the teeth three-dimensional data to obtain a teeth beautification three-dimensional model comprises: According to a predetermined coordinate conversion relationship between the original tooth image and the tooth three-dimensional data, the beautified tooth image is mapped to the tooth three-dimensional data to obtain a tooth beautification three-dimensional model.
8. The method according to any one of claims 1 to 7, characterized in that: In the case where the beautification process is whitening process, the beautification process is performed on the original tooth image to obtain a beautified tooth image, including: Extracting a second original tooth color parameter of each tooth in the original tooth image, and determining a second original tooth color number of each tooth according to the second original tooth color parameter; Obtaining a standard tooth color number corresponding to each tooth, and determining a standard tooth parameter corresponding to the standard tooth color number; Determine that the teeth whose standard tooth shade number is inconsistent with the corresponding second original tooth shade number are teeth to be whitened; The teeth to be whitened are whitened according to the standard tooth parameters to obtain a whitened teeth image after the whitening treatment.
9. The method according to any one of claims 1 to 8, characterized in that: The step of obtaining a standard tooth color number corresponding to each tooth comprises: Mapping the original tooth image to the tooth three-dimensional data to obtain an original tooth three-dimensional model, and displaying the original tooth three-dimensional model on a preset second display interface; In response to obtaining a whitening operation of the user on the first tooth on the second display interface, displaying a plurality of preset candidate tooth color number images; In response to obtaining a determination operation of a target tooth shade in the plurality of preset candidate tooth shade images, the target tooth shade is determined to be the standard tooth shade.
10. The method according to any one of claims 1 to 9, characterized in that: The step of obtaining the standard tooth color number corresponding to each tooth further includes: In response to not obtaining the whitening operation processing of the second tooth by the user on the second display interface, obtaining skin color information corresponding to the target oral cavity; The standard tooth color number of the second tooth is determined according to the skin color information.
11. The method according to any one of claims 1 to 10, characterized in that: Also includes: In response to obtaining the whitening effect comparison operation, the original three-dimensional tooth model and the corresponding whitened tooth model are displayed on the second display interface.
12. The method according to any one of claims 1 to 11, characterized in that: Also includes: In response to obtaining a display angle adjustment instruction for the teeth beautification three-dimensional model, determining an adjusted target display angle; The teeth beautification three-dimensional model and the original teeth three-dimensional model are displayed according to the target display angle.
13. A device for determining tooth color, characterized in that: include: A shooting module, used for shooting a target oral cavity through a preset image acquisition device to obtain an original tooth image, wherein the image resolution of the original tooth image is greater than a preset resolution threshold; A scanning module, used for scanning the target oral cavity by a preset three-dimensional data scanning device to obtain three-dimensional data of teeth, wherein a data color error of the three-dimensional data of teeth is less than a preset error threshold; A display module, used for displaying the three-dimensional tooth data on a first display interface; A first determining module, configured to determine, in response to a triggering operation on the three-dimensional tooth data, a triggering tooth region corresponding to the triggering operation; The second determination module is used to determine a first original tooth color parameter corresponding to the triggering tooth area in the original tooth image.
14. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the executable instructions to implement the method for determining tooth color as described in any one of claims 1-12.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is used to execute the method for determining tooth color according to any one of claims 1 to 12.
Citation Information
Patent Citations
Tooth color recognition method and device based on image processing and processing equipment
CN115482399A
Patient-specific three-dimensional dentition model
US20080057478A1
Dental shade matching for multiple anatomical regions
US20220110729A1
Method, apparatus and system for automated tooth shade analysis and matching
US6328567B1
Tooth position analysis device, tooth region extraction model generation method, tooth position analysis method, program, and recording medium
WO2020218560A1
Cited By
Method, device and equipment for determining tooth color
CN119887953A
