A device and method for event camera calibration

By using a flashing LED light bar and a rotating stage combined with Gaussian filtering and direct linear transformation method, the problem of low calibration accuracy of event cameras is solved, a high-precision, automated calibration process is achieved, covering the full field of view and reducing the manufacturing cost of the rotating stage. .

CN117911540BActive Publication Date: 2024-09-17ANHUI UNIV +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410307498.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-09-17
Estimated Expiration
2044-03-18

AI Technical Summary

Technical Problem

The calibration accuracy of event cameras in the existing technology is low, especially in dynamic processes, which affects the accuracy of camera work results.

Method used

A calibration device including a flashing LED light bar, a rotating stage and a one-dimensional translation stage is used to improve the accuracy of camera calibration through Gaussian filtering denoising and direct linear transformation methods combined with optimization algorithms.

Benefits of technology

It achieves high-precision event camera calibration, covers the entire field of view, avoids unclear image points, and automates the calibration process, which is convenient and reduces the manufacturing cost of the rotary stage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117911540B
    Figure CN117911540B
Patent Text Reader

Abstract

The present invention provides an event camera calibration device and method applied to the field of camera calibration technology, comprising an event camera, a flashing LED light bar, a computer, a one-dimensional translation stage, a support frame, a rotating table, an LED controller and a translation stage controller; the flashing LED light bar can realize one-dimensional translation motion through the translation stage, the one-dimensional translation stage is connected to the translation stage controller, the LED controller is connected to the flashing LED light bar, wherein the flashing LED light bar comprises 12 LED light-emitting points, the spacing between adjacent LED light-emitting points is 20 mm, the LED controller, the translation stage controller, the rotating table, and the event camera are connected to the computer; by connecting mutually adapted spline sleeves a and spline shafts a, the rotation drive control of a lower shaft frame and an upper shaft frame whose rotation directions are perpendicular to each other can be realized, which is beneficial to reducing the number of servo motors used by the rotating table, thereby effectively reducing the manufacturing cost of the rotating table, and is beneficial to more conveniently and accurately realizing the calibration of the event camera.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of camera calibration, and in particular to a device and method for event camera calibration. Background Art

[0002] As an emerging dynamic vision camera, event camera has attracted widespread attention from scholars and developed rapidly. It can be roughly divided into the following three categories: DVS (Dynamic vision sensor), ATIS (Asynchronous time based image sensor), and DAVIS (Dynamic and active pixel vision Sensor). Event cameras are different from traditional cameras in imaging principles. Event cameras capture events, that is, changes in pixel brightness, and output changes in pixel brightness. When the cumulative brightness change of a pixel reaches a certain threshold, an event is output. Event cameras only capture dynamically changing pixels in the scene. They have low latency, low power consumption, high dynamics, and are not affected by motion blur. They have broad application prospects.

[0003] At present, the calibration technology of event cameras is still very lacking in image measurement or machine vision applications. The calibration of calibration parameters is a very critical link. The accuracy of the calibration results will directly affect the accuracy of the camera's working results. The camera calibration methods in the existing technology have low precision and low calibration accuracy in dynamic processes. Therefore, doing a good job in camera calibration is a prerequisite for subsequent work, and improving calibration accuracy is the focus of scientific research. Summary of the invention

[0004] The purpose of the present application is to realize accurate calibration of dynamic processes, improve the simplicity and convenience of the calibration device, and effectively improve the calibration accuracy. Compared with the prior art, a calibration device for an event camera is provided, including an event camera, a flashing LED light bar, a computer, a one-dimensional translation stage, a support frame, a rotating stage, an LED controller, and a translation stage controller;

[0005] The flashing LED light bar can realize one-dimensional translation motion through a translation stage. The one-dimensional translation stage is connected to a translation stage controller, and the LED controller is connected to the flashing LED light bar. The flashing LED light bar includes 12 LED light points, and the spacing between adjacent LED light points is 20 mm. The LED controller, the translation stage controller, the rotating stage, and the event camera are connected to a computer.

[0006] Furthermore, the rotating table includes a base arranged at the bottom, a lower shaft frame is rotatably installed on the top of the base, and a horizontally arranged rotating shaft is rotatably installed on the lower shaft frame, an outer movable sleeve of the lower shaft frame is provided with an upper shaft frame fixedly connected to the rotating shaft, the event camera is fixedly installed on the top of the upper shaft frame, a spline rod coaxially arranged with the lower shaft frame is movably penetrated at the bottom, and a spline sleeve a is transmission-connected to the rotating shaft is provided on the outer movable sleeve of the upper end of the spline rod, and a spline matching the inner size of the spline sleeve a is connected to the outer sliding sleeve of the spline rod Shaft a, and the spline shaft a is arranged below the spline sleeve a, the outer movable sleeve of the spline rod is provided with a spline sleeve b, the outer sliding sleeve of the spline rod is connected with a spline shaft b that is compatible with the internal size of the spline sleeve b, and the spline shaft b is arranged above the spline sleeve b, the outer movable sleeve of the spline rod is provided with a bearing frame fixedly connected to the lower shaft frame, and electromagnets are fixedly installed on the upper and lower sides of the bearing frame, permanent magnets are fixedly embedded in the spline shaft a and the spline shaft b, and a servo motor transmission-connected to the spline rod is fixedly installed on the base.

