Three-dimensional scanning method, device, scanner and storage medium

By identifying the disease type in the oral 3D scanner and switching to the white light mode, the white light mode is used to avoid light absorption problems, improve the accuracy of the 3D reconstruction data, and solve the low data accuracy and brightness caused by the absorption of blue light in the existing technology. Darkness problem.

CN118319259BActive Publication Date: 2024-10-18SHINING 3D TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When existing oral 3D scanners use blue light, due to light absorption caused by gum bleeding, redness and swelling of the gums, dental plaque and other diseases, the accuracy of the obtained 3D reconstruction data is low and the image brightness is dark, making it difficult to scan accurately.

Method used

By identifying the disease type in the initial image, if it is a preset disease type, switch to white light mode, project multiple white stripe images, and collect the images with a black and white camera and a color camera for three-dimensional reconstruction. The white light is not easily affected by red, yellow, and black Object absorption ensures image brightness and data accuracy.

Benefits of technology

The accuracy of the three-dimensional reconstruction data is improved, the problem of dark image brightness caused by light absorption is avoided, and the integrity and accuracy of the three-dimensional reconstruction data obtained by the scanner are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118319259B_ABST
    Figure CN118319259B_ABST
Patent Text Reader

Abstract

The present application provides a three-dimensional scanning method, device, scanner and storage medium. The method includes: when the scanner is in the normal mode, acquiring an initial image of the target object; identifying the initial image to determine the type of disease of the target object; if the disease type is a preset disease type, switching the normal mode to the white light mode; controlling the projection device to project multiple white stripe images onto the target object in a time sequence, and controlling the image acquisition device to acquire multiple first images of the target object; based on the multiple first images, performing three-dimensional reconstruction of the target object to obtain three-dimensional reconstruction data of the target object. The above method can improve the integrity and accuracy of the acquired three-dimensional reconstruction data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of three-dimensional scanning technology, and in particular to a three-dimensional scanning method, device, scanner and storage medium. Background Art

[0002] In the field of intra-oral scanning technology, the enamel on the surface of teeth in the oral cavity has high reflectivity, transmitted light and diffused light. High reflectivity usually reduces the dynamic range of object imaging, and different viewing angles need to be used to avoid the impact of reflection on three-dimensional reconstruction. Transmitted light and diffused light will seriously reduce the overall signal-to-noise ratio of object imaging and reduce the intensity of light, and change the incident point of light, thereby affecting the depth information of three-dimensional reconstruction. It is currently known that blue light will inhibit the diffusion of enamel on the surface of teeth, and blue light has the best sensitivity. Existing oral scanners usually use blue light as the three-dimensional reconstruction light source. The structured light pattern obtained using blue light will have better contrast and signal-to-noise ratio, making the three-dimensional reconstruction data of the object more accurate and less noisy.

[0003] However, in actual applications, when acquiring three-dimensional reconstruction data of an object, the acquired object image is darker because blue light may be absorbed by other objects, resulting in poor integrity and low accuracy of the three-dimensional reconstruction data of the object acquired by the scanner. Summary of the invention

[0004] In view of the above, it is necessary to provide a three-dimensional scanning method, device, scanner and storage medium that can solve the technical problem that blue light may be absorbed by other objects, resulting in darker object images and low accuracy of three-dimensional reconstruction data of the object obtained by the scanner.

[0005] On the one hand, the present application proposes a three-dimensional scanning method, which is applied to a scanner, wherein the scanner includes a projection device and an image acquisition device, and the scanning modes of the scanner include a normal mode and a white light mode. The three-dimensional scanning method includes: when the scanner is in the normal mode, acquiring an initial image of a target object; identifying the initial image to determine the type of disease of the target object; if the disease type is a preset disease type, switching the normal mode to the white light mode; controlling the projection device to project a plurality of white stripe images onto the target object in a time sequence, and controlling the image acquisition device to acquire a plurality of first images of the target object; based on the plurality of first images, performing three-dimensional reconstruction of the target object to obtain three-dimensional reconstruction data of the target object.

[0006] In some embodiments of the present application, identifying the initial image to obtain the disease type of the target object includes: identifying the image type of the initial image; inputting the initial image into a pre-trained image recognition model corresponding to the image type to obtain the disease type of the target object.

[0007] In some embodiments of the present application, the target object is a tooth, and the image type includes a first type of image and a second type of image, the first type of image includes a preset first tooth area, and the second type of image includes a preset second tooth area.

[0008] In some embodiments of the present application, the image acquisition device includes a black and white camera and a color camera, and the three-dimensional reconstruction of the target object based on the multiple first images to obtain the three-dimensional reconstruction data of the target object includes: selecting at least one image acquired by the black and white camera from the multiple first images as a first reconstructed image; using other images of the multiple first images except the first reconstructed image as a first coded image, and the first coded image includes the image acquired by the color camera; based on the sequence of all white stripes in the first coded image, the first reconstructed image is three-dimensionally reconstructed to obtain the three-dimensional reconstruction data of the target object.

[0009] In some embodiments of the present application, the three-dimensional reconstruction of the first reconstructed image based on the sequence of all white stripes in the first encoded image to obtain the three-dimensional reconstruction data of the target object includes: performing three-dimensional reconstruction on the first reconstructed image based on the sequence of all white stripes to obtain the first three-dimensional data of the target object; obtaining the second three-dimensional data of the target object from the initial image; and obtaining the three-dimensional reconstruction data of the target object based on the first three-dimensional data and the second three-dimensional data.

