Three-dimensional scanning method and three-dimensional scanning device

By projecting structured light of different frequencies and evaluating image quality, the problem of data accuracy of 3D scanning devices on highly reflective or highly absorbent materials is solved, achieving higher scanning quality and ease of operation.

CN118424152BActive Publication Date: 2024-09-03SHINING 3D TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410901861.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-03
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

When existing 3D scanning devices deal with highly reflective or highly light-absorbing materials, it is difficult to accurately obtain 3D data on the object surface, causing the image sensor to be saturated or the brightness to be too low, resulting in errors in scanning results and deterioration in accuracy, and complicated operations.

Method used

By projecting structured light of different frequencies and acquiring multiple scanned images, we compare the image quality, select images that meet the preset requirements to construct three-dimensional point cloud data, and use sub-structured light of different frequencies to evaluate and adjust brightness parameters to adapt to the area to be measured. Material.

Benefits of technology

It improves the accuracy and scanning quality of 3D point cloud data construction, simplifies the operation process, and enhances the adaptability and accuracy of the 3D scanning device for multi-material materials.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118424152B
    Figure CN118424152B
Patent Text Reader

Abstract

The present application provides a three-dimensional scanning method and a three-dimensional scanning device, the three-dimensional scanning method comprising: projecting structured light onto a region to be measured, and obtaining multiple scanned images, wherein the multiple scanned images respectively record structured light of different brightness projected onto the region to be measured; comparing the multiple scanned images, and selecting a scanned image with better quality of recorded structured light; constructing three-dimensional point cloud data of the surface of the region to be measured according to the selected scanned image; wherein the structured light comprises at least two sub-structured lights of different frequencies, and the step of constructing three-dimensional point cloud data of the surface of the region to be measured according to the selected scanned image comprises: evaluating the quality of each sub-structured light, and selecting a sub-structured light that meets the preset requirements to construct three-dimensional point cloud data. The three-dimensional scanning method provided by the present application is conducive to adaptively adapting to regions to be measured of different materials.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a three-dimensional scanning method and a three-dimensional scanning device using the three-dimensional scanning method. Background Art

[0002] With the high-quality development of industry, the proportion of parts with complex structures and diverse materials is increasing. Differences in color, roughness, texture, etc. on the surface of objects with high brightness, strong reflection, strong absorption and other materials lead to differences in surface reflection performance. When scanning parts in three dimensions, if the structured light is projected onto a strong reflective material, the brightness of the light after the mirror reflection is too high, which will cause the camera image sensor to saturate, thereby losing the light information in the highlight area. On the other hand, if the structured light is projected onto a strong light-absorbing material, due to the low reflectivity of the surface of the object being measured, the brightness of the reflected light will be too low, which will lead to problems such as incorrect scanning result data, loss of details, and deterioration of accuracy. At present, the three-dimensional scanning device can only be manually replaced by the user according to the different materials or the brightness parameters of the three-dimensional scanning device can be repeatedly adjusted, resulting in complicated operation. In addition, since the frequency of the structured light is fixed, it may be impossible to scan when dealing with materials that can absorb light of a specific frequency. Summary of the invention

[0003] On one hand, the present application provides a three-dimensional scanning method, comprising:

[0004] Projecting the structured light onto the area to be tested, and acquiring a plurality of scanned images, wherein the plurality of scanned images respectively record the structured light of different brightness projected onto the area to be tested;

[0005] comparing the plurality of scanned images, and selecting the scanned image that records the structured light with better quality;

[0006] Constructing three-dimensional point cloud data of the surface of the area to be measured according to the selected scanned image;

[0007] Wherein, the structured light includes at least two sub-structured lights of different frequencies, and the step of constructing three-dimensional point cloud data of the surface of the area to be measured according to the selected scanning image includes: evaluating the quality of each of the sub-structured lights, and selecting the sub-structured lights that meet the preset requirements to construct the three-dimensional point cloud data.