[0007] Furthermore, a bevel gear a coaxially arranged therewith is fixedly mounted on the rotating shaft, a bevel gear b coaxially arranged therewith is fixedly mounted on the top of the spline sleeve a, and the bevel gear b is meshed with the bevel gear a, and the bottom end of the spline rod is fixedly connected to a worm wheel rotatably mounted inside the base, a worm meshing with the worm wheel is rotatably mounted inside the base, and the worm is coaxially fixedly connected to the driving shaft of the servo motor, and a through hole that passes through from top to bottom is opened at the axial center position of the bevel gear b, the spline sleeve a and the spline rod, and the wire of the electromagnet moves from top to bottom through the through hole.

[0008] Furthermore, a ring-shaped laser receiver a is fixedly installed on the top of the base and is coaxially sleeved on the outer side of the lower shaft frame; a laser transmitter a is fixedly installed on the lower shaft frame and is correspondingly arranged on the inner side of the ring-shaped laser receiver a; a ring-shaped laser receiver b is fixedly installed on the side end wall of the lower shaft frame and is coaxially sleeved on the outer side of the upper shaft frame; a laser transmitter b is fixedly installed on the upper shaft frame and is correspondingly arranged on the inner side of the ring-shaped laser receiver b.

[0009] The present invention also provides a method for event camera calibration, comprising the following steps:

[0010] The present invention provides a method for event camera calibration, comprising the following steps:

[0011] S1. Preparation for acquiring LED light bar images: The flashing LED light bar is placed on a support frame, which is fixed on a one-dimensional translation stage. The flashing LED light bar can achieve one-dimensional translation motion through the translation stage. The LED light bar contains N LED light points, and the distance between adjacent LED light points is , the height of each LED light point is recorded as h imm, i=1,2,...,N, the LED light bar turns on and off synchronously, and the time is adjusted by the single-chip controller. The event camera is fixed on the rotating table. During the calibration process, the controller controls the rotation of the rotating table to make the event camera rotate left and right at equal angles. The event camera and the flashing LED light bar are triggered to start working synchronously. After the event camera completes shooting at this position, the LED light group is off, and the captured image can be transferred to the computer through the USB interface;

[0012] S2, obtain the image of the LED light strip;

[0013] S3, denoising the image of the LED light bar by using Gaussian filtering, extracting feature points from the denoised image of the LED light bar, and obtaining the two-dimensional image coordinates of the LED light;

[0014] S4, moving the one-dimensional translation stage of the fixed flashing LED light bar forward and backward or at different angles, repeating steps 2-3, and collecting M images of the LED light in different positions;

[0015] S5: The two-dimensional feature point extraction and the LED lamp column virtual three-dimensional target are calibrated in two steps. First, a part of the camera parameters are solved by using a direct linear transformation method. Then, the obtained parameters are used as initial values, and the distortion factor of the camera itself is taken into account. The optimization algorithm is used to improve the accuracy of camera calibration, and the optimized camera parameter values ​​are obtained.

[0016] Furthermore, the step of obtaining the image of the LED light bar in S2 is to adjust the rotating stage device so that the LED light bar is parallel to the camera imaging surface, and set this position as the angular zero position of the rotating stage rotation axis as the starting point of the angular rotation during the calibration process; the event camera is located directly in front of the LED light bar , the controller controls the event camera to rotate x times left and right at equal angles on the rotating table, and the rotation angle is ; The event camera takes synchronous shots to obtain the corresponding LED light bar images, and synthesizes the obtained LED light bar images into an N×N LED light two-dimensional image;

[0017] When the rotating table rotates left and right, the left and right rotation is converted into the rotation of the LED. The LED light strip rotates left and right around the camera in space with a radius of R, and a unified coordinate system is established to obtain a virtual three-dimensional target with LED lights distributed in a cylindrical shape in space.

[0018] Furthermore, the height of the N LED light-emitting points in S1 is h i mm,i=1,2,...,N, establish the OXYZ world coordinate system, the three-dimensional coordinates of the virtual target for O is the initial position optical center of the event camera, the normal of the LED light bar is the Y axis, the direction of the LED light bar is consistent with the X axis, the direction perpendicular to the X axis and the Y axis is the Z axis, and the coordinate system is a left-handed coordinate system.

[0019] Furthermore, the image in S3 is denoised using Gaussian filtering: Events to be processed , using the two-dimensional Gaussian function formula: Where: is the spatial distance between this event and other events, The timestamp distance between this event and other events;

[0020] The event stream is convolved with a two-dimensional Gaussian kernel to obtain the true event probability of the event. Where: represents the convolution operation, represents the convolution operation, and time distance The standard deviation of , which is related to the event camera resolution and the time interval of the event stream;

[0021] When the event probability is less than the threshold When the number of events is greater than the threshold, the event is considered to be a background event; When the event is triggered, it is considered to be a real event; the event-based filtering method is used to filter out noise interference and ensure the effectiveness of event triggering.

[0022] Furthermore, the direct linear transformation method (DLT) decomposes the parameter matrix of the camera and uses a direct linear method to solve the internal and external parameters of the camera. DLT needs to use at least 6 feature points to calculate the projection matrix. If there are more than 6 points, DLT first minimizes the square error of the reprojection and then uses the projection matrix for calculation: Where: is the homogeneous coordinate of the point in the pixel coordinate system; is the Euclidean coordinate of the space point in the world coordinate system; K is the internal parameter matrix; t is the translation vector; The perspective projection matrix of ; s is the unknown scale factor.

