A micro-vision three-dimensional imaging system and method
By combining a dual-axis scanning galvanometer and a dynamic vision sensor, the micro-vision 3D imaging system solves the problems of low efficiency and insufficient accuracy of 3D imaging in micro-assembly, achieves high-speed, high-precision 3D imaging, is suitable for complex scenes and improves System flexibility and scalability.
Patent Information
- Application Number
- CN202310170833.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-27
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2043-02-27
AI Technical Summary
Existing three-dimensional imaging in micro-assemblies suffers from low efficiency and insufficient imaging accuracy. Especially in high dynamic range and complex surface conditions, traditional structured light systems are easily affected by illumination changes and object surface reflections, resulting in reduced imaging accuracy.
A micro-vision three-dimensional imaging system based on a dual-axis scanning galvanometer and a dynamic vision sensor is used to achieve high-speed three-dimensional imaging through the high speed and high precision of the dual-axis galvanometer and the low latency, high time resolution and high dynamic range of the dynamic visual sensor. Improve imaging efficiency and accuracy.
It achieves high-speed three-dimensional imaging, improves real-time performance and accuracy, reduces computing resource consumption, is applicable to a wider range of scenarios, has good scalability of the imaging system and algorithm, and can resist the effects of illumination changes and object surfaces.
Smart Images

Figure CN116320356B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of optical three-dimensional imaging, and in particular relates to a micro-vision three-dimensional imaging system and method. Background Art
[0002] With the continuous development of ultra-precision machining and micro-nano manufacturing technologies, MEMS products composed of tiny parts with characteristic dimensions ranging from micrometers to millimeters are constantly emerging. In the manufacturing process of parts for such MEMS products, effective means are urgently needed to accurately measure the three-dimensional dimensions of each part that makes up the system. In addition, as an important part of the production and manufacturing of high-end MEMS products, micro-assembly is the key to ensuring the overall quality and performance of the product. At present, the most important part of micro-assembly research is to obtain three-dimensional spatial information. Only by achieving accurate three-dimensional visual perception can the end robot be guaranteed to be accurate and error-free when performing micro-assembly.
[0003] There are three main types of non-contact 3D imaging technologies on the market, namely binocular stereo vision, ToF, and structured light. Among them, binocular stereo vision software is relatively complex and is greatly affected by changes in lighting and object texture. It is almost unusable for parts with unclear surface information during micro-assembly. The ToF method has a low resolution and is not suitable for high-precision occasions such as micro-assembly. The structured light method actively projects a known pattern onto the scene and uses a camera to observe how light interacts with the surface of the object to perceive depth. It has the advantages of being insensitive to object texture and high precision, and is more suitable for micro-assembly scenarios.
[0004] Traditional structured light systems require projecting and shooting multiple pictures with coded information to decode and obtain three-dimensional information. Due to the limited bandwidth of projectors and cameras, collecting and transmitting data in the form of image frames will bring a large amount of useless redundant data, waste a lot of hardware resources, and reduce the efficiency of three-dimensional imaging. It is also easily affected by the reflection of the object surface, resulting in exposure and other problems, which greatly affects the imaging accuracy.
[0005] Therefore, in order to solve the problems of low efficiency of three-dimensional imaging in traditional structured light and susceptibility to light, the literature (M. Muglikar, G. Gallego and D. Scaramuzza, "ESL: Event-based Structured Light," 2021 International Conference on 3D Vision (3DV), 2021, pp. 1165-1174, doi: 10.1109 / 3DV53792.2021.00124.) proposed a novel structured light system based on event camera, which uses the advantages of event camera to overcome the above problems. However, the system is not flexible enough in controlling the projection position, and the projection accuracy is not enough in a small field of view, resulting in insufficient three-dimensional imaging accuracy. Therefore, it is not suitable for micro-assembly scenarios. A 3D detection method and system based on scanning galvanometer and event camera laser line scanning (Xia Changfeng, Song Xiumin, Yang Di, Qiao Dayong, He Wei. 3D detection method and system based on scanning galvanometer and event camera laser line scanning [P]. Shaanxi Province: CN109458928B, 2020-12-25.) The use of scanning galvanometer can effectively solve the problem of insufficient flexibility and accuracy in controlling and calculating the laser projection position, but its laser line scanning is composed of a light plane (a plane composed of the projected laser and the light strip of the object surface contour) and an imaging ray in three-dimensional imaging. The position of a point in space is determined by the intersection of lines and surfaces, and the three-dimensional coordinates of the point are calculated by the transformation relationship between the galvanometer and the event camera coordinate system. This three-dimensional imaging method relies on the relative position relationship between the galvanometer and the event camera. The overall system is not flexible enough and has poor scalability. Moreover, if the surface morphology of the measured object is complex, the curvature varies greatly, and there are occlusions and shadows, the line scanning light strip information may be lost within the camera's field of view. Compared with point scanning, it has worse robustness, resulting in incomplete three-dimensional measurement data and low imaging accuracy. Therefore, it is not suitable for micro-assembly scenarios.
[0006] The dual-axis scanning galvanometer is an excellent vector scanning device, which generally includes a galvanometer reflective lens, a swing motor, a servo amplifier and a connecting cable. By inputting current to control the motors of the X and Y axes to drive the reflective lens to deflect at high speed, the incident laser beam can be projected to the specified position of the plane. The scanning rate ranges from a few Hz to a few kHz, and it has the advantages of high-precision and high-speed scanning.
[0007] Dynamic vision sensors are bio-inspired sensors. Unlike traditional cameras that output image frames, dynamic vision sensors sense that when the brightness change of a local pixel exceeds a set threshold, they asynchronously output event stream information (including pixel coordinates and corresponding timestamps) of the local pixel brightness change with a time resolution of microseconds. Compared with traditional cameras, they have significant advantages, such as small data volume, low power consumption, low latency, high time resolution, and high dynamic range. Summary of the invention
[0008] In order to effectively solve the problems of low efficiency of dynamic three-dimensional imaging and insufficient accuracy of high dynamic range imaging in micro-assembly, the present invention proposes a micro-vision three-dimensional imaging system and method based on a dual-axis scanning galvanometer and a dynamic vision sensor. The advantages of the high speed and high precision of the dual-axis scanning galvanometer and the small data volume, low power consumption, low latency, high temporal resolution and high dynamic range of the dynamic vision sensor are utilized to solve the problem of high-speed and high dynamic range three-dimensional imaging in micro-assembly scenarios. Compared with traditional structured light systems, the efficiency and accuracy of dynamic three-dimensional imaging can be effectively improved.
[0009] The present invention is achieved by at least one of the following technical solutions.
[0010] A micro-vision three-dimensional imaging system, comprising a laser generating module, a laser adapter ring, an XY dual-axis galvanometer scanning head, a dynamic vision sensor, a small field of view projection lens, a small field of view imaging lens, a working platform, an imaging system support device and a target object;
[0011] The imaging system support device is located above the working platform, the dual-axis galvanometer scanning head and the dynamic vision sensor are arranged on the imaging system support device, the laser generating module is connected to the XY dual-axis galvanometer scanning head through a laser adapter ring, the small field of view projection lens and the small field of view imaging lens are respectively connected to the XY dual-axis galvanometer scanning head and the dynamic vision sensor, and the working platform is located below the small field of view projection lens and the small field of view imaging lens.
[0012] Furthermore, the dual-axis galvanometer scanning head contains two mutually perpendicular galvanometer reflective lenses in the X and Y directions. The laser beam emitted by the laser generating module is deflected by the two galvanometer reflective lenses in the X and Y directions and then projected by the small field of view projection lens.
[0013] Furthermore, the dual-axis galvanometer scanning head and the dynamic vision sensor are fixed on the imaging system support device with parallel optical axes or crossed optical axes.
[0014] Furthermore, the small-field-of-view projection lens and the small-field-of-view imaging lens have the same structure, and are both telecentric lenses.
[0015] The imaging method of the micro-vision three-dimensional imaging system includes the following steps:
[0016] S1. Build a micro-vision 3D imaging system;
[0017] S2, calibrate the micro-vision 3D imaging system, and during calibration, treat the XY dual-axis galvanometer scanning head as an inverse camera;
[0018] S3, by inputting current to control the motor rotation of the XY dual-axis galvanometer scanning head to adjust the rotation angle of the corresponding galvanometer lens, deflect and reflect the incident laser beam, and project it onto the target object, so as to realize the precise scanning of the laser beam according to the specified rules;
[0019] S4, using a dynamic vision sensor to perceive the illumination change caused by the laser on the target object, and the pixels of the imaging plane respond asynchronously by generating events;
[0020] S5. Pre-set the synchronous triggering of the XY dual-axis galvanometer scanning head and the dynamic vision sensor, and match the projection position of the laser beam with the event information of the dynamic vision sensor through the principle of spatiotemporal consistency and the assumption of time invariance;
[0021] S6. Calculate the three-dimensional information of the target object using the calibration information in step S2, the matching information in step S5 and a three-dimensional matching algorithm to complete three-dimensional imaging.
[0022] Further, step S2 includes:
[0023] When calibrating the dynamic vision sensor, the checkerboard pattern is photographed from different positions and the event stream is converted into the form of picture frames. The landmark points are extracted from the generated image. The calibration toolbox is used to calibrate the internal and external parameters of the dynamic vision sensor to obtain the homography matrix H for the transformation of event pixel coordinates to world 3D coordinates. event ;
[0024] When calibrating the XY dual-axis galvanometer scanner, the XY dual-axis galvanometer scanner is regarded as an inverse camera, and the same reference surface is selected for joint calibration to obtain the homography matrix H for the transformation of the projection position coordinates to the world three-dimensional coordinates. project ;
[0025] After the calibration is completed, the mapping relationship between the event pixel coordinates, projection position coordinates and the world 3D coordinates of the target object at a certain moment is obtained:
[0026]
[0027] Among them, (u e ,v e ) is the event pixel coordinate at a certain moment, (u p ,v p ) is the projection position coordinate at the corresponding moment, (X w ,Y w ,Z w ) is the corresponding world 3D coordinate.
[0028] Furthermore, in step S3, the projection position at a specified time is determined by calculating the deflection angle:
[0029]
[0030] Among them, (u p ,v p ) is the projection position coordinate on the viewing plane at the corresponding moment, θ x ,θ y is the optical deflection angle of the X and Y axes, d is the distance from the axis of the Y-axis galvanometer to the origin of the field of view plane coordinate, and e is the distance between the X-axis and Y-axis galvanometer reflective lenses;
[0031] θ x ,θ y The relationship with the input current is:
[0032] θ x =k x *I x
[0033] θ y =k y *I y
[0034] Among them, I x and I y is the input current for controlling the deflection of the X-axis and Y-axis motors, k x and k y is the corresponding coefficient.
[0035] Further, in step S4, the dynamic vision sensor asynchronously outputs event stream information with a time resolution of microseconds. The event stream information is in the form of r k express:
[0036] e k =(u ek , v ek , t k )
[0037] Among them, (u ek , v ek ) is the pixel coordinates where the brightness change exceeds the set threshold, t k The timestamp when the event was generated.
[0038] Furthermore, in step S5, the synchronous triggering of the dual-axis galvanometer scanning head and the dynamic vision sensor is set, and the projection position information of the dual-axis galvanometer scanning head and the event information flow of the dynamic vision sensor are mapped and matched through the principle of spatiotemporal consistency and the assumption of time invariance:
[0039] τ i (u ei ,v ei ;u pi ,v pi )
[0040] Among them, τ i is the scanning time of the i-th point of the dual-axis galvanometer scanning head, (u ei ,v ei ) is the event pixel coordinate of the i-th point, (u pi ,v pi ) is the projection position coordinate of the i-th point.
[0041] Furthermore, the homography matrix H obtained by calibration in S2 is used project and H event The projection position coordinate point (u p ,v p ) and the pixel coordinate point where the event occurred (u e ,v e ), the three-dimensional coordinates are calculated by solving the overdetermined equations through the three-dimensional matching algorithm:
[0042]
[0043] Among them, (u e ,v e ) is the event pixel coordinate at a certain moment, (u p ,v p ) is the projection position coordinate at the corresponding moment, H event and H project is the homography matrix obtained by calibration, h e1 and h e2 H event The row vector of h p1 and h p2 H project The row vector of (X w ,Y w ,Z w ) is the corresponding world three-dimensional coordinate;
[0044] Traverse all the projection points, calculate the three-dimensional point cloud data of the entire target object, and complete the three-dimensional imaging.
[0045] Compared with the prior art, the present invention has at least the following beneficial technical effects:
[0046] (1) This method uses a dual-axis scanning galvanometer to achieve a scanning frequency of up to several kHz. At the same time, the dynamic vision sensor has a time resolution of microseconds, which can achieve high-speed three-dimensional imaging, improve the real-time performance of three-dimensional imaging, and have higher efficiency.
[0047] (2) The projection position control and calculation of the dual-axis scanning galvanometer are simple, and no encoding and decoding are required to determine the projection position; the dynamic vision sensor can filter out a large amount of redundant data, output a small amount of valid data, and has a fast response speed; the homography matrices of projection and imaging are calibrated separately, the three-dimensional imaging algorithm is flexible and simple, the computing resources are less consumed, the speed of calculating and generating three-dimensional point clouds is faster, and the imaging system and algorithm have good scalability.
[0048] (3) Compared with the traditional structured light method, this method has better accuracy and robustness. The projection position of the dual-axis scanning galvanometer is accurate and precise. The dynamic vision sensor has a higher dynamic range and is not easily affected by changes in lighting and exposure of the object surface. It has a wider range of applicable scenarios and applications, and has better imaging accuracy and stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a schematic diagram of the overall structure of a micro-vision three-dimensional imaging system;
[0050] Figure 2 It is a schematic diagram of the internal working principle of the dual-axis galvanometer scanning head in the present invention;
[0051] Figure 3 It is a flow chart of a micro-vision three-dimensional imaging method based on a dual-axis scanning galvanometer and a dynamic vision sensor;
[0052] Figure 4 Schematic diagram of the overall structure of the micro-vision 3D imaging system in Example 2;
[0053] The figure shows: 1-laser generation module, 2-laser adapter ring, 3-XY dual-axis galvanometer scanning head, 4-dynamic vision sensor, 5-small field of view projection lens, 6-small field of view imaging lens, 7-imaging system support device, 8-working platform, 9-target object. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0055] Example 1
[0056] like Figure 1As shown, this embodiment provides a micro-vision three-dimensional imaging system, including a laser generating module 1, a laser adapter ring 2, an XY dual-axis galvanometer scanning head 3, a dynamic vision sensor 4, a small field of view projection lens 5, a small field of view imaging lens 6, an imaging system support device 7, a working platform 8, and a target object 9.
[0057] The imaging system support device 7 is a gantry structure, located above the working platform 8, the dual-axis galvanometer scanner 3 and the dynamic vision sensor 4 are fixed to the crossbeam of the gantry structure by bolts, the laser generating module 1 is connected to the input end of the dual-axis galvanometer scanner 3 through the laser adapter ring 2, the small field of view projection lens 5 is installed on the output end of the dual-axis galvanometer scanner 3 through threads, the small field of view imaging lens 6 is connected to the dynamic vision sensor 4 through threads, and the working platform is located below the two lenses.
[0058] The dual-axis galvanometer scanning head 3 contains two mutually perpendicular X-axis and Y-axis driving motors, and two X- and Y-axis galvanometer reflective lenses are respectively fixed on the motors in parallel. By inputting a specified current, the X- and Y-axis motors can be controlled to deflect at a specified angle, thereby driving the X- and Y-axis galvanometer reflective lenses fixed thereon to deflect to the corresponding angle at high speed. The laser beam emitted by the laser generating module 1 is deflected by the two X- and Y-axis galvanometer reflective lenses, and then projected by the small field of view projection lens 6.
[0059] The dual-axis galvanometer scanning head 3 and the dynamic vision sensor 4 are fixed on the imaging system support device 7 with parallel optical axes or crossed optical axes, so as to maximize the depth of field and field of view overlap range of the small field of view projection lens and small field of view imaging lens connected thereto on the working platform.
[0060] The small-field-of-view projection lens 5 and the small-field-of-view imaging lens 6 have the same structure and are telecentric lenses.
[0061] In this embodiment, the models of the two telecentric lenses are OPT-5M03-110 of OPT, and their optical structure is object-side telecentric, with a field of view of The working distance is 110mm±0.3%, and the depth of field is 9.1mm; the model of the dual-axis galvanometer scanner head 3 is Thorlabs' XG210-AG, and the maximum scanning angle is ±22.5°; the model of the dynamic vision sensor 4 is Corelon's CeleX5-MP, with a dynamic range of 120dB and a maximum resolution of 1280x800. At this resolution, the minimum time resolution is 1μs.
[0062] like Figure 2As shown, in order to achieve regular raster scanning and ensure accurate scanning position, the laser beam is input through the input end of the dual-axis galvanometer scanning head, and the current is input in a regular pattern through computer control, driving the X-axis and Y-axis motors of the dual-axis galvanometer scanning head 3 to deflect in a regular pattern, driving the galvanometer reflective lenses on the corresponding axes to produce a regular deflection angle, and realizing the laser beam to be projected to the specified position through the projection lens through deflection.
[0063] Example 2
[0064] like Figure 3 As shown, this embodiment provides a micro-vision three-dimensional imaging method based on a dual-axis scanning galvanometer and a dynamic vision sensor, which mainly includes the following steps:
[0065] S1. Adjust the target object on the working platform so that it is within the working range and the projection and event imaging are clear;
[0066] Furthermore, the imaging model based on the telecentric lens can be derived as follows:
[0067]
[0068] Among them, (u, v) represents the pixel coordinates of the target object in the image plane, α, β, γ are the inherent elements of the intrinsic parameter matrix, and R 3*3 and T 3*1 is the rotation matrix and translation matrix in the external parameter matrix, H is the homography matrix, (X w ,Y w ,Z w ) is the world 3D coordinate of the target object.
[0069] S2, calibrate the micro-vision 3D imaging system, and during calibration, treat the dual-axis galvanometer scanning head as an inverse camera;
[0070] Specifically, when calibrating the dynamic vision sensor, the checkerboard pattern is photographed from different positions, and the event stream is converted into the form of picture frames. The landmark points are extracted on the generated image, and then the calibration algorithm is used to calibrate the internal and external parameters of the dynamic vision sensor to obtain the homography matrix H for the transformation of event pixel coordinates to world 3D coordinates. event .
[0071] When calibrating the dual-axis galvanometer scanner, the dual-axis galvanometer scanner can be regarded as an inverse camera, and the same reference surface is selected for joint calibration to obtain the homography matrix H for the transformation of the projection position coordinates to the world 3D coordinates. project .
[0072] After calibration, the mapping relationship between the event pixel coordinates, projection position coordinates and the world 3D coordinates of the target object at a certain moment can be obtained:
[0073]
[0074] Among them, (u e ,c e ) is the event pixel coordinate at a certain moment, (u p ,v p ) is the projection position coordinate at the corresponding moment, (X w ,Y w ,Z w ) is the corresponding world 3D coordinate.
[0075] S3, generating certain input current parameters and signals according to the scanning rules, and setting the triggering conditions of the dual-axis galvanometer scanning head and the dynamic vision sensor;
[0076] S4, passing the current signal to the motor controller through the computer running program, and triggering the dynamic vision sensor at the same time, realizing the scanning of the specified rules and the event generation of the dynamic vision sensor;
[0077] S5. The generated event stream information is transmitted to a computer for processing. The event stream information is matched with the scanning rule of the dual-axis galvanometer scanning head according to the temporal and spatial consistency and time invariance assumptions of synchronous triggering to obtain matching information. The process is as follows:
[0078] After the event stream information is transmitted to the computer, the event stream information sorted by timestamp is obtained through data processing:
[0079] e k =(u e , v e , t e )
[0080] Where (u e ,v e ) represents the pixel coordinates where the event occurs, t e Timestamp
[0081] The scanning law of synchronous triggering can be solved through certain input current signals and parameters, including the projection position coordinates (u p ,v p ) and the timestamp t of the corresponding point p :
[0082]
[0083] Among them, (u p ,v p ) is the corresponding projection position on the viewing plane, θ x and θ y is the optical deflection angle of the X and Y axes, d is the distance from the axis of the Y-axis galvanometer to the origin of the field of view plane coordinate, and e is the distance between the X-axis and Y-axis galvanometer reflective lenses.
[0084] θ x and θ y The relationship between the optical deflection angle of the X and Y axes and the input current is:
[0085] θ x =k x *I x
[0086] θ y =k y *I y
[0087] Among them, I x and I y is the input current for controlling the deflection of the X-axis and Y-axis motors, k x and k y is the corresponding coefficient.
[0088] The corresponding timestamp t can be obtained through the corresponding input current signal p .
[0089] By t k and t p The matching relationship can obtain the matching data stream of the projection point coordinates at each scanning moment and the pixel coordinates of the corresponding event:
[0090] τ i (u ei ,v ei ;u pi ,v pi )
[0091] where τ i is the scanning time of the i-th point of the dual-axis galvanometer scanning head, (u ei ,v ei ) is the event pixel coordinate of the i-th point, (u pi ,v pi ) is the projection position coordinate of the i-th point;
[0092] S6. After the computer obtains the matching data stream, it uses the pre-calibrated homography matrix H project and H event , establish a mapping relationship:
[0093]
[0094] Among them, (u e ,v e ) is the event pixel coordinate at a certain moment, (u p ,v p ) is the projection position coordinate at the corresponding moment, H event and H projectis the homography matrix obtained by calibration, (X w ,Y w ,Z w ) is the corresponding world 3D coordinate.
[0095] Combining the two mapping relationships, we can use the least squares method to solve the overdetermined equations to inversely solve the three-dimensional coordinates of the point. The expression is:
[0096]
[0097] Among them, g e1 and g e2 H event The row vector of h p1 and h p2 H project The row vector of .
[0098] Traverse the entire matching data stream, calculate the three-dimensional coordinates of all points, and achieve three-dimensional imaging.
[0099] Example 3
[0100] Dynamic vision sensors sense the illumination changes caused by laser beam projection to output event stream information. When the laser beam is projected on the side or back of the target object relative to the dynamic vision sensor's perception direction, the dynamic vision sensor cannot sense the illumination changes or the illumination changes do not reach the threshold due to occlusion shadows. Therefore, the dynamic vision sensor cannot sense and output information like ordinary cameras, resulting in reduced accuracy and incompleteness of three-dimensional imaging.
[0101] In response to this type of occlusion problem, this embodiment proposes a system and method for solving the problem of reduced accuracy and incomplete three-dimensional imaging caused by the above reasons.
[0102] like Figure 4 As shown, it is basically the same as Example 2 and is an extended form of Example 2. The difference is that the imaging system has an additional dynamic vision sensor and a small field of view imaging lens, the cross optical axes of the two dynamic vision sensors are fixed on the imaging system support device, and the dual-axis galvanometer scanning head is placed perpendicular to the work platform.
[0103] In this embodiment, the three lenses are telecentric lenses with the same structure, model OPT-5M03-110, whose optical structure is object-side telecentric and field of view range is The working distance is 110mm±0.3% and the depth of field is 9.1mm. The dual-axis galvanometer scanner is Thorlabs' XG210-AG with a maximum scanning angle of ±22.5°. The two dynamic vision sensors are of the same model, both CeleX5-MP from Corelon, with a dynamic range of 120dB and a maximum resolution of 1280x800. The minimum time resolution at this resolution is 1μs.
[0104] The micro-vision three-dimensional imaging system adopts a hard triggering method to connect the trigger output end to the first and second dynamic vision sensors respectively, and the other steps are basically similar to those of Example 2.
[0105] The mapping relationship model of the micro-vision 3D imaging system satisfies:
[0106]
[0107] Among them, (u e1 ,v e1 ) is the event pixel coordinate output by the first dynamic vision sensor at a certain moment, (u e2 ,v e2 ) is the event pixel coordinate output by the second dynamic vision sensor at a certain moment, (u p ,v p ) is the projection position coordinate at the corresponding moment, H event1 , H event2 and H project is the homography matrix of the first dynamic vision sensor, the second dynamic vision sensor and the dual-axis galvanometer scanning head obtained by calibration, (X w ,Y w ,Z w ) is the corresponding world 3D coordinate.
[0108] Combining this mapping relationship model, we get:
[0109]
[0110] Among them, h e11 and h e12 H even The row vector of h e21 and h e22 H even The row vector of h p1 and h p2 H project The row vector of .
[0111] The entire system of equations has six equations, and the unknown is X w , Y w and Z w Three, it is an overdetermined system of equations, which can be solved by the least squares method to obtain Xw , Y w and Z w .
[0112] Compared with Example 2, the use of dynamic visual sensors in two directions in this embodiment can complement each other. When one of them is unable to output event information for the projection signal or outputs noise due to occlusion, noise or hardware problems, the other one can serve as a supplement. When both can work and output events, the introduction of more equations and parameters can improve the solution accuracy, and effectively solve the problem of reduced accuracy and incompleteness of three-dimensional imaging caused by the above-mentioned occlusion and other reasons.
[0113] The above-mentioned embodiment 3 is a further promotion form of a binocular imaging system similar to that of embodiment 2. Furthermore, since the mapping model of the three-dimensional imaging of the present invention is simple and flexible, it can be extended to more objects based on the above-mentioned system and method, and more information can be used to improve the three-dimensional imaging quality and enhance the three-dimensional imaging accuracy.
[0114] The above are only specific embodiments of the present invention, which are further specific elaborations of the principles, technical solutions and beneficial effects of the present invention. The selected specific embodiments do not limit the protection scope of the invention. Any modification, equivalent replacement, improvement of the present invention using the contents of the present invention specification, or application of the present invention in other related technical fields should be included in the protection scope of the present invention.
Claims
1. A micro-vision three-dimensional imaging system, characterized in that: It includes a laser generating module, a laser adapter ring, an XY dual-axis galvanometer scanning head, a dynamic vision sensor, a small field of view projection lens, a small field of view imaging lens, a working platform, an imaging system support device and a target object; The imaging system support device is located above the working platform, the dual-axis galvanometer scanning head and the dynamic vision sensor are arranged on the imaging system support device, the laser generating module is connected to the XY dual-axis galvanometer scanning head through a laser adapter ring, the small field of view projection lens and the small field of view imaging lens are connected to the XY dual-axis galvanometer scanning head and the dynamic vision sensor respectively, and the working platform is located below the small field of view projection lens and the small field of view imaging lens; The dual-axis galvanometer scanning head contains two mutually perpendicular galvanometer reflective lenses in the X and Y directions. The laser beam emitted by the laser generating module is deflected by the two galvanometer reflective lenses in the X and Y directions and then projected by the small field of view projection lens. The small-field-of-view projection lens and the small-field-of-view imaging lens have the same structure, and are both telecentric lenses.
2. A micro-vision three-dimensional imaging system according to claim 1, characterized in that: The dual-axis galvanometer scanning head and the dynamic vision sensor are fixed on the imaging system support device with parallel optical axes or crossed optical axes.
3. The imaging method based on the micro-vision three-dimensional imaging system according to claim 1, characterized in that: The following steps are involved: S1. Build a micro-vision 3D imaging system; S2, calibrate the micro-vision 3D imaging system, and during calibration, treat the XY dual-axis galvanometer scanning head as an inverse camera; S3, by inputting current to control the motor rotation of the XY dual-axis galvanometer scanning head to adjust the rotation angle of the corresponding galvanometer lens, deflect and reflect the incident laser beam, and project it onto the target object, so as to realize the scanning of the laser beam according to the specified rule; S4, using a dynamic vision sensor to perceive the illumination change caused by the laser on the target object, and the pixels of the imaging plane respond asynchronously by generating events; S5. Pre-set the synchronous triggering of the XY dual-axis galvanometer scanning head and the dynamic vision sensor, and match the projection position of the laser beam with the event information of the dynamic vision sensor through the principle of spatiotemporal consistency and the assumption of time invariance; S6. Calculate the three-dimensional information of the target object using the calibration information in step S2, the matching information in step S5 and a three-dimensional matching algorithm to complete the three-dimensional imaging.
4. The imaging method of the micro-vision three-dimensional imaging system according to claim 3, characterized in that: Step S2 includes: When calibrating the dynamic vision sensor, the checkerboard pattern is photographed from different positions and the event stream is converted into the form of picture frames. The landmark points are extracted from the generated image. The calibration toolbox is used to calibrate the internal and external parameters of the dynamic vision sensor to obtain the homography matrix H for the transformation of event pixel coordinates to world 3D coordinates. event ; When calibrating the XY dual-axis galvanometer scanner, the XY dual-axis galvanometer scanner is regarded as an inverse camera, and the same reference surface is selected for joint calibration to obtain the homography matrix H for the transformation of the projection position coordinates to the world three-dimensional coordinates. project ; After the calibration is completed, the mapping relationship between the event pixel coordinates, projection position coordinates and the world 3D coordinates of the target object at a certain moment is obtained: Among them, (u e , v e ) is the event pixel coordinate at a certain moment, (u p , v p ) is the projection position coordinate at the corresponding moment, (X w , Y w , Z w ) is the corresponding world 3D coordinate.
5. The imaging method of the micro-vision three-dimensional imaging system according to claim 3, characterized in that: In step S3, the projection position at a specified time is determined by calculating the deflection angle: Among them, (u p , v p ) is the projection position coordinate on the viewing plane at the corresponding moment, θ x ,θ y is the optical deflection angle of the X and Y axes, d is the distance from the axis of the Y-axis galvanometer to the origin of the coordinates of the field of view plane, and e is the distance between the reflective lenses of the X-axis and Y-axis galvanometers; θ x ,θ y The relationship with the input current is: θ x =k x *I x θ y =k y *I y Among them, I x and I y is the input current for controlling the deflection of the X-axis and Y-axis motors, k x and k y is the corresponding coefficient.
6. The imaging method of the micro-vision three-dimensional imaging system according to claim 3, characterized in that: In step S4, the dynamic vision sensor asynchronously outputs event stream information with a time resolution of microseconds. The event stream information is in the form of e k express: e k =(u ek ,v ek ,t k ) Among them, (u ek , v ek ) is the pixel coordinates where the brightness change exceeds the set threshold, t k The timestamp when the event was generated.
7. The imaging method of the micro-vision three-dimensional imaging system according to claim 3, characterized in that: In step S5, the synchronous triggering of the dual-axis galvanometer scanning head and the dynamic vision sensor is set, and the projection position information of the dual-axis galvanometer scanning head and the event information flow of the dynamic vision sensor are mapped and matched through the principle of spatiotemporal consistency and the assumption of time invariance: τ i (u ei ,v ei ;u pi ,v pi ) Among them, τ i is the scanning time of the i-th point of the dual-axis galvanometer scanning head, (u ei , v ei ) is the event pixel coordinate of the i-th point, (u pi , v pi ) is the projection position coordinate of the i-th point.
8. The imaging method of the micro-vision three-dimensional imaging system according to claim 3, characterized in that: Use the homography matrix H obtained by calibration in S2 project and H event The projection position coordinate point (u p , v p ) and the pixel coordinate point where the event occurred (u e , v e ), the three-dimensional coordinates are calculated by solving the overdetermined equations through the three-dimensional matching algorithm: Among them, (u e , v e ) is the event pixel coordinate at a certain moment, (u p , v p ) is the projection position coordinate at the corresponding moment, H event and H project is the homography matrix obtained by calibration, h e1 and h e2 H event The row vector of h p1 and h p2 H project The row vector of (X w , Y w , Z w ) is the corresponding world three-dimensional coordinate; Traverse all the projection points, calculate the three-dimensional point cloud data of the entire target object, and complete the three-dimensional imaging.
