A relative position calibration method and device for laser radar and multi-lens fisheye camera
By combining the multi-eye fisheye camera and lidar, using random feature points and preset calibration quadrangular pyramid data, and using RANSAC and G2O algorithms to optimize the external parameter coefficients, the problem of large calibration errors between lidar and camera is solved and high accuracy is achieved. relative position calibration.
Patent Information
- Application Number
- CN202011476306.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-14
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2040-12-14
AI Technical Summary
In the existing technology, the calibration of lidar and camera has large errors and the complete rotation matrix cannot be calculated, making it impossible to effectively realize the joint calibration of lidar and camera.
The multi-eye fisheye camera collects random feature point calibration plate images to determine the internal and external parameters, and uses the radar point cloud data and marking plane data of the preset calibration quadrilateral pyramid, combined with RANSAC and G2O algorithms, to extract and optimize the lidar and multi-eye fisheye The camera’s extrinsic parameter coefficients.
The relative position calibration of lidar and multi-eye fisheye cameras is realized, which improves the precision and accuracy of calibration and reduces the space size requirements for data collection.
Smart Images

Figure CN112446926B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a relative position calibration method and device for a laser radar and a multi-eye fisheye camera. Background Art
[0002] With the advancement and development of computer vision technology and the popularization of high-precision multi-line lidar in mapping, positioning, 3D reconstruction and other aspects, people's demand for multi-dimensional information data such as image data of real scenes and stereo 3D data is increasing. Accurate multi-view panoramic camera calibration and its joint calibration with radar are particularly important.
[0003] Calibrating a system consisting of a multi-eye fisheye panoramic camera and a multi-line lidar involves the internal calibration of the fisheye camera, the external calibration between the multi-eye fisheye cameras in the panoramic camera system, and the external calibration between the fisheye camera and the lidar.
[0004] Camera intrinsic calibration can be divided into two categories: one is to use special targets and corresponding algorithms for calibration; the other is the camera's intrinsic self-calibration. In the calculation of camera intrinsic coefficients, the most widely used is the Zhang Zhengyou calibration method.
[0005] The laser radar and camera calibration in the prior art is usually divided into online calibration and offline calibration. There are three commonly used offline calibration methods: checkerboard calibration method; special geometric shape calibration method; and corner detection calibration method. In the prior art, the RANSAC algorithm is used to fit the equation of the edge line of the calibration plate using the point cloud on the edge of the calibration plate, thereby calculating the plane equation of the calibration plate. This method uses the edge points of the point cloud, but due to the sparsity of the point cloud, the fitting result has a large error. In the prior art, a method for calibration using the external parameters of the checkerboard in the camera coordinate system proposed by Professor Zhang Zhengyou has also been proposed. This method is simple and easy to operate, but the complete rotation matrix cannot be calculated.
[0006] Therefore, how to better realize the calibration of LiDAR and cameras has become an urgent problem to be solved in the industry. Summary of the invention
[0007] The present invention provides a relative position calibration method for a laser radar and a multi-eye fisheye camera, so as to solve the problem that the laser radar and the camera calibration cannot be effectively realized in the prior art.
[0008] The present invention provides a relative position calibration method of a laser radar and a multi-eye fisheye camera, comprising:
[0009] Determine the internal and external parameters of the multi-eye fisheye camera through a random feature point calibration plate image collected by the multi-eye fisheye camera;
[0010] Acquire radar point cloud data of a preset calibration tetrahedron and identification plane data of a preset calibration tetrahedron through a laser radar and the multi-eye fisheye camera respectively;
[0011] Wherein, four preset marks of equal size are arranged on four sides of the preset calibration tetrahedron; wherein, the preset marks include the plane features of the calibration tetrahedron;
[0012] The external parameter coefficients of the laser radar and the multi-eye fisheye camera are determined according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0013] According to the relative position calibration method of the laser radar and the multi-eye fisheye camera provided by the present invention, the random feature point calibration plate is: a calibration plate with a resolution of 800*600 and containing random feature points.
[0014] According to the relative position calibration method of the laser radar and the multi-eye fisheye camera provided by the present invention, the step of calibrating the image with random feature points collected by the multi-eye fisheye camera and determining the internal and external parameters of the multi-eye fisheye camera specifically includes:
[0015] Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera;
[0016] The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
[0017] According to the relative position calibration method of the laser radar and the multi-eye fisheye camera provided by the present invention, the steps of respectively obtaining the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron through the laser radar and the multi-eye fisheye camera specifically include:
[0018] Scanning directly above the preset calibration tetrahedron by a laser radar to obtain radar point cloud data of the preset calibration tetrahedron;
[0019] Any fisheye lens in the multi-eye fisheye camera is selected as a reference lens, and the identification plane data of the calibration tetrahedron is obtained through the reference lens.
[0020] According to the relative position calibration method of the laser radar and the polyhedral fisheye camera provided by the present invention, the step of determining the external parameter coefficients of the laser radar and the polyhedral fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron specifically includes:
[0021] The plane equations of the four planes of the quadrangular pyramid in the radar point cloud data of the preset calibration quadrangular pyramid in the radar coordinate system are extracted by using the RANSAC algorithm;
[0022] Acquire the marking plane data of the calibration tetrahedron according to the reference lens, extract the plane equation of the plane where the four markings of the calibration tetrahedron are located in the camera coordinate system of the reference lens;
[0023] Grouping the plane equations according to the plane normal direction of the radar point cloud data of the preset calibration tetrahedron and the numbers of the four identifiers of the calibration tetrahedron to obtain the grouped plane equations;
[0024] Through the G2O algorithm, the grouped plane equation coefficients are requested to obtain the external parameter coefficients of the laser radar and the multi-eye fisheye camera.
[0025] The present invention also provides a relative position calibration device for a laser radar and a multi-eye fisheye camera, comprising:
[0026] A determination module, used to determine the internal and external parameters of the multi-eye fisheye camera through a random feature point calibration plate image collected by the multi-eye fisheye camera;
[0027] An acquisition module, used to acquire radar point cloud data of a preset calibration tetrahedron and identification plane data of a preset calibration tetrahedron through a laser radar and the multi-eye fisheye camera respectively;
[0028] Wherein, four preset marks of equal size are arranged on four sides of the preset calibration tetrahedron; wherein, the preset marks include the plane features of the calibration tetrahedron;
[0029] The calibration module is used to determine the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0030] According to the relative position calibration device of the laser radar and the multi-eye fisheye camera provided by the present invention, the random feature point calibration plate is: a calibration plate with a resolution of 800*600 and containing random feature points.
[0031] According to the relative position calibration device of the laser radar and the multi-eye fisheye camera provided by the present invention, the determination module is specifically used for:
[0032] Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera;
[0033] The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the relative position calibration method between a laser radar and a multi-eye fisheye camera as described in any one of the above are implemented.
[0035] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the relative position calibration method of the laser radar and the multi-eye fisheye camera as described in any one of the above are implemented.
[0036] The present invention provides a relative position calibration method and device for a laser radar and a polyhedral fisheye camera. The method and device utilize a highly robust random feature point calibration algorithm to simultaneously calibrate internal and external parameters in a polyhedral fisheye panoramic camera. Then, point cloud plane extraction and identification plane extraction are performed on mutually unrelated tetrahedral space planes. Furthermore, the relative position relationship between the radar and a fisheye lens is optimized using a G2O algorithm. Thus, the relative position relationship between the laser radar and the polyhedral fisheye panoramic camera is established, thereby realizing the relative position calibration of the laser radar and the polyhedral fisheye camera. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1 It is a flow chart of a relative position calibration method of a laser radar and a multi-eye fisheye camera provided by the present invention;
[0039] Figure 2 A schematic diagram of a quadrangular pyramid provided by the present invention;
[0040] Figure 3 A schematic diagram of the calibration process provided by the present invention;
[0041] Figure 4 A schematic diagram of a relative position calibration device for a laser radar and a multi-lens fisheye camera provided by the present invention;
[0042] Figure 5 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0043] 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 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.
[0044] Figure 1 FIG. 1 is a flow chart of a relative position calibration method of a laser radar and a multi-eye fisheye camera provided by the present invention. Figure 1 As shown, including:
[0045] Step S1, determining the internal and external parameters of the multi-eye fisheye camera through a random feature point calibration plate image collected by the multi-eye fisheye camera;
[0046] Specifically, the random feature point calibration plate described in the present invention is a calibration plate with a resolution of 800*600 and including random feature points.
[0047] The random feature calibration plate can determine the conversion relationship between physical size and pixels; as well as the relationship between the three-dimensional geometric position of a point on the surface of a space object and its corresponding point in the image, thereby realizing the determination of the internal and external parameters of the multi-eye fisheye camera.
[0048] Step S2, respectively obtaining radar point cloud data of a preset calibration tetrahedron and identification plane data of a preset calibration tetrahedron through a laser radar and the multi-eye fisheye camera;
[0049] Wherein, four preset marks of equal size are arranged on four sides of the preset calibration tetrahedron; wherein, the preset marks include the plane features of the calibration tetrahedron;
[0050] Specifically, the present invention adds a preset calibration pyramid so that the laser radar and the multi-eye fisheye camera can achieve the goal of calibration, and the four conical surfaces of the specially set pyramid in the present application can ensure that when the laser radar is directly above the pyramid, it can obtain the point cloud data of four front sides at one time, thereby ensuring the subsequent calibration of the radar point cloud data and the identification plane data.
[0051] Figure 2A schematic diagram of a quadrangular pyramid provided by the present invention, such as Figure 2 As shown in the figure, the pyramid includes four equal-sized AprilTag labels arranged on the four sides of the isosceles pyramid. When this calibration plate is photographed by a color lens with known internal parameters, the equation of the plane coplanar with the label in the camera coordinate system can be calculated based on the identified AprilTag label; when scanned by a multi-line laser radar, the RANSAC algorithm can be used to fit the point cloud plane equation corresponding to the label plane in the radar coordinate system, thereby completing the external parameter calibration of the radar and color camera based on the plane features.
[0052] Step S3 determines the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0053] Specifically, the present invention implements a calibration method for the relative position of a multi-line laser radar and a multi-eye fisheye panoramic camera, which is feasible and practical. The calibration plate used can conveniently and effectively extract plane features from images and point clouds. During calibration, the space size requirement is not high, and a large amount of data does not need to be collected when calibrating the reference lens and laser radar external parameters.
[0054] The present invention uses a highly robust random feature point calibration algorithm to simultaneously calibrate the internal and external parameters of the polyhedral fisheye panoramic camera, then performs point cloud plane extraction and identification plane extraction on mutually unrelated tetrahedral space planes, and then uses the G2O algorithm to optimize the relative position relationship between the radar and a fisheye lens, thereby establishing the relative position relationship between the laser radar and the polyhedral fisheye panoramic camera, and realizing the relative position calibration of the laser radar and the polyhedral fisheye camera.
[0055] Optionally, the step of calibrating the image with random feature points collected by the multi-lens fisheye camera to determine the internal and external parameters of the multi-lens fisheye camera specifically includes:
[0056] Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera;
[0057] The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
[0058] Specifically, the present invention selects a certain fisheye lens in a multi-lens fisheye panoramic camera as a reference lens, sequentially collects a certain number of random feature point calibration plate images of each fisheye lens, and collects calibration plate images in the overlapping area between adjacent lenses, performs feature point detection on each image and searches for corresponding feature points on the template plane;
[0059] The captured calibration plate image and the generated calibration image are linked by feature point detection and matching, and the homography matrix is calculated by matching feature points using the homography of the corresponding plane in space.
[0060] Decompose the homography matrix to obtain the position and posture of the calibration plate in the camera coordinate system and the camera's intrinsic parameters. Use the minimum reprojection error to optimize the camera's intrinsic parameters and the position and posture of the calibration plate; use the graph optimization method to use the posture of the calibration plate captured by adjacent cameras to complete the external parameter calibration between cameras.
[0061] The present invention calibrates an image through random feature points collected by a multi-eye fisheye camera, thereby realizing the internal and external parameter calibration of the multi-eye fisheye camera, which is beneficial to the subsequent steps.
[0062] Optionally, the step of respectively acquiring the radar point cloud data of a preset calibration tetrahedron and the identification plane data of a preset calibration tetrahedron through the laser radar and the multi-eye fisheye camera specifically includes:
[0063] Scanning directly above the preset calibration tetrahedron by a laser radar to obtain radar point cloud data of the preset calibration tetrahedron;
[0064] Any fisheye lens in the multi-eye fisheye camera is selected as a reference lens, and the identification plane data of the calibration tetrahedron is obtained through the reference lens.
[0065] Specifically, when the laser radar in the present invention scans directly above the preset calibrated tetrahedron, the radar and the tetrahedron must be kept relatively still. During the acquisition process, the real-time visualization software of the radar can be used to observe while adjusting the relative positions of the tetrahedron and the "radar-panoramic camera" device, so that each line beam of the multi-line laser radar is completely hit on the side of the tetrahedron, and it is ensured that the angles between the normal direction and the vertical direction of the four sides of the tetrahedron are different, and the four AprilTag logos are clearly visible in the field of view of the reference lens, so as to obtain the radar point cloud data of the preset calibrated tetrahedron.
[0066] Any fisheye lens in the multi-eye fisheye camera is selected as the reference lens, and photos of the four faces of the quadrangular pyramid carrying clear AprilTag labels are taken, and the plane equations of the planes where the four AprilTags in the reference lens image data are located in the camera coordinate system of the reference lens are extracted.
[0067] The plane equations of the four planes of the quadrangular pyramid in the radar point cloud data of the preset calibration quadrangular pyramid in the radar coordinate system are extracted by using the RANSAC algorithm;
[0068] Acquire the marking plane data of the calibration tetrahedron according to the reference lens, extract the plane equation of the plane where the four markings of the calibration tetrahedron are located in the camera coordinate system of the reference lens;
[0069] Grouping the plane equations according to the plane normal direction of the radar point cloud data of the preset calibration tetrahedron and the numbers of the four identifiers of the calibration tetrahedron to obtain the grouped plane equations;
[0070] Through the G2O algorithm, the grouped plane equation coefficients are requested to obtain the external parameter coefficients of the laser radar and the multi-eye fisheye camera.
[0071] The present invention uses a highly robust random feature point calibration algorithm to simultaneously calibrate the internal and external parameters of the polyhedral fisheye panoramic camera, then performs point cloud plane extraction and identification plane extraction on mutually unrelated tetrahedral space planes, and then uses the G2O algorithm to optimize the relative position relationship between the radar and a fisheye lens, thereby establishing the relative position relationship between the laser radar and the polyhedral fisheye panoramic camera, and realizing the relative position calibration of the laser radar and the polyhedral fisheye camera.
[0072] Figure 3 The schematic diagram of the calibration process provided by the present invention is as follows: Figure 3 As shown in the figure, first, a tetrahedron stereo calibration plate is constructed, and then AprilTag labels of equal size with different contents are placed on each side of the tetrahedron; a calibration plate with random feature points is constructed, and the feature points of a multi-eye fisheye panoramic camera are used to extract and determine the corresponding feature points, and feature point detection is performed to solve the internal and external parameters and distortion parameters of the fisheye camera: a certain lens is selected as a reference camera, the reference camera shoots the tetrahedron stereo calibration plate, the laser radar scans the tetrahedron stereo calibration plate, AprilTag detection is performed, and then point cloud plane detection is performed, and finally the external parameter coefficients of the reference lens and the radar are solved through the G2O algorithm.
[0073] Figure 4 A schematic diagram of a relative position calibration device for a laser radar and a multi-eye fisheye camera provided by the present invention, as shown in FIG. Figure 4As shown, it includes: a determination module 410, an acquisition module 420 and a calibration module 430; wherein the determination module 410 is used to determine the internal and external parameters of the multi-eye fisheye camera through the random feature point calibration plate image collected by the multi-eye fisheye camera; wherein the acquisition module 420 is used to obtain the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron through the laser radar and the multi-eye fisheye camera respectively; wherein four equal-sized preset identifications are set on the four sides of the preset calibration tetrahedron; wherein the preset identification includes the plane features of the calibration tetrahedron; wherein the calibration module 430 is used to determine the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0074] The random feature point calibration plate is a calibration plate with a resolution of 800*600 and containing random feature points.
[0075] Wherein, the determination module is specifically used for:
[0076] Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera;
[0077] The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
[0078] The present invention uses a highly robust random feature point calibration algorithm to simultaneously calibrate the internal and external parameters of the polyhedral fisheye panoramic camera, then performs point cloud plane extraction and identification plane extraction on mutually unrelated tetrahedral space planes, and then uses the G2O algorithm to optimize the relative position relationship between the radar and a fisheye lens, thereby establishing the relative position relationship between the laser radar and the polyhedral fisheye panoramic camera, and realizing the relative position calibration of the laser radar and the polyhedral fisheye camera.
[0079] Figure 5 A schematic diagram of the physical structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete mutual communication through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the relative position calibration method of the laser radar and the multi-eye fisheye camera, the method comprising: determining the internal and external parameters of the multi-eye fisheye camera through the random feature point calibration plate image collected by the multi-eye fisheye camera; obtaining the radar point cloud data of the preset calibration quadrangular pyramid and the identification plane data of the preset calibration quadrangular pyramid through the laser radar and the multi-eye fisheye camera respectively; wherein four equal-sized preset identifications are set on the four sides of the preset calibration quadrangular pyramid; wherein the preset identification includes the plane features of the calibration quadrangular pyramid; determining the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration quadrangular pyramid and the identification plane data of the preset calibration quadrangular pyramid.
[0080] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0081] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the relative position calibration method of the laser radar and the polynomial fisheye camera provided by the above-mentioned methods, and the method includes: determining the internal and external parameters of the polynomial fisheye camera through the random feature point calibration plate image collected by the polynomial fisheye camera; obtaining the radar point cloud data of a preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron through the laser radar and the polynomial fisheye camera respectively; wherein four equal-sized preset identifications are set on the four sides of the preset calibration tetrahedron; wherein the preset identification includes the plane features of the calibration tetrahedron; determining the external parameter coefficients of the laser radar and the polynomial fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0082] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the relative position calibration method of the laser radar and the polyhedral fisheye camera provided in the above-mentioned embodiments, the method comprising: determining the internal and external parameters of the polyhedral fisheye camera through a random feature point calibration plate image collected by the polyhedral fisheye camera; acquiring radar point cloud data of a preset calibration tetrahedron and identification plane data of the preset calibration tetrahedron through the laser radar and the polyhedral fisheye camera respectively; wherein four equal-sized preset identifications are arranged on four sides of the preset calibration tetrahedron; wherein the preset identification includes the plane features of the calibration tetrahedron; and determining the external parameter coefficients of the laser radar and the polyhedral fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron.
[0083] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0084] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0085] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A relative position calibration method for a laser radar and a multi-eye fisheye camera, characterized in that: include: Determine the internal and external parameters of the multi-eye fisheye camera through a random feature point calibration plate image collected by the multi-eye fisheye camera; Acquire radar point cloud data of a preset calibration tetrahedron and identification plane data of a preset calibration tetrahedron through a laser radar and the multi-eye fisheye camera respectively; Wherein, four preset marks of equal size are arranged on four sides of the preset calibration tetrahedron; wherein, the preset marks include the plane features of the calibration tetrahedron; Determine the external parameter coefficients of the laser radar and the multi-lens fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron; The step of acquiring the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron by the laser radar and the multi-eye fisheye camera respectively specifically includes: Scanning directly above the preset calibration tetrahedron by a laser radar to obtain radar point cloud data of the preset calibration tetrahedron; Select any fisheye lens in the multi-eye fisheye camera as a reference lens, and obtain the identification plane data of the calibration tetrahedron through the reference lens; The step of determining the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron specifically includes: The plane equations of the four planes of the quadrangular pyramid in the radar point cloud data of the preset calibration quadrangular pyramid in the radar coordinate system are extracted by using the RANSAC algorithm; Acquire the marking plane data of the calibration tetrahedron according to the reference lens, extract the plane equation of the plane where the four markings of the calibration tetrahedron are located in the camera coordinate system of the reference lens; Grouping the plane equations according to the plane normal direction of the radar point cloud data of the preset calibration tetrahedron and the numbers of the four identifiers of the calibration tetrahedron to obtain the grouped plane equations; Through the G2O algorithm, the grouped plane equation coefficients are requested to obtain the external parameter coefficients of the laser radar and the multi-eye fisheye camera.
2. The relative position calibration method of the laser radar and the multi-eye fisheye camera according to claim 1 is characterized in that: The random feature point calibration plate is a calibration plate with a resolution of 800*600 and containing random feature points.
3. The relative position calibration method of the laser radar and the multi-eye fisheye camera according to claim 2 is characterized in that: The step of calibrating the image with random feature points collected by the multi-lens fisheye camera to determine the internal and external parameters of the multi-lens fisheye camera specifically includes: Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera; The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
4. A relative position calibration device for a laser radar and a multi-eye fisheye camera, characterized in that: include: A determination module, used to determine the internal and external parameters of the multi-eye fisheye camera through a random feature point calibration plate image collected by the multi-eye fisheye camera; An acquisition module, used to acquire radar point cloud data of a preset calibration tetrahedron and identification plane data of a preset calibration tetrahedron through a laser radar and the multi-eye fisheye camera respectively; Wherein, four preset marks of equal size are arranged on four sides of the preset calibration tetrahedron; wherein, the preset marks include the plane features of the calibration tetrahedron; A calibration module, used to determine the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron; Wherein, the device is also used for: Scanning directly above the preset calibration tetrahedron by a laser radar to obtain radar point cloud data of the preset calibration tetrahedron; Select any fisheye lens in the multi-eye fisheye camera as a reference lens, and obtain the identification plane data of the calibration tetrahedron through the reference lens; The step of determining the external parameter coefficients of the laser radar and the multi-eye fisheye camera according to the radar point cloud data of the preset calibration tetrahedron and the identification plane data of the preset calibration tetrahedron specifically includes: The plane equations of the four planes of the quadrangular pyramid in the radar point cloud data of the preset calibration quadrangular pyramid in the radar coordinate system are extracted by using the RANSAC algorithm; Acquire the marking plane data of the calibration tetrahedron according to the reference lens, extract the plane equation of the plane where the four markings of the calibration tetrahedron are located in the camera coordinate system of the reference lens; Grouping the plane equations according to the plane normal direction of the radar point cloud data of the preset calibration tetrahedron and the numbers of the four identifiers of the calibration tetrahedron to obtain the grouped plane equations; Through the G2O algorithm, the grouped plane equation coefficients are requested to obtain the external parameter coefficients of the laser radar and the multi-eye fisheye camera.
5. The relative position calibration device of the laser radar and the multi-eye fisheye camera according to claim 4, characterized in that: The random feature point calibration plate is a calibration plate with a resolution of 800*600 and containing random feature points.
6. The relative position calibration device of the laser radar and the multi-eye fisheye camera according to claim 4, characterized in that: The determination module is specifically used for: Select any fisheye lens in the multi-eye fisheye panoramic camera as a reference lens, take the reference lens as the starting point, collect the random feature point calibration plate image of each fisheye in sequence, and collect the random feature point calibration image in the overlapping area between adjacent lenses to obtain the random feature point calibration image collected by the multi-eye fisheye camera; The internal parameters of each lens of the multi-lens fisheye camera and the transformation matrix from other lenses to the reference lens are determined according to the random feature point calibration image collected by the multi-lens fisheye camera to obtain the internal and external parameters of the multi-lens fisheye camera.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the relative position calibration method between the laser radar and the multi-eye fisheye camera as described in any one of claims 1 to 3 are implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the relative position calibration method between the laser radar and the multi-eye fisheye camera as described in any one of claims 1 to 3 are implemented.