[0023] Furthermore, the optimized camera parameter values ​​are further optimized by using the Levenberg-Marquardt method to optimize the internal and external parameters and the distortion factor, and the radial distortion parameters k1 and k2 can be solved. The optimization objective function is: In the formula, M represents the number of orientations of the collected target; N² represents the total number of feature points in a target image; represents the jth feature point at the i-th orientation, Represents the coordinates of the back-projected point obtained using the intrinsic parameters; the above formula is minimized to obtain the optimized camera intrinsic and extrinsic parameters.

[0024] A device and method for event camera calibration, comprising an event camera, a flashing LED light bar, a computer, a one-dimensional translation stage, a support frame, a rotating stage, an LED controller and a translation stage controller; the flashing LED light bar can realize one-dimensional translation motion through the translation stage, the one-dimensional translation stage is connected to the translation stage controller, the LED controller is connected to the flashing LED light bar, wherein the flashing LED light bar comprises LED light points, the spacing between adjacent LED light points is mm, and the LED controller, the translation stage controller, the rotating stage and the event camera are connected to the computer.

[0025] Advantages of the present invention:

[0026] (1) The present application provides a method for event camera calibration. The calibration device is composed of an LED light bar and a rotating table, and a target covering the entire field of view can be constructed. At the same time, by using the LED light bar as a light source, its light point can avoid the phenomenon of unclear image points, so that the calibration accuracy is higher.

[0027] (2) The present application provides a device for an event camera calibration method, wherein the calibration process is automated with less human interference factors. The three-dimensional coordinates of the LED light-emitting point at each position are calculated by the rotation angle of the rotating table, thereby making the calibration process more convenient.

[0028] (3) The present application achieves docking and separation of the spline sleeve a and the spline shaft a, as well as the spline sleeve b and the spline shaft b, by installing the mutually adaptable spline sleeve a and the spline shaft a, as well as the spline sleeve b and the spline shaft b on the upper and lower sides of the spline rod, and by means of the switching of the magnetic attraction and repulsion of the permanent magnets in the spline shaft a and the spline shaft b by the electromagnet. This enables the rotation drive control of the lower shaft frame and the upper shaft frame whose rotation directions are perpendicular to each other to be achieved by using only a single servo motor, which is beneficial to reducing the number of servo motors used in the turntable, thereby effectively reducing the manufacturing cost of the turntable, and is beneficial to more convenient and accurate calibration of the event camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the initial position of the calibration system for this application;

[0030] Figure 2 The schematic diagram of the calibration system after rotation for this application;

[0031] Figure 3 Schematic diagram of the calibration method for this application;

[0032] Figure 4 This is a schematic diagram of the position relationship of LEDs in the coordinate system in this application;

[0033] Figure 5 Schematic diagram of three pose LED images collected by the camera for this application;

[0034] Figure 6 This is a stereoscopic image of the rotating platform of this application from the front perspective;

[0035] Figure 7 This is a three-dimensional image from the back side of the rotating table of this application;

[0036] Figure 8 This is a three-dimensional image from the bottom perspective of the rotating table of this application;

[0037] Fig. 9 A top view of the rotating platform of this application;

[0038] Fig.10 For this application Fig. 9 Cross-section of the structure at AA in the middle;

[0039] Fig.11 For this application Fig. 9 Cross-section of the structure at the middle BB;

[0040] Fig.12 This is a stereoscopic diagram of the spline sleeve a and spline shaft a, and the spline sleeve b and spline shaft b in the rotating table of this application after docking.

[0041] Description of the numbers in the figure:

[0042] 1. Support frame; 2. Flashing LED light bar; 3. One-dimensional translation stage; 4. Computer; 5. Event camera;

[0043] 6. Rotating table; 601. Base; 602. Lower shaft frame; 603. Rotating shaft; 604. Upper shaft frame; 605. Spline rod; 606. Spline sleeve a; 607. Spline shaft a; 608. Spline sleeve b; 609. Spline shaft b; 610. Carrying frame; 611. Electromagnet; 612. Servo motor; 613. Bevel gear a; 614. Bevel gear b; 615. Worm wheel; 616. Worm; 617. Ring laser receiver a; 618. Laser transmitter a; 619. Ring laser receiver b; 620. Laser transmitter b;

[0044] 7. LED controller; 8. Translation stage controller; 9. Arc-shaped virtual target formed by LED at the first position; 10. Arc-shaped virtual target formed by LED at the second position; 11. Arc-shaped virtual target formed by LED at the third position. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the 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.

[0046] Embodiment 1:

[0047] The present invention provides a device for calibrating an event camera, see Figure 1 - Fig.12 , including an event camera 5, a flashing LED light bar 2, a computer 4, a one-dimensional translation stage 3, a support frame 1, a rotating stage 6, an LED controller 7 and a translation stage controller 8, wherein the flashing LED light bar 2 is placed on the support frame 1, the support frame 1 is fixed to the one-dimensional translation stage 3, and the flashing LED light bar 2 can realize one-dimensional translation motion through the translation stage;