[0010] In some embodiments of the present application, when the scanner is in normal mode, acquiring an initial image of the target object includes: controlling the projection device to project a color stripe image onto the target object, and controlling the image acquisition device to acquire multiple second images of the target object; selecting at least one image acquired by the black and white camera from the multiple second images as a second reconstructed image; using other images of the multiple second images except the second reconstructed image as second coded images, the second coded image including the image acquired by the color camera; performing three-dimensional reconstruction of the second reconstructed image based on the sequence of all stripes in the second coded image to acquire the initial image of the target object in the normal mode.

[0011] In some embodiments of the present application, the scanner also includes a lighting component, and the lighting component includes one or more of the following combinations: a white light lamp, an infrared lamp, and an ultraviolet lamp. The three-dimensional scanning method also includes: controlling the lighting component to irradiate the illumination light onto the target object, and acquiring texture data of the target object acquired by the image acquisition device; based on the three-dimensional reconstruction data of the target object and the texture data, acquiring color three-dimensional data of the target object.

[0012] On the other hand, the present application also proposes a three-dimensional scanning device, which runs on a scanner, wherein the scanner includes a projection device and an image acquisition device, and the scanning modes of the scanner include a normal mode and a white light mode. The three-dimensional scanning device includes: an acquisition module, which is used to acquire an initial image of the target object when the scanner is in the normal mode; an identification module, which is used to identify the initial image and determine the type of disease of the target object; a switching module, which is used to switch the normal mode to the white light mode if the disease type is a preset disease type; a control module, which is used to control the projection device to project multiple white stripe images onto the target object in a time sequence, and control the image acquisition device to acquire multiple first images of the target object; a three-dimensional reconstruction module, which is used to perform three-dimensional reconstruction of the target object based on the multiple first images to obtain three-dimensional reconstruction data of the target object.

[0013] On the other hand, the present application also proposes a scanner, which includes: a storage device storing computer-readable instructions; and a processor executing the computer-readable instructions stored in the storage device to implement a three-dimensional scanning method.

[0014] On the other hand, the present application also proposes a storage medium, in which computer-readable instructions are stored. The computer-readable instructions are executed by a processor in a scanner to implement a three-dimensional scanning method.

[0015] It can be seen from the above technical solutions that in the embodiment of the present application, by identifying the initial image of the target object and identifying the disease type of the target object as the preset disease type in the initial image, the scanner is switched to the white light mode. The projection device projects multiple white stripe images onto the target object in a time sequence. Since white light is not easily absorbed by red, yellow, black and other objects, the problem of dark brightness of the image of the target object acquired by the image acquisition device due to the absorption of blue light by red, yellow, black and other objects can be avoided, thereby ensuring the brightness of the image acquired by the image acquisition device and improving the accuracy of the acquired three-dimensional reconstruction data of the target object.

[0016] In some embodiments of the present application, by identifying whether the disease type of the target object in the initial image of the target object acquired by the scanner is a preset disease type, the scanning mode of the scanner is switched according to the identification result, thereby solving the technical problem of difficult scanning caused by the disease type of the target object being the preset disease type. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the structure of a scanner for implementing a three-dimensional scanning method provided in one embodiment of the present application.

[0018] Figure 2 It is a schematic diagram of the structure of a scanner for implementing a three-dimensional scanning method provided in another embodiment of the present application.

[0019] Figure 3 It is a flow chart of the three-dimensional scanning method provided in an embodiment of the present application.

[0020] Figure 4 It is a flowchart of obtaining an initial image of a target object provided in an embodiment of the present application.

[0021] Figure 5 This is a flow chart of a three-dimensional scanning method provided by another embodiment of the present application.

[0022] Figure 6 It is a functional module diagram of the three-dimensional scanning device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the attached images and specific embodiments.

[0024] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0025] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.

[0026] In the field of dental diagnosis and treatment, the enamel on the surface of teeth in the mouth has high reflectivity, transmitted light and diffused light. High reflectivity usually reduces the dynamic range of object imaging, and different viewing angles need to be used to avoid the impact of reflection on three-dimensional reconstruction. Transmitted light and diffused light will seriously reduce the overall signal-to-noise ratio of object imaging and reduce the intensity of light, and change the incident point of light, thereby affecting the depth information of three-dimensional reconstruction. It is currently known that blue light will inhibit the diffusion of enamel on the surface of teeth. Existing oral scanners usually use blue light as the light source for three-dimensional reconstruction. The structured light pattern obtained using blue light will have better contrast and signal-to-noise ratio, making the three-dimensional reconstruction data of the object more accurate and less noisy.

[0027] However, in actual applications, there are usually symptoms such as bleeding gums, swollen gums, and dental plaque inside the oral cavity. Therefore, in the process of three-dimensional reconstruction of the target object inside the cavity, the blue light with good performance may be absorbed by red, yellow, black and other objects. Therefore, the image captured by the scanner's image acquisition device is dark, resulting in low accuracy of the three-dimensional reconstruction data obtained by the scanner.

[0028] In order to improve the accuracy of the acquired three-dimensional reconstruction data, in some embodiments of the present application, by identifying the color texture image scanned by the scanner, and identifying areas such as bleeding gums, red and swollen gums, and dental plaque in the color texture image, the scanner is switched to white light mode for scanning. Since white light is not easily absorbed by red, yellow, black and other objects, the problem of dark brightness of the image captured by the image acquisition device of the scanner due to the absorption of blue light by red, yellow, black and other objects can be avoided, and the brightness of the image captured by the image acquisition device is ensured. At the same time, the technical problem of difficult scanning caused by bleeding gums, red and swollen gums, and dental plaque in the oral cavity is solved.

[0029] like Figure 1 , is a schematic diagram of the structure of a scanner for implementing a three-dimensional scanning method provided in one embodiment of the present application.

[0030] In an embodiment of the present application, the three-dimensional scanning method is applied to one or more scanners 1. The scanner 1 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored computer-readable instructions. Its hardware includes but is not limited to a microprocessor, an application-specific integrated circuit (ASIC), a programmable gate array (FPGA), a digital signal processor (DSP), an embedded device, etc.

[0031] The network where the scanner 1 is located includes, but is not limited to: the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (VPN), etc.

[0032] In the embodiment of the present application, the scanner 1 includes, but is not limited to, a storage device 12, a processor 13, and computer-readable instructions stored in the storage device 12 and executable on the processor 13, such as a three-dimensional scanning program.

[0033] Those skilled in the art will understand that the schematic diagram is merely an example of the scanner 1 and does not constitute a limitation of the scanner 1. The scanner 1 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the scanner 1 may also include input and output devices, network access devices, buses, etc.

[0034] The processor 13 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or a processor or any conventional processor, etc. The processor 13 is the computing core and control center of the scanner 1, and uses various interfaces and lines to connect various parts of the entire scanner 1, and execute the operating system of the scanner 1 and various installed applications, program codes, etc.

[0035] The storage device 12 may be an external storage device and / or an internal storage device of the scanner 1. Furthermore, the storage device 12 may be a storage device in a physical form, such as a memory stick, a TF card (Trans-flash Card), and the like.

[0036] like Figure 2 , is a schematic diagram of the structure of a scanner for implementing a three-dimensional scanning method provided in another embodiment of the present application.

[0037] In some embodiments of the present application, the scanner 1 further includes a projection device 21 and an image acquisition device 22, and the scanning mode of the scanner 1 includes a normal mode and a white light mode. In actual applications, if the user determines or the scanner automatically recognizes that there is no bleeding gums, swollen gums, dental plaque, and other symptoms in the oral cavity, the scanning mode of the scanner is switched to the normal mode; if the user determines or the scanner automatically recognizes that there is bleeding gums, swollen gums, dental plaque, and other symptoms in the oral cavity, the scanning mode of the scanner is switched to the white light mode.

[0038] In some embodiments of the present application, if the scanner 1 scans in the normal mode, the projection device 21 is used to project a color stripe image onto the target object, wherein the color stripe image may include blue stripes and pure color stripes of other colors. The color stripe image may also include stripes of other colors besides blue.

[0039] In some embodiments of the present application, since different colors of light have different diffusion and light transmittance on the tooth surface, the present embodiment can be set to different values ​​based on the width of each stripe in the color stripe image according to the actual application environment, for example, the width of the blue stripe is set to N pixels, the width of the red stripe is set to M pixels, and the width of the green stripe is set to X pixels. By setting the width of stripes of different colors to different pixels, the diffusion performance of the red, green and blue colors on the target object can be adjusted, the mutual interference between the stripes of each color can be reduced, and the extraction accuracy of each color stripe can be improved.

[0040] In some embodiments of the present application, if the scanner 1 scans in white light mode, the projection device 21 is used to project white stripe images onto the target object in a time sequence, wherein there may be multiple white stripe images with different projection times and projection positions.

[0041] In some embodiments of the present application, the projection device 21 may include a DLP projector, wherein the DLP projector adopts a digital light processing projection technology (Digital Light Procession, DLP), and uses a digital micromirror device as a main key processing element to implement a digital light processing process. Through the DLP projector, a high-contrast image can be obtained. The projection device 21 may also use other projection devices that can obtain high-contrast images, which is not limited in this embodiment.

[0042] In other embodiments of the present application, the pixel size of the projection device 21 can be set to 7um to 8um, and the digital micromirror device in the projection device can have a maximum built-in 2048X1152 array. For example, the digital micromirror device projects a fringe image onto a single tooth (about 15mm), and the single pixel size that can be obtained is about 7.3um. In this embodiment, by setting a smaller pixel size, the interference between adjacent fringe images projected onto the teeth can be reduced.

[0043] In some embodiments of the present application, the image acquisition device 22 is used to acquire multiple first images of the target object. Specifically, the image acquisition device 22 is used to acquire the stripe image modulated by the surface of the target object when the projection device 21 projects the stripe image onto the target object, and determine each stripe sequence based on the acquired stripe image as a coding image, and perform three-dimensional reconstruction of the target object as a reconstruction image. Among them, the stripe image modulated on the surface of the target object means that when the projection device 21 projects the stripe image onto the target object, the stripes in the stripe image are affected by the characteristic information of the surface of the target object and the image acquisition device 22 is used to acquire the stripe information after the change to obtain the stripe image. The stripe image may include a white stripe image or a color stripe image, and the projection device projects different stripe images based on different scanning modes.

[0044] In some embodiments of the present application, the image acquisition device 22 includes a black and white camera 221 and a color camera 222. The black and white camera 221 may include a CCD black and white camera, and the color camera 222 may include a CCD color camera, which is not limited in this embodiment.

[0045] In some embodiments of the present application, if the scanner 1 scans in white light mode, the projection device 21 is used to project multiple white stripe images onto the target object in time sequence. It is assumed that the image acquisition device includes a CCD black and white camera and a CCD color camera. The CCD black and white camera can acquire multiple white stripe images at different times and different positions, and the CCD color camera can also acquire multiple white stripe images at different times and different positions. The white stripe images acquired by the CCD color camera or the CCD black and white camera are used to identify and match the sequence codes of each white stripe. Then, according to the obtained sequence codes of each white stripe and the multiple white stripe images acquired by the CCD black and white camera, a three-dimensional reconstruction algorithm and a stitching and fusion algorithm are performed to construct a three-dimensional model of the target object.

