Laser radar point cloud semantic graph pre-registration method based on instance weight distance calculation
Through the method based on instance weight distance calculation, the semantic graph queue is quickly screened and matched, which solves the error and speed problems of semantic graph pre-registration in complex environments, and achieves efficient and robust semantic graph matching.
Patent Information
- Application Number
- CN202410921934.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-10
AI Technical Summary
Existing semantic graph pre-registration methods have unreasonable distribution of semantic feature weights in complex environments, resulting in increased registration errors, and it is difficult to quickly screen candidate graph queues for similar semantic graphs, affecting the registration speed and robustness.
Using a method based on instance weight distance calculation, Euclidean distance is used to quickly screen out a queue of candidate graphs that may have high semantic similarity. The semantic instance assignment weight coefficient and distribution characteristics of the prior semantic graph are used to calculate the similarity of the semantic graph, and the preliminary candidates are screened out. graph, and select the final candidate graph queue through distance calculation between semantic graph instances.
It significantly improves the registration speed and efficiency, improves the reliability of weight distribution of semantic similarity and the robustness in complex environments, and ensures high-precision map matching.
Smart Images

Figure CN118735974A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of laser radar global registration, and in particular to a laser radar point cloud semantic graph pre-registration method based on instance weighted distance calculation. Background Art
[0002] In fields such as autonomous driving and robotic navigation, global registration technology is a crucial component for achieving high-precision positioning and navigation. Traditional global registration methods rely primarily on geometric feature matching, but often struggle to achieve high-precision and robust map registration in complex environments. Semantic map pre-registration methods incorporate semantic information and leverage the semantic features of objects in the environment to assist in map matching, improving both registration accuracy and robustness.
[0003] Existing semantic map pre-registration methods have limitations when dealing with complex environments. First, improper feature weighting of different semantic instances can lead to increased registration errors. Second, quickly and accurately selecting candidate maps with similar semantic maps is also a challenge. Therefore, we propose a semantic map pre-registration method for LiDAR point clouds based on instance-weighted distance calculation to address these issues. Summary of the Invention
[0004] To solve the above problems, the present invention discloses a lidar point cloud semantic map pre-registration method based on instance weighted distance calculation. Its main contribution is to quickly screen out candidate map queues with potentially high semantic similarity through Euclidean distance, thereby greatly improving the registration speed and efficiency.
[0005] The technical solution adopted in the present invention is:
[0006] A method for pre-registration of a semantic graph of a lidar point cloud based on instance weighted distance calculation comprises the following steps:
[0007] Step 1: Use the prior semantic map to count the number of semantic instances in the current prior map space, and construct the global semantic instance allocation weight coefficient after normalization and removal of singular values;
[0008] Step 2: Calculate the distribution characteristics of semantic instances in the prior semantic map based on the global semantic instance allocation weight coefficient in the current prior map space, and use the distribution characteristics of semantic instances in the prior semantic map to determine the similarity with the current semantic map distribution, and select a preliminary candidate map queue;
[0009] Step 3: Calculate the distance between semantic graph instances of the screened preliminary candidate graph queue and the current semantic graph, sort the calculation results in ascending order, and finally select multiple semantic graphs with the smallest distance as the final candidate graph queue.
[0010] Furthermore, the specific process of step 1 is:
[0011] Assume that the global prior semantic graph is S = {s0,s1,...,s n}, s is the semantic graph s i A set of 0≤i≤n, where n is the number of semantic graphs. A semantic graph is defined as an information graph of semantic clusters contained in a lidar frame, including: semantic cluster labels label i , the three-dimensional coordinates of the semantic cluster center in the radar coordinate system, the edge relationship between semantic clusters, and the 6-DOF pose of the current radar frame in the global coordinate system;
[0012] Suppose each semantic graph s i The number of semantic instances of Each of these Indicates s i Semantic clustering label label j , 0≤j≤m, m is the number of types of semantic clustering labels, where the superscript represents the semantic graph s i , subscript j represents the semantic clustering label label j ; Therefore, the total number Num of each semantic cluster label corresponding to the global prior semantic graph S can be obtained all for:
[0013]
[0014] Num corresponding to the global prior semantic graph S all Normalization is performed, and the normalized interval is Q L to Q H , Q L is the lower bound of the interval, Q H is the upper bound of the interval, Q L >0, the value after processing is:
[0015]
[0016] Then take the inverse and normalize it again to assign the weight coefficient W to the global semantic instance. The formula is as follows:
[0017]
[0018] Furthermore, the specific process of step 2 is:
[0019] For each semantic instance s in the current prior semantic graph S i , calculate the distribution feature score f of each instance of the semantic graph j :
[0020]
[0021] Using the global semantic instance distribution weight coefficient, all instance distribution feature scores f j Perform weighted summation to form the current semantic graph s i The overall semantic feature score of
[0022]
[0023] The current semantic graph s c The overall semantic feature score of With the global prior semantic graph S={s0,s1,...,s n The overall semantic feature score of Perform preliminary screening and select semantic graphs with relative values less than the threshold δ1. The semantic graph S in the preliminary candidate graph queue c satisfy:
[0024]
[0025] Among them, n c is the number of semantic graphs that meet the conditions.
[0026] Furthermore, the distance calculation formula in step 3 is as follows:
[0027]
[0028] in, Represents the current semantic graph s c Semantic clustering label label j The number of
[0029] The advantages of the present invention compared to the prior art are:
[0030] During the pre-registration process, the present invention compares the semantic similarity of two semantic graphs by calculating the weighted Euclidean distance of semantic instances, thereby quickly screening out a candidate graph queue of similar semantic graphs and improving the semantic graph query speed;
[0031] The weights of the present invention are calculated based on a priori semantic maps, which effectively improves the reliability of semantic similarity weight distribution and the robustness in complex environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a flowchart for implementing the lidar point cloud semantic graph pre-registration method based on instance weighted distance calculation described in the present invention.
[0033] Figure 2 This is a time-consuming comparison chart of lidar semantic map pre-registration methods in the KITTI dataset.
[0034] Figure 3This is a time-consuming comparison chart of lidar semantic map pre-registration methods in the MulRan dataset. DETAILED DESCRIPTION
[0035] The present invention will be further explained below with reference to the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0036] like Figure 1 As shown, a lidar point cloud semantic map pre-registration method based on instance weighted distance calculation includes the following steps:
[0037] Step 1: Use the prior semantic map to count the number of semantic instances in the current prior map space, and construct the global semantic instance allocation weight coefficient after normalization and removal of singular values. The specific process includes:
[0038] Assume that the global prior semantic graph is S = {s0,s1,...,s n}, which is the semantic graph s i A set of 0≤i≤n, where n is the number of semantic graphs. A semantic graph is defined as an information graph of semantic clusters contained in a lidar frame, which includes: 1) semantic labels of semantic clusters label i ; 2) The three-dimensional coordinates of the semantic cluster center in the radar coordinate system; 3) The edge relationship between semantic clusters; 4) The 6-DOF pose of the current radar frame in the global coordinate system (only included in the prior semantic map).
[0039] Assume that each semantic graph s i The number of semantic instances of Each of these Indicates s i Semantic clustering label label j , 0≤j≤m, m is the number of types of semantic clustering labels, where the superscript represents the semantic graph s i , subscript j represents the semantic clustering label label j ; Therefore, the total number Num of each semantic cluster label corresponding to the global prior semantic graph S can be obtained all for:
[0040]
[0041] Num corresponding to the global prior semantic graph S all Normalization is performed, and the normalized interval is Q L to Q H , Q L is the lower bound of the interval, Q H is the upper bound of the interval, Q L>0; However, considering that ordinary normalization may cause singular values to appear in subsequent processing, this embodiment changes the normalization interval from 0 to 1 to 0.1 to 0.9, so the value after processing is:
[0042]
[0043] Considering the currently obtained U value, the more semantic cluster labels there are, the larger the semantic label value is. In the semantic graph screening candidate queue, the ones with rare semantic instances are often more characteristic. Therefore, the reciprocal of the value is taken and normalized again to be used as the global semantic instance allocation weight coefficient W. The formula is as follows:
[0044]
[0045] Step 2: Calculate the distribution characteristics of semantic instances in the prior semantic map based on the global semantic instance allocation weight coefficient in the current prior map space, and use the distribution characteristics of semantic instances in the prior semantic map to determine the similarity with the current semantic map distribution, and select the preliminary candidate map queue. The specific process includes:
[0046] The global semantic instance allocation weight coefficient obtained in step 1 has the characteristic that the rarer the semantic instance, the larger the allocation weight coefficient. Therefore, for each semantic instance s in the current semantic graph S i , its semantic distribution feature score is calculated according to its global semantic instance assignment weight coefficient W, and is used to generate a preliminary candidate graph queue.
[0047] The details are as follows:
[0048] The distribution feature score f of each instance of the semantic graph is calculated according to the following formula j :
[0049]
[0050] Using the global semantic instance distribution weight coefficient, all instance distribution feature scores f j Perform weighted summation to form the current semantic graph s i The overall semantic feature score of
[0051]
[0052] The current semantic graph s c The overall semantic feature score of With the global prior semantic graph S={s0,s1,...,s n The overall semantic feature score of Perform preliminary screening and select semantic graphs with relative values less than the threshold δ1. The semantic graph S in the preliminary candidate graph queue c satisfy:
[0053]
[0054] Among them, n c The number of semantic graphs that meet the conditions.
[0055] Step 3: Calculate the distance between the selected preliminary candidate graph queue and the current semantic graph, sort the calculation results in ascending order, and finally select multiple semantic graphs with the smallest distance as the final candidate graph queue; the specific process is as follows:
[0056] The preliminary candidate graph queue obtained in step 2 is Compare it with the current semantic graph s c Calculate the distance between semantic graph instances and compare the exact semantic similarity of two semantic graphs by calculating the weighted Euclidean distance between semantic graph instances. The distance is calculated as follows:
[0057]
[0058] in, Represents the current semantic graph s c Semantic clustering label label j The number of
[0059] The weighted Euclidean instance distances of all candidate semantic graphs are calculated Sorted in ascending order, the smaller the instance distance is, the greater the similarity between the two semantic graphs may be. Finally, several semantic graphs with the smallest distance are selected as the final candidate graph queue.
[0060] exist Figure 2 and Figure 3 The comparison of computational time between the proposed method and the traditional traversal method is shown in the figure. Since the method uses a lidar point cloud semantic map pre-registration method based on instance weighted distance calculation, the instance weight can be used to quickly screen the final candidate map queue, and the accuracy remains consistent, which is computationally more efficient.
[0061] The technical means disclosed in the solution of the present invention are not limited to the technical means disclosed in the above-mentioned embodiment, but also include technical solutions composed of any combination of the above technical features.
Claims
1. A method for pre-registration of LiDAR point cloud semantic graphs based on instance weighted distance calculation, characterized in that: The following steps are involved: Step 1: Count the number of semantic instances in the current prior map space using the prior semantic graph, and construct the global semantic instance allocation weight coefficient after normalization and removal of singular values; Step 2: Calculate the distribution characteristics of the semantic instances in the prior semantic map according to the global semantic instance allocation weight coefficient in the current prior map space, and use the distribution characteristics of the semantic instances in the prior semantic map to judge the similarity with the current semantic map distribution, and select the preliminary candidate map queue; Step 3: Calculate the distance between the semantic graph instances of the screened preliminary candidate graph queue and the current semantic graph, sort the calculation results in ascending order, and finally select multiple semantic graphs with the smallest distance as the final candidate graph queue.
2. The method for pre-registration of a LiDAR point cloud semantic graph based on instance weighted distance calculation according to claim 1, characterized in that: The specific process of step 1 is: Assume that the global prior semantic graph is S = {s0,s1,...,s n }, s is the semantic graph s i A set of 0≤i≤n, where n is the number of semantic graphs; a semantic graph is defined as an information graph of semantic clusters contained in a lidar frame, including: semantic cluster label label i , the 3D coordinates of the semantic cluster center in the radar coordinate system, the edge relationship between semantic clusters, and the 6-DOF pose of the current radar frame in the global coordinate system; Suppose that each semantic graph s i The number of semantic instances of Each of these Indicates i Semantic clustering label label j , 0≤j≤m, m is the number of semantic clustering labels, where the superscript represents the semantic graph s i , subscript j represents the semantic clustering label label j ; Therefore, the total number Num of each semantic clustering label corresponding to the global prior semantic graph S can be obtained all for: Num corresponding to the global prior semantic graph S all Normalization is performed, and the normalized interval is Q L To Q H , Q L is the lower bound of the interval, Q H is the upper bound of the interval, Q L >0, the value after processing is: Then take the inverse and normalize it again as the global semantic instance allocation weight coefficient W. The formula is as follows:
3. The method for pre-registration of a LiDAR point cloud semantic graph based on instance weighted distance calculation according to claim 2, characterized in that: The specific process of step 2 is as follows: For each semantic instance s in the current prior semantic graph S i , calculate the distribution feature score f of each instance of the semantic graph j : Using the global semantic instance distribution weight coefficient, all instance distribution feature scores f j Perform weighted summation to form the current semantic graph s i The overall semantic feature score of The current semantic graph s c The overall semantic feature score of With the global prior semantic graph S = {s0,s1,...,s n The overall semantic feature score of Perform a preliminary screening to select semantic graphs with relative values less than the threshold δ1. The semantic graph S in the preliminary candidate graph queue c satisfy: Among them, n c is the number of semantic graphs that meet the conditions.
4. The method for pre-registration of a LiDAR point cloud semantic graph based on instance weighted distance calculation according to claim 3, characterized in that: The distance calculation formula in step 3 is as follows: in, Represents the current semantic graph s c Semantic clustering label label j The number of
Citation Information
Patent Citations
Topological map generation method based on visual fusion landmarks
CN111210518A
Map matching method and device, electronic equipment and storage medium
CN112179359A
Multi-view pedestrian attribute identification method
CN116434010A
Three-dimensional point cloud target detection method fused with two-dimensional image semantics
CN116597264A
Vehicle positioning method and device, electronic equipment and storage medium
CN116929366A
Cited By
Global positioning method based on semantic distribution feature retrieval and semantic topological histogram
CN119741376A