[0048] The one-dimensional translation stage 3 is connected to the translation stage controller 8, the LED controller 7 is connected to the flashing LED light bar 2, wherein the flashing LED light bar 2 includes 12 LED light points, and the spacing between adjacent LED light points is 20 mm, and the LED controller 7, the translation stage controller 8, the rotating stage 6, and the event camera 5 are connected to the computer 4;

[0049] The height of each LED light point is recorded as h i mm, i=1,2,...,N; the flashing LED light bar 2 turns on and off synchronously, and the time is adjusted by the single-chip controller; the event camera 5 is fixed on the rotating table 6. During the calibration process, the controller controls the rotation of the rotating table 6 to make the event camera 1 rotate left and right at equal angles; the event camera 5 and the flashing LED light bar 2 are triggered to start working synchronously. After the event camera 5 completes shooting at this position, the LED light group is off; the captured image can be transferred to the computer through the USB interface;

[0050] See also Figure 7 - Fig.12The rotating platform 6 includes a base 601 arranged at the bottom, a lower shaft frame 602 is rotatably installed on the top of the base 601, and a horizontally arranged rotating shaft 603 is rotatably installed on the lower shaft frame 602, an outer movable sleeve of the lower shaft frame 602 is provided with an upper shaft frame 604 fixedly connected to the rotating shaft 603, the event camera 5 is fixedly installed on the top of the upper shaft frame 604, a spline rod 605 coaxially arranged therewith is movably penetrated at the bottom of the lower shaft frame 602, and a spline sleeve a606 drivingly connected to the rotating shaft 603 is movably sleeved on the outer side of the upper end of the spline rod 605, and a spline shaft a607 matching the inner size of the spline sleeve a606 is slidably sleeved on the outer side of the spline rod 605, and The spline shaft a607 is arranged below the spline sleeve a606, the outer movable sleeve of the spline rod 605 is provided with a spline sleeve b608, the outer sliding sleeve of the spline rod 605 is connected with a spline shaft b609 which is adapted to the internal size of the spline sleeve b608, and the spline shaft b609 is arranged above the spline sleeve b608, the outer movable sleeve of the spline rod 605 is provided with a bearing frame 610 fixedly connected to the lower shaft frame 602, and electromagnets 611 are fixedly installed on the upper and lower sides of the bearing frame 610, permanent magnets are fixedly embedded in the spline shaft a607 and the spline shaft b609, and a servo motor 612 which is transmission-connected to the spline rod 605 is fixedly installed on the base 601.

[0051] During the use of the device, the device is connected to an external power supply so that the external power supply provides power support for the device. Subsequently, the rotating table 6 can be activated by providing power to the servo motor 612. By controlling the docking of the spline sleeve a606 and the spline shaft a607, and the spline sleeve b608 and the spline shaft b609, the horizontal rotation control of the lower shaft frame 602 and the vertical rotation control of the upper shaft frame 604 can be achieved.

[0052] Under normal circumstances, after the electromagnets 611 installed on the upper and lower sides of the carrier frame 610 are powered on and started, they will magnetically adsorb the permanent magnets in the spline shaft a607 and the spline shaft b609 at the same time. At this time, under the action of magnetic attraction, the spline shaft a607 moves downward and fits against the top of the electromagnet 611 above, and is in a separated state from the spline sleeve a606. Similarly, the spline shaft b609 moves upward and fits against the bottom of the electromagnet 611 below, and is in a separated state from the spline sleeve b608. In this state, when the servo motor 612 is powered on and started to drive the spline rod 605 to rotate, it will not connect power to drive the lower shaft frame 602 and the upper shaft frame 604 to rotate.

[0053] The rotational connection between the lower shaft frame 602 and the base 601 is tight, and the connection position has a certain friction resistance. When the lower shaft frame 602 is rotated without power, the lower shaft frame 602 will not rotate automatically. The rotational connection between the upper shaft frame 604 and the lower shaft frame 602 is also tight. When the upper shaft frame 604 is rotated without power, the upper shaft frame 604 also maintains a stable state without active rotation.

[0054] When it is necessary to control the horizontal rotation of the lower shaft frame 602, it is only necessary to control the electromagnet 611 installed under the carrier 610 to switch the magnetic pole direction, so that the electromagnet 611 provides a magnetic repulsion for the permanent magnet in the spline shaft b609 below. Under the magnetic repulsion, the spline shaft b609 moves downward along the spline rod 605. After the spline shaft b609 moves downward, it is embedded in the spline sleeve b608 to complete the docking operation. At this time, when the spline rod 605 rotates, it will drive the spline shaft b609 adapted to be mounted on its outside to rotate, and then drive the spline sleeve b608 to rotate, providing power access for the rotation of the lower shaft frame 602, so that the event camera 5 installed on the top of the upper shaft frame 604 can be adjusted for horizontal rotation.

[0055] Similarly, when it is necessary to control the upper shaft frame 604 to rotate in the up and down directions, it is only necessary to control the electromagnet 611 installed on the top of the carrier 610 to switch the magnetic pole direction, so that the electromagnet 611 provides a magnetic repulsion for the permanent magnet in the upper spline shaft a607. Under the action of magnetic repulsion, the spline shaft a607 moves upward along the spline rod 605. After the spline shaft a607 moves upward, it is embedded in the spline sleeve a606 to complete the docking operation. At this time, when the spline rod 605 rotates, it will drive the spline shaft a607 adapted to be matched to its outside to rotate, and then drive the spline sleeve a606 to rotate, and drive the rotating shaft 603 to rotate, providing power access for the rotation of the upper shaft frame 604, so that the event camera 5 installed on the top of the upper shaft frame 604 can be adjusted to rotate in the up and down directions.

