A multi-spectral line structured light collaborative measurement method and device

By adjusting the laser wavelength and using technologies such as filters, the problem of interference between ambient light and sensors in line structured light three-dimensional measurement is solved, the accuracy and efficiency of measurement are improved, and collaborative measurement of multiple sensors is achieved.

CN118258325BActive Publication Date: 2024-09-17WUHAN HANNING TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410674678.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-17
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

The measurement accuracy of existing line structured light three-dimensional measurement technology decreases under strong ambient light or multiple light sources. Highly reflective or transparent surfaces affect measurement results. Mutual interference between multiple sensors leads to reduced measurement accuracy. Asynchronous triggering methods reduce measurement efficiency.

Method used

The wavelength of the laser emitted by the laser is controlled by adjusting the type of semiconductor material. Optical elements are used to turn the point light source into linear structured light. Filters are assembled to filter the laser in specific spectral bands. The adaptive threshold algorithm is used to extract the laser centerline and perform spatial calibration and coordinates of the imaging sensor. Transform,integrate multiple sensor data to reduce interference.

Benefits of technology

It improves the accuracy and efficiency of measurement, reduces the influence of ambient light, avoids mutual interference between sensors, and ensures the data consistency of multiple sensors and the accuracy of measurement results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118258325B
    Figure CN118258325B
Patent Text Reader

Abstract

The invention discloses a multi-spectral line structured light collaborative measurement method, which specifically comprises the following steps: adjusting the type of semiconductor material to control the laser wavelength emitted by the laser; converting the point light source emitted by the laser into linear structured light; installing a filter on an imaging sensor to ensure that the reflected laser line of the laser line of a specific spectrum band enters the imaging sensor; screening the received reflected laser line by an adaptive threshold algorithm to extract the position of the laser center line; calibrating the extracted center laser to achieve three-dimensional measurement; performing spatial calibration and coordinate conversion of the imaging sensor to make the measurement data of multiple imaging sensors consistent; integrating the obtained coordinate transformation parameters to convert the data obtained from different imaging sensors into a global coordinate system to achieve data fusion and consistency; corresponding devices and media are also disclosed; the problems of being very sensitive to ambient light, the influence of the surface of an object on the measurement result and the mutual interference between multiple sensors are solved to achieve accurate measurement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of line structured light three-dimensional measurement, and more specifically, relates to a multi-spectral line structured light collaborative measurement method and device. Background Art

[0002] Line structured light 3D measurement technology is a non-contact measurement method for obtaining the 3D shape of an object surface. A special light source is used to generate linear structured light, which is then projected onto the surface of the object to be measured. This light forms a noticeable bright line on the surface of the object. When the structured light is projected onto the surface of objects of different shapes, the light will be deformed due to the unevenness of the surface of the object, and this deformation reflects the geometric information of the surface of the object. A camera is used to capture the surface image of the object after being illuminated by the structured light from a specific angle. By processing the captured image, the 3D coordinates of the object surface are calculated. Since this technology only involves light projection and image acquisition, there is no need to contact the object to be measured, avoiding potential damage to fragile or dangerous objects. However, existing structured light sensors are, firstly, very sensitive to ambient light. Under strong ambient light or uneven lighting conditions, structured light may be disturbed, resulting in reduced measurement accuracy. For example, captured images may be affected under strong sunlight or multiple light sources. Secondly, highly reflective, transparent or very dark surfaces may affect the measurement results. Highly reflective surfaces such as metals and mirrors may cause light scattering or reflection, while transparent or very dark object surfaces may not reflect enough light for effective measurement. Thirdly, when measuring complex structures, multiple sensors need to be arranged at multiple angles, and the sensor emission spectrum cannot be adjusted. When there are overlapping measurement areas between multiple structured light sensors, the light emitted by one sensor may be captured by adjacent sensors, resulting in mutual interference between sensors. This interference can significantly reduce the accuracy of the measurement and may even lead to erroneous measurement results.

[0003] In order to solve this problem, the prior art uses additional asynchronous triggering methods and corresponding devices to coordinate the work of multiple sensors to ensure that they do not emit light and collect data at the same time. In this way, even if the measurement areas of the sensors overlap, they will not interfere with each other due to simultaneous operation. However, this method also has its limitations. Asynchronous triggering means that the sensors cannot work at the same time, which may reduce the overall measurement efficiency. Especially when measuring dynamic or rapidly changing objects, this method may not be able to capture all necessary data in real time. In addition, since the sensors do not work at the same time, the data obtained from different sensors may not be completely consistent in time, which may cause certain difficulties in analyzing and processing the measurement results. Therefore, the current solution does not completely solve the interference problem of simultaneous measurement of multiple linear structured light sensors, sacrifices certain measurement performance, and puts forward higher requirements for hardware equipment and control coordination, which is not conducive to the simple, fast and high-precision realization of collaborative measurement of multiple linear structure sensors. Summary of the invention

[0004] In view of the above defects or improvement needs of the prior art, the present invention aims to solve the problems existing in the prior art.

[0005] In order to achieve the above object, according to a first aspect of the present invention, a multi-spectral line structured light collaborative measurement method is provided, comprising the following steps:

[0006] S100, adjusting the type of semiconductor material and controlling the laser wavelength emitted by the laser;

[0007] S200, converting the point light source emitted by the laser into linear structured light through an optical element;

[0008] S300, installing a filter on the imaging sensor to ensure that only the reflected laser light of the laser light in S200 of a specific spectrum band enters the imaging sensor;

[0009] S400, filtering the reflected laser line received in S300 by an adaptive threshold algorithm to extract the precise position of the laser center line;

[0010] S500, calibrating the central laser extracted in S400 to achieve three-dimensional measurement;

[0011] S600, performing spatial calibration and coordinate conversion of the imaging sensor to make the measurement data of the plurality of imaging sensors consistent;

[0012] S700, integrating the coordinate transformation parameters obtained in S600, transforming the data obtained from different imaging sensors into a global coordinate system, and realizing data fusion and consistency.

[0013] Furthermore, the method of adjusting the type of semiconductor material and controlling the wavelength of laser emission in S100 is as follows: the relationship between the wavelength emitted by the laser and the band gap energy of the semiconductor material in its active region is:

[0014] ,

[0015] In the formula, λ is the wavelength, h is the Planck constant, c is the speed of light, and Eg is the band gap energy. The frequency of the laser emission is adjusted by selecting different semiconductor materials to emit laser light of a specific wavelength.

[0016] Furthermore, the method of converting the point light source into linear structured light in S200 is: adjusting the shape and size of the laser beam by applying spot shaping to convert it from a circular spot into a uniform linear laser beam; and then widening the laser beam into a uniform straight line by a Powell prism to generate a clear line structured light on the surface of the object;

[0017] Among them, the focusing formula of the lens in spot shaping is:

[0018] ,

[0019] In the formula, f is the focal length, do is the object distance, and di is the image distance;

[0020] The relationship between the diameter Wo of the beam waist in spot shaping and the focal length f is:

[0021] ,

[0022] Where W is the incident beam diameter of the lens, and the beam waist diameter Wo is adjusted by adjusting the parameters.

[0023] Furthermore, the working method of the filter in S300 is as follows: the laser emitted by the laser is transformed into a laser line after spot shaping and the Powell prism, and then irradiates the surface of the object and is reflected onto the filter. The filter has multiple laser lines and only allows laser lines of specific wavelengths to pass through. The transmittance characteristic of the filter is:

[0024] ,

[0025] Where, is the transmittance of a specific wavelength λ, is the intensity of light passing through the filter, It is the intensity of light incident on the filter, through which only laser lines of specific wavelengths pass and form a clear image on the imaging sensor.

[0026] Furthermore, the method for extracting the precise position of the laser center line in S400 is as follows: the image data obtained by the imaging sensor cannot all be used for the grayscale center extraction operation, otherwise too much noise other than the laser line will be introduced, and a suitable threshold is set to filter the data through an adaptive threshold algorithm, and the expected background noise is obtained according to the pixel data of the non-light strip distribution area. and standard deviation , considering the randomness of noise distribution, the threshold is:

