CN119006543A - Point cloud registration method based on neighborhood normal vector and curvature - Google Patents
Point cloud registration method based on neighborhood normal vector and curvature Download PDFInfo
- Publication number
- CN119006543A CN119006543A CN202411097504.XA CN202411097504A CN119006543A CN 119006543 A CN119006543 A CN 119006543A CN 202411097504 A CN202411097504 A CN 202411097504A CN 119006543 A CN119006543 A CN 119006543A
- Authority
- CN
- China
- Prior art keywords
- point
- feature
- point cloud
- curvature
- points
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000013598 vector Substances 0.000 title claims abstract description 81
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005070 sampling Methods 0.000 claims abstract description 29
- 230000002457 bidirectional effect Effects 0.000 claims abstract description 23
- 230000009466 transformation Effects 0.000 claims abstract description 23
- 238000007781 pre-processing Methods 0.000 claims abstract description 8
- 239000011159 matrix material Substances 0.000 claims description 30
- 230000005484 gravity Effects 0.000 claims description 10
- 230000008859 change Effects 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000001914 filtration Methods 0.000 claims description 5
- 238000013519 translation Methods 0.000 claims description 5
- 238000005452 bending Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 5
- 238000010276 construction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 229940060587 alpha e Drugs 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010835 comparative analysis Methods 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000000691 measurement method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10028—Range image; Depth image; 3D point clouds
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a point cloud registration method based on a neighborhood normal vector and curvature, which comprises the following steps: preprocessing source point cloud and target point cloud data; constructing a constraint condition of the number of adjacent points for the preprocessed source point cloud and the preprocessed target point cloud according to the degree of the density between the points; extracting initial characteristic points from the preprocessed point cloud according to the normal vector inner product mean value between the sampling points and the adjacent points; extracting the initial characteristic points for the second time through the average curvature of the neighborhood to form characteristic points; forming a final feature point set according to the curvature feature parameter; performing FPFH feature description on the final feature point set, performing initial feature matching according to the ratio of the bidirectional minimum Euclidean distance between feature vectors and the secondary Euclidean distance, and adopting the Euclidean distance constraint between point pairs to remove mismatching point pairs; and calculating initial values of initial transformation parameters by taking the correct matching point pairs as unit quaternions, carrying out initial registration on the source point cloud and the target point cloud, constructing a bidirectional k-dimensional tree improved ICP algorithm, and finishing accurate registration.
Description
Technical Field
The invention relates to the technical field of three-dimensional point cloud registration, in particular to a point cloud registration method based on a neighborhood normal vector and curvature.
Background
With the rapid development of three-dimensional laser scanning technology, measurement methods and technologies are increasingly advanced. The spatial coordinate information (x, y, z) obtained by measuring the surface of the object to be measured is generally referred to as three-dimensional point cloud data. As the point cloud data in practical application is in a mass trend, the problems of noise interference, incomplete data, uneven distribution of the point cloud and the like are accompanied. Therefore, in order to ensure accuracy and robustness of the model, the large-scale point cloud data needs to be preprocessed before modeling. The point cloud preprocessing mainly comprises denoising, filtering, registering, segmentation and the like, wherein the point cloud registering is a core process, and the registering precision of the point cloud registering directly influences the reconstruction effect of the follow-up entity three-dimensional model.
The traditional ICP algorithm is used for searching the closest point by calculating the Euclidean distance between two point clouds, establishing a corresponding relation and solving ideal transformation parameters of an objective function, but the algorithm has the problems of low registration efficiency, poor precision, high requirement on the initial pose of the point clouds and the like. Therefore, relevant scholars at home and abroad propose a large number of improvement methods, and four main steps of the ICP algorithm are summarized: 1) Extracting feature points; 2) Describing characteristics; 3) Feature matching and rejecting mismatching point pairs; 4) Registering. Although each of the improved algorithms is innovative in one or more of the above steps, some problems remain unavoidable. For example, in the feature point extraction stage, most feature points can be effectively extracted according to the geometric features of the point cloud, but feature points with similarity areas cannot be accurately extracted only by means of single features and are easy to be interfered by noise, so that a large number of non-feature points are extracted; in the characteristic description stage, most of improved descriptors can improve the description capability of local characteristics, but cannot resist the influence of noise interference and data resolution variation; in the stage of feature matching and mismatching point pair rejection, most feature matching point pairs can be obtained through the similarity between descriptors, but the factors such as limited overlapping area of data, noise interference and the like cause that a large number of mismatching point pairs are still doped in the matching sets; most of the improved algorithms have difficulty in balancing the high efficiency against the high accuracy of the registration stage.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a point cloud registration method based on a neighborhood normal vector and curvature, which can effectively improve the efficiency, precision and robustness of point cloud registration under the conditions of noise interference, incomplete data and large rotation angle.
The invention discloses a point cloud registration method based on a neighborhood normal vector and curvature, which comprises the following steps:
step 1: preprocessing source point cloud and target point cloud data;
Step 2: constructing a constraint condition of the number of adjacent points for the preprocessed source point cloud and the preprocessed target point cloud according to the degree of the density between the points; extracting initial characteristic points from the preprocessed point cloud according to the normal vector inner product mean value between the sampling points and the adjacent points; extracting the initial characteristic points for the second time through the average curvature of the neighborhood to form characteristic points; forming a final feature point set according to the curvature feature parameter;
step 3: performing FPFH feature description on the final feature point set, performing initial feature matching according to the ratio of the bidirectional minimum Euclidean distance between feature vectors and the secondary Euclidean distance, and adopting the Euclidean distance constraint between point pairs to remove mismatching point pairs;
Step 4: and calculating initial values of initial transformation parameters by taking the correct matching point pairs as unit quaternions, carrying out initial registration on the source point cloud and the target point cloud, constructing a bidirectional k-dimensional tree improved ICP algorithm, and finishing accurate registration.
Further, the preprocessing the source point cloud and the target point cloud data specifically includes:
and establishing a bounding box with the length, width and height of L multiplied by w multiplied by h for the original point cloud P, dividing the bounding box into M cube voxel grids by combining the point cloud density to estimate the voxel side length L, calculating the gravity centers of all points in each voxel grid, and taking the gravity centers as filtering points, thereby reducing the complexity of the point cloud on the premise of keeping most of characteristic information of the point cloud.
Further, step 2.1: extracting initial feature points from the preprocessed point cloud according to the normal vector inner product mean value between the sampling points and the adjacent points, and specifically further comprising:
defining the bending degree of the neighborhood surface according to the density conditions of adjacent points in the neighborhood with different radiuses;
Taking the sampling point p i as a circle center, and the nearest points of the Euclidean distance between the adjacent points in the search spaces with different radiuses and the sampling point p i;
And carrying out least square local plane fitting on any point P i(xi,yi,zi) in the preprocessed source point cloud P= { P i|pi∈R3, i=1, 2,3, …, n } and A adjacent points in the adjacent points to obtain a plane equation F, wherein the formula is as follows:
Wherein F (n F, d) is a plane equation, n F is a normal vector of the plane F, d is a distance from the plane F to an origin, and p i is a sampling point;
constructing a covariance matrix C for any point P i(xi,yi,zi) in the preprocessed source point cloud P and A adjacent points in the adjacent area of the point P:
Wherein, P i is the sampling point at which,Centroid of sampling point p i and its a neighboring points;
eigenvalues obtained by solving covariance matrix C Recording deviceMinimum feature valueCorresponding feature vectorThe normal vector of the point p i is calculated, and the normal vector inner product mean value of the point p i and the adjacent point represents the normal vector included angle characteristic degree f;
Where f ε [0,1], n i is the normal vector of point p i and n ij is the normal vector of the adjacent point p ij. For point p i, the following is satisfied:
f(pi)=max[f(pi1),f(pi2),f(pi3),...,f(pik)]
wherein f (p i) is the feature degree of the sampling point p i, and the point p i is the feature point, wherein
F (P i1),f(pi2),f(pi3),...,f(pik) is the feature degree of k adjacent points of the point P i, so that a source point cloud P and a target point cloud Q are extracted as initial feature point sets P t and Q t;
Step 2.2: the secondary extraction is carried out on the initial characteristic points through the average curvature of the neighborhood to form the characteristic points, and the method further comprises the following steps:
Performing surface fitting on any point P of the initial feature point set P t by a least square method to obtain a quadratic surface equation r (u, v) of a neighborhood at the point P, obtaining a normal vector n P at the point P, deriving a first basic quantity E, F, G and a second basic quantity L, M, N, and calculating Gaussian curvature K and average curvature H of the neighborhood at the point P of the curved surface;
Wherein, r u、rv is the first order bias of quadric, and r uu、ruv、rvv is the second order bias of quadric ,E=ru·ru,F=ru·rv,G=rv·rv,L=nP·ruu,M=nP·ruv,N=nP·rvv;
Calculating a principal curvature K 1、k2 at a point p of the curved surface by using the Gaussian curvature K and the average curvature H;
Comparing the average curvature H of the neighborhood at the point p with the point curvature H i, and eliminating the point if H i is smaller than H; conversely, if H i > H, points greater than the average curvature of the neighborhood are retained as feature point sets P ω and Q ω.
Step 2.3: the forming of the final feature point set according to the curvature feature parameter construction further comprises:
In order to remove non-feature points that result in similar curvature for feature point sets P ω and Q ω from the estimated neighborhood curvature, the point with the largest curvature change in the neighborhood is extracted for P ω、Qω as the feature point, and the curvature feature parameters of point P i are:
Wherein, in the formula, the chemical formula, K 1(pi)、k2(pi) represent the maximum principal curvature and the minimum principal curvature of point p i, respectively;
The condition whether the set point p i is a feature point is:
Wherein, The curvature characteristic parameters of the points adjacent to the point P i meet one of the requirements, and P i is the point with the largest curvature change in the neighborhood and is extracted as a characteristic point set P γ、Qγ.
Further, the performing FPFH feature description on the final feature point set, performing initial feature matching according to a ratio of bidirectional minimum euclidean distance between feature vectors, and removing mismatching point pairs by adopting inter-point pair euclidean distance constraint, and further including:
Step 3.1: FPFH characterization;
re-determining SPFH feature values of each feature point p i and k adjacent points in the adjacent points, adding a distance weight value to obtain an FPFH feature, and recording the FPFH feature as an FPFH (p i):
Wherein w k represents a distance weight, which is the Euclidean distance between the feature point p i and the k adjacent point in the adjacent domain;
Step 3.2: estimating the corresponding relation;
calculating the Euclidean distance between the FPFH vector of each point in the characteristic point set P γ and the FPFH vectors of all points in the characteristic point set Q γ;
For each point in P γ Find the distance in Q γ Nearest feature pointAnd next nearest feature pointAnd calculating the ratio r d, wherein the calculating method comprises the following steps:
Setting a threshold alpha E (0, 1), if r d(pi,qj) is less than alpha, then And (3) withMatching;
Step 3.3: eliminating mismatching point pairs;
Any two pairs of matching point pairs in the initial matching point pair set C γ are selected AndThe Euclidean distance constraint between a set point pair is:
Wherein epsilon=0.02, satisfies the above formula, Matching point pairs meeting distance constraint are
Calculate AND in C γ The number of matching points satisfying the above condition is k γ, and the pairs of points in C γ are arranged from large to small according to the value of k γ, a threshold value beta is set, and the number of correct matching points is n m: n m=β·Nm,β∈(0,1),Nm is the number of initial matching point pairs.
Further, the calculating the initial value of the initial transformation parameter by using the correct matching point pair as the unit quaternion, performing initial registration on the source point cloud and the target point cloud, constructing a bidirectional k-dimensional tree improved ICP algorithm, and completing accurate registration, and further comprises:
Step 4.1: initial registration;
The expression of the quaternion is:
Wherein q 0、q1、q2、q3 is a real number, i, j, k are virtual unit vectors orthogonal to each other, q 0 is a real part of a quaternion, q 1、q2、q3 is an imaginary part of the quaternion, and the corresponding rotation matrix is:
on the basis of the matching point pair set C m, calculating an optimal solution of the rigid body change, wherein the objective function of the optimal solution meets the following conditions:
wherein R is an orthogonal matrix, then R T r=1, when At maximum, the objective function f (R) is at a minimum, andRepresented by quaternions and converted into matrix form:
Wherein N 4 is a 4-order matrix. When q TN4 q is the maximum, i.e., f (R) is the maximum;
The eigenvalue obtained by solving the matrix N 4 is lambda 1、λ2、λ3、λ4, and lambda 1<λ2<λ3<λ4 is recorded, then the eigenvector corresponding to the maximum eigenvalue lambda 4 is the unit quaternion Is a matrix form of (a); solving the unit quaternionAfter substituting it into the quaternion expression and solving for the rotation matrix R, the translation parameter t= [ ΔxΔyΔz ] T can be expressed as:
Wherein [ X i Yi Zi]T ] is the center of gravity point coordinate under the source point cloud coordinate system, and [ X y i zi]T ] is the center of gravity point coordinate under the target point cloud coordinate system;
step 4.2: accurate registration;
Constructing a bi-directional k-dimensional tree search closest point pair (p i,qi) on the basis of initial registration, calculating transformation parameters R, T, and calculating the sum of squares of distances between corresponding transformed point pairs:
wherein, the d k+1-dk represents the distance between two adjacent iterations;
Setting a threshold delta, and when the absolute value d k+1-dk is smaller than delta, ending the iteration to obtain an optimal rigid body transformation parameter R, T; otherwise, repeating iterative calculation of d k+1-dk until d k+1-dk < delta is satisfied or the maximum iteration number omega is reached, and selecting a minimum transformation matrix R, T of d k+1-dk as an optimal transformation parameter.
The invention has the beneficial effects that:
1) Feature point extraction: performing adjacent point number constraint on the density degree between the sampling points and the adjacent points in different neighborhood radiuses, and selecting a point with larger characteristic degree as an initial characteristic point by taking the average value of the inner products of normal vector included angles as the characteristic degree; then calculating the neighborhood curvature and the point curvature for comparison, and screening out points with larger curved surface bending degree as characteristic points; finally, the feature points are optimized by taking the point with the largest curvature change as the feature point through the curvature feature parameters.
2) Feature description and feature matching: and performing FPFH feature description on the extracted feature point set, performing initial feature matching according to the ratio of the bidirectional minimum Euclidean distance between the FPFH feature vectors, calculating Euclidean distance constraint between the initial matching point pairs, and eliminating error matching point pairs with similar features, thereby improving the matching accuracy.
3) Registering: and calculating an initial transformation parameter R 0、T0 by taking the correct matching point pair as an initial value and adopting a unit quaternion coordinate conversion model, so as to provide a good initial value for the follow-up accurate registration. And on the basis, a bidirectional k-dimensional tree is constructed to find the corresponding point pair, so that the iterative calculation efficiency of the ICP algorithm is improved, and the accurate registration is completed.
Drawings
Fig. 1 is a schematic illustration of the registration process of the present invention.
Fig. 2 is a schematic diagram of the domain of point p i.
FIG. 3 is a schematic view of normal vector distribution in different regions
FIG. 4 is a diagram showing the FPFH range of influence of the feature point p i and its neighboring points
FIG. 5 is a schematic diagram of initial positions of on-vehicle laser point cloud data at different periods
FIG. 6 is a graph showing the result of registration of the present invention to different period of vehicle-mounted laser point cloud data
FIG. 7 is a graph showing the result of registration of different algorithms to different periods of vehicle-mounted laser point cloud data
FIG. 8 is a schematic diagram of initial position of ground and vehicle-mounted laser point cloud data
FIG. 9 is a schematic diagram of the registration result of the present invention to ground and vehicle-mounted laser point cloud data
FIG. 10 is a schematic diagram of the registration results of different algorithms to ground and vehicle-mounted laser point cloud data
Detailed Description
The following describes the embodiments of the present invention further with reference to the accompanying drawings:
in order to improve the efficiency, precision and robustness of point cloud registration under the conditions of noise interference, incomplete data and large rotation angle, the invention provides a point cloud registration method based on a neighborhood normal vector and curvature. The registration flow chart of the method is shown in fig. 1, and the whole flow chart is divided into the following four main steps:
step 1: preprocessing source point cloud and target point cloud data;
In the step, a bounding box with the length width of l×w×h is established for the source point cloud P, the bounding box is divided into M cube voxel grids by combining the point cloud density to estimate the voxel side length L, the gravity centers of all points in each voxel grid are calculated and used as filtering points, and therefore the complexity of the point cloud is reduced on the premise that most characteristic information of the point cloud is maintained.
Step 2: constructing a constraint condition of the number of adjacent points for the preprocessed source point cloud and the preprocessed target point cloud according to the degree of the density between the points;
Extracting initial characteristic points from the preprocessed point cloud according to the normal vector inner product mean value between the sampling points and the adjacent points;
extracting the initial characteristic points for the second time through the average curvature of the neighborhood to form characteristic points;
And forming a final feature point set according to the construction curvature feature parameters.
It should be noted that the number of the substrates,
Extracting initial characteristic points from the preprocessed point cloud according to the normal vector inner product mean value between the sampling points and the adjacent points, and specifically further comprising the following steps:
(1) Defining the bending degree of the neighborhood surface according to the density conditions of adjacent points in the neighborhood with different radiuses, and if the sampling points are denser than the surrounding adjacent points, obtaining a characteristic region with larger surface fluctuation; otherwise, the adjacent points are sparsely distributed, and the surface is flat, namely the non-characteristic area.
(2) Taking the sampling point p i as a circle center, and the nearest points of the Euclidean distance between the adjacent points in the search spaces with different radiuses and the sampling point p i;
Wherein the number of adjacent points in the search radius R is k i, the number of adjacent points in the search radius R is k j, and R > R, k j>ki. Assuming that the number of required neighboring points a is a specific value, preferably a specific value of 10, if k i<N<kj, selecting R as a radius neighborhood to search for p i neighboring points, i.e., k j =a, as shown in fig. 2 (a); if a is less than or equal to k i<kj, p i searches for a neighbor point within the radius r neighborhood using the k nearest neighbor, i.e., k i =a, as shown in fig. 2 (b).
(3) And carrying out least square local plane fitting on any point P i(xi,yi,zi) in the preprocessed source point cloud P= { P i|pi∈R3, i=1, 2,3, …, n } and A adjacent points in the adjacent points to obtain a plane equation F, wherein the formula is as follows:
Wherein F (n F, d) is a plane equation, n F is a normal vector of the plane F, d is a distance from the plane F to the origin, and p i is a sampling point.
(4) Constructing a covariance matrix C for any point P i(xi,yi,zi) in the preprocessed source point cloud P= { P i|pi∈R3, i=1, 2,3, …, n } and A adjacent points in the adjacent area:
Wherein, P i is the sampling point at which,Is the centroid of the sampling point p i with its a neighbors.
(5) Eigenvalues obtained by solving covariance matrix CRecording deviceMinimum feature valueCorresponding feature vectorIs the normal vector of p i.
(6) According to the normal vector distribution characteristics of the point cloud, the normal vector included angle between the sampling point p i and the adjacent point is defined to describe the bending degree of the surface of the neighborhood, the characteristic region of the point cloud is extracted according to the normal vector included angle, and the normal vector inner product mean value between the point p i and the adjacent point represents the normal vector included angle characteristic degree f.
Where f ε [0,1], n i is the normal vector of point p i and n ij represents the normal vector of the adjacent point p ij. For point p i, if:
f(pi)=max[f(pi1),f(pi2),f(pi3),...,f(pik)]
wherein f (p i) is the feature of the sampling point p i.
Then point p i is a feature point where f (p i1),f(pi2),f(pi3),...,f(pik) is the feature of the k neighboring points of point p i. As shown in fig. 3 (a), if the included angle between p i and the normal vector of the adjacent point is smaller, the surface at p i is bent to a smaller extent, the area is a non-characteristic area, and p i is a non-characteristic point; as shown in fig. 3 (b), if the included angle between p i and the normal vector of the adjacent point is larger, the surface at p i is curved to a larger extent, and this region is a feature region, and p i is a feature point. Thereby extracting the source point cloud p= { P i|pi∈R3, i=1, 2,..n } and the target point cloud q= { Q j|qj∈R3, j=1, 2,..m } as an initial feature point set P t={pt1,pt2,pt3,...,ptn′ } and Q t={qt1,qt2,qt3,...,qtm′ }, wherein m 'is the number of feature points extracted from the source point cloud after pretreatment, n' is the number of feature points extracted from the target point cloud after pretreatment, and m '< m, n' < n.
Step 2.2: and extracting the initial characteristic points for the second time through the average curvature of the neighborhood to form a characteristic point set.
The method specifically comprises the following steps:
(1) Performing surface fitting on any point P of the initial characteristic point set P t by a least square method to obtain a quadric equation r (u, v) of the neighborhood at the point P:
(2) Obtaining a normal vector n p at a p point through a quadric surface r (u, v), and deducing a first basic quantity E, F, G and a second basic quantity L, M, N, so as to calculate a Gaussian curvature K and an average curvature H of a neighborhood at the p point of the curved surface;
Where Q represents a coefficient matrix. r u、rv is the first order partial derivative of the quadric surface, and r uu、ruv、rvv is the second order partial derivative of the quadric surface ,E=ru·ru,F=ru·rv,G=rv·rv,L=np·ruu,M=np·ruv,N=np·rvv
(3) Calculating a principal curvature K 1、k2 at a point p of the curved surface by using the Gaussian curvature K and the average curvature H;
(4) Comparing the average curvature H of the neighborhood at the point p calculated by the method with the point curvature, if H i is smaller than H, the surface bending degree at the point p is smaller, the point position distribution of the area is flat, and then eliminating the point smaller than the average curvature of the neighborhood as a non-characteristic area; otherwise, if H i > H, the surface bending degree at the point P is larger, the point position distribution of the region is steep, points larger than the average curvature of the neighborhood are reserved as feature point sets P ω={pω1,pω2,pω3,...,pωn″ and Q ω={qω1,qω2,qω3,...,qωm″, wherein m 'is the number of feature points extracted from the initial feature point set in the source point cloud, n' is the number of feature points extracted from the initial feature point set in the target point cloud, and m '< m', n '< n'.
Step 2.3: and forming a final feature point set according to the construction curvature feature parameters.
The main purpose of this step is to eliminate the influence of the estimated curvature, remove redundant data, and obtain the final feature point set, and specifically further includes the following steps:
(1) In order to remove non-feature points that result in similar curvature for feature point sets P ω and Q ω from the estimated neighborhood curvature, a curvature feature parameter pair P ω、Qω is constructed to extract a point with the largest curvature change in the neighborhood as a feature point, and the curvature feature parameters of point P i are:
Wherein, in the formula, the chemical formula, K 1(pi)、k2(pi) represents the point p i maximum principal curvature, minimum principal curvature.
(2) The condition whether the set point p i is a feature point is:
Wherein, The curvature characteristic parameter representing the point adjacent to the point p i. If the point p i is the maximum value of curvature characteristic parameters of the adjacent points, the neighborhood surface is convex, and p i represents a neighborhood salient point; if the point p i is the minimum value of curvature characteristic parameters of the adjacent points, the neighborhood surface is concave, and p i represents the neighborhood concave. If one of the above conditions is satisfied, p i is the point in the neighborhood where the curvature change is the greatest, and it is extracted as feature point set Pγ={pγ1,pγ2,pγ3,...,pγn″′}、Qγ={qγ1,qγ2,qγ3,...,qγm″′}, and m ' "< m", n ' "< n '".
Step 3: and performing FPFH feature description on the final feature point set, performing initial feature matching according to the ratio of the bidirectional minimum Euclidean distance between feature vectors, and removing mismatching point pairs by adopting the Euclidean distance constraint between the point pairs.
In this step, the FPFH is the feature description of the FPFH, which refers to parameterizing the degree of difference of the feature descriptions of the normal vectors between the neighboring points by calculating the spatial difference between the feature points and the neighboring points, and forming a 33-dimensional feature histogram, so as to obtain the geometric attributes of the feature point p i and the neighboring points thereof.
And the two FPFH feature vector sets search for the FPFH feature vector closest to the two FPFH feature vectors and closest to the two FPFH feature vector sets, and the distance ratio between the closest FPFH feature vector and the next closest FPFH feature vector is smaller than the specified parameter value, so that the two points are specified as a pair of correct matching point pairs.
And carrying out condition constraint on the Euclidean distance between any two pairs of matching point pairs according to the fact that the ratio of the distances between any two pairs of correct matching point pairs is equal, and setting a threshold value to reject the mismatching point pairs.
Step 3.1: the FPFH calculates the influence range, as shown in fig. 4, which includes the following steps:
(1) Calculating SPFH features of the feature point p i and k adjacent points in the adjacent points, and marking the features as SPFH (p i);
(2) Redetermining each feature point p i and k adjacent points in the adjacent region, adding a distance weight value to obtain an FPFH feature, and recording the FPFH feature as an FPFH (p i):
Wherein w k represents a distance weight, which is the euclidean distance between the feature point p i and the k neighboring point in its neighborhood.
Step 3.2: the corresponding relation estimation is carried out by carrying out FPFH feature description on the extracted feature point set P γ、Qγ and generating a corresponding FPFH feature vector, and carrying out initial feature matching by adopting a method of bidirectional minimum and secondary minimum Euclidean distance ratio, wherein the method comprises the following steps:
(1) Calculating the Euclidean distance between the FPFH vector of each point in the characteristic point set P γ and the FPFH vectors of all points in the characteristic point set Q γ;
(2) Positive sequence search: for each point in P γ Find the distance in Q γ Nearest feature pointAnd next nearest feature pointAnd calculateTo the point ofAndRatio r d of euclidean distance:
setting a proper threshold alpha E (0, 1), if r d(pi,qj) is less than alpha, then And (3) withMatching; conversely, description pointsThe feature points that match it cannot be found in Q γ.
(3) And (5) reverse order search: for each point in Q γ Find the distance in P γ Nearest feature pointAnd next nearest feature pointAnd calculating the ratio, if r d(pi,qj) < alpha, consideringAnd (3) withMatching; conversely, description pointsThe feature points matching it cannot be found in P γ.
(4) Only when the point in P γ And a point in Q γ Match, and point in Q γ Also with the point in P γ When matching, the matching pair is reserved as an initial matching point pair set C γ.
Step 3.3: and eliminating the mismatching point pairs. In the initial matching point pair set C γ, there still exist matching point pairs with similar features, and especially in a scene with complex features, due to limitations of noise interference, data loss, acquisition environment and the like, erroneous matching between the point pairs is more likely to be caused. Therefore, in order to reject matching point pairs with similar characteristics, the invention rejects mismatching points by adopting Euclidean distance between the point pairs, and comprises the following steps:
(1) If the matching point pair is correct, any two matching point pairs AndThe distance between them satisfies the following conditions:
(2) Any two pairs of matching point pairs in the initial matching point pair set C γ are selected AndThe Euclidean distance constraint between a set point pair is:
Wherein epsilon=0.02, satisfies the above formula, Matching point pairs meeting distance constraint are
(3) Calculate AND in C γ The number of matching points satisfying the above condition is k γ, and the pairs of points in C γ are arranged from large to small according to the value of k γ, a threshold value beta is set, and the number of correct matching points is n m: n m=β·Nm,β∈(0,1),Nm is the number of initial matching point pairs. Removing the mismatching point pair, and updating the initial matching point pair set C γ to obtain a correct matching point pair set as
Step 4: calculating initial values of initial transformation parameters by taking the correct matching point pairs as unit quaternions, carrying out initial registration on a source point cloud and a target point cloud, constructing a bidirectional k-dimensional tree improved ICP algorithm, and finishing accurate registration; the method comprises the following specific steps:
Step 4.1: calculating an initial value of an initial transformation parameter by taking a correct matching point pair C m as a unit quaternion, and carrying out initial registration on a source point cloud and a target point cloud, wherein the method comprises the following steps of:
(1) The expression of the quaternion is:
Wherein q 0、q1、q2、q3 is a real number, i, j, k are virtual unit vectors orthogonal to each other, q 0 is a real part of a quaternion, q 1、q2、q3 is an imaginary part of the quaternion, and the corresponding rotation matrix is:
(2) On the basis of the matching point pair set C m, calculating an optimal solution of the rigid body change, wherein the objective function of the optimal solution meets the following conditions:
Wherein, R is an orthogonal matrix, and R T r=1, which is expanded to:
Wherein when At maximum, the objective function f (R) is at a minimum, andExpressed in quaternion as:
And converts it into a matrix form:
Wherein N 4 is a 4-order matrix. When q TN4 q is at a maximum, i.e., f (R) is at a maximum. The eigenvalue obtained by solving the matrix N 4 is lambda 1、λ2、λ3、λ4, and lambda 1<λ2<λ3<λ4 is recorded, then the eigenvector corresponding to the maximum eigenvalue lambda 4 is the unit quaternion Is a matrix form of (c). Solving the unit quaternionAfter substituting it into the quaternion expression and solving for the rotation matrix R, the translation parameter t= [ ΔxΔyΔz ] T can be expressed as:
Wherein [ X i Yi Zi]T ] is the center of gravity point coordinate under the source point cloud coordinate system, and [ X y i zi]T ] is the center of gravity point coordinate under the target point cloud coordinate system.
Step 4.2: the method comprises the following specific steps of constructing a bidirectional k-dimensional tree improved ICP algorithm on the basis of initial registration to improve the searching efficiency of the nearest points:
(1) Respectively constructing a k-dimensional tree for a source point cloud P and a target point cloud Q;
(2) Searching the nearest point P i of q i in P;
(3) If the closest point of the search p i in Q is Q i, the (p i,qi) is formed into the closest point pair of the corresponding relation;
(4) If the closest point to search for P i within Q is not Q i, then find the closest point to the next point, P i+1, within P;
(5) All points within the point cloud Q are traversed.
(6) Calculating transformation parameters R, T, and calculating the sum of squares of the distances between the transformed corresponding point pairs:
Where d k+1-dk represents the distance between two adjacent iterations. Setting a threshold delta, and when the absolute value d k+1-dk is smaller than delta, ending the iteration to obtain an optimal rigid body transformation parameter R, T; otherwise, repeating iterative calculation of d k+1-dk until d k+1-dk < delta is satisfied or the maximum iteration number omega is reached, and selecting a minimum transformation matrix R, T of d k+1-dk as an optimal transformation parameter.
The one-to-one correspondence relation of the nearest points of the bidirectional k-dimensional tree can be determined, and the one-to-one correspondence of the nearest points is twice as long as the k-dimensional tree, so that the iterative calculation time is greatly reduced, and the searching method for constructing the bidirectional k-dimensional tree is more suitable for point cloud data with large data volume.
In order to prove the effectiveness of the point cloud registration method based on the neighborhood normal vector and the curvature, verification is carried out by taking vehicle-Mounted Laser (MLS) point cloud data and ground laser (TLS) point cloud data in different periods as objects, and the method is described in experiment 1 and experiment 2. Because the acquisition quantity is large and is interfered by external environment, a large number of noise points are doped in the original point cloud data, so that the later registration efficiency is affected. Therefore, a pre-processing work is required for the original point cloud before registration. The pre-processing work mainly comprises point cloud denoising and point cloud filtering, namely, drift points, outlier points, redundant points and ground points are removed by combining the existing mature point cloud processing tool with a visual interaction mode in original point cloud data. In addition, for quantifying the registration result, root mean square error of the euclidean distance between the same-name point pairs in the overlapped area after registration is used as an evaluation index, and θ RMSE is defined as:
Wherein B represents the number of pairs of homonymous points in the overlapping region.
Experiment 1: vehicle-mounted laser point clouds of different periods are registered.
The MLS point cloud initial position is shown in fig. 5, where the maximum deviation of the point cloud initial position is about 6.3m, red is the source point cloud, and blue is the target point cloud. The specific implementation mode is as follows: firstly, carrying out voxel downsampling on two-period vehicle-mounted point cloud data, wherein the sampling interval is 2.5cm; secondly, extracting feature points through neighborhood feature parameters, wherein the neighborhood radius is 3mr, and the number of neighboring points is constrained to be 20; the number of the source point cloud characteristic points is 1644, and the number of the target point cloud characteristic points is 1740; then, the threshold value alpha of the bidirectional minimum and second-smallest Euclidean distance ratio between the FPFH feature vectors is 0.8, the threshold value beta of the correct matching point pair number is 0.3, and the correct matching point pair is 460 pairs; and finally, carrying out initial registration on the correct matching point pair serving as a unit quaternion calculation initial transformation parameter, constructing a bidirectional k-dimensional tree to improve an ICP algorithm, and realizing accurate registration of two-stage vehicle-mounted point cloud data, wherein the registration effect is shown in figure 6.
As can be seen from fig. 6, the two-phase vehicle-mounted point cloud can still achieve accurate registration in the presence of noise interference and data loss. In order to evaluate the performance of the algorithm, the algorithm of the invention is compared with the registration results of the ICP algorithm, the ICP algorithm (TICP) introducing a k-dimensional tree, and the ICP algorithm implementing registration by extracting feature points with Normal Vector (NV) and curvature (NC), the results of which are shown in fig. 7 and table 1. As can be seen from FIG. 7, the ICP algorithm, the NV-ICP algorithm and the NC-ICP algorithm can not accurately register the two-stage MLS point cloud data, but the method is superior to other algorithms in registration accuracy and efficiency, and the effectiveness of the method under the conditions of noise interference and data missing is verified.
Table 1 registration results of different algorithms on different periods of vehicle-mounted laser point cloud data are compared
Experiment 2: the ground is registered with the vehicle-mounted laser point cloud.
The TLS point cloud data and the MLS point cloud data are shown in fig. 8, wherein red is TLS point cloud data as a source point cloud, and blue is MLS point cloud data as a target point cloud. The specific implementation mode is as follows: firstly, performing voxel downsampling on TLS point cloud data and MLS point cloud data, wherein the sampling interval is 2.5cm; secondly, extracting feature points through neighborhood feature parameters, wherein the neighborhood radius is 5mr, the number of adjacent points is constrained to be 20, the number of source point cloud feature points is 1726, and the number of target point cloud feature points is 2143; then, the threshold value alpha of the bidirectional minimum and second-smallest Euclidean distance ratio between the FPFH feature vectors is 0.7, the threshold value beta of the correct matching point pair number is 0.4, and the correct matching point pair is 345 pairs; finally, initial registration is carried out on the correct matching point pair serving as an initial value of a unit element, a bidirectional k-dimensional tree is constructed to improve an ICP algorithm, accurate registration of two groups of point cloud data is achieved, and the registration effect is shown in fig. 9.
As can be seen from fig. 9, the two sets of point cloud data can still be accurately registered with a low local overlap ratio and a large rotation angle and translation value. To evaluate the performance of the inventive algorithm, a comparative analysis of the inventive algorithm was also performed with respect to the registration results of the comparative algorithm of experiment 1, the results of which are shown in fig. 10 and table 2. It can be found from fig. 10 that, the ICP algorithm, the NV-ICP algorithm and the NC-ICP algorithm cannot accurately register the TLS point cloud data with the MLS point cloud data, but the registration accuracy and efficiency of the present invention are superior to those of other algorithms, and the robustness of the present invention under the conditions of low local overlap ratio, large north bias angle and large translation value is verified.
Table 2 comparison of registration results of different algorithms to ground and vehicle-mounted laser point cloud data
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411097504.XA CN119006543A (en) | 2024-08-12 | 2024-08-12 | Point cloud registration method based on neighborhood normal vector and curvature |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202411097504.XA CN119006543A (en) | 2024-08-12 | 2024-08-12 | Point cloud registration method based on neighborhood normal vector and curvature |
Publications (1)
Publication Number | Publication Date |
---|---|
CN119006543A true CN119006543A (en) | 2024-11-22 |
Family
ID=93477367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202411097504.XA Pending CN119006543A (en) | 2024-08-12 | 2024-08-12 | Point cloud registration method based on neighborhood normal vector and curvature |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN119006543A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119229064A (en) * | 2024-11-28 | 2024-12-31 | 江苏南极星新能源技术股份有限公司 | AR-based intelligent integrated production line dedicated circuit control method and system |
CN119477685A (en) * | 2025-01-15 | 2025-02-18 | 国家海洋局南海调查技术中心(国家海洋局南海浮标中心) | Cluster multi-beam-oriented strip splicing robust processing method and system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116416287A (en) * | 2022-11-25 | 2023-07-11 | 重庆理工大学 | Point cloud registration method based on feature description of key points and neighborhood points, electronic equipment and storage medium |
-
2024
- 2024-08-12 CN CN202411097504.XA patent/CN119006543A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116416287A (en) * | 2022-11-25 | 2023-07-11 | 重庆理工大学 | Point cloud registration method based on feature description of key points and neighborhood points, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
宋成航: "基于领域法向量和曲率的点云配准方法研究", 万方数据知识服务平台, 1 December 2023 (2023-12-01) * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119229064A (en) * | 2024-11-28 | 2024-12-31 | 江苏南极星新能源技术股份有限公司 | AR-based intelligent integrated production line dedicated circuit control method and system |
CN119477685A (en) * | 2025-01-15 | 2025-02-18 | 国家海洋局南海调查技术中心(国家海洋局南海浮标中心) | Cluster multi-beam-oriented strip splicing robust processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112017220B (en) | A Point Cloud Accurate Registration Method Based on Robust Constrained Least Squares Algorithm | |
CN109887015B (en) | A Point Cloud Automatic Registration Method Based on Local Surface Feature Histogram | |
CN111080684B (en) | Point cloud registration method for point neighborhood scale difference description | |
CN108665491B (en) | A fast point cloud registration method based on local reference points | |
CN108376408B (en) | Three-dimensional point cloud data rapid weighting registration method based on curvature features | |
CN106023298B (en) | Point cloud Rigid Registration method based on local Poisson curve reestablishing | |
CN119006543A (en) | Point cloud registration method based on neighborhood normal vector and curvature | |
CN106204557A (en) | A kind of extracting method of the non-complete data symmetrical feature estimated with M based on extension Gaussian sphere | |
CN107886529A (en) | A kind of point cloud registration method for three-dimensional reconstruction | |
CN111986219B (en) | Matching method of three-dimensional point cloud and free-form surface model | |
CN105551015A (en) | Scattered-point cloud image registering method | |
CN102799763B (en) | A kind of based on a cloud attitude standardized some cloud line feature extraction method | |
CN107818598B (en) | Three-dimensional point cloud map fusion method based on visual correction | |
CN109766903B (en) | Point cloud model curved surface matching method based on curved surface features | |
CN109949350A (en) | A kind of multidate point cloud autoegistration method based on form invariant features | |
CN113706381A (en) | Three-dimensional point cloud data splicing method and device | |
CN113920180B (en) | Point cloud registration optimization method based on normal distribution transformation hypothesis verification | |
CN117132630A (en) | A point cloud registration method based on second-order spatial compatibility measure | |
CN113160129B (en) | Combined type simplified point cloud data rapid registration method | |
CN117893586A (en) | Improved local point cloud registration method for complex curved surface workpiece | |
CN111652801B (en) | A method for precise splicing of point clouds | |
CN110415281B (en) | Loam curvature weighting-based point set rigid registration method | |
CN115082547B (en) | Profile measuring method based on point cloud data and storage medium | |
CN115082716B (en) | A coarse matching algorithm of multi-source point clouds for road fine reconstruction | |
CN110942077A (en) | Feature line extraction method based on weight local change degree and L1 median optimization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |