Road traffic line point cloud registration method and device, electronic equipment and storage medium

By obtaining and correlating point cloud points, calculating the covariance matrix and using the generalized nearest point iteration algorithm, the problem of insufficient point cloud registration speed and accuracy in the road traffic line environment is solved, and a more efficient registration effect is achieved.

CN118570265AActive Publication Date: 2024-08-30UISEE TECH BEIJING LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410684133.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-08-30
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

Existing point cloud registration methods have problems with insufficient speed and accuracy in road traffic line environments. In particular, methods based on normal distribution transformation and closest point iteration are sensitive to grid size and point cloud density, and ignore lanes. Line endpoint constraints lead to poor results.

Method used

By obtaining the source point cloud and the target point cloud, associate the point cloud points according to the semantic tags, calculate the initial covariance matrix and perform singular value decomposition, determine the target covariance matrix based on the traffic element type, and use the generalized nearest point iteration algorithm to calculate the registration matrix, Improve point cloud registration speed and accuracy.

Benefits of technology

It achieves improved speed and accuracy of point cloud registration in the road traffic line environment, avoids solution degradation, reduces dependence on grid size and point cloud density, and adapts to changing road line point cloud registration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118570265A
    Figure CN118570265A
Patent Text Reader

Abstract

The embodiment of the invention discloses a road traffic line point cloud registration method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a source point cloud and a target point cloud, and for each source point cloud point in the source point cloud, determining an associated point cloud point corresponding to the source point cloud point from the target point cloud according to the semantic tag of the source point cloud point; for each traffic element in the point cloud set, determining an initial covariance matrix according to each point cloud point coordinate corresponding to the traffic element; performing singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determining a target covariance matrix of each point cloud point in the traffic elements by combining the element types of the traffic elements; and according to a preset target function, the target covariance matrix and the point cloud point coordinates of each source point cloud point, and the target covariance matrix and the point cloud point coordinates of the associated point cloud points corresponding to each source point cloud point, determining a registration matrix so as to improve the point cloud registration speed and precision between the road surface traffic marking point clouds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of point cloud data processing, and in particular to a road traffic line point cloud registration method, device, electronic device and storage medium. Background Art

[0002] Road traffic lines contain high-level semantic information about the vehicle's current environment, which can help the vehicle understand the environment, plan roads, and perform positioning and mapping. In mapping tasks, fast and effective point cloud registration methods can correctly stitch multi-frame point clouds. In positioning tasks, point cloud registration methods can solve the spatial transformation relationship between point clouds collected at different times, and then estimate the relative position and posture of the vehicle in continuous time. Therefore, a good point cloud registration method helps improve mapping accuracy and vehicle positioning accuracy.

[0003] At present, point cloud registration methods are mainly divided into methods based on normal distribution transformation, data-driven methods, and nearest point iteration methods. The method based on normal distribution transformation is sensitive to grid size and point cloud density, and cannot adapt to the registration of variable road line point clouds. The data-driven method requires a large amount of data for pre-training, and the road traffic landmark point cloud is specific to ordinary scene point clouds. Models trained using ordinary point clouds are often not suitable for the registration of road traffic line point clouds. The method based on nearest point iteration ignores the constraints of lane line endpoints on the transformation solution, causing the solution to degenerate, and the lack of plane constraints in the road traffic line point cloud makes this method less effective. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a road traffic line point cloud registration method, device, electronic device and storage medium to improve the point cloud registration speed and accuracy between road traffic marking point clouds.

[0005] In a first aspect, an embodiment of the present disclosure provides a road traffic line point cloud registration method, the method comprising:

[0006] Obtain a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determine an associated point cloud point corresponding to the source point cloud point from the target point cloud according to a semantic label of the source point cloud point;

[0007] For each traffic element in the point cloud set, determining an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud;

[0008] Performing singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determining a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix, and the second matrix;

[0009] The registration matrix between the source point cloud and the target point cloud is determined according to a preset objective function, a target covariance matrix of each source point cloud point, point cloud point coordinates of each source point cloud point, a target covariance matrix of associated point cloud points corresponding to each source point cloud point, and point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized closest point iterative algorithm.

[0010] In a second aspect, the present disclosure also provides a road traffic line point cloud registration device, the device comprising:

[0011] An association module is used to obtain a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determine an associated point cloud point corresponding to the source point cloud point from the target point cloud according to a semantic label of the source point cloud point;

[0012] An initial covariance matrix determination module is used to determine, for each traffic element in a point cloud set, an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud;

[0013] a target covariance matrix determination module, configured to perform singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determine a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix and the second matrix;

[0014] A registration matrix determination module is used to determine the registration matrix between the source point cloud and the target point cloud based on a preset objective function, a target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point, and the point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized closest point iterative algorithm.

[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement the road traffic line point cloud registration method as described above.

[0016] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the road traffic line point cloud registration method as described above.

[0017] The present disclosure provides a road traffic line point cloud registration method, which obtains a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determines from the target point cloud according to the semantic label of the source point cloud point, and associates the source point cloud point and the target point cloud point with the semantic label, and then, for each traffic element in the point cloud set including the source point cloud and the target point cloud, determines the initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element, and performs singular value analysis on the initial covariance matrix. The first matrix and the second matrix are obtained by solving the problem, and the target covariance matrix corresponding to each point cloud point in the traffic element is determined according to the element type of the traffic element, the first matrix and the second matrix, so as to simplify the solution of the target covariance matrix. Then, according to the preset objective function, the target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point and the point cloud point coordinates of the associated point cloud points, the registration matrix between the source point cloud and the target point cloud is determined, so as to achieve the effect of improving the point cloud registration speed and accuracy between the road traffic marking point clouds. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0019] Figure 1 It is a flow chart of a road traffic line point cloud registration method in an embodiment of the present disclosure;

[0020] Figure 2 It is a structural schematic diagram of a road traffic line point cloud registration device in an embodiment of the present disclosure;

[0021] Figure 3 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0022] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0023] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0024] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0025] Figure 1 1 is a flow chart of a road traffic line point cloud registration method in an embodiment of the present disclosure. The method can be executed by a road traffic line point cloud registration device. The device can be implemented in software and / or hardware. The device can be configured in an electronic device. Figure 1 As shown, the method may specifically include the following steps:

[0026] S110, obtaining a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determining an associated point cloud point corresponding to the source point cloud point from the target point cloud according to the semantic label of the source point cloud point.

[0027] Among them, the source point cloud and the target point cloud are two sets of point clouds that need to be registered. There are some overlapping point clouds in the source point cloud and the target point cloud. By applying the solved registration matrix to the source point cloud, the overlapping parts of the source point cloud and the target point cloud can be registered as much as possible. The source point cloud and the target point cloud can be acquired based on the point cloud acquisition device. The source road traffic lines are the road traffic lines corresponding to the source point cloud, and the target road traffic lines are the road traffic lines corresponding to the target point cloud. The source point cloud point is the point cloud point in the source point cloud, and the target point cloud point is the point cloud point in the target point cloud. The semantic label is the road traffic line type of the traffic element to which the point cloud point belongs. The traffic element can be understood as a road traffic line. The associated point cloud point is the target point cloud point in the target point cloud that is closest to the source point cloud point.

[0028] Specifically, two groups of point clouds that need to be aligned are obtained, one group is the source point cloud corresponding to the source road traffic line, and the other group is the target point cloud corresponding to the target road traffic line. Furthermore, for each source point cloud point in the source point cloud, the target point cloud point associated with it can be determined from the target point cloud in the same way as the associated point cloud point, and one of the source point cloud points is used as an example for explanation. For each source point cloud point, according to the semantic label of the source point cloud point, the target point cloud points with the same semantic label are found from the target point cloud, and the one closest to the source point cloud point is searched from these target point cloud points as the associated point cloud point corresponding to the source point cloud point.

[0029] Based on the above example, the associated point cloud points corresponding to the source point cloud points can be determined from the target point cloud according to the semantic labels of the source point cloud points in the following way:

[0030] According to the target point cloud points corresponding to each semantic label in the target point cloud, a k-dimensional tree corresponding to each semantic label is constructed;

[0031] For each source point cloud point in the source point cloud, the target tree is determined from each k-dimensional tree according to the semantic label corresponding to the source point cloud point, and the target point cloud point closest to the source point cloud point in the target tree is used as the associated point cloud point corresponding to the source point cloud point.