[0027] ,

[0028] In the formula, TH is the threshold, n is a parameter adjusted according to the actual effect, and the pixel values ​​of each column on the image are screened by the threshold TH. The coordinates of the pixels in the column whose grayscale values ​​are greater than the threshold TH are , its gray value , where i=1, 2, 3, ···, N, where N is the number of points greater than the threshold TH, and the position U of the center of the laser stripe column is calculated as:

[0029] .

[0030] Furthermore, the method for calibrating the central laser extracted in S400 in S500 is:

[0031] is the point in the image coordinate system, is a point in the object coordinate system. Each pixel point in the image coordinate system has a corresponding rigid body transformation relationship with the spatial position in the object coordinate system:

[0032] ,

[0033] In the formula, 11~ 33 is the coefficient of the transformation matrix A, The object coordinates are obtained directly from the image-side homogeneous coordinates [u, v, w] after passing through the transformation matrix. Rewrite the coefficients of the transformation matrix After normalization, we get:

[0034] .

[0035] Furthermore, a high-precision machined calibration plate is used to calibrate the imaging sensor, and the coordinate values ​​of the feature calibration in the image coordinate system of each collected effective section profile are extracted. In the calibration process, the coordinate positions of the calibration points in the object coordinate system are all known. The four adjacent edge points of the same dovetail groove in the object space in two adjacent effective sections are used to establish a set of equations, and the normalized conversion matrix coefficients are solved:

[0036] ,

[0037] In the formula, is the image coordinate of the i-th calibrated feature point, The object space coordinates of the i-th calibration feature point are solved for the object space coordinates corresponding to all the image space coordinates of the laser line, and the object space X and Z axis lookup two-dimensional matrices are generated respectively. The image space coordinates are used as the subscript of the lookup matrix to quickly obtain the corresponding object space coordinates, thereby realizing three-dimensional measurement.

[0038] Furthermore, the method for performing spatial calibration and coordinate conversion of the imaging sensor in S600 is:

[0039] Using a calibration object with known geometric characteristics, which includes a set of feature points with known positions in three-dimensional space, each imaging sensor captures the image of the calibration object from different perspectives to obtain calibration data, identifies the two-dimensional coordinates and corresponding three-dimensional coordinates of these known feature points in the image, matches the same feature points or feature structures through rotation and translation, and obtains the calibrated coordinate conversion data;

[0040] For each imaging sensor, its coordinate transformation is expressed as:

[0041] ,

[0042] In the formula, is a point in the global coordinate system, is a point in the imaging sensor coordinate system, R is the rotation matrix, and t is the translation vector. The rotation matrix R and translation vector t are solved by minimizing the reprojection error, that is, the difference between the image point and the point obtained by transformation and projection.

[0043] According to a second aspect of the present invention, there is provided a multi-spectral line structured light collaborative measurement device, comprising:

[0044] A laser processing module, comprising a laser and an optical element, controls the laser to emit a laser beam of a specific wavelength, and converts the laser beam into a clear line structured light;

[0045] The image sensing module includes a filter, a polarizer and an optical lens. The reflected laser beam is filtered through the filter, that is, other lasers except for a specific wavelength are filtered out. A portion of the interference of sunlight shining on the surface of the object is filtered out through the polarizer, and then the reflected laser beam is finally sent to the imaging sensor through the optical lens.

[0046] The processing module processes the laser lines, extracts the central laser, and then calibrates the central laser. Finally, it performs spatial calibration and coordinate conversion of the imaging sensor to make the data of multiple imaging sensors consistent and improve the accuracy.

[0047] According to a third aspect of the present invention, there is provided a computer storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the multi-spectral line structured light collaborative measurement method is implemented.