[0008] The three-dimensional scanning method provided in the embodiment of the present application can select the scanning image that is suitable for the surface material of the area to be measured in real time by comparing the scanning images that record structured light of different brightness, thereby improving the accuracy of the construction of the three-dimensional point cloud data, which is beneficial to improving the quality of the three-dimensional scanning. By using sub-structured light of different frequencies to illuminate the surface of the area to be measured, the quality of the scanning image corresponding to the sub-structured light of different frequencies can be evaluated, so as to select the sub-structured light that meets the requirements to construct the scanning image, which is beneficial to improve the accuracy of the construction of the three-dimensional point cloud data, and then improve the quality of the three-dimensional scanning. By collaboratively comparing the brightness of the structured light in the scanning image and the frequency between different sub-structured lights, the parameters that are most suitable for the material of the area to be measured can be obtained, thereby improving the quality of the three-dimensional scanning.

[0009] In one embodiment, the pattern formed by the structured light projection includes multiple laser lines; the step of evaluating the quality of each sub-structured light in the scanned image includes: optimizing the scanned image, and using one or more combinations of the laser distribution center of gravity, the laser gradient jump area, and the second-order derivative zero point to calculate the center of each laser line; comprehensively calculating the brightness, edge sharpness, symmetry, and width of the laser line to obtain the quality weight of the sub-structured light corresponding to each laser line, and performing quality evaluation on the sub-structured light according to the quality weight.

[0010] In one embodiment, the step of acquiring a plurality of scanned images specifically includes: changing the brightness of the structured light, and respectively acquiring the scanned images corresponding to the structured light of different brightness.

[0011] In one embodiment, the step of acquiring a plurality of scanned images specifically includes: using different camera exposure times or camera gain adjustments to respectively obtain the scanned images of the structured light with different brightness.

[0012] In one embodiment, the pattern formed by the structured light projection includes a plurality of laser lines, and the steps of comparing the plurality of scanned images and selecting the scanned image with better quality of the recorded structured light specifically include: comparing one or more combinations of the brightness of the laser line, the degree of slight overexposure of the brightness of the central pixel of the laser line, the difference in brightness between the laser line and the background, and the width of the laser line.

[0013] In one embodiment, the pattern formed by the structured light projection includes grating stripes, and the step of comparing the multiple scanned images and selecting the scanned image with better quality of the recorded structured light specifically includes: comparing one or more combinations of the clarity of the scanned image, the contrast of the grating stripes, and the amount of overexposure of the white area of ​​the grating stripes.

[0014] In one embodiment, the surface of the area to be measured includes a plurality of materials with different reflective properties, and the three-dimensional scanning method further includes: after detecting that the surface reflective properties of the area to be measured corresponding to the structured light have changed, adjusting the brightness of the structured light acquired by the scanning image, and reacquiring multiple scanning images to re-compare and select the scanning image with better quality.

[0015] In one embodiment, the steps of projecting structured light onto the area to be measured and acquiring multiple scanned images; comparing the multiple scanned images and selecting the scanned image with better quality of the structured light recorded specifically include: determining the material of the area to be measured, selecting the structured light of the default brightness parameter level according to the material of the area to be measured, and acquiring the corresponding scanned image; first adjusting the brightness parameter level according to a first sequence and acquiring a new scanned image; comparing the quality of the structured light pattern in the two scanned images corresponding to the default brightness parameter level and the brightness parameter level after adjustment to confirm the adjustment direction, if the quality of the scanned image obtained is improved after adjusting the brightness parameter level, the first sequence is determined as the adjustment direction, and the brightness parameter level is continued to be adjusted step by step according to the first sequence; if the quality of the scanned image obtained is reduced after adjusting the brightness parameter level according to the first sequence, the second sequence is determined as the adjustment direction, and the brightness parameter level is adjusted step by step according to the second sequence direction, and a new scanned image is acquired; wherein the adjustment directions of the first sequence and the second sequence are opposite.