[0032] The k-dimensional tree is a tree data structure that stores points in the k-dimensional space for fast retrieval. The target point is a k-dimensional tree with the same semantic label as the source point cloud point.

[0033] Specifically, all target point cloud points in each semantic label in the target point cloud are extracted, and for each semantic label, a k-dimensional tree (K-dimension Tree, KD-Tree) corresponding to the semantic label is constructed according to all target point cloud points corresponding to the semantic label. For each source point cloud point in the source point cloud, it is necessary to search for the target point cloud point corresponding to the source point cloud point from the target point cloud points with the same semantic label. Therefore, according to the semantic label corresponding to the source point cloud point, a k-dimensional tree with the same semantic label is determined from each k-dimensional tree as the target tree. The target point cloud point closest to the source point cloud point is searched from the target tree as the associated point cloud point corresponding to the source point cloud point. If there is no k-dimensional tree with the same semantic label as the source point cloud point, the source point cloud point does not participate in the subsequent steps.

[0034] S120 . For each traffic element in the point cloud set, determine an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element.

[0035] The point cloud set includes the source point cloud and the target point cloud. The point cloud point coordinates are the coordinates of the point cloud points in the point cloud coordinate system. The initial covariance matrix is ​​a matrix composed of the covariances between the point cloud points in the traffic element.

[0036] Specifically, for each traffic element in the point cloud set, that is, for each traffic element in the source point cloud and the target point cloud, it is necessary to calculate the covariance between the coordinates of any two point cloud points in the traffic element, and a covariance matrix can be obtained as the initial covariance matrix of the traffic element.

[0037] Based on the above example, the initial covariance matrix of the traffic element can be determined according to the coordinates of each point cloud point corresponding to the traffic element in the following way:

[0038] Determine the point cloud center according to the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element;

[0039] The initial covariance matrix of the traffic element is determined according to the point cloud center, the coordinates of each point cloud point corresponding to the traffic element, and the number of point cloud points corresponding to the traffic element.

[0040] The number of point cloud points is the total number of each point cloud point in a traffic element. The point cloud center is the center of each point cloud point corresponding to a traffic element.

[0041] Specifically, for each traffic element, by analyzing the positions of each point cloud point corresponding to the traffic element, that is, combining the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element to perform center calculation, the point cloud center of the traffic element can be obtained. Further, combining the obtained point cloud center, the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element, the covariance matrix is ​​solved as the initial covariance matrix of the traffic element.

[0042] Based on the above example, the point cloud center can be determined according to the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element in the following way:

[0043] The center of the point cloud is determined by the following formula:

[0044]

[0045] Among them, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element.

[0046] Based on the above example, the initial covariance matrix of the traffic element can be determined according to the point cloud center, the coordinates of each point cloud point corresponding to the traffic element, and the number of point cloud points corresponding to the traffic element in the following way:

[0047] The initial covariance matrix of traffic elements is determined by the following formula:

[0048]

[0049] Among them, C k is the initial covariance matrix of the kth traffic element, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element.

[0050] S130, performing singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determining a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix and the second matrix.

[0051] The element type is a type used to describe the shape of the traffic element, such as a long line type, a line segment type, and other types. The first matrix and the second matrix are matrices obtained by performing singular value decomposition on the initial covariance matrix. The target covariance matrix is ​​a covariance matrix obtained by normalizing the initial covariance matrix based on the differential flow type.

[0052] Since the calculated initial covariance matrix may have extremely different singular values, this will cause problems such as numerical calculation precision overflow in the subsequent solution of the objective function. Therefore, it is necessary to construct a differential flow type to standardize the initial covariance matrix and obtain the target covariance matrix.

[0053] Specifically, the initial covariance matrix is ​​subjected to singular value decomposition to obtain the first matrix and the second matrix:

[0054]

[0055] Among them, C is the initial covariance matrix of traffic elements, U is the first matrix, and V is the second matrix. is a matrix in which the elements on the main diagonal are all singular values ​​of the initial covariance matrix C, and the elements outside the main diagonal are all 0. For example, Among them, λ3≤λ2≤λ1, λ1, λ2 and λ3 are all singular values ​​of the initial covariance matrix C.