[0048] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0049] 1. A multi-spectral line structured light collaborative measurement method and device of the present invention adjusts the type of semiconductor material, controls the laser wavelength emitted by the laser, selects a specific laser wavelength, and reduces sensitivity to ambient light by selecting a wavelength that does not overlap with other wavelengths in the ambient light; a filter is installed on the imaging sensor to ensure that only the reflected laser line of the laser line in a specific spectrum band enters the imaging sensor, and the filter further filters out ambient light except for the specific wavelength and helps to reduce interference caused by different surface characteristics; this allows the sensor to focus more on the laser reflected by the target surface rather than other irrelevant light; by adjusting the rotation angle of the polarizer, a portion of the interference of sunlight irradiating on the surface of the object can be filtered out, thereby improving the accuracy of the measurement and reducing the influence of ambient light on the measurement results.

[0050] 2. The multi-spectral line structured light collaborative measurement method and device of the present invention introduces a threshold algorithm to screen the data, effectively avoiding the introduction of too much noise other than laser lines to reduce the image extraction accuracy.

[0051] 3. A multi-spectral line structured light collaborative measurement method and device of the present invention adjusts the laser wavelength emitted by the laser to assign different working wavelengths to each imaging sensor, so that the light emitted by one imaging sensor will not be captured by other sensors; the imaging sensor is spatially calibrated and the coordinates are transformed, as well as the data is fused and consistent, to ensure that even if there are overlapping measurement areas between multiple imaging sensors, their data can be effectively integrated, thereby avoiding mutual interference between imaging sensors. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 This is a flow chart of a multi-spectral line structured light collaborative measurement method according to an embodiment of the present invention;

[0053] Figure 2 A schematic diagram of a multi-spectral line structured light collaborative measurement method according to an embodiment of the present invention;

[0054] Figure 3 A work flow chart provided for a preferred embodiment of the present invention;

[0055] Figure 4 A schematic diagram of a measuring device provided for a preferred embodiment of the present invention.

[0056] In all the drawings, the same reference numerals represent the same technical features, specifically: 1-laser, 2-Powell prism, 3-laser line, 4-object surface, 5-filter, 6-polarizer, 7-optical lens, 8-imaging sensor. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0058] Please refer to Figure 1 , Figure 2 The present invention relates to a multi-spectral line structure light collaborative measurement method, which specifically comprises the following steps:

[0059] S100, adjust the type of semiconductor material and control the laser emission wavelength; ensure that the laser can emit a specific wavelength suitable for the measurement task; the principle of controlling the laser emission wavelength is as follows:

[0060] Line lasers can emit laser lines of different spectrums. The wavelength of the laser and the wavelength of the filter are key parameters in the optoelectronic system, which determine the characteristics of the laser and the performance of the optical system. The wavelength emitted by the laser is mainly determined by the band gap energy of the semiconductor material in its active region. The relationship between wavelength and band gap energy is:

[0061] ,

[0062] Among them, h is Planck's constant and c is the speed of light. This formula shows that the wavelength λ is inversely proportional to the band gap energy Eg. Therefore, by choosing different semiconductor materials, the frequency of the laser emission can be adjusted so that it can emit laser light of a specific wavelength. For example, gallium nitride (GaN): suitable for blue light and ultraviolet bands. Gallium arsenide (GaAs): suitable for infrared and near-infrared bands. Indium gallium phosphide (InGaP): suitable for visible light red and orange bands;

[0063] In some other embodiments, the laser wavelength can also be dynamically adjusted by a tunable laser, for example, a VCSEL tunable laser is used to utilize the cavity modulation effect between the top and bottom micromirrors to adjust the laser wavelength by changing the cavity length or introducing electro- or thermal-induced strain.

[0064] S200, converting the point light source emitted by the laser into linear structured light through an optical element;

[0065] In order to transform a point light source into a linear structured light, optical elements such as spot shaping and Powell prism are required. Spot shaping: Use lenses or other optical elements to adjust the shape and size of the laser beam, transforming it from a circular spot into a uniform linear light. Powell prism: This special prism can widen the laser beam into a uniform straight line, which is used to generate clear linear structured light on the surface of an object. Spot shaping involves the lens formula and the concept of beam waist in optics. The focusing formula of the lens is:

[0066] ,

[0067] Among them, f is the focal length, do is the object distance, di is the image distance, and the relationship between the beam waist, beam waist diameter Wo and focal length of the Gaussian beam can be expressed as:

[0068] ,

[0069] Where W is the incident beam diameter of the lens.

[0070] S300, installing a filter on the imaging sensor to ensure that only the reflected laser light of the laser light in S200 of a specific spectrum band enters the imaging sensor;

[0071] Specifically, the laser line irradiated on the surface of the object is reflected and received by the imaging sensor. In order to effectively collect the reflected line lasers of different spectral bands and reduce unnecessary interference, filters with specific band bandwidths can be installed before and after the lens. A filter is an optical element that can selectively transmit or block light within a specific wavelength range. These filters only allow light of a specific wavelength to pass, thereby ensuring that only laser lines of a specific spectral band can enter the imaging sensor. The choice of filter depends on the wavelength of the light emitted by the laser. Filters are generally used to selectively transmit light within a specific wavelength range. The transmittance characteristics of the filter can be approximated by the following formula:

[0072] ,

[0073] Where, is the transmittance at a specific wavelength λ, is the intensity of light passing through the filter, It is the intensity of light incident on the filter. The transmittance of the filter used here needs to be above 95% for a specific wavelength, and above 99.9% for good results. For non-target wavelengths, the transmittance of the filter is less than 0.1%, and the good results are 0.01% or lower.

[0074] Then, for different imaging sensors, because a filter with a set wavelength is installed in front of them, they can only receive the laser line of this spectrum, while the laser lines of other spectral bands are excluded. Only the laser line of the corresponding spectrum can be clearly imaged on the imaging sensor to form a light band. The image of this laser line reflects the height changes on the surface of the object.

[0075] In some other embodiments, considering that the narrower the spectrum, the more single the corresponding wavelength, the more accurately the structural details and texture of the surface of the object being measured can be identified, thereby improving the resolution of three-dimensional reconstruction and eliminating spectral confusion; multiple filters can be connected in series on the basis of a single filter, each filter filters out a part of non-target wavelengths, and finally a very narrow wavelength passband is obtained to achieve narrower band filtering. For example, multiple dielectric film layers can be used to superimpose filters to utilize the high and low reflectivity characteristics of different dielectric materials at different wavelengths, and multiple materials can be alternately coated to form a multi-layer dielectric film. Each layer of dielectric film can filter out a part of non-target wavelengths, and only a very narrow wavelength passband window is left after multiple layers are superimposed; narrower band filtering is achieved.

[0076] S400, the reflected laser line received in S300 is screened by an adaptive threshold algorithm to extract the precise position of the laser center line; the specific extraction method is as follows: a processing unit is set to process the influence of the laser line and extract the precise position (sub-pixel position) of the laser center line. Not all image data obtained by the imaging sensor can be used for the grayscale center extraction operation, because it will introduce too much noise other than the laser line. To improve the image extraction accuracy, it is necessary to set a suitable threshold through an adaptive threshold algorithm to obtain the expected background noise based on the pixel data of the non-light strip distribution area. and standard deviation , considering the randomness of noise distribution, the threshold can be set as:

[0077] ,

[0078] Where n can be adjusted according to the actual effect. The pixel values ​​of each column on the image are screened by the threshold TH. Assume that the coordinates of the pixel points whose grayscale values ​​in this column are greater than the threshold TH are , its gray value , where i=1, 2, 3, ···, N (N is the number of points greater than the threshold TH), the position U of the center of the laser stripe column can be calculated as:

[0079] .

[0080] S500, calibrating the central laser extracted in S400 to achieve three-dimensional measurement;

[0081] The calibration method is as follows: is the point in the image coordinate system, is a point in the object coordinate system. Each pixel point in the image coordinate system has a unique corresponding rigid body transformation relationship with the spatial position in the object coordinate system:

[0082] ,

