Multi-feature point cloud matching method based on probability distribution sampling constraint

By treating the edges, surfaces, and cluttered points in the lidar point cloud as probability distribution sampling results, the probability distribution model is used to improve the accuracy and reliability of data association, and solve the problem of unreasonable medium weight assumptions and non-standard feature points in the feature matching method. solve the problem and achieve more efficient data association.

CN118379526BActive Publication Date: 2024-10-22JIMEI UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410831800.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-22
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

The feature matching method has the problems of unreasonable equal weight assumption and inappropriate processing of non-standard feature points in laser odometry, resulting in insufficient accuracy and reliability of data association.

Method used

A multi-feature point cloud matching method based on probability distribution sampling constraints is adopted. Edges, surfaces, and cluttered points are regarded as sampling results of probability distributions. Point cloud fitting in a local range is used to obtain the parameters of the corresponding probability distribution, and the constraints of the optimization problem are constructed. conditions to improve the accuracy and reliability of data association.

Benefits of technology

By unifying the residual constraints, the unreasonable problem of equal weight assumption is avoided, and three data association channels of edge-edge, surface-surface, and cluttered point-cluttered point are designed to improve the accuracy and reliability of data association.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379526B_ABST
    Figure CN118379526B_ABST
Patent Text Reader

Abstract

The present invention relates to a multi-feature point cloud matching method based on probability distribution sampling constraints, which belongs to the field of laser point cloud matching. The method regards edges, faces, and cluttered points as sampling results of probability distribution, obtains parameters of corresponding probability distribution by fitting point clouds in a local range, and constructs constraint conditions of optimization problems based on probability distribution sampling, thereby avoiding the unreasonable problem of equal weight assumption. The present invention also designs three data association channels, namely edge-edge, face-face, and cluttered point-cluttered point, respectively, to improve the accuracy and reliability of system data association.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of laser point cloud matching, and in particular relates to a multi-feature point cloud matching method based on probability distribution sampling constraints. Background Art

[0002] Registration is a technology that obtains radar pose changes by matching two frames of point clouds. It is the core of laser radar positioning and mapping technology. In terms of matching methods, the current mainstream matching methods are divided into two categories: direct matching method and feature matching method. The direct matching method directly performs nearest neighbor alignment on two frames of point clouds to obtain the estimated pose of the radar. It is mostly used in non-real-time tasks such as 3D reconstruction, virtual reality and augmented reality. Representative methods include iterative closest point method, normal distribution transformation method, general ICP method, and voxel grid GICP method. The feature matching method first extracts features from the original laser point cloud, and then matches the two frames of point clouds according to the geometric properties of the features to obtain the pose estimate. The current mainstream model is a matching method based on line and surface features. Compared with the direct matching method, the feature matching method has a faster speed and can meet the needs of real-time pose estimation of mobile robots.

[0003] At present, feature matching laser odometers face two shortcomings: unreasonable equal weight assumption and inappropriate handling of non-standard feature points. In the feature matching process, it is usually assumed that edge feature constraints and surface feature constraints are equally weighted. However, this assumption does not conform to the characteristics of laser radar ranging - the longer the distance, the lower the ranging accuracy, and the longer the distance, the lower the resolution of the point cloud. In addition, in complex environments, in addition to line features and surface features, there are usually some feature points that cannot be clearly classified, such as laser points collected from cluttered objects such as leaves and grass. For these non-standard points, the conventional approach is either to abandon them directly or to treat them as plane points. The abandonment approach will reduce the number of effective constraints, which is not conducive to ensuring the robustness of the system; treating them as plane points is conducive to improving the robustness of the system, but incorrect data association is likely to reduce the accuracy of the system. Summary of the invention

[0004] The purpose of the present invention is to provide a multi-feature point cloud matching method based on probability distribution sampling constraints to address the two shortcomings of the feature matching method, namely, unreasonable equal-weight assumption and inappropriate processing of non-standard feature points. This method regards edges, faces, and messy points as sampling results of probability distribution, and uses point cloud fitting within a local range to obtain parameters of the corresponding probability distribution. Based on probability distribution sampling, the constraints of the optimization problem are constructed, thereby improving the accuracy and reliability of data association.

[0005] To achieve the above object, the technical solution of the present invention is: a multi-feature point cloud matching method based on probability distribution sampling constraints, characterized by comprising:

[0006] S001. Obtain two frames of point cloud data, respectively recorded as source point cloud and target point cloud ;

[0007] S002, respectively, the source point cloud and target point cloud The covered space is divided into several voxels of equal size, and the statistical values ​​of all points in the voxels are calculated to obtain and ;

[0008] S003, using point cloud clustering method, respectively and After point cloud clustering, several sub-point clouds are obtained. Sub-point clouds with point content higher than the preset threshold are retained, and sub-point clouds with point content lower than the preset threshold are discarded. and ;

[0009] S004. Based on the point cloud surface roughness criterion, define the roughness of the point in the point cloud, and select and Three types of point clouds, namely line feature points, surface feature points and messy points, are extracted from the point cloud; the roughness of the point in the point cloud is defined as:

[0010]

[0011] in, Indicates the point cloud i Point, if For feature extraction, , if For feature extraction, ; Indicates The point set is composed of all points in a sphere with a center of a circle and a radius of r. Represents the calculation point set The number of midpoints, Represents a point set The j Points, Indicates calculating the distance from the corresponding point to the origin of the coordinate system;

[0012] S005, Data association: one by one The feature points in Perform nearest neighbor search in , find several nearest neighbor points, form the sub-point cloud corresponding to the corresponding source feature point, and use the nearest neighbor points to fit the parameters of the probability distribution model;

[0013] S006. Calculate the sampling probability likelihood value of each source feature point according to the probability distribution model, take the product of the sampling probability likelihood values ​​of all points in the current frame as the objective function of the optimization problem, construct the joint maximum likelihood estimation problem of all source feature points, and solve to obtain the optimal pose value under the current data association condition;

[0014] S007: Repeat S005 and S006 until the optimized value of the pose variable tends to remain unchanged or the number of data associations reaches the maximum value, output the final pose value, and complete the entire point cloud matching process.

[0015] In one embodiment of the present invention, in step S001, the source point cloud and target point cloud Mathematically it is:

[0016]

[0017] in, Represents the source point cloud The i Points, , Represents the target point cloud The k Points, , operator Indicates calculating the number of points in the corresponding point cloud.

[0018] In one embodiment of the present invention, in step S002, statistical values ​​are calculated for all points in the voxel, that is, the coordinate average value of all points in each voxel is calculated. The point set within , and its coordinate average is expressed as:

[0019]

[0020] in, Represents a set of points The m Points, , Represents a set of calculation points The number of midpoints.

[0021] In one embodiment of the present invention, in step S003, the point cloud clustering method includes a density-based clustering method, a feature-based clustering method, a geometry-based clustering method, a spectral clustering method, and a deep learning method.

[0022] In one embodiment of the present invention, in step S005, the probability distribution model used is Gaussian distribution, and the sub-point cloud corresponding to the corresponding source feature point The mean and covariance obtained from the fitting are:

[0023]

[0024] in, represents the mean of the Gaussian distribution, represents the covariance of the Gaussian distribution, express In the point, n represents the number of points in the sub-point cloud corresponding to the source feature point, is the transpose symbol.

[0025] In one embodiment of the present invention, in step S006, the specific formula for the joint maximum likelihood estimation problem of all source feature points is as follows:

[0026]

[0027] in, is the union of all source feature points, is the set of probability distribution models of all source feature points, The source feature point The corresponding probability distribution model is, and Respectively represent the 3D posture matrix and 3D position vector of the source point cloud equivalent to the target point cloud, Represented in the probability distribution model Under these conditions, the sampling point The sampling probability density function of It represents the product operation of the sampling probability density function values ​​of all source feature point clouds. Express and Optimize to maximize the product of the probability density functions of all source feature point clouds. The optimal posture value and optimal position value when the product is maximized are recorded as and .

[0028] In one embodiment of the present invention, in step S007, the method for solving the joint maximum likelihood estimation problem includes the steepest descent method, Gauss-Newton method, and Levenberg-Marquardt method.

