Laser radar acquisition equipment and rotation axis calibration method, device and storage medium

By acquiring and optimizing the three-dimensional point cloud data set between the lidar acquisition equipment and the rotation axis, and using normal information and curvature information, the problem of low calibration accuracy in the existing technology is solved, and the accuracy and algorithm of the point cloud model are improved. stability.

CN115372946BActive Publication Date: 2024-09-17BEIJING CHENGSHI WANGLIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210977453.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-15
Publication Date
2024-09-17
Estimated Expiration
2042-08-15

AI Technical Summary

Technical Problem

The calibration accuracy of existing lidar acquisition equipment and rotation axes is low, which affects the accuracy of the point cloud model.

Method used

By acquiring three-dimensional point cloud data sets with different rotation angle ranges at the same collection point, converting them to the world coordinate system, the normal information and curvature information of the overlapping point clouds are used to optimize the initial relative transformation relationship and improve the calibration accuracy.

Benefits of technology

It improves the accuracy of laser radar acquisition equipment and rotation axis calibration, reduces the probability of local extreme values, and enhances the stability of the algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115372946B
    Figure CN115372946B
Patent Text Reader

Abstract

The embodiment of the present application provides a method, device and storage medium for calibrating a laser radar acquisition device and a rotation axis. In the embodiment of the present application, two three-dimensional point cloud data sets with overlapping point clouds are collected, and the two three-dimensional point cloud data sets are converted to the world coordinate system according to the initial relative position relationship between the laser radar acquisition device and the rotation axis. The distance information between the two three-dimensional point cloud data sets in the world coordinate system is less than the set distance threshold as the goal, and the initial relative transformation relationship is continuously optimized to obtain the optimized relative transformation relationship to achieve the calibration between the laser radar acquisition device and the rotation axis. Among them, according to the normal information and curvature information of the target reference plane in the three-dimensional point cloud data set, the distance information between the two three-dimensional point cloud data sets is calculated, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of the laser radar acquisition device and the rotation axis calibration.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a laser radar acquisition device and a rotation axis calibration method, device and storage medium. Background Art

[0002] At present, laser radar (Laser Radar) acquisition equipment is used to collect indoor environmental information. The laser radar acquisition equipment is rigidly connected to the shaft. When collecting environmental data indoors, the shaft is driven to rotate, driving the laser radar acquisition equipment to collect three-dimensional points at different angles, and the three-dimensional point data collected at different angles are integrated to obtain a point cloud model of the entire indoor environment. In the whole process, it is necessary to obtain the relative transformation relationship between the laser radar acquisition equipment and the shaft, that is, laser-shaft calibration.

[0003] In the prior art, it is necessary to manually set the angle and size between the lidar acquisition device and the rotation axis, and obtain the relative transformation relationship between the lidar acquisition device and the rotation axis based on the angle and size. However, the relative transformation relationship obtained in this way has low accuracy, which affects the accuracy of the point cloud model. Summary of the invention

[0004] Multiple aspects of the present application provide a laser radar acquisition device and a rotation axis calibration method, device, equipment and storage medium to improve the accuracy of the laser radar acquisition device and the rotation axis calibration.

[0005] The embodiment of the present application provides a calibration method for a laser radar acquisition device and a rotation axis, wherein the laser radar acquisition device and the rotation axis are rigidly connected, comprising: using the laser radar acquisition device to acquire two first three-dimensional point cloud data sets in the target space object based on the rotation axis, the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap; according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted into a world coordinate system to obtain two second three-dimensional point cloud data sets, and the two second three-dimensional point cloud data sets at least part of the point clouds overlap; according to the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, determine each first three-dimensional point cloud data set. A target reference plane corresponding to the two three-dimensional point cloud data sets, and the three-dimensional points in each second three-dimensional point cloud data set located on the target reference plane are called target three-dimensional points; the normal information and curvature information of the target reference plane are used as the normal information and curvature information of the target three-dimensional point; the distance information between the two second three-dimensional point cloud data sets is determined according to the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; with the distance information between the overlapping point clouds being less than a set first distance threshold as the goal, the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize the calibration between the laser radar acquisition device and the rotation axis.

[0006] The embodiment of the present application also provides a calibration device for a laser radar acquisition device and a rotation axis, wherein the laser radar acquisition device and the rotation axis are rigidly connected, including: an acquisition module, a conversion module, a determination module, a processing module, and an optimization module; the acquisition module is used to use the laser radar acquisition device to acquire two first three-dimensional point cloud data sets in the target space object based on the rotation axis, the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap; the conversion module is used to convert the two first three-dimensional point cloud data sets into the world coordinate system according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, respectively, to obtain two second three-dimensional point cloud data sets, and at least part of the point clouds of the two second three-dimensional point cloud data sets overlap; the determination module is used to convert the two first three-dimensional point cloud data sets into the world coordinate system according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, and obtain two second three-dimensional point cloud data sets, and at least part of the point clouds of the two second three-dimensional point cloud data sets overlap; the The method comprises the following steps: according to the position information of the three-dimensional point, determining the target reference plane corresponding to each second three-dimensional point cloud data set; a processing module, which is used to refer to the three-dimensional points in each second three-dimensional point cloud data set that are located in the target reference plane as target three-dimensional points; and using the normal information and curvature information of the target reference plane as the normal information and curvature information of the target three-dimensional point; a determination module, which is also used to determine the distance information between the two second three-dimensional point cloud data sets according to the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; and an optimization module, which is used to continuously optimize the initial relative transformation relationship between the laser radar acquisition device and the rotation axis with the distance information between the overlapping point clouds being less than a set first distance threshold as the goal, and obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize the calibration between the laser radar acquisition device and the rotation axis.