[0016] In one embodiment, after the step of comparing the quality of the structured light pattern in the scanned images of the two brightness parameter gears to confirm the adjustment direction, it also includes: after each adjustment of the brightness parameter gear and obtaining the new scanned image, comparing the quality of the structured light pattern in the scanned images of two adjacent brightness parameter gears; if the quality of the structured light pattern corresponding to the adjusted brightness parameter gear is higher, continue to adjust the brightness parameter gear in the order of the adopted adjustment direction until the quality of the structured light pattern corresponding to the adjusted brightness parameter gear is reduced, then stop adjusting the brightness parameter gear, adopt the adjacent previous brightness parameter gear as the execution gear, and start executing the subsequent scanning process.

[0017] On the other hand, the present application provides a three-dimensional scanning device, which is used to scan a to-be-tested area using the above-mentioned three-dimensional scanning method, and comprises:

[0018] A projection module, used for projecting outgoing structured light;

[0019] An image acquisition module, comprising at least two cameras arranged at intervals, wherein the cameras are used to respectively acquire scanned images of the structured light projected onto the surface of the area to be measured from different positions; and

[0020] A computing module is electrically connected to the projection module and the image acquisition module, and is used for generating three-dimensional point cloud data of the surface of the area to be measured according to the scanned image component.

[0021] In one embodiment, the projection module includes at least two lasers, and the two lasers are respectively used to emit light of different frequencies.

[0022] In one embodiment, the projection module includes at least one tunable wavelength laser, and the wavelength of the laser light emitted by the tunable wavelength laser is tunable.

[0023] In one embodiment, the computing module is further used to control the brightness of the structured light emitted by the projection module, and / or to control the exposure time and gain adjustment of the camera.

[0024] In one embodiment, the three-dimensional scanning device further includes a spectral analysis module, which is disposed on the same side as the image acquisition module and is used to analyze the frequency of the light source suitable for the current scanning area and select the frequency of the projected structured light according to the material characteristics.

[0025] The three-dimensional scanning device provided in the embodiment of the present application can project structured light of different frequencies by setting a projection module, so as to obtain a scanning image including recording structured light of different frequencies. By setting a calculation module, the scanning images can be compared, so as to evaluate the frequency of structured light that meets the preset requirements, and use the structured light of the required frequency to construct three-dimensional point cloud data, so as to improve the quality of three-dimensional scanning. By setting a projection module and an image acquisition module, a scanning image recording structured light of different brightness can be obtained, so as to compare structured light of different brightness in multiple scanning images, and then select a scanning image with better quality, and use the selected scanning image to construct three-dimensional point cloud data, so as to improve the quality of three-dimensional scanning. By simultaneously screening the brightness and frequency of the structured light, it is possible to better adapt to the areas to be tested of different materials, which is conducive to increasing the application range of the three-dimensional scanning device and improving the quality of three-dimensional scanning. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 Flow chart of the three-dimensional scanning method in an embodiment of the present application.

[0027] Figure 2 Schematic diagram of the structure of the three-dimensional scanning device in the embodiment of the present application.

[0028] Main component symbols

[0029] Three-dimensional scanning device 100, projection module 10, first laser 11, second laser 13, image acquisition module 30, first camera 31, second camera 33, operation module 50, spectrum analysis module 70, area to be measured P, sub-structured light L1, L2, structured light L, feature point P1, steps S1, S2, S3, S4.

[0030] The following specific implementation methods will further illustrate the present application in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments.

[0032] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application.

[0033] In order to further explain the technical means and effects adopted by the present application to achieve the intended purpose, the present application is described in detail below in conjunction with the accompanying drawings and preferred implementation methods.

[0034] See also Figure 1 , the three-dimensional scanning method provided in the embodiment of the present application includes:

[0035] Step S1: projecting structured light onto the area to be measured and acquiring multiple scanned images;

[0036] Step S2: comparing the plurality of scanned images, and selecting the scanned image that records the structured light with better quality;

[0037] Step S3: evaluating the quality of each sub-structured light in the scanned image;

[0038] Step S4: According to the selected scan image, the sub-structured light that meets the preset requirements is selected to construct three-dimensional point cloud data of the surface of the area to be measured.