[0029] Compared with the prior art, the present invention has the following beneficial effects: compared with the existing line and surface dual feature point cloud matching method, the present invention regards edges, surfaces and cluttered points as sampling results of probability distribution, uses point cloud fitting in a local range to obtain parameters of the corresponding probability distribution, and constructs a unified residual constraint based on the Mahalanobis distance to avoid the unreasonable problem of equal weight assumption; the present invention designs three data association channels of edge-edge, surface-surface and cluttered point-cluttered point respectively to improve the accuracy and reliability of data association. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is an overall block diagram of the multi-feature point cloud matching method based on probability distribution sampling constraints of the present invention.

[0031] Figure 2 Flowchart for solving the multi-feature maximum likelihood estimation under the Gaussian distribution assumption. DETAILED DESCRIPTION

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

[0033] like Figure 1 As shown, the present invention provides a multi-feature point cloud matching method based on probability distribution sampling constraints, and the specific implementation steps are as follows:

[0034] S001. Obtain two frames of point cloud data from the laser radar, data set or database, and record them as source point clouds. and target point cloud , mathematically expressed as:

[0035]

[0036] in, Represents the source point cloud The i Points, , Represents the target point cloud The k Points, , operator Indicates calculating the number of points in the corresponding point cloud.

[0037] S002. Voxel filtering is a commonly used point cloud data processing method, which is used to downsample and denoise point clouds. The basic idea is to divide the point cloud space into a number of small cubes (or voxels) of equal size, and process the point cloud data in each voxel to achieve the purpose of downsampling and denoising. The point clouds after voxel filtering are recorded as and The basic process of filtering is:

[0038] ① Divide voxels: First, divide the space covered by the point cloud data into cubes of equal size, each cube is called a voxel. The size of the voxel is usually selected according to the density of the point cloud and the specific application scenario.

[0039] ②Operate the points in each voxel: For each voxel, process the point cloud data contained in it. Common processing methods include calculating the average value, median value, or other statistical features of the points in the voxel. Taking the average value as an example, the coordinate average value of the points in each voxel can be calculated. The point set within , and its coordinate average can be expressed as:

[0040]

[0041] in, Represents a point set The m Points, , Represents a set of calculation points The number of midpoints.

[0042] ③Generate output point cloud: Generate output point cloud based on the results of processing within the voxel. The density and quality of the output point cloud depends on the size of the voxel and the processing method.

[0043] S003. Use the point cloud clustering method to cluster the point cloud data to obtain several sub-point clouds. The sub-point clouds with high point content are retained, and the sub-point clouds with low point content are discarded. The threshold for determining whether to discard the sub-point cloud is usually selected based on the density of the point cloud and the application scenario. Commonly used fast point cloud clustering methods include density-based clustering, feature-based clustering, geometry-based clustering, spectral clustering, and some deep learning methods. The point clouds after clustering analysis are recorded as and Taking the density-based clustering method as an example, the basic process of clustering is as follows:

[0044] ① Input point cloud data , and two parameters, the field radius and minimum points ; each of which , i=1,2,3…n represents a three-dimensional point.

[0045] ②For each point , calculated with is the center and the radius is The number of points contained in the domain ,according to Determine the type of each point; if , then Marked as a core point, if and In the neighborhood of a core, Mark as boundary points, otherwise Mark as noise points; traverse all core points and boundary points, and classify them into the same cluster according to their neighborhood relationships.

[0046] ③ Generate clustering results of the point cloud, each cluster represents an object or an independent scene part.

[0047] S004, based on the point cloud surface roughness criterion, the point The roughness is defined as:

[0048]

[0049] in, Represents the first i point, if it is right To extract features, If it is To extract features, . express A set of nearby points, usually selected as is the center and the radius is The set of all points in the sphere; express The points ( ); express Distance from the origin of the coordinate system; operator Indicates calculating the number of points in the corresponding point set or point cloud.

[0050] According to the size of the roughness, three types of point clouds, line feature points, surface feature points and messy points, are extracted from the point cloud data. The basic process of feature extraction is as follows:

[0051] ① Input The number of nearest neighbors to search for a point , feature extraction threshold and other prior information, such as lidar scanning mode, scanning beam, scanning angle and other information.

[0052] ② Calculate according to the roughness calculation formula Point roughness .