[0056] Furthermore, a diagonal matrix consisting of eigenvalues ​​is determined according to the element type of the traffic element. The first matrix, the diagonal matrix consisting of the eigenvalues ​​and the second matrix are multiplied to obtain a standardized covariance matrix, which is the target covariance matrix corresponding to each point cloud point in the traffic element.

[0057] Based on the above example, the target covariance matrix corresponding to each point cloud point in the traffic element can be determined according to the element type, the first matrix and the second matrix of the traffic element in the following manner:

[0058] Determine type parameters according to the element type of the traffic element;

[0059] Construct a diagonal matrix according to the preset parameters and type parameters;

[0060] The product of the first matrix, the diagonal matrix and the second matrix is ​​used as the target covariance matrix corresponding to each point cloud point in the traffic element.

[0061] Among them, the type parameter is a pre-set parameter corresponding to different element types. The preset parameter is a pre-set parameter used to represent a small constant. The diagonal matrix is ​​a matrix with the preset parameters and type parameters as elements on the main diagonal.

[0062] Specifically, according to the element type of the traffic element, the type parameter corresponding to the traffic element can be determined from the parameters corresponding to each pre-set element type. The type parameter and the preset parameter are respectively used as the last two elements on the main diagonal, and the remaining elements on the main diagonal are set to 1, so that a diagonal matrix can be obtained. The product of the first matrix, the diagonal matrix and the second matrix is ​​used as the standardized covariance matrix, that is, the target covariance matrix corresponding to each point cloud point in the traffic element.

[0063] Based on the above example, the product of the first matrix, the diagonal matrix and the second matrix can be used as the target covariance matrix corresponding to each point cloud point in the traffic element in the following way:

[0064] The target covariance matrix corresponding to each point cloud point in the traffic element is determined by the following formula:

[0065] C′=U∑′V

[0066] Among them, C′ is the target covariance matrix corresponding to each point cloud point in the traffic element, U is the first matrix, V is the second matrix, ∑′ is the diagonal matrix, ∑′=diag(1,δ,∈), δ is the type parameter, and ∈ is the preset parameter.

[0067] It can be known that the target covariance matrix determined by the above method includes: the target covariance matrix C corresponding to each source point cloud point in the source point clouds ′ and the target covariance matrix C corresponding to each target point cloud point in the target point cloud t ′.

[0068] Based on the above example, the type parameter can be determined according to the element type of the traffic element in the following way:

[0069] If the element type of the traffic element is a long line type, the type parameter is determined to be a preset parameter;

[0070] If the element type of the traffic element is other types, the type parameter is determined to be 1;

[0071] If the element type of the traffic element is a line segment type, the type parameter is determined to be a constraint parameter.

[0072] Among them, the constraint parameter is greater than the preset parameter and the constraint parameter is less than 1.

[0073] Traffic elements, i.e., road traffic markings, can be divided into three types of elements, namely, long line type, line segment type, and other types. Among them, the long line type refers to linear elements whose line endpoints cannot be stably observed within the local observation range of the vehicle, such as solid lane lines, curbs, etc. The point clouds of such elements are linearly distributed and have no obvious endpoints in the local area. The line segment type refers to elements that are linearly distributed but whose endpoints can be observed, such as dotted lane lines, stop lines, and sidewalk markings. Except for the above two types of linear elements, the remaining traffic elements are classified as other elements. There is no obvious pattern in the distribution of their point clouds, and they are often distributed in the form of geometric figures, such as ground speed limit signs, triangular signs (slowdown signs), diamond signs (sidewalk warning signs), etc.