[0039] See also Figure 2The embodiment of the present application further provides a three-dimensional scanning device 100, which includes: a projection module 10, an image acquisition module 30 and a computing module 50. The projection module 10 is used to emit structured light L, and the structured light L is irradiated onto the area to be measured P. The image acquisition module 30 is used to obtain scanned images of the structured light L projected onto the surface of the area to be measured P from different positions. The computing module 50 is electrically connected to the projection module 10 and the image acquisition module 30, and the computing module 50 is used to construct three-dimensional point cloud data of the surface of the area to be measured P according to the scanned image.

[0040] In this embodiment, the projection module 10 of the three-dimensional scanning device 100 includes a first laser 11 and a second laser 13. The first laser 11 is used to emit a sub-structured light L1, and the second laser 13 is used to emit a sub-structured light L2. The sub-structured light L1 and the sub-structured light L2 have different frequencies. The sub-structured light L1 and the sub-structured light L2 are combined to form a structured light L, and the patterns formed by the sub-structured light L1 and the sub-structured light L2 projected on the area to be measured P do not completely overlap.

[0041] In other embodiments, the projection module 10 may also include three or more lasers, and the projection module 10 emits at least two sub-structured lights with different frequencies. The projection module 10 may also include only one tunable wavelength laser, and the wavelength of the laser emitted by the tunable wavelength laser is tunable, so that sub-structured lights of different frequencies can be sequentially projected and emitted within one frame time, and then superimposed to obtain structured light L. The present application does not limit the specific structure of the projection module 10, as long as it can emit structured light L including at least two sub-structured lights of different frequencies, it is within the scope of the present application.

[0042] In this embodiment, the image acquisition module 30 includes a first camera 31 and a second camera 33 that are spaced apart, and the first camera 31 and the second camera 33 are respectively disposed on opposite sides of the projection module 10 to respectively acquire two-dimensional scanned images from different angles. In other embodiments, the image acquisition module 30 may also include three or more cameras, and the positions of the cameras may also be set according to actual needs, which is not limited in this application.

[0043] In this embodiment, the computing module 50 is further used to control the brightness of the structured light L emitted by the projection module 10 , and / or to control the exposure time and gain adjustment of the first camera 31 and the second camera 33 .

[0044] In this embodiment, the three-dimensional scanning device 100 further includes a spectrum analysis module 70, which is arranged on the same side as the image acquisition module 30 and is used to analyze the frequency of the light source suitable for the current scanning area. Specifically, the spectrum analysis module 70 can analyze the spectrum information of the material in the current area, thereby determining the material properties of the area to be measured P, and select the frequency of the projected structured light L according to different material properties. The spectrum analysis module 70 is also electrically connected to the operation module 50, and transmits the selected result to the operation module 50. The operation module 50 is used to select the corresponding sub-structured light in the scanned image according to the selection result of the spectrum analysis module 70 to construct the three-dimensional point cloud data of the surface of the area to be measured P.

[0045] The three-dimensional scanning method provided in the embodiment of the present application is further described below in conjunction with the three-dimensional scanning device 100.

[0046] The three-dimensional scanning method provided in the embodiment of the present application is to project structured light L onto the area to be measured P, thereby forming a pattern with certain characteristics on the surface of the area to be measured P, and then obtain a two-dimensional scanned image of the surface of the area to be measured P from different positions, and then use the binocular vision effect to match the feature point P1 in the pattern of the structured light L in the scanned image, thereby constructing three-dimensional point cloud data with depth information of the surface of the area to be measured P.

[0047] Before step S1, the three-dimensional scanning method further includes: calibrating the internal and external parameters of the camera and the laser plane parameters. Specifically, calibration refers to obtaining the calibration parameters of the three-dimensional scanning device 100 under the current parameters, that is, the image obtained by the camera when the structured light L is projected on the calibration plate composed of reflective points. By comparing the obtained calibration parameters with the scanned image, the changes in the pattern of the structured light L when the structured light L is projected onto the three-dimensional area to be measured P can be compared, so that the three-dimensional point cloud data of the area to be measured P can be constructed through a series of calculations.