[0046] In some embodiments of the present application, if the scanner 1 scans in normal mode, the projection device 21 is used to project a color stripe image onto the target object, and the color stripe image includes multiple colors or colors, for example, it can be a monochrome stripe image of blue and red, green and other colors, or it can be a color image; assuming that the image acquisition device includes a CCD black and white camera and a CCD color camera, the CCD black and white camera can acquire a stripe image containing a single color of blue, and the CCD color camera can acquire a blue stripe image and a red stripe image, the blue stripe image and the red stripe image acquired by the CCD color camera are used to identify and match the sequence codes of each blue stripe, and then according to the obtained sequence codes of each blue stripe and the stripe image acquired by the CCD black and white camera, a three-dimensional reconstruction algorithm and a stitching and fusion algorithm are performed to construct a three-dimensional model of the target object.

[0047] In some embodiments of the present application, by controlling the projection device 21 to project an image onto the target object, and the image acquisition device 22 to acquire the image of the target object, three-dimensional modeling of the target object is achieved without the need for other hardware devices, thereby solving the problem of high hardware cost and difficulty in promotion in related technologies.

[0048] In some embodiments of the present application, a filter of a specified color (not shown in the figure) may be provided in front of the CCD black and white camera. For example, a blue filter is provided in front of the CCD black and white camera, and the CCD black and white camera can capture a blue stripe image. In this embodiment, the color of the filter provided in front of the CCD black and white camera can be set according to actual scanning requirements, and this embodiment is not limited here.

[0049] In some embodiments of the present application, by setting a filter of a specified color in front of a CCD black-and-white camera, stripe images of various colors can be flexibly collected.

[0050] In some other optional embodiments, no filter may be provided in front of the CCD black-and-white camera, and this embodiment does not limit this.

[0051] In some embodiments of the present application, the scanner 1 further includes an illuminator 23. The illuminator 23 is used to irradiate illuminator light onto the target object. The illuminator 23 includes one or more of the following combinations: a white light illuminator, an infrared illuminator, and an ultraviolet illuminator. For example, the white light illuminator may include a white light LED illuminator or a white light LD illuminator; infrared and ultraviolet light can generally be used to enhance the identification of dental diseases such as caries, calculus, plaque, and pigmentation.

[0052] In some embodiments of the present application, when the scanner 1 is scanning, the target object is illuminated by the lighting element, and the acquisition device 22 can acquire texture data that is consistent with or basically consistent with the actual color of the target object based on the illumination light, thereby ensuring the authenticity of the acquired texture image of the target object, thereby improving the accuracy of the acquired three-dimensional reconstruction data of the target object.

[0053] Combination Figures 3 to 5 The storage device 12 in the scanner 1 stores computer-readable instructions, and the processor 13 can execute the computer-readable instructions stored in the storage device 12 to implement the following Figures 3 to 5 The three-dimensional scanning method shown.

[0054] like Figure 3 , which is a flow chart of a three-dimensional scanning method provided by an embodiment of the present application. The three-dimensional scanning method is applied to a scanner (e.g. Figure 1 and Figure 2 In the scanner 1), according to different requirements, the order of the steps in the flowchart can be changed and some steps can be omitted.

[0055] S301, when the scanner is in a normal mode, acquiring an initial image of a target object.

[0056] In some embodiments of the present application, in the field of dental diagnosis and treatment, a scanner is used to obtain an image of teeth in the oral cavity for treatment. However, the enamel on the surface of the teeth is highly reflective, transmits light, and diffuses light. In actual application, it may be impossible to obtain an image of the target object, resulting in the inability to perform diagnosis and treatment. In this embodiment, the target object is scanned when the scanner is in normal mode to obtain an initial image of the target object. For example, the target object includes teeth, etc., and the scanner scans the tooth area in normal mode to obtain an initial image of the teeth.

[0057] S302, identifying the initial image to determine the disease type of the target object.

[0058] In some embodiments of the present application, when the scanner scans the target object, the target object may have symptoms such as bleeding gums, swollen gums, dental plaque, etc., so the initial image needs to be identified to determine the disease type of the target object. In this embodiment, the absence of symptoms also belongs to the disease type, which can also be determined after image recognition.

[0059] In some embodiments of the present application, identifying the initial image to obtain the disease type of the target object includes: identifying the image type of the initial image; inputting the initial image into a pre-trained image recognition model corresponding to the image type to obtain the disease type of the target object.

[0060] In some embodiments of the present application, the target object is a tooth, and the image type includes a first type of image and a second type of image, the first type of image includes a preset first tooth region, and the second type of image includes a preset second tooth region.

[0061] In some embodiments of the present application, the preset first tooth region may include a preset proportion of the tooth root region. Specifically, the preset proportion may be set to the proportion of the tooth root region to the initial image region. For example, the preset proportion may be set to 2 / 3. This embodiment is not limited thereto. The preset first tooth region may be used to determine whether the gums are bleeding or red and swollen.

[0062] In some embodiments of the present application, the preset second tooth area may include areas between teeth, in front of teeth, behind teeth, etc., and whether there is dental plaque on the teeth can be determined through the preset second tooth area.

[0063] In some embodiments of the present application, each pixel point in the initial image is identified, the initial image is segmented according to the each pixel point, and after the contour area representing the teeth is obtained, the tooth area included in the initial image is determined according to the contour area of ​​the teeth. If the contour area includes a preset first tooth area, the image type of the initial image is determined to be a first type of image. If the contour area includes a preset second tooth area, the image type of the initial image is determined to be a second type of image.