[0083] In the formula, 11~ 33 is the coefficient of the transformation matrix A, The object coordinates are obtained directly from the image-side homogeneous coordinates [u, v, w] after passing through the transformation matrix. Rewrite the coefficients of the transformation matrix After normalization, we get:

[0084] .

[0085] The imaging sensor is calibrated using a high-precision machined calibration plate to extract the coordinate values ​​of the feature calibration in the image coordinate system of each effective cross-sectional profile collected. During the calibration process, the coordinate positions of the calibration points in the object coordinate system are all known.

[0086] By using the four adjacent edge points of the same dovetail groove in the object side of two adjacent effective sections to establish the equation group shown in the formula, the normalized conversion matrix coefficient can be solved:

[0087] ,

[0088] in, is the image coordinate of the i-th calibrated feature point, is the object space coordinate of the i-th calibrated feature point.

[0089] The object space coordinate points corresponding to all the image space coordinate points of the laser line are solved, and the object space X and Z axis lookup two-dimensional matrices are generated respectively. The lookup table method uses the image space coordinate point as the subscript of the lookup table matrix to quickly obtain the corresponding object space coordinate point, thereby realizing three-dimensional measurement.

[0090] S600, perform spatial calibration and coordinate transformation of the imaging sensor to make the measurement data of multiple imaging sensors consistent; in order to ensure data consistency and accuracy of multiple imaging sensors, it is necessary to perform spatial calibration and coordinate transformation of the imaging sensor to obtain unified measurement coordinates. Use a calibration object with known geometric properties (such as a calibration plate), which contains a set of feature points with known positions in three-dimensional space. Each imaging sensor captures an image of the calibration object from different perspectives to obtain calibration data. Identify the two-dimensional coordinates and corresponding three-dimensional coordinates of these known feature points in the image, match the same feature points or feature structures through rotation and translation, and obtain calibrated coordinate transformation data.

[0091] For each imaging sensor, its coordinate transformation can be expressed as:

[0092] ,

[0093] in, is a point in the global coordinate system, is a point in the imaging sensor coordinate system, R is the rotation matrix, and t is the translation vector. The rotation matrix R and the translation vector t can be solved by minimizing the reprojection error, which is the difference between the image point and the point obtained by transformation and projection.

[0094] S700, integrating the coordinate transformation parameters obtained in S600, transforming the data obtained from different imaging sensors into a global coordinate system, and realizing data fusion and consistency.

[0095] In the seventh step, after obtaining the coordinate transformation parameters of all imaging sensors, the data obtained from different imaging sensors can be transformed into the global coordinate system to achieve data fusion and consistency.

[0096] Please refer to Figure 3 , Figure 4 As a second aspect of the present invention, it also relates to a multi-spectral line structured light collaborative measurement device, comprising:

[0097] The laser processing module includes a laser and an optical element. In some embodiments, the laser processing module may include a laser 1 and a Powell prism 2. The laser processing module is used to control the laser to emit a laser beam of a specific wavelength and to convert the laser beam into a clear line structured light.

[0098] Image sensing module. In some embodiments, the image sensing module includes a filter 5, a polarizer 6, an optical lens 7 and an imaging sensor 8. The image sensing module is used to filter the reflected laser beam, that is, to filter out other lasers except for a specific wavelength, and to filter out a part of the interference of sunlight irradiating on the surface of the object, and finally enter the imaging sensor;

[0099] The processing module (including data storage and processor) processes the laser lines, extracts the central laser, and then calibrates the central laser. Finally, it performs spatial calibration and coordinate conversion of the imaging sensor to make the data of multiple imaging sensors consistent and improve the accuracy.