[0048] In this embodiment, the pattern formed by the projection of structured light L is a plurality of parallel or cross-arranged laser lines. In other embodiments, the pattern formed by the projection of structured light L may also be a plurality of discretely distributed laser points, or may be grating stripes with alternating light and dark. This application does not impose any restrictions on this.

[0049] In step S1, projecting the structured light L onto the test area P specifically includes: projecting at least two sub-structured lights with different frequencies onto the test area P. The sub-structured lights with different frequencies can be projected onto the test area P simultaneously or sequentially, which is not limited in the present application.

[0050] Step S1 further includes: changing the brightness parameters of the structured light L acquired by the image acquisition module 30, thereby obtaining a plurality of scanned images, wherein the plurality of scanned images respectively record the structured light L of different brightness projected onto the test area P. Changing the brightness parameters of the structured light L acquired by the image acquisition module 30 can be achieved by setting the parameters of the projection module 10 and the image acquisition module 30, respectively.

[0051] Specifically, on the one hand, the brightness of the structured light L emitted by the projection module 10 can be adjusted to directly change the brightness of the structured light L in the scanned image captured by the image capture module 30, for example, by voltage adjustment, current adjustment, or duty cycle adjustment. On the other hand, the brightness of the structured light L in the obtained scanned image can be changed by setting the parameters of the first camera 31 and the second camera 33. For example, the brightness of the structured light L in the obtained scanned image can be adjusted by adjusting the exposure time of the first camera 31 and the second camera 33, thereby changing the amount of light entering. The brightness of the structured light L in the obtained scanned image can also be adjusted by directly adjusting the gain of the camera, that is, by adjusting the magnification of the digital signal output by the photoelectric camera when converting the optical signal into an electrical signal during the photoelectric conversion process, so as to amplify or reduce the brightness of the structured light L in the scanned image.

[0052] In other embodiments, the brightness of the structured light L can also be changed by other means, such as setting an electrochromic element on the optical path of the structured light L to variably control the brightness of the structured light L, or setting other optical elements on the optical path of the structured light L to adjust the brightness of the structured light L, etc. The present application does not impose any restrictions on this. As long as the image acquisition module 30 can obtain multiple scanned images with different brightness of the recorded structured light L, they are all within the scope of the present application.

[0053] In the actual operation process, step S1 and step S2 specifically include:

[0054] Step S11: determining the material of the area to be tested P, selecting the structured light L with the brightness parameter of the default gear according to the material of the area to be tested P, and acquiring the corresponding scan image;

[0055] Step S12: adjusting the brightness parameter level of the three-dimensional scanning device 100 step by step according to the first sequence, and acquiring a new scanning image;

[0056] Step S13: comparing the quality of the pattern of the structured light L in the two scanned images corresponding to the default brightness parameter level and the brightness parameter level after adjustment once to confirm the adjustment direction; if the quality of the scanned image obtained is improved after adjusting the brightness parameter level, the first sequence is determined as the adjustment direction, and the brightness parameter level is continuously adjusted step by step according to the first sequence; if the quality of the scanned image obtained is reduced after adjusting the brightness parameter level according to the first sequence, the second sequence is determined as the adjustment direction, and the brightness parameter level is adjusted step by step according to the second sequence direction, and a new scanned image is acquired;

[0057] Step S14: after adjusting the brightness parameter level each time and obtaining the new scanned image, compare the quality of the structured light pattern in the scanned images of two adjacent brightness parameter levels; if the quality of the structured light pattern corresponding to the adjusted brightness parameter level is higher, continue to adjust the brightness parameter level in the order of the adjustment direction adopted until the quality of the structured light pattern corresponding to the adjusted brightness parameter level decreases, then stop adjusting the brightness parameter level, adopt the adjacent previous brightness parameter level as the execution level, and start executing the subsequent scanning process.