[0064] In some embodiments of the present application, an image recognition model can be trained according to the first category of images and the second category of images, respectively. Specifically, the training process of the image recognition model corresponding to the first category of images includes: obtaining a first historical image set and a second historical image set including a preset first tooth area, wherein the teeth in each first historical image in the first historical image set are normal, and the teeth in each second historical image in the second historical image set are abnormal, for example, the tooth abnormality includes, but is not limited to, bleeding gums or swollen gums, etc.; performing feature extraction on each first historical image in the first historical image set to obtain a first feature set, and performing feature extraction on each second historical image in the second historical image set to obtain a second feature set. , wherein the first feature set includes shape features, color features, etc. of a preset first tooth area of ​​normal teeth, and the second feature set includes shape features, color features, etc. of a preset first tooth area of ​​abnormal teeth; the first feature set and the second feature set are determined as sample sets; the sample set is divided into a training set and a test set according to a preset ratio; the training set is input into a preset neural network for training to obtain an image recognition model; the test set is input into the image recognition model for testing, and the test pass rate is calculated; if the test pass rate is greater than or equal to a preset pass rate threshold, it is determined that the image recognition model training is completed; if the test pass rate is less than the preset pass rate threshold, the number of training sets is increased, and the image recognition model is retrained.

[0065] In some embodiments of the present application, based on a first historical image set and a second historical image set including a preset first tooth area, a preset neural network is trained to obtain an image recognition model, and the image recognition model is used to recognize the initial image, so that the disease type of the target object in the initial image can be quickly identified, thereby improving the recognition rate of the disease type of the target object.

[0066] In some embodiments of the present application, a third historical image set and a fourth historical image set including a preset second tooth region are obtained, wherein the teeth in each first historical image in the third historical image set are normal, and the teeth in each fourth historical image in the fourth historical image set are abnormal, for example, the tooth abnormality includes, but is not limited to, the presence of dental plaque, tooth cavities, etc. on the teeth. An image recognition model corresponding to the second type is trained based on the third historical image set and the fourth historical image set including the preset second tooth region. Specifically, the training process of the image recognition model corresponding to the second type is similar to the training process of the image recognition model corresponding to the first type, and this embodiment will not be described in detail herein.

[0067] In some embodiments of the present application, since the first type of image and the second type of image correspond to different tooth regions, the corresponding diseases are also different. Specifically, the first type of image is mainly for diseases such as bleeding gums or swollen gums of teeth in the oral cavity, and the second type of image is mainly for diseases such as dental plaque and cavities of teeth in the oral cavity. By inputting the initial image into a pre-trained image recognition model corresponding to the image type to identify the disease type of the corresponding target object, the recognition rate of the disease type of the target object is further improved.

[0068] S303: Determine whether the disease type of the target object is a preset disease type.

[0069] In some embodiments of the present application, the disease type may be preset. For example, the disease type may include, but is not limited to, bleeding gums, red and swollen gums, dental plaque, tooth holes, etc. Specifically, this embodiment is not limited here.

[0070] In some embodiments of the present application, after obtaining the disease type of the target object, it is necessary to determine whether the initial image is of a preset disease type, and then determine whether to switch the scanning mode based on the determination result.

[0071] S304: If the disease type is a preset disease type, the normal mode is switched to the white light mode.

[0072] In some embodiments of the present application, if the disease type is a preset disease type, it is determined that the teeth in the oral cavity may have bleeding gums, swollen gums, and dental plaque. If the current scanning mode is the normal mode, since blue light is easily absorbed by red, yellow, and black objects, the brightness of the image in the oral cavity obtained by the scanner's image acquisition device will be dim, and ultimately the scanner will be unable to obtain the three-dimensional reconstruction data of the target object, so it is necessary to switch to the white light mode.

[0073] In some embodiments of the present application, if the disease type is not a preset disease type, step S301 is executed.

[0074] In some embodiments of the present application, when it is determined that the disease type is not a preset disease type, it is determined that the target object does not have bleeding gums, swollen gums, dental plaque, and there is no problem of blue light being absorbed by red, yellow, black and other objects. If the white light mode is used, the image brightness of the target object acquired by the image acquisition device of the scanner may be too bright, resulting in the scanner being unable to obtain three-dimensional reconstruction data of the target object. At this time, the scanner continues to scan in normal mode without switching the scanning mode of the scanner; the disease type of the target object determined based on the recognition result can be determined by the scanner itself, or it can be determined manually after the scanner recognizes and analyzes it. According to the disease type, the scanner automatically switches or manually switches.

[0075] S305, controlling the projection device to project a plurality of white stripe images onto the target object in a time sequence, and controlling the image acquisition device to acquire a plurality of first images of the target object.

[0076] In some embodiments of the present application, if the target object includes teeth, the scanner is in white light mode, the projection device projects a plurality of white stripe images onto the teeth in a time sequence, so that the white stripe images change accordingly based on the shape of the tooth surface, and the image acquisition device can acquire the white stripe images that have changed accordingly to obtain a plurality of first images.

[0077] In some embodiments of the present application, since the projection device projects multiple white stripe images onto the target object in a time sequence, the multiple white stripe images projected onto the target object have time differences and position differences. In this embodiment, three-dimensional reconstruction of the target object can be achieved based on the time differences and position differences of the white stripe images.

[0078] S306: Perform three-dimensional reconstruction on the target object based on the multiple first images to obtain three-dimensional reconstruction data of the target object.

[0079] In some embodiments of the present application, the image acquisition device includes a black and white camera and a color camera, and based on multiple first images, a target object is three-dimensionally reconstructed to obtain the three-dimensional reconstruction data of the target object, including: selecting at least one image acquired by the black and white camera from the multiple first images as a first reconstructed image; using other images in the multiple first images except the first reconstructed image as first coded images, the first coded images including images acquired by the color camera; based on the sequence of all white stripes in the first coded image, the first reconstructed image is three-dimensionally reconstructed to obtain the three-dimensional reconstruction data of the target object.