[0056] During use of the device, the spline sleeve a606 and spline shaft a607, as well as the spline sleeve b608 and spline shaft b609 that are adapted to each other are installed on the upper and lower sides of the spline rod 607, and the spline sleeve a606 and the spline shaft a607, as well as the spline sleeve b608 and the spline shaft b609 are connected and separated by means of the switching of the magnetic attraction and repulsion of the permanent magnets in the spline shaft a607 and the spline shaft b609 by the electromagnet 611, so that the spline sleeve a606 and the spline shaft a607, as well as the spline sleeve b608 and the spline shaft b609 are connected and separated, so that only a single servo motor 612 is needed to realize the rotation drive control of the lower shaft frame 602 and the upper shaft frame 604 whose rotation directions are perpendicular to each other, which is beneficial to reducing the number of servo motors 612 used in the rotating table 6, thereby effectively reducing the manufacturing cost of the rotating table 6.

[0057] The inner dimensions of the spline shaft a607 and the spline shaft b609 are matched with the outer dimensions of the spline rod 605, so that the spline shaft a607 and the spline shaft b609 can only slide up and down on the outside of the spline rod 605 relative to each other, limiting their relative rotation with the spline rod 605, thereby ensuring the stability of the transmission of the rotational power on the spline rod 605 to the lower shaft frame 602 and the upper shaft frame 604. The upper end of the spline shaft a607 and the lower end of the spline shaft b609 are both configured as a truncated cone structure, which forms an inwardly inclined structure at the end position, which can be guided when docking with the spline sleeve a606 and the spline sleeve b608, ensuring that the docking operation is completed more smoothly.

[0058] See also Figure 7 and Fig. 9 A bevel gear a613 coaxially arranged therewith is fixedly mounted on the rotating shaft 603, a bevel gear b614 coaxially arranged therewith is fixedly mounted on the top of the spline sleeve a606, and the bevel gear b614 is meshed with the bevel gear a613, a worm gear 615 rotatably mounted inside the base 601 is fixedly connected to the bottom end of the spline rod 605, a worm 616 meshing with the worm gear 615 is rotatably mounted inside the base 601, and the worm 616 is coaxially fixedly connected to the driving shaft of the servo motor 612, a through hole which passes through from top to bottom is opened at the axial center position of the bevel gear b614, the spline sleeve a606 and the spline rod 605, and the wire of the electromagnet 611 moves from top to bottom through the through hole.

[0059] During the use of the device, after the servo motor 612 is powered on and started, it drives the worm 616 coaxially fixed with its drive shaft to rotate, and with the help of the meshing connection between the worm 616 and the worm wheel 615, the driving 615 drives the spline rod 605 to rotate. By changing the rotation direction of the servo motor 612 drive shaft, the rotation direction of the lower shaft frame 602 and the upper shaft frame 604 can be flexibly adjusted. With the help of the reduction transmission between the worm 616 and the worm wheel 615, the rotation drive of the servo motor 612 on the spline rod 605 can be slowed down, which is conducive to further realizing the accuracy of the rotation adjustment of the lower shaft frame 602 and the upper shaft frame 604.

[0060] When the rotation of the spline rod 605 is transmitted to the spline sleeve a606, it will drive the bevel gear b614 fixed on the top of the spline sleeve a606 to rotate, and with the help of the meshing transmission between the bevel gear b614 and the bevel gear a613, the rotating shaft 603 is driven to rotate, and the radial rotation on the vertically arranged spline rod 605 is transmitted to the horizontally arranged rotating shaft 603, so as to flexibly and stably change the power driving direction. At the same time, by opening a through hole from top to bottom at the axial position of the bevel gear b614, the spline sleeve a606 and the spline rod 605, and arranging the wire tube connecting the electromagnet 611 through the through hole, it can avoid the wire being arranged on the outside and interfering with the rotation of the lower shaft frame 602, which is beneficial to ensure the stability of the rotating table 6 during operation.

[0061] See also Figure 7 , Figure 8 , Fig.11 and Fig.12 A ring-shaped laser receiver a617 coaxially sleeved on the outer side of the lower shaft frame 602 is fixedly installed on the top of the base 601, a laser transmitter a618 correspondingly arranged on the inner side of the ring-shaped laser receiver a617 is fixedly installed on the lower shaft frame 602, a ring-shaped laser receiver b619 coaxially sleeved on the outer side of the upper shaft frame 604 is fixedly installed on the side end wall of the lower shaft frame 602, and a laser transmitter b620 correspondingly arranged on the inner side of the ring-shaped laser receiver b619 is fixedly installed on the upper shaft frame 604.

[0062] During use of the device, the wires connecting the laser emitter a618 and the annular laser receiver b619 are also arranged in the through hole in the spline rod 605, and the wires connecting the laser emitter b620 are inserted into the axial position of the rotating shaft 603, and pass through the through hole in the spline rod 605 at the middle position of the rotating shaft 603, to ensure that the wires of the laser emitter a618, the annular laser receiver b619 and the laser emitter b620 will not interfere with the rotation of the lower shaft frame 602 and the upper shaft frame 604.