[0058] Specifically, data of different brightness parameters can be pre-set in the operation module 50. When scanning the area to be tested P, the brightness parameters of the corresponding gear can be manually selected as the default gear according to the material of the area to be tested P, or the three-dimensional scanning device 100 can select a set of brightness parameters as the default gear after one scan.

[0059] In step S12, the first sequence can be an adjustment direction that increases the brightness parameter level of the structured light L, or can be an adjustment direction that decreases the brightness parameter level of the structured light L, which is not limited in the present application. The second sequence is opposite to the first sequence in adjustment direction.

[0060] In step S13 and step S14, when judging the quality of the two scanned images, the quality is judged by the following criteria: high brightness of the laser line, slightly overexposed brightness of the central pixel of the laser line, obvious difference in brightness between the laser line and the background, and the laser line width being as small as possible without spreading to the background area. The more the pattern of structured light L meets the above requirements, the higher the quality of its corresponding optical parameters.

[0061] In step S13, the scanned image of the default brightness parameter gear and the scanned image after the first gear adjustment can be compared to determine the direction of the subsequent step-by-step adjustment of the brightness parameter gear. Specifically, the adjustment direction of the brightness parameter gear can be divided into two types: a first order of step-by-step improvement and a second order of step-by-step reduction. In this embodiment, the default gear is first increased by one gear in a low order, and then compared. If the quality of the scanned image is improved, it can be confirmed that the quality of the scanned image can be optimized after step-by-step improvement from the default gear, so the step-by-step improvement can be continued to find the gear with the best quality of the scanned image. If the quality of the scanned image decreases, it can be confirmed that the quality of the scanned image begins to decrease after step-by-step improvement from the default gear, so it can be modified to step-by-step reduce the gear according to the second order, so as to continue to find the gear with the best quality of the scanned image from the opposite direction. In other embodiments, it can also be set to start from the default brightness parameter gear and then step by step down, and this application does not limit this.

[0062] In this embodiment, step S2 specifically includes: comparing one or more combinations of the brightness of the laser line formed by the projection of the structured light L, the degree of slight overexposure of the brightness of the central pixel of the laser line, the difference between the brightness of the laser line and the background, and the width of the laser line.

[0063] In another embodiment, when the pattern formed by the projection of the structured light L is a grating stripe, step S2 specifically includes: comparing one or more combinations of the clarity of the scanned image, the contrast of the grating stripes, and the amount of overexposure of the white area of ​​the grating stripes. In other embodiments, depending on the different patterns formed by the projection of the structured light L, step S2 may also use other comparison standards to compare the scanned images recording different brightness of the structured light L, and this application does not limit this.

[0064] Step S3 specifically includes: optimizing the scanned image, and using one or more combinations of the laser distribution center of gravity, the laser gradient jump area, and the second-order derivative zero point to calculate the center of each laser line; and comprehensively calculating the brightness, edge sharpness, symmetry, and width of the laser line to obtain the quality weight of the substructure light corresponding to each laser line, and evaluating the quality of the substructure light according to the quality weight. Specifically, each laser line corresponds to a substructure light of a frequency. By comparing the parameters of different laser lines and setting the weights of different parameters according to actual needs, the quality of the substructure light can be evaluated to determine whether each substructure light on the current area P to be measured meets the requirements. Since the substructure lights of multiple frequencies do not interfere with each other, the substructure lights that meet the requirements can be selected to construct the three-dimensional point cloud data of the area P to be measured, and the feature points P1 corresponding to the substructure lights that do not meet the requirements are not used to construct the three-dimensional point cloud data, thereby improving the accuracy of the three-dimensional point cloud data construction.

[0065] When the surface of the area to be tested P includes multiple areas with different reflective properties, the three-dimensional scanning method also includes: after detecting that the surface reflective properties of the area to be tested P corresponding to the structured light L have changed, adjusting the brightness of the structured light L acquired by the scanning image, and reacquiring multiple scanning images to re-compare and select the scanning image with better quality.