[0007] An embodiment of the present application also provides a laser radar acquisition device and a rotation axis calibration device, including: a memory and a processor; the memory is used to store a computer program; the processor is coupled to the memory and is used to execute the computer program to implement the steps in the laser radar acquisition device and rotation axis calibration method provided in the embodiment of the present application.

[0008] An embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor implements the steps in the calibration method of the laser radar acquisition device and the rotation axis provided in the embodiment of the present application.

[0009] In the embodiment of the present application, two three-dimensional point cloud data sets with overlapping point clouds are collected, and the two three-dimensional point cloud data sets are converted to the world coordinate system according to the initial relative position relationship between the laser radar acquisition device and the rotation axis. The distance information between the two three-dimensional point cloud data sets in the world coordinate system is less than the set distance threshold. The initial relative transformation relationship is continuously optimized to obtain the optimized relative transformation relationship to achieve the calibration between the laser radar acquisition device and the rotation axis. In the process of calculating the distance information between the two three-dimensional point cloud data sets, the target reference plane of the three-dimensional point cloud data set is extracted; the distance information between the two three-dimensional point cloud data sets is calculated according to the normal information and curvature information of the target reference plane, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of the calibration of the laser radar acquisition device and the rotation axis. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0011] Figure 1 A schematic flow chart of a laser radar acquisition device and a rotation axis calibration method provided for an exemplary embodiment of the present application;

[0012] Figure 2 A schematic diagram of two frames of three-dimensional point cloud data sets collected by a laser radar collection device at two different rotation angles provided by an exemplary embodiment of the present application;

[0013] Figure 3 A schematic diagram of the structure of a laser radar acquisition device and a rotation axis calibration device provided for an exemplary embodiment of the present application;

[0014] Figure 4 A schematic structural diagram of a laser radar acquisition device and a rotation axis calibration device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0016] In view of the problem of low accuracy of laser radar acquisition equipment and rotation axis calibration in the prior art, in an embodiment of the present application, two three-dimensional point cloud data sets with overlapping point clouds are collected, and the two three-dimensional point cloud data sets are converted to the world coordinate system according to the initial relative position relationship between the laser radar acquisition equipment and the rotation axis. With the distance information between the two three-dimensional point cloud data sets in the world coordinate system being less than the set distance threshold as the goal, the initial relative transformation relationship is continuously optimized to obtain the optimized relative transformation relationship to achieve the calibration between the laser radar acquisition equipment and the rotation axis. Among them, in the process of calculating the distance information between the two three-dimensional point cloud data sets, the target reference plane of the three-dimensional point cloud data set is extracted; according to the normal information and curvature information of the target reference plane, the distance information between the two three-dimensional point cloud data sets is calculated, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of laser radar acquisition equipment and rotation axis calibration.

[0017] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0018] Figure 1 The present invention provides a schematic flow chart of a laser radar acquisition device and a method for calibrating a rotating shaft, wherein the laser radar acquisition device and the rotating shaft are rigidly connected. Figure 1 As shown, the method includes:

[0019] 101. Acquire two first three-dimensional point cloud data sets in the target space object based on a rotation axis using a laser radar acquisition device, wherein the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap;

[0020] 102. According to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted into the world coordinate system to obtain two second three-dimensional point cloud data sets, and at least part of the point clouds of the two second three-dimensional point cloud data sets overlap;

[0021] 103. Determine a target reference plane corresponding to each second 3D point cloud data set according to position information of the 3D points contained in each second 3D point cloud data set, and refer to the 3D points in each second 3D point cloud data set that are located on the target reference plane as target 3D points;

[0022] 104. Using the normal information and curvature information of the target reference plane as the normal information and curvature information of the target three-dimensional point;

[0023] 105. Determine distance information between overlapping point clouds in the two second three-dimensional point cloud data sets according to normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets;

[0024] 106. With the goal of making the distance information between overlapping point clouds less than the set first distance threshold, the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize the calibration between the laser radar acquisition device and the rotation axis.

[0025] In this embodiment, a physical space may contain multiple spatial objects. In other words, multiple spatial objects constitute a physical space. For example, a physical space refers to a house, and the multiple spatial objects included in the house may be a kitchen, a bedroom, a living room, or a bathroom. One or more collection points may be set in each spatial object, and the specific number of collection points may depend on the size or shape of the spatial object. The following is an example of a target spatial object in a physical space, and the target spatial object is any spatial object in the physical space.

[0026] In this embodiment, the laser radar acquisition device is a system that emits a laser beam to detect the spatial structure of the target space object. Its working principle is to emit a detection signal (laser beam) to the object (such as a wall, door or window, etc.) of the target space object at the acquisition point of the target space object, and then compare the received signal (echo) reflected from the object with the emitted signal to obtain relevant information of the object, such as parameters such as distance, direction, height, speed, posture and shape. Among them, when a laser beam is irradiated on the surface of an object, the reflected laser will carry information such as direction and distance. If the laser radar acquisition device is rotated according to a certain trajectory, scanning while rotating, and recording the laser point information reflected by the laser beam at the same time, due to the extremely fine scanning, a large number of laser points can be obtained, so a three-dimensional point cloud data set can be formed. In order to facilitate distinction and description, the three-dimensional point cloud data set collected at different rotation angles of the same acquisition point in the target space object is called the first three-dimensional point cloud data set.

[0027] The rotating shaft is connected to a motor (also called electric machinery). At the acquisition point, the rotating shaft is perpendicular to the horizontal direction. The motor can drive the rotating shaft to rotate in the horizontal direction, for example, it can rotate 360 ​​degrees. The laser radar acquisition device is rigidly connected to the rotating shaft, so that the plane where the laser beam emitted by the laser radar acquisition device is located is parallel to the rotating shaft. During the rotation process, the laser radar acquisition device can emit a laser beam to the outside at each rotation angle, and can form a frame of three-dimensional point cloud data corresponding to the rotation angle. The multiple frames of three-dimensional point cloud data formed by the laser radar acquisition device at multiple rotation angles can form a first three-dimensional point cloud data set. Figure 2 Two frames of three-dimensional point cloud data sets collected by the lidar acquisition device at two different rotation angles are shown in the figure.