[0074] Specifically, for long lines, due to their continuity, their endpoints may not be effectively observed in a single-frame point cloud. Therefore, the constraints of constructing the nearest points along the line by the point cloud points cannot reduce the optimization target, that is, the constraints along the line are considered to be weak. At this time, a differential flow type covariance matrix needs to be constructed, that is, the type parameter δ is equal to the preset parameter ∈, ∈ is a small constant. In order to ensure that the numerical calculation in the computer does not overflow the precision, ∈ can be set to 10 -3Etc. At this time, for the point cloud points on the long line, the distance between the nearest point pairs in the direction along the line will not significantly affect the descent of the optimization target. The matching of the point cloud pairs (source point cloud points and corresponding associated point cloud points) perpendicular to the long line will make the optimization target drop faster, achieving the purpose of weakening the constraints in the direction along the line and strengthening the constraints in the direction perpendicular to the long line. For other elements such as diamond markings and speed limit markings, their point cloud points are usually distributed in a plane on the road surface, and the distribution on the plane is more dispersed, rather than concentrated in a linear distribution. Therefore, for this type, a two-differential flow type covariance matrix is ​​constructed, that is, the type parameter δ = 1. At this time, the distance between the point cloud pairs (source point cloud points and corresponding associated point cloud points) in other types of traffic elements has the same constraint ability on the plane, strengthening the constraints in the direction perpendicular to the plane (road surface). For the line segment type, a single frame point cloud can usually observe the endpoints of the line segment. Therefore, compared with the long line, the endpoints of such elements can provide certain constraints in the direction along the line. However, compared with geometric traffic markings, the line segment type has weaker constraints on the direction along the line. Therefore, it is necessary to construct a type parameter δ that satisfies ∈<δ<1 to ensure that when there are only long line type and line segment type traffic elements in the same direction, the line segment type point cloud point part can provide stronger constraints than the long line type. When there are other types of geometric traffic elements, the matching of point cloud point pairs in the line segment type traffic elements will not excessively affect the overall registration of the point cloud. For example, δ=10 can be taken. -1 As the type parameter corresponding to the line segment type.

[0075] Through S130 , the target covariance matrix of each source point cloud point in the source point cloud and the target covariance matrix of each target point cloud point in the target point cloud can be obtained.

[0076] S140, determine the registration matrix between the source point cloud and the target point cloud according to the preset objective function, the target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point, and the point cloud point coordinates of the associated point cloud points.

[0077] The preset objective function is the objective function in the generalized closest point iteration algorithm. The registration matrix is ​​a matrix used to act on the source point cloud to register the overlapping parts of the source point cloud and the target point cloud.

[0078] The default objective function is:

[0079]

[0080] in, and are the point cloud point coordinates of the i-th source point cloud point and the point cloud point coordinates of the associated point cloud point established in advance, that is, the point cloud point coordinates of the two nearest point cloud points with the same label in both the source point cloud and the target point cloud, n is the number of point cloud points in the source point cloud, C s ′ is the target covariance matrix of the i-th source point cloud, C t ′ is the target covariance matrix of the associated point cloud point corresponding to the i-th source point cloud point. * is the registration matrix, that is, the optimization result corresponding to the preset objective function. T is the target to be optimized, that is, the registration matrix to be optimized, which is a 4×4 rigid body transformation matrix that satisfies Among them, R is the rotation matrix, its size is 3×3, and t is the translation vector, its size is 1×3.

[0081] By solving the preset objective function, the registration matrix is ​​found so that the value of the preset objective function is minimized, that is, the sum of the distances between the point cloud point pairs (source point cloud points and corresponding associated point cloud points) is minimized. To this end, a commonly used nonlinear optimization algorithm can be selected as a solution algorithm, such as a gradient descent method, a Gauss-Newton method, or a Levenberg-Marquardt method (LM method), etc. Thus, the result of the current round, i.e., the registration matrix, can be obtained. Then, the obtained registration matrix can be used to rotate and translate the source point cloud to obtain a new source point cloud, and it is determined whether the registration effect between the new source point cloud and the target point cloud meets the preset requirements. If it meets, the registration is completed. If not, the next round of iteration is entered based on the new source point cloud until the maximum number of iterations is reached or the registration effect between the new source point cloud and the target point cloud meets the preset requirements. Finally, the registration result between the two frames of point clouds (source point cloud and target point cloud) can be obtained.

[0082] The generalized closest point iteration algorithm needs to pre-estimate the normal vector of each point cloud point, which usually requires the use of multi-point fitting plane parameters in the local area, and then use the normal vector of the plane as the estimated value of the normal vector of the point cloud point. As the number of point cloud points increases, the time consumption increases significantly, so the real-time performance is low in the registration of dense point clouds. The road traffic line point cloud registration method provided in this embodiment uses the covariance matrix of each traffic element to approximately fit the target covariance matrix of each point cloud point in the traffic element, which can not only reduce the amount of calculation and improve the efficiency of point cloud registration, but also can fit the distribution law of each point cloud point in space as approximately as possible.