[0080] In some embodiments of the present application, the multiple first images include white stripe images captured by a black and white camera and white stripe images captured by a color camera. When performing three-dimensional reconstruction of the target object, at least one white stripe image captured by the black and white camera is used as the first reconstructed image, and the white stripe image captured by the color camera is used as the first coded image. Specifically, the black and white camera can capture multiple white stripe images at different times and locations, and the color camera can also capture multiple white stripe images at different times and locations. The white stripe images captured by the color camera are used to identify and match the sequence codes of each white stripe, and then a three-dimensional reconstruction algorithm and a stitching and fusion algorithm are performed based on the obtained sequence codes of each white stripe and the multiple white stripe images captured by the black and white camera to construct a three-dimensional model of the target object.

[0081] In some other optional embodiments, at least one white stripe image captured by a black-and-white camera is used as a first reconstructed image, and other white stripe images captured by a black camera and white stripe images captured by a color camera except the first reconstructed image are used as a first coded image. The sequence codes of each white stripe are identified and matched through the first coded image, and then a three-dimensional reconstruction algorithm and a stitching and fusion algorithm are performed based on the obtained sequence codes of each white stripe and the first reconstructed image to construct a three-dimensional model of the target object.

[0082] In some embodiments of the present application, when performing three-dimensional reconstruction, the coding information and feature points in all white stripe images captured by the image acquisition device are obtained through the first coded image, the sequence of all white stripes is determined according to the coding information and the feature points, and the first reconstructed image is three-dimensionally reconstructed according to the sequence of all white stripes, thereby obtaining three-dimensional reconstruction data of the target object.

[0083] In some embodiments of the present application, a projection device projects multiple white stripe images in a time sequence onto a target object, utilizing the advantage that white light is not easily absorbed by red, yellow, black and other objects to ensure the brightness of the acquired stripe image, thereby solving the problem in the related art of being unable to acquire three-dimensional reconstruction data of the target object due to the dim brightness of the acquired image, and improving the accuracy of the acquired three-dimensional reconstruction data of the target object.

[0084] In some embodiments of the present application, based on the sequence of all white stripes in the first encoded image, the first reconstructed image is three-dimensionally reconstructed to obtain the three-dimensional reconstruction data of the target object, including: based on the sequence of all white stripes, the first reconstructed image is three-dimensionally reconstructed to obtain the first three-dimensional data of the target object; the second three-dimensional data of the target object is obtained from the initial image; based on the first three-dimensional data and the second three-dimensional data, the three-dimensional reconstruction data of the target object is obtained.

[0085] In some embodiments of the present application, a 3D reconstruction scheme may be preset, and the first reconstructed image may be 3D reconstructed based on the sequence of all white stripes by the preset 3D reconstruction scheme. For example, the 3D reconstruction scheme may include, but is not limited to, a stereoscopic vision method, a structured light method, a multi-view geometry method, deep learning, etc. This embodiment is not limited here. Specifically, the 3D reconstruction of the first reconstructed image using a preset 3D reconstruction scheme is a related technology, which is not described in detail in this embodiment.

[0086] In some embodiments of the present application, the first three-dimensional data represents the three-dimensional data of the target object acquired by the scanner in the white light mode, and the second three-dimensional data represents the three-dimensional data of the target object acquired by the scanner in the normal mode.

[0087] In an embodiment of the present application, by splicing the three-dimensional data of the target object in normal mode and the three-dimensional data in white light mode, the amount of data for three-dimensional reconstruction of the target object is increased, the accuracy of the reconstructed target object is ensured, and the accuracy of obtaining the three-dimensional reconstruction data of the target object is further improved.

[0088] In some embodiments of the present application, by identifying an initial image of the target object and identifying in the initial image that the disease type of the target object is a preset disease type, the scanner is switched to white light mode. The projection device projects multiple white stripe images onto the target object in a time sequence. Since white light is not easily absorbed by red, yellow, black and other objects, the problem of dark brightness of the image of the target object acquired by the image acquisition device due to the absorption of blue light by red, yellow, black and other objects can be avoided, thereby ensuring the brightness of the image acquired by the image acquisition device and improving the accuracy of the acquired three-dimensional reconstruction data of the target object.

[0089] In some embodiments of the present application, by identifying whether the disease type of the target object in the initial image of the target object acquired by the scanner is a preset disease type, the scanning mode of the scanner is switched according to the identification result, thereby solving the technical problem of difficult scanning caused by the disease type of the target object being the preset disease type.

[0090] like Figure 4 Shown is a flowchart of obtaining an initial image of a target object provided in an embodiment of the present application.

[0091] S401, controlling the projection device to project the color stripe image onto the target object, and controlling the image acquisition device to acquire a plurality of second images of the target object.

[0092] In some embodiments of the present application, the color stripe image may include blue stripes and pure color stripes of other colors. The color stripe image may also include color stripes containing blue. When the scanner scans in normal mode, the projection device projects the color stripe image onto the target object, and the image acquisition device can acquire the stripe images corresponding to all colors projected by the projection device to obtain a plurality of second images, wherein the plurality of second images include at least one blue stripe image.

[0093] In some embodiments of the present application, the image acquisition device includes a black and white camera and a color camera, and the multiple second images include stripe images acquired by the black and white camera and stripe images acquired by the color camera, wherein the stripe images acquired by the black camera include at least one blue stripe image, and the stripe images acquired by the color camera include stripe images of all colors in the color stripe image.