[0028] The laser radar acquisition device can be a two-dimensional radar, and the vertical viewing angle of each laser frame can be 180 degrees, 270 degrees, or 200 degrees, without limitation. Figure 2 The vertical viewing angle range of the laser radar acquisition device is 270 degrees as an example for illustration, but it is not limited to this. Among them, when the vertical viewing angle range of the laser radar acquisition device is 270 degrees, there are 1080 line bundles in total, and the interval between the line bundles is 0.25 degrees. Among them, the rotation axis rotates around the horizontal direction, and the laser radar acquisition device can collect different first three-dimensional point cloud data sets in different rotation angle ranges, and different first three-dimensional point cloud data sets have at least partial point cloud overlaps, for example, all point clouds overlap, or part of the point clouds overlap. For example, when the laser radar acquisition device is from 0-180 degrees, the laser radar acquisition device can collect a first three-dimensional point cloud data set, and when the laser radar acquisition device is from 180-360 degrees, the laser radar acquisition device can collect another first three-dimensional point cloud data set, and there is an overlapping part between the two first three-dimensional point cloud data sets collected by the laser radar acquisition device. For another example, when the laser radar acquisition device is from 0-90 degrees, the laser radar acquisition device can collect a first three-dimensional point cloud data set, and when the laser radar acquisition device is from 45-135 degrees, the laser radar acquisition device can collect another first three-dimensional point cloud data set. There is an overlapping part between the two first three-dimensional point cloud data sets collected by the laser radar acquisition device.

[0029] In this embodiment, there is an initial relative transformation relationship between the laser radar acquisition device and the rotation axis, and the initial relative transformation relationship can be obtained by manual measurement or according to the size relationship between the laser radar acquisition device and the rotation axis, which is not limited. Among them, according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets can be converted from the radar coordinate system to the world coordinate system respectively, and two second three-dimensional point cloud data sets in the world coordinate system are obtained, and at least part of the point clouds of the two second three-dimensional point cloud data sets overlap.

[0030] In practical applications, considering equipment tolerance, material deformation or measurement error, the initial relative transformation relationship between the LiDAR acquisition device and the rotation axis is not accurate, which may affect the subsequent fusion of the three-dimensional point cloud data sets of multiple acquisition points. Based on this, in this embodiment, an iterative closest point (ICP) algorithm is used, with the distance information between the two second three-dimensional point cloud data sets being less than the set first distance threshold as the goal, to iteratively optimize the initial relative transformation relationship between the LiDAR acquisition device and the rotation axis, and obtain the optimized relative transformation relationship between the LiDAR acquisition device and the rotation axis, so as to realize the calibration of the LiDAR acquisition device and the rotation axis.

[0031] In this embodiment, during the process of iteratively optimizing the initial relative transformation relationship between the lidar acquisition device and the rotation axis using the ICP algorithm, the distance information between the two second three-dimensional point cloud data sets can be determined based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; with the distance information between the two second three-dimensional point cloud data sets being less than the set first distance threshold as the goal, the initial relative transformation relationship between the lidar acquisition device and the rotation axis is continuously optimized to obtain the relative transformation relationship between the lidar acquisition device and the rotation axis.

[0032] For example, one of the second three-dimensional point cloud data sets can be used as the source point cloud data set, and the other second three-dimensional point cloud data set can be used as the destination point cloud data set. Optionally, for the destination point cloud data set, a multi-binary (k-dimensional, kd) tree is established. The kd tree is a tree data structure that stores three-dimensional points in the second three-dimensional point cloud data set for rapid retrieval. The tree data structure is used for subsequent three-dimensional point queries in the adjacent space. For each three-dimensional point and its neighboring three-dimensional points, the local covariance of each three-dimensional point can be calculated, and based on the local covariance, the normal information and curvature information of each three-dimensional point in the destination point cloud data set can be calculated.

[0033] For each source 3D point in the source point cloud data set, a destination 3D point corresponding to the source 3D point is determined in the overlapping point cloud of the destination point cloud data set. For example, a 3D point whose distance from the source 3D point is less than a set second distance threshold can be found in the destination point cloud data set as the destination 3D point. The distance information between the source 3D point cloud data set and the destination 3D point cloud data set is determined based on the normal information and curvature information of each source 3D point in the source point cloud data set.

[0034] With the goal of ensuring that the distance information between the overlapping point clouds of the two second three-dimensional point cloud data sets is less than the set first distance threshold, the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized. Optionally, the source point cloud data set and the destination point cloud data set of the two second three-dimensional point cloud data sets can also be swapped, that is, the second three-dimensional point cloud data set that was originally the source point cloud data set is used as the destination point cloud data set, and the second three-dimensional point cloud data set that was originally the destination point cloud data set is used as the source point cloud data set, and then the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized until the set number of iterations is reached, or the goal of satisfying the distance information between the two second three-dimensional point cloud data sets is less than the set first distance threshold is met, and the relative transformation relationship between the laser radar acquisition device and the rotation axis is obtained.

[0035] Among them, in the process of determining the distance information between the two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets, it is considered that during the optimization process, the distance information between the overlapping point clouds is determined by the normal information and curvature information of each three-dimensional point, and local extreme values ​​may occur, resulting in the inability to satisfy the relative transformation relationship between the lidar acquisition device and the rotation axis.

[0036] Based on this, in this embodiment, in order to improve the stability of the algorithm, for each second three-dimensional point cloud data set, a target reference plane in the second three-dimensional point cloud data set is extracted, and the target reference plane includes the target three-dimensional point; in the process of determining the distance information between the two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets, the normal information and curvature information of the target reference plane can be used as the normal information and curvature information of the target three-dimensional point to determine the distance information between the two second three-dimensional point cloud data sets, thereby reducing the possibility of local extreme values, improving the stability of the algorithm, and improving the accuracy of the laser radar acquisition equipment and the rotation axis calibration.