[0100] The detailed working process of the device is as follows: a Powell prism 2 is arranged in front of the laser 1, and a filter 5, a polarizer 6 and an optical lens 7 are arranged in front of the imaging sensor 8 in sequence. The laser 1 emits a laser of a specific spectrum, which then passes through the Powell prism 2 and diffuses into a laser line 3 with a certain divergence angle; the laser line 3 propagates in space and irradiates on the surface 4 of the object. When multiple lasers 1 are arranged at the same time, there will be multiple laser lines 3 on the surface 4 of the object. The laser line 3 enters the image sensing module after reflection; the reflected light first passes through the filter 5, and only the corresponding laser wavelength light passes through, and then passes through the polarizer 6 to filter out a part of the interference of sunlight irradiating on the surface of the object, and finally passes through the optical lens 7, so that the laser line of a specific wavelength band can enter the imaging sensor 8, so that the subsequent processing module can perform data processing (extracting the center, calibration, fusion, etc.) and complete the measurement.

[0101] As a third aspect of the present invention, it also relates to a computer storage medium on which a computer program is stored, characterized in that when the computer program is executed by a processor, the above-mentioned multi-spectral line structured light collaborative measurement method is implemented (i.e., steps S400 to S700 in the above-mentioned method are executed).

[0102] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A multi-spectral line structured light collaborative measurement method, It is characterized in that The following steps are involved: S100, adjusting the type of semiconductor material and controlling the wavelengths of lasers emitted by multiple lasers; S200, converting the point light sources emitted by each of the plurality of lasers into linear structured light through an optical element; S300, installing a filter on the imaging sensor to ensure that only the reflected laser light of the laser light in S200 of a specific spectrum band enters the imaging sensor; S400, filtering the reflected laser line received in S300 by an adaptive threshold algorithm to extract the precise position of the laser center line; S500, calibrating the central laser extracted in S400 to achieve three-dimensional measurement; S600, performing spatial calibration and coordinate conversion of the imaging sensor to make the measurement data of the plurality of imaging sensors consistent; S700, integrating the coordinate transformation parameters obtained in S600, transforming the data obtained from different imaging sensors into a global coordinate system, and realizing data fusion and consistency.

2. A multi-spectral line structured light collaborative measurement method according to claim 1, It is characterized in that The method of adjusting the type of semiconductor material and controlling the wavelength of laser emission in S100 is as follows: the relationship between the wavelength emitted by the laser and the band gap energy of the semiconductor material in its active region is: , In the formula, λ is the wavelength, h is the Planck constant, c is the speed of light, and Eg is the band gap energy. The frequency of the laser emission is adjusted by selecting different semiconductor materials to emit laser light of a specific wavelength.

3. The multi-spectral line structured light collaborative measurement method according to claim 1, It is characterized in that The method of converting a point light source into a linear structured light in S200 is: adjusting the shape and size of the laser beam by applying spot shaping to convert it from a circular spot into a uniform linear laser beam; and then widening the laser beam into a uniform straight line by a Powell prism to generate a clear line structured light on the surface of the object; Among them, the focusing formula of the lens in spot shaping is: , In the formula, f is the focal length, do is the object distance, and di is the image distance; The relationship between the diameter Wo of the beam waist and the focal length f in spot shaping is: , Where W is the incident beam diameter of the lens, and the beam waist diameter Wo is adjusted by adjusting the parameters.

4. The multi-spectral line structured light collaborative measurement method according to claim 1, It is characterized in that The working method of the filter in S300 is as follows: the laser emitted by the laser is transformed into a laser line after spot shaping and the Powell prism, and then irradiates the surface of the object and is reflected onto the filter. The filter has multiple laser lines and only allows laser lines of specific wavelengths to pass through. The transmittance characteristics of the filter are: , Where, is the transmittance of a specific wavelength λ, is the intensity of light passing through the filter, It is the intensity of light incident on the filter, through which only laser lines of specific wavelengths pass and form a clear image on the imaging sensor.