[0094] S402: Select at least one image captured by a black and white camera from a plurality of second images as a second reconstructed image.

[0095] S403: Use the other images among the plurality of second images except the second reconstructed image as second coded images, where the second coded images include images captured by a color camera.

[0096] In some embodiments of the present application, when performing three-dimensional reconstruction of the target object, at least one blue stripe image captured by a black and white camera is used as a second reconstructed image, and the stripe image captured by a color camera and the stripe image captured by a black and white camera are used as second encoded images.

[0097] S404: Perform three-dimensional reconstruction on the second reconstructed image based on the sequence of all stripes in the second encoded image to obtain an initial image of the target object in the common mode.

[0098] In some embodiments of the present application, the second coded image is used to identify and match the sequence codes of each stripe, and then the second reconstructed image is subjected to a three-dimensional reconstruction algorithm and a stitching and fusion algorithm based on the obtained sequence codes of each stripe to construct a three-dimensional model of the target object and obtain the initial image of the target object in the normal mode.

[0099] like Figure 5 , which is a flow chart of a three-dimensional scanning method provided by an embodiment of the present application. The three-dimensional scanning method is applied to a scanner (e.g. Figure 1 and Figure 2 In the scanner 1), according to different requirements, the order of the steps in the flowchart can be changed and some steps can be omitted.

[0100] S501, when the scanner is in a normal mode, acquiring an initial image of a target object.

[0101] S502, identifying the initial image to determine the disease type of the target object.

[0102] S503: If the disease type is a preset disease type, the normal mode is switched to the white light mode.

[0103] S504, controlling the projection device to project a plurality of white stripe images onto the target object in a time sequence, and controlling the image acquisition device to acquire a plurality of first images of the target object.

[0104] S505: Perform three-dimensional reconstruction on the target object based on the multiple first images to obtain three-dimensional reconstruction data of the target object.

[0105] Steps S501 to S505 of this embodiment are similar to steps S301 to S306 of the above-mentioned embodiment, and are not described again here to avoid repetition.

[0106] S506: Acquire texture data of the target object acquired by the image acquisition device based on the illumination light irradiated onto the target object by the illumination element.

[0107] S507, acquiring color three-dimensional data of the target object based on the three-dimensional reconstruction data and texture data of the target object.

[0108] In some embodiments of the present application, the target object is illuminated by a lighting element, so that the image acquisition device can acquire texture data of the target object, and the acquired texture data is substantially consistent or identical to the texture data of the target object.

[0109] In other embodiments of the present application, the lighting element may illuminate the target object at preset intervals, and the lighting element may also illuminate the target object according to actual applications, which is not limited in this embodiment.

[0110] In some embodiments of the present application, texture data obtained when the target object is illuminated by a lighting device and three-dimensional reconstruction data of the target object obtained when the target object is not illuminated by a lighting device are spliced ​​to obtain color three-dimensional data of the target object, thereby further improving the accuracy of the obtained three-dimensional reconstruction data of the target object.

[0111] like Figure 6 , which is a functional module diagram of a three-dimensional scanning device provided in an embodiment of the present application. The three-dimensional scanning device 11 runs on a scanner, and the scanner runs a storage device, and the storage device includes multiple storage units. The three-dimensional scanning device 11 includes an acquisition module 110, an identification module 111, a switching module 112, a control module 113, and a three-dimensional reconstruction module 114. The module / unit referred to in the present application refers to a series of computer-readable instruction segments that can be acquired by the processor 13 and can complete fixed functions, which are stored in the storage device 12.

[0112] The acquisition module 110 is used to acquire an initial image of the target object when the scanner is in the normal mode.

[0113] The recognition module 111 is used to recognize the initial image and determine the disease type of the target object.

[0114] The switching module 112 is used to switch the normal mode to the white light mode if the disease type is a preset disease type.

[0115] The control module 113 is used to control the projection device to project a plurality of white stripe images onto the target object in a time sequence, and to control the image acquisition device to acquire a plurality of first images of the target object.

[0116] The three-dimensional reconstruction module 114 is used to perform three-dimensional reconstruction on the target object based on the multiple first images to obtain three-dimensional reconstruction data of the target object.

[0117] If the module / unit integrated in the scanner 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also instruct the relevant hardware to complete it through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage medium. When the computer-readable instructions are executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented.

[0118] The computer-readable instructions include computer-readable instruction codes, which may be in source code form, object code form, executable files or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying computer-readable instruction codes, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM).

[0119] The storage device 12 can be used to store computer-readable instructions and / or modules. The processor 13 implements various functions of the scanner 1 by running or executing the computer-readable instructions and / or modules stored in the storage device 12 and calling the data stored in the storage device 12. The storage device 12 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, a picture playback function, etc.), etc.; the data storage area can store data created according to the use of the scanner, etc. The storage device 12 can include non-volatile and volatile storage devices, such as: a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other storage devices.

[0120] Exemplarily, the computer-readable instructions may be divided into one or more modules / units, one or more modules / units are stored in the storage device 12, and are executed by the processor 13 to complete the present application. One or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, and the computer-readable instruction segments are used to describe the execution process of the computer-readable instructions in the scanner 1. For example, the computer-readable instructions may be divided into an acquisition module 110, a recognition module 111, a switching module 112, a control module 113, and a three-dimensional reconstruction module 114.

[0121] For details on the functions of each module / unit, please refer to the above Figure 3-Figure 5 The detailed description is not repeated here.