[0083] Compared with other methods based on the nearest point iteration, the road traffic line point cloud registration method provided in this embodiment makes special optimization for the distribution characteristics of the road traffic marking point cloud (element type of traffic elements), especially for the case of only lane line point cloud. It can use different differential flow type construction methods to reduce the convergence amplitude of the weak constraint direction along the line, avoiding the problem of solution degradation. Compared with the method based on normal distribution transformation, the road traffic line point cloud registration method provided in this embodiment does not need to construct the target point cloud into a grid form, so the matching efficiency is higher. In addition, the road traffic line point cloud registration method provided in this embodiment does not need to manually set prior parameters such as grid size according to the density and type of the point cloud, and is less dependent on manual work. Compared with the data-driven method, the pre-trained point cloud registration model cannot be applied to the registration between specific road traffic marking point clouds. The road traffic line point cloud registration method provided in this embodiment does not need to use a large amount of data for manual annotation and training in advance, reducing labor costs and time costs.

[0084] The road traffic line point cloud registration method provided in this embodiment obtains a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determines the associated point cloud point corresponding to the source point cloud point from the target point cloud according to the semantic label of the source point cloud point, and associates the source point cloud point and the target point cloud point with the semantic label, and then, for each traffic element in the point cloud set including the source point cloud and the target point cloud, determines the initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element, and performs singular value decomposition on the initial covariance matrix. The first matrix and the second matrix are obtained, and the target covariance matrix corresponding to each point cloud point in the traffic element is determined according to the element type of the traffic element, the first matrix and the second matrix, so as to simplify the solution of the target covariance matrix. Then, according to the preset objective function, the target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point, and the point cloud point coordinates of the associated point cloud points, the registration matrix between the source point cloud and the target point cloud is determined, thereby achieving the effect of improving the point cloud registration speed and accuracy between the road traffic marking point clouds.

[0085] If the above-mentioned road traffic line point cloud registration method is used in the mapping task of autonomous driving, it is possible to complete the higher-precision multi-frame point cloud stitching through point cloud registration, and then generate a higher-precision semantic point cloud map; if the above-mentioned road traffic line point cloud registration method is used in the positioning task of autonomous driving, it is possible to complete the solution of the vehicle's posture through the registration of multiple consecutive frames of road traffic marking point clouds, and then achieve high-precision tracking of the vehicle positioning.

[0086] Figure 2 FIG. 1 is a schematic diagram of the structure of a road traffic line point cloud registration device in an embodiment of the present disclosure. Figure 2 As shown, the device includes: an association module 210, an initial covariance matrix determination module 220, a target covariance matrix determination module 230 and a registration matrix determination module 240.

[0087] The association module 210 is used to obtain the source point cloud corresponding to the source road traffic line and the target point cloud corresponding to the target road traffic line, and for each source point cloud point in the source point cloud, determine the associated point cloud point corresponding to the source point cloud point from the target point cloud according to the semantic label of the source point cloud point; the initial covariance matrix determination module 220 is used to determine the initial covariance matrix of the traffic element for each traffic element in the point cloud set according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud; the target covariance matrix determination module 230 is used to determine the initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element. The difference matrix is ​​subjected to singular value decomposition to obtain a first matrix and a second matrix, and a target covariance matrix corresponding to each point cloud point in the traffic element is determined according to the element type of the traffic element, the first matrix and the second matrix; a registration matrix determination module 240 is used to determine the registration matrix between the source point cloud and the target point cloud according to a preset objective function, the target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point, and the point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized nearest point iterative algorithm.

[0088] Based on the above example, optionally, the initial covariance matrix determination module 220 is also used to determine the point cloud center according to the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element; determine the initial covariance matrix of the traffic element according to the point cloud center, the coordinates of each point cloud point corresponding to the traffic element, and the number of point cloud points corresponding to the traffic element.

[0089] Based on the above example, optionally, the initial covariance matrix determination module 220 is further used to determine the point cloud center by the following formula:

[0090]

[0091] Among them, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element;

[0092] Correspondingly, the initial covariance matrix determination module 220 is further used to determine the initial covariance matrix of the traffic element by the following formula:

[0093]