5. The multi-spectral line structured light collaborative measurement method according to claim 1, It is characterized in that The method for extracting the precise position of the laser center line in S400 is as follows: the image data obtained by the imaging sensor cannot all be used for the grayscale center extraction operation, otherwise too much noise other than the laser line will be introduced, and a suitable threshold is set to filter the data through an adaptive threshold algorithm, and the expected background noise is obtained according to the pixel data of the non-light strip distribution area. and standard deviation , considering the randomness of noise distribution, the threshold is: , In the formula, TH is the threshold, n is a parameter adjusted according to the actual effect, and the pixel values ​​of each column on the image are screened by the threshold TH. The coordinates of the pixels in the column whose grayscale values ​​are greater than the threshold TH are , its gray value , where i=1, 2, 3, ···, N, where N is the number of points greater than the threshold TH, and the position U of the center of the laser stripe column is calculated as: 。 6. A multi-spectral line structured light collaborative measurement method according to claim 5, It is characterized in that The method for calibrating the central laser extracted in S400 in S500 is: is the point in the image coordinate system, is a point in the object coordinate system. Each pixel point in the image coordinate system has a corresponding rigid body transformation relationship with the spatial position in the object coordinate system: , In the formula, 11~ 33 is the coefficient of the transformation matrix A, The object coordinates are obtained directly from the image-side homogeneous coordinates [u, v, w] after passing through the transformation matrix. Rewrite the coefficients of the transformation matrix After normalization, we get: 。 7. The multi-spectral line structured light collaborative measurement method according to claim 6, It is characterized in that The imaging sensor is calibrated using a high-precision machined calibration plate. The coordinate values ​​of the feature calibration in the image coordinate system of each collected effective section profile are extracted. During the calibration process, the coordinate positions of the calibration points in the object coordinate system are all known. The four adjacent edge points of the same dovetail groove in the object space of two adjacent effective sections are used to establish a set of equations, and the normalized conversion matrix coefficients are solved: , In the formula, is the image coordinate of the i-th calibrated feature point, The object space coordinates of the i-th calibration feature point are solved for the object space coordinates corresponding to all the image space coordinates of the laser line, and the object space X and Z axis lookup two-dimensional matrices are generated respectively. The image space coordinates are used as the subscript of the lookup matrix to quickly obtain the corresponding object space coordinates, thereby realizing three-dimensional measurement.

8. The multi-spectral line structured light collaborative measurement method according to claim 1, It is characterized in that The method for performing spatial calibration and coordinate conversion of the imaging sensor in S600 is: Using a calibration object with known geometric characteristics, which includes a set of feature points with known positions in three-dimensional space, each imaging sensor captures the image of the calibration object from different perspectives to obtain calibration data, identifies the two-dimensional coordinates and corresponding three-dimensional coordinates of these known feature points in the image, matches the same feature points or feature structures through rotation and translation, and obtains the calibrated coordinate conversion data; For each imaging sensor, its coordinate transformation is expressed as: , In the formula, is a point in the global coordinate system, is a point in the imaging sensor coordinate system, R is the rotation matrix, and t is the translation vector. The rotation matrix R and translation vector t are solved by minimizing the reprojection error, that is, the difference between the image point and the point obtained by transformation and projection.

9. A device for a multi-spectral line structured light collaborative measurement method, It is characterized in that include: The laser processing module includes a plurality of lasers and optical elements, and controls each of the lasers to emit a laser beam of a specific wavelength, thereby converting the laser beam into a clear line structured light; The image sensing module includes a filter, a polarizer and an optical lens. The reflected laser beam is filtered through the filter, that is, other lasers except for a specific wavelength are filtered out. A portion of the interference of sunlight shining on the surface of the object is filtered out through the polarizer, and then the reflected laser beam is finally sent to the imaging sensor through the optical lens. The processing module processes the laser lines, extracts the central laser, and then calibrates the central laser. Finally, it performs spatial calibration and coordinate conversion of the imaging sensor to make the data of multiple imaging sensors consistent and improve the accuracy.

10. A computer storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, a multi-spectral line structured light collaborative measurement method as described in any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Calibration device and method for 3D camera

    CN111445536A

  • Composite rapid high-precision visual positioning device and method

    CN113566706A

  • Ice shape online measurement method and device based on multi-camera combined imaging

    CN114485483A

  • Low-power-consumption track two-dimensional and three-dimensional fusion imaging device

    CN209624410U

  • Three-dimensional shape measuring apparatus, three-dimensional shape measuring method, three-dimensional shape measuring program, and recording medium

    US20100195114A1