[0122] In some embodiments of the present application, by identifying an initial image of the target object and identifying in the initial image that the disease type of the target object is a preset disease type, the scanner is switched to white light mode. The projection device projects multiple white stripe images onto the target object in a time sequence. Since white light is not easily absorbed by red, yellow, black and other objects, the problem of dark brightness of the image of the target object acquired by the image acquisition device due to the absorption of blue light by red, yellow, black and other objects can be avoided, thereby ensuring the brightness of the image acquired by the image acquisition device and improving the accuracy of the acquired three-dimensional reconstruction data of the target object.

[0123] In some embodiments of the present application, by identifying whether the disease type of the target object in the initial image of the target object acquired by the scanner is a preset disease type, the scanning mode of the scanner is switched according to the identification result, thereby solving the technical problem of difficult scanning caused by the disease type of the target object being the preset disease type.

[0124] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

[0125] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0127] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present application is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any attached figure mark in the claims should not be regarded as limiting the claims involved.

[0128] In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any specific order.

Claims

1. A three-dimensional scanning method, applied to a scanner, characterized in that: The scanner includes a projection device and an image acquisition device, the scanning mode of the scanner includes a normal mode and a white light mode, and the three-dimensional scanning method includes: When the scanner is in the normal mode, acquiring an initial image of a target object; Recognize the initial image to determine the disease type of the target object; If the disease type is a preset disease type, the normal mode is switched to the white light mode, wherein the preset disease type includes at least one of bleeding gums, swollen gums, dental plaque, tooth cavities, or blue light being absorbed by red, yellow, and black objects; Controlling the projection device to project the white stripe image onto the target object in a time sequence, and controlling the image acquisition device to acquire a plurality of first images of the target object; Based on the multiple first images, the target object is three-dimensionally reconstructed to obtain three-dimensional reconstruction data of the target object.

2. The three-dimensional scanning method according to claim 1, characterized in that: The identifying the initial image to obtain the disease type of the target object includes: identifying an image type of the initial image; The initial image is input into a pre-trained image recognition model corresponding to the image type to obtain the disease type of the target object.

3. The three-dimensional scanning method according to claim 2, characterized in that: The target object is a tooth, and the image type includes a first type of image and a second type of image. The first type of image includes a preset first tooth region, and the second type of image includes a preset second tooth region.

4. The three-dimensional scanning method according to claim 1, characterized in that: The image acquisition device includes a black and white camera and a color camera, and the three-dimensional reconstruction of the target object based on the multiple first images to obtain the three-dimensional reconstruction data of the target object includes: Selecting at least one image captured by the black-and-white camera from the plurality of first images as a first reconstructed image; taking the other images among the plurality of first images except the first reconstructed image as first coded images, wherein the first coded images include images acquired by the color camera; Based on the sequence of all white stripes in the first coded image, three-dimensional reconstruction is performed on the first reconstructed image to obtain three-dimensional reconstruction data of the target object.

5. The three-dimensional scanning method according to claim 4, characterized in that: The performing three-dimensional reconstruction on the first reconstructed image based on the sequence of all white stripes in the first coded image to obtain three-dimensional reconstruction data of the target object comprises: Performing three-dimensional reconstruction on the first reconstructed image based on the sequence of all white stripes to obtain first three-dimensional data of the target object; Acquire second three-dimensional data of the target object from the initial image; Based on the first three-dimensional data and the second three-dimensional data, three-dimensional reconstruction data of the target object is obtained.

6. The three-dimensional scanning method according to claim 4, characterized in that: When the scanner is in the normal mode, acquiring an initial image of the target object includes: Controlling the projection device to project the color stripe image onto the target object, and controlling the image acquisition device to acquire a plurality of second images of the target object; Selecting at least one image captured by the black and white camera from the plurality of second images as a second reconstructed image; taking the other images among the plurality of second images except the second reconstructed image as second coded images, where the second coded images include images acquired by the color camera; The second reconstructed image is three-dimensionally reconstructed based on a sequence of all stripes in the second coded image to obtain an initial image of the target object in the normal mode.

7. The three-dimensional scanning method according to claim 1, characterized in that: The scanner further includes an illuminator, and the illuminator includes one or more of the following combinations: a white light illuminator, an infrared illuminator, and an ultraviolet illuminator. The three-dimensional scanning method further includes: Controlling the lighting element to irradiate the illumination light onto the target object, and acquiring texture data of the target object acquired by the image acquisition device; Based on the three-dimensional reconstruction data of the target object and the texture data, color three-dimensional data of the target object is acquired.

8. A three-dimensional scanning device, characterized in that: The scanner is operated on a scanner, the scanner includes a projection device and an image acquisition device, the scanning mode of the scanner includes a normal mode and a white light mode, and the three-dimensional scanning device includes: an acquisition module, configured to acquire an initial image of a target object when the scanner is in the normal mode; A recognition module, used to recognize the initial image and determine the disease type of the target object; a switching module, for switching the normal mode to the white light mode if the disease type is a preset disease type, wherein the preset disease type includes at least one of bleeding gums, red and swollen gums, dental plaque, tooth cavities, or absorption of blue light by red, yellow, and black objects; A control module, used to control the projection device to project a plurality of white stripe images onto the target object in a time sequence, and to control the image acquisition device to acquire a plurality of first images of the target object; The three-dimensional reconstruction module is used to perform three-dimensional reconstruction on the target object based on the multiple first images to obtain three-dimensional reconstruction data of the target object.

9. A scanner, characterized in that: The scanner comprises: a storage device storing computer-readable instructions; and A processor executes the computer-readable instructions stored in the storage device to implement the three-dimensional scanning method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium stores computer-readable instructions, and the computer-readable instructions are executed by a processor in the scanner to implement the three-dimensional scanning method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Image acquisition and processing method and device for three-dimensional scanning and three-dimensional scanning equipment

    CN109584352A