[0066] Specifically, the surface reflection performance of the test area P can be detected by setting up a spectrum analysis module 70 to confirm, or by a user manually confirming, and the present application does not impose any restrictions on this.

[0067] After re-comparing and selecting the scanned image with better quality, the method further includes: re-evaluating the quality of each sub-structured light in the scanned image and selecting the sub-structured light that meets the preset requirements based on the selected scanned image to construct the three-dimensional point cloud data of the surface of the area to be measured P. That is, when the material of the surface of the area to be measured P changes, after re-determining the brightness parameters of the structured light L, it is also necessary to re-evaluate the quality of the sub-structured lights of different frequencies, so as to select the sub-structured light that meets the quality requirements.

[0068] The three-dimensional scanning method and the three-dimensional scanning device 100 provided in the embodiment of the present application can evaluate the performance of sub-structured lights of different frequencies on the test area P of different materials by setting the structured light L to include multiple frequencies, so as to select the sub-structured light that meets the requirements to construct the three-dimensional point cloud data, which is beneficial to improve the quality of the three-dimensional scanning. By setting the image acquisition module 30 to obtain the scanning image of the structured light L recording different brightness, the brightness parameters of the structured light L can be compared, so as to adapt to the test area P with different reflective performance, which is beneficial to improve the accuracy when constructing the three-dimensional point cloud data, and then improve the quality of the three-dimensional scanning. By comprehensively comparing the brightness and frequency of the structured light L, it can be ensured that a good scanning image can be obtained from the surface of the test area P of different materials, thereby significantly improving the adaptability and accuracy of the three-dimensional scanning device 100 to multi-materials.

[0069] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present application and are not intended to be limiting of the present application. As long as they are within the spirit and scope of the present application, appropriate changes and modifications to the above embodiments are within the scope of protection claimed in the present application.

Claims

1. A three-dimensional scanning method, characterized in that: include: Projecting the structured light onto the area to be tested, and acquiring a plurality of scanned images, wherein the plurality of scanned images respectively record the structured light of different brightness projected onto the area to be tested; Comparing the plurality of scanned images, and finding a brightness parameter level with the best quality of the scanned image; Constructing three-dimensional point cloud data of the surface of the area to be measured according to the scanned image corresponding to the found brightness parameter; Among them, the structured light includes at least two sub-structured lights with different frequencies. According to the selected scanning image, the step of constructing the three-dimensional point cloud data of the surface of the area to be measured includes: evaluating the quality of each of the sub-structured lights, and selecting the sub-structured lights that meet the preset requirements to construct the three-dimensional point cloud data.

2. The three-dimensional scanning method according to claim 1, characterized in that: The pattern formed by the structured light projection includes a plurality of laser lines; The step of evaluating the quality of each of the sub-structured lights in the scanned image comprises: Optimizing the scanned image, and calculating the center of each laser line by using one or more combinations of the laser distribution center of gravity, the laser gradient jump area, and the second-order derivative zero point; The brightness, edge sharpness, symmetry, and width of the laser line are comprehensively calculated to obtain a quality weight of the sub-structured light corresponding to each laser line, and the quality of the sub-structured light is evaluated according to the quality weight.

3. The three-dimensional scanning method according to claim 1, characterized in that: The step of acquiring a plurality of scanned images specifically includes: changing the brightness of the structured light, and respectively acquiring the scanned images corresponding to the structured light of different brightness.

4. The three-dimensional scanning method according to claim 1, characterized in that: The step of acquiring a plurality of scanned images specifically includes: using different camera exposure times or camera gain adjustments to respectively obtain the scanned images of the structured light with different brightness.

5. The three-dimensional scanning method according to claim 1, characterized in that: The pattern formed by the structured light projection includes multiple laser lines. The steps of comparing the multiple scanned images and finding the brightness parameter level with the best quality of the scanned image specifically include: comparing one or more combinations of the brightness of the laser line, the degree of slight overexposure of the brightness of the central pixel of the laser line, the difference between the brightness of the laser line and the background, and the width of the laser line.