[0037] Specifically, for each second 3D point cloud data set, according to the position information of the 3D points contained in each second 3D point cloud data set, a target reference plane corresponding to each second 3D point cloud data set is determined, wherein the reference plane may be a plane corresponding to the ground, a plane corresponding to the wall, or a plane corresponding to the ceiling in the target space object. The target reference plane may be one or more of the reference planes.

[0038] For example, the target reference plane can be a pre-set reference plane, such as a plane corresponding to a ceiling. In this case, the height information of the ceiling can be determined, and the plane corresponding to the ceiling can be determined based on the three-dimensional points with the height information in each second three-dimensional point cloud data set, and the plane corresponding to the ceiling can be used as the target reference plane.

[0039] For another example, the target reference plane may be a reference plane including a number of 3D points exceeding a set 3D point number threshold, wherein the set 3D point number threshold may be 1000, 5000 or 10000, etc., without limitation. Detailed description may be made in subsequent embodiments, which will not be repeated here.

[0040] In this embodiment, after the target reference plane is determined, the 3D points located on the target reference plane may also be referred to as target 3D points. The number of target 3D points is not limited, and may be any value greater than a set 3D point number threshold.

[0041] In this embodiment, the three-dimensional points in the second three-dimensional point cloud data set can be divided into target three-dimensional points and non-target three-dimensional points. In the process of determining the distance information between the overlapping point clouds in the two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets, the normal information and curvature information of the target reference plane can be used as the normal information and curvature information of the target three-dimensional point. For non-target three-dimensional points, the normal information and curvature information of the non-target three-dimensional points continue to be used to participate in the process of determining the distance information between the two second three-dimensional point cloud data sets.

[0042] In the embodiment of the present application, two three-dimensional point cloud data sets with overlapping point clouds are collected, and the two three-dimensional point cloud data sets are converted to the world coordinate system according to the initial relative position relationship between the laser radar acquisition device and the rotation axis. The distance information between the two three-dimensional point cloud data sets in the world coordinate system is less than the set distance threshold. The initial relative transformation relationship is continuously optimized to obtain the optimized relative transformation relationship to achieve the calibration between the laser radar acquisition device and the rotation axis. In the process of calculating the distance information between the two three-dimensional point cloud data sets, the target reference plane of the three-dimensional point cloud data set is extracted; the distance information between the two three-dimensional point cloud data sets is calculated according to the normal information and curvature information of the target reference plane, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of the calibration of the laser radar acquisition device and the rotation axis.

[0043] In an optional embodiment, there is an initial relative transformation relationship between the laser radar acquisition device and the rotating axis, and there is also a relative transformation relationship between the rotating axis coordinate system and the world coordinate system. For the convenience of distinction and description, the relative transformation relationship between the rotating axis coordinate system and the world coordinate system is called the first relative transformation relationship. The first relative transformation relationship is related to the rotation angle range of the rotating axis. For example, after rotation, there is an initial position. When collecting the first three-dimensional point cloud data set, the rotating axis rotates a certain angle range. The angle range is relative to the initial position. For example, when collecting two first three-dimensional point cloud data sets, the rotation angle ranges of the rotating axis are: 0-180 degrees and 180-360 degrees. Among them, the rotating axis rotates driven by the motor, so the rotation parameters of the motor can reflect the rotation angle range of the rotating axis. For example, the rotation parameters of the motor can include but are not limited to: current, voltage or speed, etc.

[0044] Based on this, the two first three-dimensional point cloud data sets can be converted from the radar coordinate system to the rotation axis coordinate system according to the initial relative transformation relationship between the lidar acquisition device and the rotation axis; according to the rotation angle ranges corresponding to the two first three-dimensional point cloud data sets, the two first three-dimensional point cloud data sets in the rotation axis coordinate system are converted to the world coordinate system to obtain two second three-dimensional point cloud data sets.

[0045] In an optional embodiment, a reference plane corresponding to each second three-dimensional point cloud data set can be extracted based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set; when the number of three-dimensional points contained in the reference plane exceeds a set three-dimensional point number threshold, the reference plane is used as the target reference plane.

[0046] The reference plane in each second three-dimensional point cloud data set may be extracted by some region growing algorithms, and the region growing algorithm may be Efficient RANdom SAmple Consensus (EfficientRANSAC).

[0047] Among them, the basic principle of the Efficient RANSAC algorithm is: randomly select 3D points in the second 3D point cloud data set, and extract the candidate planes where these 3D points are located according to the position information of the randomly selected 3D points. For example, with the point-to-surface distance between the randomly selected 3D points and the plane being less than the set point-to-surface distance threshold as the goal, continuously iterate to extract the candidate planes where these 3D points are located, wherein the point-to-surface distance between the 3D points and the plane can be calculated according to the position information of the 3D points; according to the position information of the 3D points in the second 3D point cloud data set, calculate which 3D points in the second 3D point cloud data set are located on the candidate plane, for example, calculate whether the distance between the 3D points and the candidate plane is less than the set If the point-to-plane distance threshold is less than , the 3D point is considered to be on the candidate plane; if it is greater than or equal to , the 3D point is considered not to be on the candidate plane; and the 3D points on the candidate plane are taken as inliers, and the points not on the candidate plane are taken as outliers; if the number of inliers exceeds the set inlier number threshold, the candidate plane can be taken as the reference plane of the second 3D point cloud dataset; if the number of inliers does not exceed the set inlier number threshold, the 3D point cloud in the second 3D point cloud dataset is randomly selected again, and the candidate plane is re-extracted according to the position information of the re-selected 3D points, and the iteration is continued until the set number of iterations is reached, or a reference plane that meets the requirements is obtained. The number of reference planes can be one or more, for example, 2, 3, or 5.