[0063] After power-on, laser transmitter a618 and laser transmitter b620 emit lasers after being powered on, which shine on annular laser receiver a617 and annular laser receiver b619 respectively. Annular laser receiver a617 and annular laser receiver b619 will sense the laser points shining on them. When the lower shaft frame 602 and the upper shaft frame 604 rotate, the positions of the laser points sensed on the annular laser receiver a617 and the annular laser receiver b619 change. The rotation angles of the lower shaft frame 602 and the upper shaft frame 604 are verified by the changes in the laser points, thereby achieving precise control of the rotation angles of the lower shaft frame 602 and the upper shaft frame 604.

[0064] Embodiment 2:

[0065] The present invention provides a method for event camera calibration, see Figure 1 - Figure 6 , including the following steps:

[0066] S1. Preparation for obtaining the LED light bar image: The flashing LED light bar 2 is placed on the support frame 1, and the support frame 1 is fixed on the one-dimensional translation stage 3. The LED can achieve one-dimensional translation motion through the translation stage. The LED light bar contains N LED light points, and the distance between adjacent LED light points is , the height of each LED light point is recorded as h imm, i=1,2,...,N, the LED light bar turns on and off synchronously, and the time is adjusted by the single-chip controller. The event camera 5 is fixed on the rotating table 6. During the calibration process, the controller controls the rotating table 6 to rotate so that the event camera 5 rotates left and right at equal angles. The event camera 5 and the flashing LED light bar 2 are synchronously triggered to start working. After the event camera 5 completes shooting at this position, the LED light group is off, and the captured image can be transmitted to the computer 4 through the USB interface;

[0067] S2. Get the image of the LED light bar; adjust the rotating stage device so that the LED light bar is parallel to the camera imaging surface, and set this position as the angular zero position of the rotating axis of the rotating stage 6 as the starting point of the angular rotation during the calibration process. In the embodiment, the event camera 5 is located in front of the LED light bar. , the controller controls the event camera 5 to move from the initial position ( Figure 1 ) Rotate left 11 times at an equal angle, the rotation angle is 5°, Figure 2 The camera calibration system diagram is shown in the position after the rotating stage 6 rotates. The event camera 5 performs synchronous shooting to obtain the corresponding LED light bar image, and synthesizes the obtained LED light bar image into a 12×12 LED light two-dimensional image.

[0068] In the embodiment, when the rotating platform 6 rotates to the left, the leftward rotation can be converted into the rotation of the LED, so the rotating platform can be considered to be stationary, and the LED light bar is rotating around the camera in space with a radius of Rotate left, and establish a unified coordinate system based on this relationship, such as Figure 3 As shown, a virtual three-dimensional target can be obtained in which the LED lights are distributed in a cylindrical shape in space.

[0069] The heights of the N LED light-emitting points in step S1 are recorded as , the first LED light point of the light bar is , the distance between adjacent LED light points is , the height range of LED lights is , establish as Figure 4 The OXYZ world coordinate system shown in the figure takes the initial optical center of the event camera as the origin O, the normal of the LED light bar as the Y axis, the direction of the LED light bar is consistent with the X axis, and the direction perpendicular to the X axis and the Y axis is the Z axis. The coordinate system is a left-handed coordinate system, and the three-dimensional coordinates of the virtual target are for

[0070]

[0071] S3. The image of the flashing LED light bar taken by the event camera 5 may be affected by noise. The image of the LED light bar is denoised. Mean filtering, median filtering, Gaussian filtering and other methods are usually used for image denoising. This system uses Gaussian filtering for denoising. Feature points are extracted from the denoised image of the LED light bar to obtain the two-dimensional image coordinates of the LED light.

[0072] Gaussian filtering for denoising in S3: Events to be processed , using the two-dimensional Gaussian function formula:

[0073]

[0074] Where: is the spatial distance between this event and other events, The timestamp distance between this event and other events.

[0075] The event stream is convolved with a two-dimensional Gaussian kernel to obtain the true event probability of the event.

[0076]

[0077] Where: represents the convolution operation, is the spatial distance between events and time distance The standard deviation of is related to the event camera resolution and the time interval of the event stream.

[0078] As shown in the following formula, when the event probability is less than the threshold When the number of events is greater than the threshold, the event is considered to be a background event; When the event is detected, it is considered to be a real event. The event-based filtering method can filter out noise interference and ensure the effectiveness of event triggering.

[0079]

[0080] S4, move the one-dimensional translation stage of the fixed flashing LED light bar back and forth or at different angles, and repeat steps 2-3. In the implementation scheme, Figure 5 As shown, the present invention collects 3 images of LED lights in different positions;

[0081] S5. The two-dimensional feature points extracted and the virtual three-dimensional target of the LED lamp column surface are calibrated using a two-step method. First, a part of the camera parameters are solved using a direct linear transformation method, and then the obtained parameters are used as initial values. The distortion factor of the camera itself is taken into account, and the optimization algorithm is used to improve the accuracy of camera calibration to obtain optimized camera parameter values.