[0094] Among them, C k is the initial covariance matrix of the kth traffic element, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element.

[0095] Based on the above example, optionally, the target covariance matrix determination module 230 is also used to determine the type parameter according to the element type of the traffic element; construct a diagonal matrix according to preset parameters and the type parameter; and use the product of the first matrix, the diagonal matrix and the second matrix as the target covariance matrix corresponding to each point cloud point in the traffic element.

[0096] Based on the above example, optionally, the target covariance matrix determination module 230 is also used to determine that if the element type of the traffic element is a long line type, the type parameter is the preset parameter; if the element type of the traffic element is other types, the type parameter is determined to be 1; if the element type of the traffic element is a line segment type, the type parameter is determined to be a constraint parameter; wherein the constraint parameter is greater than the preset parameter and the constraint parameter is less than 1.

[0097] Based on the above example, optionally, the target covariance matrix determination module 230 is further used to determine the target covariance matrix corresponding to each point cloud point in the traffic element by the following formula:

[0098] C ′ =UΣ ′ V

[0099] Among them, C ′ is the target covariance matrix corresponding to each point cloud point in the traffic element, U is the first matrix, V is the second matrix, Σ ′ is a diagonal matrix, Σ ′ =diag(1,δ,∈), δ is the type parameter, ∈ is the preset parameter.

[0100] Based on the above example, optionally, the association module 210 is also used to construct a k-dimensional tree corresponding to each semantic label based on the target point cloud points corresponding to each semantic label in the target point cloud; for each source point cloud point in the source point cloud, according to the semantic label corresponding to the source point cloud point, determine the target tree from each k-dimensional tree, and use the target point cloud point in the target tree that is closest to the source point cloud point as the associated point cloud point corresponding to the source point cloud point.

[0101] The road traffic line point cloud registration device provided in the embodiment of the present disclosure can execute the steps in the road traffic line point cloud registration method provided in the method embodiment of the present disclosure, and the execution steps and beneficial effects are no longer repeated here.

[0102] Figure 3 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 3 , which shows a structural schematic diagram of an electronic device 300 suitable for implementing the embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0103] like Figure 3 As shown, the electronic device 300 may include a processing device 301, a read-only memory (ROM) 302, a random access memory (RAM) 303, a bus 304, an input / output (I / O) interface 305, an input device 306, an output device 307, a storage device 308, and a communication device 309. The processing device (e.g., a central processing unit, a graphics processor, etc.) 301 can perform various appropriate actions and processes to implement the method of the embodiment described in the present disclosure according to the program in the ROM 302 or the program loaded from the storage device 308 to the RAM 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other through the bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.

[0104] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains a program code for executing the method shown in the flowchart, thereby implementing the road traffic line point cloud registration method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0105] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0106] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:

[0107] Obtain a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determine an associated point cloud point corresponding to the source point cloud point from the target point cloud according to a semantic label of the source point cloud point;

[0108] For each traffic element in the point cloud set, determining an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud;

[0109] Performing singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determining a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix, and the second matrix;

[0110] The registration matrix between the source point cloud and the target point cloud is determined according to a preset objective function, a target covariance matrix of each source point cloud point, point cloud point coordinates of each source point cloud point, a target covariance matrix of associated point cloud points corresponding to each source point cloud point, and point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized closest point iterative algorithm.

[0111] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.

[0112] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0113] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

Claims

1. A road traffic line point cloud registration method, characterized in that: The method comprises: Obtain a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determine an associated point cloud point corresponding to the source point cloud point from the target point cloud according to a semantic label of the source point cloud point; For each traffic element in the point cloud set, determining an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud; Performing singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determining a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix, and the second matrix; The registration matrix between the source point cloud and the target point cloud is determined according to a preset objective function, a target covariance matrix of each source point cloud point, point cloud point coordinates of each source point cloud point, a target covariance matrix of associated point cloud points corresponding to each source point cloud point, and point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized closest point iterative algorithm.

2. The method according to claim 1, characterized in that: The step of determining the initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element comprises: Determine the point cloud center according to the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element; An initial covariance matrix of the traffic element is determined according to the point cloud center, the coordinates of each point cloud point corresponding to the traffic element, and the number of point cloud points corresponding to the traffic element.