[0048] In an optional embodiment, in addition to extracting the target reference plane corresponding to the second three-dimensional point cloud data set based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, the reference plane corresponding to each second three-dimensional point cloud data set can also be extracted based on the position information, normal information and curvature information of the three-dimensional points contained in each second three-dimensional point cloud data set.

[0049] For example, the target reference plane corresponding to the second three-dimensional point cloud data set is extracted by the Efficient RANSAC algorithm. Specifically, three-dimensional points in the second three-dimensional point cloud data set are randomly selected, and the plane where these three-dimensional points are located is extracted according to the position information, normal information and curvature information of the randomly selected three-dimensional points; according to the position information, normal information and curvature information of the three-dimensional points in the second three-dimensional point cloud data set, which three-dimensional points in the second three-dimensional point cloud data set are located on the plane is calculated; wherein, the three-dimensional points located on the plane can be regarded as internal points, and the points not located on the plane can be regarded as external points; if the number of internal points exceeds the set internal point number threshold, the plane can be regarded as the reference plane of the second three-dimensional point cloud data set; if the number of internal points does not exceed the set internal point number threshold, the three-dimensional point cloud in the second three-dimensional point cloud data set is randomly selected again, and the plane is refitted according to the position information of the re-selected three-dimensional points, and the iteration is continued until the set number of iterations is reached, or a plane that meets the requirements is obtained.

[0050] Among them, in the process of extracting the reference plane corresponding to each second three-dimensional point cloud data set according to the position information, normal information and curvature information of the three-dimensional points in the second three-dimensional point cloud data set, not only the point-to-plane distance between the three-dimensional point and the plane should be considered, for example, with the point-to-plane distance between the randomly selected three-dimensional point and the plane being less than the set point-to-plane distance threshold as the goal, continuous iterations are performed to extract the plane where these three-dimensional points are located; the consistency between the normal information of the three-dimensional point and the normal information of the plane should also be considered, for example, it is determined whether the angle between the normal vector of the three-dimensional point and the normal vector of the plane is less than the set angle threshold, and the angle threshold can be 1 degree, 2 degrees or 5 degrees, etc.; further, the curvature information of the three-dimensional point needs to be considered, for example, it is determined whether the curvature information of the three-dimensional point is less than the set curvature threshold, for example, the curvature threshold is 0.5 or 0.002, etc., and the curvature of the plane is 0. When the point-to-plane distance between the 3D point and the plane is less than the set point-to-plane distance threshold, the angle between the normal vector of the 3D point and the normal vector of the plane is less than the set angle threshold, and the curvature information of the 3D point is less than the set curvature threshold, the plane can be used as a candidate plane, and the 3D points (i.e., inliers) located on the candidate plane in the second 3D point cloud data set are further determined. When the number of inliers exceeds the set inlier threshold, the candidate plane is used as the reference plane. For details of inliers, please refer to the aforementioned embodiment, which will not be described in detail here.

[0051] In this embodiment, the implementation method of determining the distance information between overlapping point clouds in two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets is not limited and is illustrated by examples below.

[0052] In an optional embodiment, an implementation method for determining the distance information between overlapping point clouds in two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets includes: obtaining multiple three-dimensional point pairs of the two second three-dimensional point cloud data sets based on the distance information between the three-dimensional points in the overlapping point clouds of the two second three-dimensional point cloud data sets, each three-dimensional point pair includes: a source three-dimensional point and a destination three-dimensional point. For example, one of the second three-dimensional point cloud data sets is used as the source point cloud data set, and the other second three-dimensional point cloud data set is used as the destination point cloud data set. For each source three-dimensional point in the source point cloud data set, the destination three-dimensional point corresponding to the source three-dimensional point is determined in the overlapping point cloud of the destination point cloud data set. For example, a three-dimensional point whose distance from the source three-dimensional point is less than a set third distance threshold can be found in the destination point cloud data set as the destination three-dimensional point.

[0053] After obtaining multiple 3D point pairs in the overlapping point clouds of the two second 3D point cloud data sets, the distance information corresponding to each 3D point pair can be determined according to the normal information of the source 3D point in each 3D point pair; wherein the distance information corresponding to each 3D point pair refers to the distance information between the source 3D point and the destination 3D point in each 3D point pair; for example, the distance information of the plane where the source 3D point and the destination 3D point are located can be calculated according to the normal information of the source 3D point, combined with the position information of the source 3D point and the destination 3D point, and the distance information of the plane where the source 3D point and the destination 3D point are located can be used as the distance information between the source 3D point and the destination 3D point, that is, the distance information corresponding to the 3D point pair. The curvature information of the source 3D point of each 3D point pair is used as the weight of the distance information corresponding to each 3D point pair; according to the weight of the distance information corresponding to each 3D point pair, the distance information corresponding to multiple 3D point pairs is weighted averaged to obtain the distance information between the two second 3D point cloud data.

[0054] Among them, it should be noted that the three-dimensional points in the source point cloud data set are divided into two types, one is the target three-dimensional point and the non-target three-dimensional point. When calculating the distance information between the two second three-dimensional point cloud data sets, when the source three-dimensional point is realized as a non-target three-dimensional point, the distance information corresponding to each three-dimensional point pair is determined according to the normal information of the source three-dimensional point; the curvature information of the source three-dimensional point is used as the weight of the distance information corresponding to each three-dimensional point pair; when the source three-dimensional point is realized as a target three-dimensional point, the distance information corresponding to each three-dimensional point pair is determined according to the normal information of the target reference plane corresponding to the source three-dimensional point; the curvature information of the target reference plane corresponding to the source three-dimensional point is used as the weight of the distance information corresponding to each three-dimensional point pair; according to the weight of the distance information corresponding to each three-dimensional point pair, the distance information corresponding to multiple three-dimensional point pairs is weighted averaged to obtain the distance information between the two second three-dimensional point cloud data.