[0053] ③According to the roughness and feature extraction threshold Classification is performed and the classification result is recorded as , the classification formula is:

[0054]

[0055] in, Represent surface features, line features and cluttered points respectively. and They represent the face feature extraction threshold and edge feature extraction threshold respectively, and are usually selected according to the specific application scenario.

[0056] ④Traverse all point cloud data and output feature extraction results. The edges, faces and cluttered point clouds extracted from , and , The edges, faces and cluttered point clouds extracted from , and .

[0057] S005, one by one The point in The nearest neighbor search is performed in the point cloud. The nearest neighbor search process is as follows:

[0058] ①Judgment point The feature type, for example, belongs to the line feature type, that is, .

[0059] ②In The nearest neighbor search is performed on the same type, for example Search for nearest neighbor points ,but

[0060]

[0061] in, for One point in and Respectively represent the 3D posture matrix and 3D position vector of the source point cloud equivalent to the target point cloud. Repeat the nearest neighbor search process to find several nearest neighbor points to form the sub-point cloud corresponding to the source feature point. Use these nearest neighbor points to fit the parameters of the probability distribution model. Commonly used probability distribution models include Gaussian distribution and Gaussian mixture distribution. Taking Gaussian distribution as an example, the sub-point cloud corresponding to the source feature point The fitted means and covariances are:

[0062]

[0063] in, represents the mean of the Gaussian distribution, represents the covariance of the Gaussian distribution, express In the point, n represents the number of points in the sub-point cloud corresponding to the source feature point, is the transpose symbol.

[0064] This process is called data association process, and each source point can be regarded as a random sampling of its corresponding probability distribution.

[0065] S006. Calculate each source feature point according to the probability distribution model The sampling probability likelihood value of ,in for The corresponding probability distribution model takes the product of the sampling probabilities of all source feature points as the objective function of the optimization problem and constructs the joint likelihood estimation problem of all source feature points as follows:

[0066]

[0067] in, is the union of all source feature points, is the set of probability distribution models of all source feature points, The source feature point The corresponding probability distribution model is, and Respectively represent the 3D posture matrix and 3D position vector of the source point cloud equivalent to the target point cloud, Represented in the probability distribution model Under these conditions, the sampling point The sampling probability density function of It represents the product operation of the sampling probability density function values ​​of all source feature point clouds. Express and Optimize to maximize the product of the probability density functions of all source feature point clouds. The optimal posture value and optimal position value when the product is maximized are recorded as and ; Use the steepest descent method, Gauss-Newton or Levenberg-Marquardt method to iteratively solve the above maximum likelihood estimation problem to obtain the optimal pose value under the current data association situation and Taking the Gaussian distribution hypothesis as an example, Figure 2 As shown, the solution process of the above joint likelihood estimation problem is as follows:

[0068] ① According to the multidimensional Gaussian distribution model, the maximum likelihood estimation problem is equivalently transformed into a least squares problem:

[0069]

[0070] ② Initialize variables and ,Right now , . and Represents posture variables and position variables The initial value of .

[0071] ③ Solve the least squares problem according to the optimization method. Commonly used methods include the steepest descent method, Gauss-Newton, Levenberg-Marquardt method or other numerical iterative solution methods.

[0072] S007. Repeat S005 and S006 until the optimized value of the pose variable tends to remain unchanged or the number of data associations reaches the maximum value, output the final pose value, and complete the entire point cloud matching process.

[0073] The above are preferred embodiments of the present invention. Any changes made according to the technical solution of the present invention, as long as the resulting functions do not exceed the scope of the technical solution of the present invention, belong to the protection scope of the present invention.

Claims