6. The three-dimensional scanning method according to claim 1, characterized in that: The pattern formed by the structured light projection includes grating stripes. The step of comparing the multiple scanned images and finding the brightness parameter level with the best quality of the scanned image specifically includes: comparing one or more combinations of the clarity of the scanned image, the contrast of the grating stripes, and the amount of overexposure of the white area of ​​the grating stripes.

7. The three-dimensional scanning method according to claim 1, characterized in that: The surface of the area to be measured includes multiple areas with different reflective properties. The three-dimensional scanning method also includes: after detecting that the surface reflective properties of the area to be measured corresponding to the structured light have changed, adjusting the brightness of the structured light obtained by the scanning image, and reacquiring multiple scanning images to re-compare and select the scanning image with better quality.

8. The three-dimensional scanning method according to claim 1, characterized in that: The steps of projecting structured light onto the area to be tested and acquiring a plurality of scanned images; and comparing the plurality of scanned images and finding the brightness parameter level with the best quality of the scanned images specifically include: Determine the material of the area to be measured, select the structured light of a default brightness parameter level according to the material of the area to be measured, and obtain the corresponding scanned image; Adjusting the brightness parameter level of the first level in a first order and acquiring a new scanned image; Compare the qualities of the structured light patterns in the two scanned images corresponding to the default brightness parameter level and the brightness parameter level after adjustment once to confirm the adjustment direction; if the quality of the scanned image obtained is improved after adjusting the brightness parameter level, determine the first order as the adjustment direction, and continue to adjust the brightness parameter level step by step according to the first order; if the quality of the scanned image obtained is reduced after adjusting the brightness parameter level according to the first order, determine the second order as the adjustment direction, adjust the brightness parameter level step by step according to the second order direction, and obtain a new scanned image; wherein, the adjustment directions of the first order and the second order are opposite.

9. The three-dimensional scanning method according to claim 8, characterized in that: After the step of comparing the quality of the pattern of the structured light in the scanned images of the two brightness parameter gears to confirm the adjustment direction, the method further includes: After each adjustment of the brightness parameter level and acquisition of the new scanned image, compare the quality of the structured light pattern in the scanned images of two adjacent brightness parameter levels; if the quality of the structured light pattern corresponding to the adjusted brightness parameter level is higher, continue to adjust the brightness parameter level in the order of the adopted adjustment directions until the quality of the structured light pattern corresponding to the adjusted brightness parameter level decreases, then stop adjusting the brightness parameter level, adopt the adjacent previous brightness parameter level as the execution level, and start executing the subsequent scanning process.

10. A three-dimensional scanning device, used to scan a region to be measured using the three-dimensional scanning method according to any one of claims 1 to 9, characterized in that: include: A projection module, used for projecting outgoing structured light; An image acquisition module, comprising at least two cameras arranged at intervals, wherein the cameras are used to respectively acquire scanned images of the structured light projected onto the surface of the area to be measured from different positions; as well as A computing module is electrically connected to the projection module and the image acquisition module, and is used for generating three-dimensional point cloud data of the surface of the area to be measured according to the scanned image component.

11. The three-dimensional scanning device according to claim 10, characterized in that: The projection module includes at least two lasers, and the two lasers are respectively used to emit light of different frequencies.

12. The three-dimensional scanning device according to claim 10, characterized in that: The projection module includes at least one tunable wavelength laser, and the wavelength of the laser emitted by the tunable wavelength laser is tunable.

13. The three-dimensional scanning device according to claim 10, characterized in that: The computing module is further used to control the brightness of the structured light emitted by the projection module, and / or to control the exposure time and gain adjustment of the camera.

14. The three-dimensional scanning device according to claim 10, characterized in that: It also includes a spectrum analysis module, which is arranged on the same side as the image acquisition module and is used to analyze the material properties of the area to be measured and select the frequency of the projected structured light according to the material properties.

Citation Information

Cited By

  • Rotary table type automatic three-dimensional scanning measurement system

    CN119533334A

  • A rotary table type automated three-dimensional scanning measurement system

    CN119533334B