[0055] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 101 to 103 can be device A; for another example, the execution subject of steps 101 and 102 can be device A, and the execution subject of step 103 can be device B; and so on.

[0056] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel, and the sequence numbers of the operations, such as 101, 102, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.

[0057] Figure 3 A schematic diagram of a structure of a laser radar acquisition device and a rotation axis calibration device provided by an exemplary embodiment of the present application, wherein the laser radar acquisition device and the rotation axis are rigidly connected, such as Figure 3 As shown, the device includes: an acquisition module 31, a conversion module 32, a determination module 33, a processing module 34, and an optimization module 35.

[0058] An acquisition module 31 is used to acquire two first three-dimensional point cloud data sets in the target space object based on the rotation axis using the laser radar acquisition device, where the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap;

[0059] A conversion module 32 is used to convert the two first three-dimensional point cloud data sets into a world coordinate system according to an initial relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to obtain two second three-dimensional point cloud data sets, wherein at least some of the point clouds of the two second three-dimensional point cloud data sets overlap;

[0060] A determination module 33, configured to determine a target reference plane corresponding to each second three-dimensional point cloud data set according to position information of the three-dimensional points contained in each second three-dimensional point cloud data set;

[0061] The processing module 34 is used to refer to the three-dimensional points located in the target reference plane in each second three-dimensional point cloud data set as target three-dimensional points; and to use the normal information and curvature information of the target reference plane as the normal information and curvature information of the target three-dimensional point;

[0062] The determination module 33 is further used to determine the distance information between the two second three-dimensional point cloud data sets according to the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets;

[0063] The optimization module 35 is used to continuously optimize the initial relative transformation relationship between the laser radar acquisition device and the rotation axis with the goal of making the distance information between overlapping point clouds less than the set first distance threshold, so as to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize the calibration between the laser radar acquisition device and the rotation axis.

[0064] In an optional embodiment, the conversion module is specifically used to: convert the two first three-dimensional point cloud data sets to the rotation axis coordinate system according to the initial relative transformation relationship between the lidar acquisition device and the rotation axis; convert the two first three-dimensional point cloud data sets in the rotation axis coordinate system to the world coordinate system according to the rotation angle ranges corresponding to the two first three-dimensional point cloud data sets, so as to obtain two second three-dimensional point cloud data sets.

[0065] In an optional embodiment, the determination module is specifically used to: extract the reference plane corresponding to each second three-dimensional point cloud data set based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set; when the number of three-dimensional points contained in the reference plane exceeds the set three-dimensional point number threshold, use the reference plane as the target reference plane.

[0066] In an optional embodiment, the determination module is specifically used to extract a reference plane corresponding to each second three-dimensional point cloud data set based on the position information, normal information and curvature information of the three-dimensional points contained in each second three-dimensional point cloud data set.

[0067] In an optional embodiment, the determination module is specifically used to: obtain multiple 3D point pairs of two second 3D point cloud data sets based on distance information between 3D points in overlapping point clouds of the two second 3D point cloud data sets, wherein each 3D point pair includes: a source 3D point and a destination 3D point; determine the distance information corresponding to each 3D point pair based on the normal information of the source 3D point in each 3D point pair; use the curvature information of the source 3D point of each 3D point pair as the weight of the distance information corresponding to each 3D point pair; and perform weighted averaging of the distance information corresponding to multiple 3D point pairs based on the weight of the distance information corresponding to each 3D point pair to obtain the distance information between the two second 3D point cloud data.

[0068] In an optional embodiment, two three-dimensional point cloud data sets are collected when the rotation angle range of the rotation axis is 0-180 degrees and 180-360 degrees; when the rotation angle range of the rotation axis is 0-180 degrees or 180-360 degrees, the rotation axis rotates around the vertical direction, and the lidar collection device collects the first three-dimensional point cloud data set 360 degrees in the horizontal direction.

[0069] For the detailed implementation of the laser radar acquisition equipment and the calibration device of the rotation axis, please refer to the aforementioned embodiment and will not be repeated here.

[0070] The laser radar acquisition device and the rotation axis calibration device provided in the embodiment of the present application collects two three-dimensional point cloud data sets with overlapping point clouds, and transforms the two three-dimensional point cloud data sets into the world coordinate system according to the initial relative position relationship between the laser radar acquisition device and the rotation axis, and optimizes the initial relative transformation relationship with the goal of the distance information between the two three-dimensional point cloud data sets in the world coordinate system being less than the set distance threshold, and obtains the optimized relative transformation relationship to realize the calibration between the laser radar acquisition device and the rotation axis. Among them, in the process of calculating the distance information between the two three-dimensional point cloud data sets, the target reference plane of the three-dimensional point cloud data set is extracted; the distance information between the two three-dimensional point cloud data sets is calculated according to the normal information and curvature information of the target reference plane, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of the laser radar acquisition device and the rotation axis calibration.

[0071] Figure 4 A schematic diagram of a structure of a laser radar acquisition device and a calibration device for a rotating shaft provided by an exemplary embodiment of the present application, wherein the laser radar acquisition device and the rotating shaft are rigidly connected, such as Figure 4 As shown, the device includes: a memory 44 and a processor 45.

[0072] The memory 44 is used to store computer programs and can be configured to store various other data to support operations on the laser radar acquisition device and the rotation axis calibration device. Examples of such data include instructions for any application or method used to operate on the laser radar acquisition device and the rotation axis calibration device.