[0082] S5: Direct Linear Transform (DLT) used. This method decomposes the camera parameter matrix and uses a direct linear method to solve the camera internal and external parameters. DLT needs to use at least 6 feature points to calculate the projection matrix. If there are more than 6 points, DLT first minimizes the square error of the reprojection and then uses the projection matrix for calculation.

[0083]

[0084] Where: is the homogeneous coordinate of the point in the pixel coordinate system; is the Euclidean coordinate of the space point in the world coordinate system; K is the internal parameter matrix; t is the translation vector; is a 3×4 perspective projection matrix; s is an unknown scale factor.

[0085] S5: The Levenberg-Marquardt method is used to further optimize the internal and external parameters and the distortion factor, and the radial distortion parameters k1 and k2 can be solved. The optimization objective function is:

[0086]

[0087] In the formula, M represents the number of orientations of the collected target; N² represents the total number of feature points in a target image; represents the jth feature point at the i-th orientation, Represents the coordinates of the back-projected point obtained using the intrinsic parameters. The above formula is minimized to obtain the optimized camera intrinsic and extrinsic parameters.

[0088] The second embodiment refers to the first embodiment and forms differences based on the first embodiment. Only the differences are described here.

[0089] Working principle:

[0090] Prepare to obtain an LED light bar image, obtain the image of the LED light bar, denoise the image of the LED light bar by using Gaussian filtering, extract feature points from the denoised image of the LED light bar, obtain the two-dimensional image coordinates of the LED light, move the one-dimensional translation stage of the fixed flashing LED light bar back and forth or at different angles, repeat steps 2-3, collect M images of LED lights in different positions, calibrate the extraction of the two-dimensional feature points and the virtual three-dimensional target of the LED light column surface by a two-step method, first use the direct linear transformation method to solve part of the camera parameters, then use the obtained parameters as initial values, take the distortion factor of the camera itself into consideration, use the optimization algorithm to improve the accuracy of the camera calibration, and obtain the optimized camera parameter values.

[0091] During the acquisition process, it is necessary to continuously control the rotation adjustment of the event camera 5. This operation is achieved by controlling the rotating table 6. By switching the magnetic poles of the upper and lower electromagnets 611, the separation and docking of the spline sleeve a606 and the spline shaft a607, as well as the separation and docking of the spline sleeve b608 and the spline shaft b609 are adjusted, thereby realizing the control of the left and right rotation of the event camera 5 in the horizontal direction, as well as the rotation control of the event camera 5 in the up and down directions.

[0092] The above is only the best implementation method adopted by this application in combination with current actual needs, but the protection scope of this application is not limited to this.

Claims

1. A device for calibrating an event camera, comprising an event camera (5), a flashing LED light bar (2), a computer (4), a one-dimensional translation stage (3), a support frame (1), a rotating stage (6), an LED controller (7) and a translation stage controller (8), characterized in that: The one-dimensional translation stage (3) is connected to a translation stage controller (8), the LED controller (7) is connected to a flashing LED light bar (2), wherein the flashing LED light bar (2) comprises 12 LED light points, and the spacing between adjacent LED light points is 20 mm, and the LED controller (7), the translation stage controller (8), the rotating stage (6), and the event camera (5) are connected to a computer (4); The rotating platform (6) comprises a base (601) arranged at the bottom, a lower shaft frame (602) is rotatably mounted on the top of the base (601), an upper shaft frame (604) is rotatably mounted on the lower shaft frame (602), and the event camera (5) is fixedly mounted on the top of the upper shaft frame (604); A spline rod (605) is movably inserted through the bottom of the lower shaft frame (602), and the upper end of the spline rod (605) is movably sleeved with a spline sleeve a (606) drivingly connected to the upper shaft frame (604), the outer side of the spline rod (605) is slidably sleeved with a spline shaft a (607), the outer side of the spline rod (605) is slidably sleeved with a spline sleeve b (608), the outer side of the spline rod (605) is slidably sleeved with a spline shaft b (609), the outer side of the spline rod (605) is slidably sleeved with a spline shaft b (609), the outer side of the spline rod (605) is slidably sleeved with a bearing frame (610), and electromagnets (611) are fixedly installed on the upper and lower sides of the bearing frame (610), and permanent magnets are fixedly embedded inside the spline shaft a (607) and the spline shaft b (609); By controlling the connection between the spline sleeve a (606) and the spline shaft a (607), and the spline sleeve b (608) and the spline shaft b (609), the rotation control of the lower shaft frame (602) in the horizontal direction and the rotation control of the upper shaft frame (604) in the vertical direction are realized; The lower shaft frame (602) and the base (601) are tightly connected in rotation, and the upper shaft frame (604) and the lower shaft frame (602) are tightly connected in rotation; The inner dimensions of the spline shaft a (607) and the spline shaft b (609) are adapted to the outer dimensions of the spline rod (605), and the upper end of the spline shaft a (607) and the lower end of the spline shaft b (609) are both configured as truncated cone structures, so that the end positions thereof form an inwardly inclined structure; A bevel gear a (613) coaxially arranged thereon is fixedly mounted on the rotating shaft (603); a bevel gear b (614) coaxially arranged thereon is fixedly mounted on the top of the spline sleeve a (606); the bevel gear b (614) meshes with the bevel gear a (613); a worm gear (615) rotatably mounted inside the base (601) is fixedly connected to the bottom of the spline rod (605); a worm (616) meshing with the worm gear (615) is rotatably mounted inside the base (601); the worm gear (616) is coaxially fixedly connected to the driving shaft of the servo motor (612); a through hole extending vertically through the bevel gear b (614), the spline sleeve a (606) and the spline rod (605) is provided at the axial center position; a wire of the electromagnet (611) is movably passed through the through hole from top to bottom; When the rotation of the spline rod (605) is transmitted to the spline sleeve a (606), the bevel gear b (614) fixedly mounted on the top of the spline sleeve a (606) is driven to rotate, and the rotating shaft (603) is driven to rotate by means of the meshing transmission between the bevel gear b (614) and the bevel gear a (613), so that the radial rotation on the vertically arranged spline rod (605) is transmitted to the horizontally arranged rotating shaft (603), and a through hole is provided at the axial position of the bevel gear b (614), the spline sleeve a (606) and the spline rod (605) to pass through from top to bottom, and a wire tube connected to the electromagnet (611) is arranged to pass through the through hole; A ring-shaped laser receiver a (617) coaxially sleeved on the outer side of the lower shaft frame (602) is fixedly mounted on the top of the base (601); a laser transmitter a (618) correspondingly arranged on the inner side of the ring-shaped laser receiver a (617) is fixedly mounted on the lower shaft frame (602); a ring-shaped laser receiver b (619) coaxially sleeved on the outer side of the upper shaft frame (604) is fixedly mounted on the side end wall of the lower shaft frame (602); and a laser transmitter b (620) correspondingly arranged on the inner side of the ring-shaped laser receiver b (619) is fixedly mounted on the upper shaft frame (604).