3. The method according to claim 2, characterized in that The determining the point cloud center according to the coordinates of each point cloud point corresponding to the traffic element and the number of point cloud points corresponding to the traffic element includes: The point cloud center is determined by the following formula: Among them, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element; Correspondingly, determining the initial covariance matrix of the traffic element according to the point cloud center, the coordinates of each point cloud point corresponding to the traffic element, and the number of point cloud points corresponding to the traffic element includes: The initial covariance matrix of the traffic element is determined by the following formula: Among them, C k is the initial covariance matrix of the kth traffic element, μ k is the point cloud center of the kth traffic element, n k is the number of point cloud points corresponding to the k-th traffic element, and p(i,j) is the coordinates of each point cloud point corresponding to the k-th traffic element.

4. The method according to claim 1, characterized in that: The determining, according to the element type of the traffic element, the first matrix, and the second matrix, a target covariance matrix corresponding to each point cloud point in the traffic element includes: Determining a type parameter according to the element type of the traffic element; Constructing a diagonal matrix according to preset parameters and the type parameters; The product of the first matrix, the diagonal matrix and the second matrix is ​​used as the target covariance matrix corresponding to each point cloud point in the traffic element.

5. The method according to claim 4, characterized in that The determining of the type parameter according to the element type of the traffic element includes: If the element type of the traffic element is a long line type, determining the type parameter to be the preset parameter; If the element type of the traffic element is other types, the type parameter is determined to be 1; If the element type of the traffic element is a line segment type, the type parameter is determined to be a constraint parameter; wherein the constraint parameter is greater than the preset parameter and the constraint parameter is less than 1.

6. The method according to claim 5, characterized in that The method of taking the product of the first matrix, the diagonal matrix and the second matrix as the target covariance matrix corresponding to each point cloud point in the traffic element includes: The target covariance matrix corresponding to each point cloud point in the traffic element is determined by the following formula: C′=U∑′V Among them, C′ is the target covariance matrix corresponding to each point cloud point in the traffic element, U is the first matrix, V is the second matrix, ∑′ is the diagonal matrix, ∑′=diag(1,δ,∈), δ is the type parameter, and ∈ is the preset parameter.

7. The method according to claim 1, characterized in that The step of determining, from the target point cloud according to the semantic label of the source point cloud point, an associated point cloud point corresponding to the source point cloud point, comprises: According to the target point cloud points corresponding to each semantic label in the target point cloud, a k-dimensional tree corresponding to each semantic label is constructed; For each source point cloud point in the source point cloud, a target tree is determined from each of the k-dimensional trees according to the semantic label corresponding to the source point cloud point, and the target point cloud point in the target tree that is closest to the source point cloud point is used as the associated point cloud point corresponding to the source point cloud point.

8. A road traffic line point cloud registration device, characterized in that: include: An association module is used to obtain a source point cloud corresponding to a source road traffic line and a target point cloud corresponding to a target road traffic line, and for each source point cloud point in the source point cloud, determine an associated point cloud point corresponding to the source point cloud point from the target point cloud according to a semantic label of the source point cloud point; An initial covariance matrix determination module is used to determine, for each traffic element in a point cloud set, an initial covariance matrix of the traffic element according to the coordinates of each point cloud point corresponding to the traffic element; wherein the point cloud set includes the source point cloud and the target point cloud; a target covariance matrix determination module, configured to perform singular value decomposition on the initial covariance matrix to obtain a first matrix and a second matrix, and determine a target covariance matrix corresponding to each point cloud point in the traffic element according to the element type of the traffic element, the first matrix and the second matrix; A registration matrix determination module is used to determine the registration matrix between the source point cloud and the target point cloud based on a preset objective function, a target covariance matrix of each source point cloud point, the point cloud point coordinates of each source point cloud point, the target covariance matrix of the associated point cloud points corresponding to each source point cloud point, and the point cloud point coordinates of the associated point cloud points; wherein the preset objective function is the objective function in the generalized closest point iterative algorithm.

9. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the road traffic line point cloud registration method as described in any one of claims 1-7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the road traffic line point cloud registration method as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Multi-target tracking model based on point cloud, electronic equipment and storage medium

    CN116168058A

  • Image processing method and apparatus, and related device

    US20210012527A1