[0073] The memory 44 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0074] The processor 45 is coupled to the memory 44 and is used to execute the computer program in the memory 44, so as to: obtain two first three-dimensional point cloud data sets in the target space object based on the rotation axis using the laser radar acquisition device, the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap; according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted into the world coordinate system to obtain two second three-dimensional point cloud data sets, and at least part of the point clouds of the two second three-dimensional point cloud data sets overlap; according to the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, determine each second three-dimensional point cloud data set A corresponding target reference plane is defined, and the three-dimensional points located in the target reference plane in each second three-dimensional point cloud data set are called target three-dimensional points; the normal information and curvature information of the target reference plane are used as the normal information and curvature information of the target three-dimensional point; the distance information between the two second three-dimensional point cloud data sets is determined according to the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; with the distance information between the overlapping point clouds being less than the set first distance threshold as the goal, the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize the calibration between the laser radar acquisition device and the rotation axis.

[0075] In an optional embodiment, when the processor 45 converts the two first three-dimensional point cloud data sets into the world coordinate system according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis to obtain two second three-dimensional point cloud data sets, it is specifically used to: convert the two first three-dimensional point cloud data sets into the rotation axis coordinate system according to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis; convert the two first three-dimensional point cloud data sets in the rotation axis coordinate system into the world coordinate system according to the rotation angle ranges corresponding to the two first three-dimensional point cloud data sets, to obtain two second three-dimensional point cloud data sets.

[0076] In an optional embodiment, when the processor 45 determines the target reference plane corresponding to each second three-dimensional point cloud data set based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, it is specifically used to: extract the reference plane corresponding to each second three-dimensional point cloud data set based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set; when the number of three-dimensional points contained in the reference plane exceeds a set three-dimensional point number threshold, use the reference plane as the target reference plane.

[0077] In an optional embodiment, when the processor 45 extracts the reference plane corresponding to each second three-dimensional point cloud data set based on the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, it is specifically used to: extract the reference plane corresponding to each second three-dimensional point cloud data set based on the position information, normal information and curvature information of the three-dimensional points contained in each second three-dimensional point cloud data set.

[0078] In an optional embodiment, when the processor 45 determines the distance information between two second three-dimensional point cloud data sets based on the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets, it is specifically used to: obtain multiple three-dimensional point pairs of the two second three-dimensional point cloud data sets based on the distance information between the three-dimensional points in the overlapping point clouds of the two second three-dimensional point cloud data sets, wherein each three-dimensional point pair includes: a source three-dimensional point and a destination three-dimensional point; determine the distance information corresponding to each three-dimensional point pair based on the normal information of the source three-dimensional point in each three-dimensional point pair; use the curvature information of the source three-dimensional point of each three-dimensional point pair as the weight of the distance information corresponding to each three-dimensional point pair; and perform weighted averaging on the distance information corresponding to multiple three-dimensional point pairs based on the weight of the distance information corresponding to each three-dimensional point pair to obtain the distance information between the two second three-dimensional point cloud data.

[0079] In an optional embodiment, the processor 45 is also used for: collecting two three-dimensional point cloud data sets when the rotation angle range of the rotation axis is 0-180 degrees and 180-360 degrees; when the rotation angle range of the rotation axis is 0-180 degrees or 180-360 degrees, the rotation axis rotates around the vertical direction, and the lidar acquisition device collects the first three-dimensional point cloud data set 360 degrees in the horizontal direction.

[0080] The laser radar acquisition device and the calibration device of the rotation axis provided in the embodiment of the present application acquire two three-dimensional point cloud data sets with overlapping point clouds, and transform the two three-dimensional point cloud data sets into the world coordinate system according to the initial relative position relationship between the laser radar acquisition device and the rotation axis, and optimize the initial relative transformation relationship continuously with the goal that the distance information between the two three-dimensional point cloud data sets in the world coordinate system is less than the set distance threshold, so as to obtain the optimized relative transformation relationship, so as to realize the calibration between the laser radar acquisition device and the rotation axis. Among them, in the process of calculating the distance information between the two three-dimensional point cloud data sets, the target reference plane of the three-dimensional point cloud data set is extracted; the distance information between the two three-dimensional point cloud data sets is calculated according to the normal information and curvature information of the target reference plane, which can improve the stability of the algorithm, reduce the probability of local extreme values, and improve the accuracy of the laser radar acquisition device and the rotation axis calibration.

[0081] Further, if Figure 4As shown, the laser radar acquisition device and the calibration device of the rotating axis also include: a communication component 46, a display 47, a power supply component 48, an audio component 49 and other components. Figure 4 Only some components are shown schematically, which does not mean that the laser radar acquisition equipment and the calibration equipment of the rotating axis only include Figure 4 It should be noted that Figure 4 The components in the dotted box are optional components, not mandatory components, and the specific components depend on the product form of the lidar acquisition equipment and the calibration equipment of the rotating axis.

[0082] The laser radar acquisition device and the rotation axis calibration device of this embodiment can be implemented as a terminal device such as a desktop computer, a laptop computer, or a smart phone, or a server device such as a conventional server, a cloud server, or a server array. If the laser radar acquisition device and the rotation axis calibration device of this embodiment are implemented as a terminal device such as a desktop computer, a laptop computer, or a smart phone, it can include Figure 4 Components in the dashed box; if the laser radar acquisition device and the rotation axis calibration device of this embodiment are implemented as a server-side device such as a conventional server, a cloud server or a server array, it may not include Figure 4 Components within the dashed box.

[0083] Correspondingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor is enabled to implement each step in the calibration method of the laser radar acquisition device and the rotation axis provided in the embodiment of the present application.