2. A method for event camera calibration device according to claim 1, characterized in that: The steps include: S1. Preparation for obtaining an LED light bar image: a flashing LED light bar (2) is placed on a support frame (1), the support frame (1) is fixed on a one-dimensional translation stage (3), and the flashing LED light bar (2) can achieve one-dimensional translation motion through the translation stage, wherein the flashing LED light bar (2) includes N LED light points, and the spacing between adjacent LED light points is , the height of each LED light point is recorded as h i mm, i=1,2,...,N, the flashing LED light bar (2) turns on and off synchronously, and the time is adjusted by the single-chip controller. The event camera (5) is fixed on the rotating table (6). During the calibration process, the controller controls the rotating table (6) to rotate so that the event camera (5) rotates left and right at equal angles. The event camera (5) and the flashing LED light bar (2) are triggered synchronously to start working. After the event camera (5) completes shooting, the LED light group is off, and the captured image can be transmitted to the computer (4) through the USB interface; S2, obtain the image of the LED light strip; S3, denoising the image of the LED light bar by using Gaussian filtering, extracting feature points from the denoised image of the LED light bar, and obtaining the two-dimensional image coordinates of the LED light; S4, move the one-dimensional translation stage with a fixed flashing LED light bar forward and backward or at different angles, repeat steps S2-S3, and collect M images of the LED light in different positions; S5. The extraction of two-dimensional feature points and the virtual three-dimensional target of the LED light column are calibrated by a two-step method. First, a part of the camera parameters are solved by a direct linear transformation method. Then, the obtained parameters are used as initial values, and the distortion factor of the camera itself is taken into account. The accuracy of camera calibration is improved by an optimization algorithm to obtain the optimized camera parameter values. The two-step calibration method is to decompose the camera parameter matrix and use the direct linear method to solve the camera internal and external parameters. The direct linear transformation method requires at least 6 feature points to calculate the projection matrix. If there are more than 6 points, the direct linear transformation method first minimizes the square error of the reprojection and then uses the projection matrix for calculation.

3. The method for event camera calibration device according to claim 2, characterized in that: The step of obtaining the image of the LED light bar in S2 is to adjust the rotating table (6) so that the flashing LED light bar (2) is parallel to the camera imaging surface, and set this position as the angular zero point position of the rotation axis of the rotating table (6) as the starting point of the angular rotation during the calibration process; the event camera (5) is located directly in front of the flashing LED light bar (2) , the controller controls the event camera (5) to rotate x times on the rotating table (6) at equal angles. The rotation angle is ; The event camera (5) performs synchronous shooting to obtain the corresponding LED light bar image, and synthesizes the obtained LED light bar image into an N×N LED light two-dimensional image; When the rotating platform (6) rotates left and right, the left and right rotation is converted into the rotation of the LED, and the flashing LED light bar (2) rotates left and right around the camera in space with a radius of R, and a unified coordinate system is established to obtain a virtual three-dimensional target in which the LED lights are distributed in a cylindrical shape in space.

4. The method for event camera calibration device according to claim 3, characterized in that: The height of the N LED light points in S1 is , establish the OXYZ world coordinate system, and the three-dimensional coordinates of the virtual target for , O is the initial position optical center of the event camera (5), the normal of the flashing LED light bar (2) is the Y axis, the direction of the flashing LED light bar (2) is consistent with the X axis, the direction perpendicular to the X axis and the Y axis is the Z axis, and the coordinate system is a left-hand coordinate system.

Citation Information

Cited By

  • Calibration device for event camera

    CN119273777A

  • A device for calibrating event cameras

    CN119273777B