1. A multi-feature point cloud matching method based on probability distribution sampling constraints, characterized in that: include: S001. Obtain two frames of point cloud data, respectively recorded as source point cloud and target point cloud ; S002, respectively, the source point cloud and target point cloud The covered space is divided into several voxels of equal size, and the statistical values ​​of all points in the voxels are calculated to obtain and ; S003, using point cloud clustering method, respectively and After point cloud clustering, several sub-point clouds are obtained. Sub-point clouds with point content higher than the preset threshold are retained, and sub-point clouds with point content lower than the preset threshold are discarded. and ; S004. Based on the point cloud surface roughness criterion, define the roughness of the point in the point cloud, and select and Three types of point clouds, namely line feature points, surface feature points and messy points, are extracted from the point cloud; the roughness of the point in the point cloud is defined as: in, Indicates the point cloud i Point, if For feature extraction, , if For feature extraction, ; Indicates The point set is composed of all points in a sphere with a center of a circle and a radius of r. Represents the calculation point set The number of midpoints, Represents a point set The j Points, Indicates calculating the distance from the corresponding point to the origin of the coordinate system; S005, Data association: one by one The feature points in Perform nearest neighbor search in , find several nearest neighbor points, form the sub-point cloud corresponding to the corresponding source feature point, and use the nearest neighbor points to fit the parameters of the probability distribution model; S006. Calculate the sampling probability likelihood value of each source feature point according to the probability distribution model, take the product of the sampling probability likelihood values ​​of all points in the current frame as the objective function of the optimization problem, construct the joint maximum likelihood estimation problem of all source feature points, and solve to obtain the optimal pose value under the current data association condition; S007: Repeat S005 and S006 until the optimized value of the pose variable tends to remain unchanged or the number of data associations reaches the maximum value, output the final pose value, and complete the entire point cloud matching process.

2. The multi-feature point cloud matching method based on probability distribution sampling constraint according to claim 1, characterized in that: In step S001, the source point cloud and target point cloud Mathematically it is: in, Represents the source point cloud The l Points, , Represents the target point cloud The k Points, , operator Indicates calculating the number of points in the corresponding point cloud.

3. The multi-feature point cloud matching method based on probability distribution sampling constraint according to claim 1, characterized in that: In step S002, the statistical value of all points in the voxel is calculated, that is, the coordinate average value of all points in each voxel is calculated. The point set within , and its coordinate average is expressed as: in, Represents a set of points The m Points, , Represents a set of calculation points The number of midpoints.

4. The multi-feature point cloud matching method based on probability distribution sampling constraint according to claim 1, characterized in that: In step S003, the point cloud clustering method includes a density-based clustering method, a feature-based clustering method, a geometry-based clustering method, a spectral clustering method, and a deep learning method.

5. The multi-feature point cloud matching method based on probability distribution sampling constraint according to claim 1, characterized in that: In step S005, the probability distribution model used is Gaussian distribution, and the sub-point cloud corresponding to the source feature point The mean and covariance obtained from the fitting are: in, represents the mean of the Gaussian distribution, represents the covariance of the Gaussian distribution, express In the point, n represents the number of points in the sub-point cloud corresponding to the source feature point, is the transpose symbol.

6. The multi-feature point cloud matching method based on probability distribution sampling constraint according to claim 1, characterized in that: In step S006, the specific formula for the joint maximum likelihood estimation problem of all source feature points is as follows: in, is the union of all source feature points, is the set of probability distribution models of all source feature points, The source feature point The corresponding probability distribution model is, and Respectively represent the 3D posture matrix and 3D position vector of the source point cloud relative to the target point cloud, Represented in the probability distribution model Under these conditions, the sampling point The sampling probability density function of It represents the product operation of the sampling probability density function values ​​of all source feature point clouds. Express and Optimize to maximize the product of the probability density functions of all source feature point clouds. The optimal posture value and optimal position value when the product is maximized are recorded as and .

7. A multi-feature point cloud matching method based on probability distribution sampling constraints according to claim 1 or 6, characterized in that: In step S007, methods for solving the joint maximum likelihood estimation problem include steepest descent method, Gauss-Newton method, and Levenberg-Marquardt method.

Citation Information

Patent Citations

  • LiDAR-IMU-GNSS fusion positioning method based on voxelization fine registration

    CN114659514A

  • Plane constraint introduced low-overlapping-rate weak-feature three-dimensional measurement point cloud precise registration method

    CN116245921A

  • Gravity matching secondary filtering method and device based on noise distribution hypothesis

    CN117824632A

  • Method for three-dimensional reconstruction of the thread of the holes for the studs of the main connector of the reactor pressure vessel and automatic identification of defects

    RU2791416C1

  • Non-cooperative target three-dimensional reconstruction method based on branch reconstruction registration

    WO2023045455A1