[0084] Above Figure 4 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0085] Above Figure 4The display in the embodiment includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0086] Above Figure 4 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0087] Above Figure 4 The audio component in can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0088] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0089] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0090] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0091] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0092] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0093] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0094] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0096] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for calibrating a laser radar acquisition device and a rotation axis, wherein: The laser radar acquisition device is rigidly connected to the rotating shaft, and is characterized by comprising: Using the laser radar acquisition device to acquire two first three-dimensional point cloud data sets in the target space object based on the rotation axis, the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap; According to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted into a world coordinate system to obtain two second three-dimensional point cloud data sets, wherein at least some of the point clouds of the two second three-dimensional point cloud data sets overlap; Determine, according to the position information of the three-dimensional points contained in each second three-dimensional point cloud data set, a target reference plane corresponding to each second three-dimensional point cloud data set, and refer to the three-dimensional points in each second three-dimensional point cloud data set that are located on the target reference plane as target three-dimensional points; Using the normal information and curvature information of the target reference plane as the normal information and curvature information of the target three-dimensional point; Determining distance information between the two second three-dimensional point cloud data sets according to normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; With the goal of making the distance information between the overlapping point clouds less than the set first distance threshold, the initial relative transformation relationship between the laser radar acquisition device and the rotation axis is continuously optimized to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to achieve calibration between the laser radar acquisition device and the rotation axis.

2. The method according to claim 1, characterized in that According to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted into the world coordinate system to obtain two second three-dimensional point cloud data sets, including: According to the initial relative transformation relationship between the laser radar acquisition device and the rotation axis, the two first three-dimensional point cloud data sets are respectively converted to the rotation axis coordinate system; According to the rotation angle ranges respectively corresponding to the two first three-dimensional point cloud data sets, the two first three-dimensional point cloud data sets in the rotation axis coordinate system are converted to the world coordinate system to obtain two second three-dimensional point cloud data sets.

3. The method according to claim 1, characterized in that Determining a target reference plane corresponding to each second three-dimensional point cloud data set according to position information of the three-dimensional points contained in each second three-dimensional point cloud data set includes: Extracting a reference plane corresponding to each second three-dimensional point cloud data set according to position information of the three-dimensional points contained in each second three-dimensional point cloud data set; When the number of three-dimensional points included in the reference plane exceeds a set three-dimensional point number threshold, the reference plane is used as a target reference plane.

4. The method according to claim 3, characterized in that: Extracting a reference plane corresponding to each second three-dimensional point cloud data set according to the position information of the three-dimensional points contained in each second three-dimensional point cloud data set includes: According to the position information, normal information and curvature information of the three-dimensional points contained in each second three-dimensional point cloud data set, a reference plane corresponding to each second three-dimensional point cloud data set is extracted.

5. The method according to claim 1, characterized in that Determining distance information between the two second three-dimensional point cloud data sets according to normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets includes: According to the distance information between the three-dimensional points in the overlapping point clouds of the two second three-dimensional point cloud data sets, a plurality of three-dimensional point pairs of the two second three-dimensional point cloud data sets are obtained, wherein each three-dimensional point pair includes: a source three-dimensional point and a destination three-dimensional point; Determining distance information corresponding to each 3D point pair according to normal information of a source 3D point in each 3D point pair; Using the curvature information of the source 3D point of each 3D point pair as the weight of the distance information corresponding to each 3D point pair; According to the weight of the distance information corresponding to each three-dimensional point pair, the distance information corresponding to the multiple three-dimensional point pairs is weighted averaged to obtain the distance information between the two second three-dimensional point cloud data.

6. The method according to claim 1, characterized in that Also includes: The two first three-dimensional point cloud data sets are collected when the rotation angle range of the rotation axis is 0-180 degrees and 180-360 degrees; When the rotation angle range of the rotation axis is 0-180 degrees or 180-360 degrees, the rotation axis rotates around the vertical direction, and the laser radar acquisition device acquires the first three-dimensional point cloud data set at 360 degrees in the horizontal direction.

7. A laser radar acquisition device and a rotation axis calibration device, wherein: The laser radar acquisition device is rigidly connected to the rotating shaft, and is characterized in that it includes: an acquisition module, a conversion module, a determination module, a processing module, and an optimization module; The acquisition module is used to acquire two first three-dimensional point cloud data sets in the target space object based on the rotation axis using the laser radar acquisition device, wherein the two first three-dimensional point cloud data sets are acquired at different rotation angle ranges at the same acquisition point, and at least part of the point clouds overlap; The conversion module is used to convert the two first three-dimensional point cloud data sets into a world coordinate system according to an initial relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to obtain two second three-dimensional point cloud data sets, wherein at least some of the point clouds of the two second three-dimensional point cloud data sets overlap; The determination module is used to determine the target reference plane corresponding to each second three-dimensional point cloud data set according to the position information of the three-dimensional points contained in each second three-dimensional point cloud data set; The processing module is used to refer to the three-dimensional point located on the target reference plane in each second three-dimensional point cloud data set as the target three-dimensional point; and to use the normal information and curvature information of the target reference plane as the normal information and curvature information of the target three-dimensional point; The determination module is further used to determine the distance information between the two second three-dimensional point cloud data sets according to the normal information and curvature information of each three-dimensional point in the overlapping point clouds of the two second three-dimensional point cloud data sets; The optimization module is used to continuously optimize the initial relative transformation relationship between the laser radar acquisition device and the rotation axis with the distance information between the overlapping point clouds being less than a set first distance threshold, so as to obtain the relative transformation relationship between the laser radar acquisition device and the rotation axis, so as to realize calibration between the laser radar acquisition device and the rotation axis.

8. The device according to claim 7, characterized in that The determination module is specifically used for: Extracting a reference plane corresponding to each second three-dimensional point cloud data set according to position information of the three-dimensional points contained in each second three-dimensional point cloud data set; When the number of three-dimensional points included in the reference plane exceeds a set three-dimensional point number threshold, the reference plane is used as a target reference plane.

9. A laser radar acquisition device and a rotation axis calibration device, characterized in that: include: Memory and processor; The memory is used to store a computer program; the processor is coupled to the memory and is used to execute the computer program to implement the steps in the method according to any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to implement the steps in the method according to any one of claims 1 to 6.