[go: up one dir, main page]

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 PDF

Info

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
Application number
CN202411097504.XA
Other languages
Chinese (zh)
Inventor
宋成航
曹镭
郑涛
马鑫海
姚永忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Kuangbo Intelligent Technology Co ltd
Original Assignee
Jiangsu Kuangbo Intelligent Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Jiangsu Kuangbo Intelligent Technology Co ltd filed Critical Jiangsu Kuangbo Intelligent Technology Co ltd
Priority to CN202411097504.XA priority Critical patent/CN119006543A/en
Publication of CN119006543A publication Critical patent/CN119006543A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/33Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range 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

Point cloud registration method based on neighborhood normal vector and curvature
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)

1.一种基于邻域法向量和曲率的点云配准方法,其特征在于,包括以下步骤:1. A point cloud registration method based on neighborhood normal vector and curvature, characterized by comprising the following steps: 步骤1:对源点云和目标点云数据进行预处理;Step 1: Preprocess the source point cloud and target point cloud data; 步骤2:依据各点间的疏密程度,对预处理后的源点云和目标点云构建邻近点数量约束条件;依据采样点与邻近点的之间法向量内积均值,对预处理后的点云提取初始特征点;通过邻域平均曲率,对初始特征点进行二次提取,形成特征点;依据构建曲率特征参数,形成最终特征点集;Step 2: According to the density between each point, the constraint condition of the number of neighboring points is constructed for the preprocessed source point cloud and target point cloud; the initial feature points are extracted from the preprocessed point cloud according to the mean inner product of the normal vectors between the sampling point and the neighboring points; the initial feature points are extracted again through the neighborhood average curvature to form feature points; the final feature point set is formed according to the constructed curvature feature parameters; 步骤3:对最终特征点集进行FPFH特征描述,根据特征向量间双向最小与次小欧式距离比值进行初始特征匹配,并采用点对间欧式距离约束剔除误匹配点对;Step 3: Perform FPFH feature description on the final feature point set, perform initial feature matching based on the ratio of the bidirectional minimum and second minimum Euclidean distances between feature vectors, and use the Euclidean distance constraint between point pairs to eliminate mismatched point pairs; 步骤4:将正确匹配点对作为单位四元数计算初始变换参数的初值,对源点云和目标点云进行初始配准,并构建双向k维树改进ICP算法,完成精确配准。Step 4: Use the correct matching point pairs as the unit quaternion to calculate the initial values of the initial transformation parameters, perform initial registration on the source point cloud and the target point cloud, and construct a bidirectional k-dimensional tree to improve the ICP algorithm to complete accurate registration. 2.根据权利要求1所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述对源点云和目标点云数据进行预处理,具体包括:2. The point cloud registration method based on neighborhood normal vector and curvature according to claim 1, characterized in that the preprocessing of the source point cloud and the target point cloud data specifically includes: 对原始点云P建立一个长宽高为l×w×h的包围盒,结合点云密度以估算体素边长L将包围盒划分成M个立方体体素格,计算每个体素格内所有点的重心,并将其作为滤波点,从而在保留点云大部分特征信息的前提下降低点云复杂度。A bounding box with a length, width and height of l×w×h is established for the original point cloud P. The bounding box is divided into M cubic voxel grids by combining the point cloud density to estimate the voxel side length L. The center of gravity of all points in each voxel grid is calculated and used as the filtering point, thereby reducing the complexity of the point cloud while retaining most of the feature information of the point cloud. 3.根据权利要求1所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述依据采样点与邻近点的之间法向量内积均值,对预处理后的点云提取初始特征点,具体还包括:3. The point cloud registration method based on neighborhood normal vector and curvature according to claim 1 is characterized in that the initial feature points are extracted from the preprocessed point cloud according to the mean inner product of the normal vectors between the sampling point and the neighboring points, and specifically further comprises: 依据不同半径邻域内邻近点的疏密情况定义邻域表面弯曲程度;The curvature of the neighborhood surface is defined according to the density of neighboring points in neighborhoods of different radii; 以采样点pi为圆心,不同半径的搜索空间内的邻近点与采样点pi欧氏距离最近的点;Taking sampling point p i as the center, the neighboring points in the search space with different radii are the points with the closest Euclidean distance to sampling point p i ; 对预处理后的源点云P={pi|pi∈R3,i=1,2,3,…,n}中任意一点pi(xi,yi,zi)与其邻域内A个邻近点通过最小二乘局部平面拟合得到平面方程F,其公式如下:For any point p i (x i ,y i ,z i ) in the preprocessed source point cloud P = {p i |p i ∈R 3 ,i = 1,2,3,…,n} and its A neighboring points in the neighborhood, the plane equation F is obtained by least squares local plane fitting, and its formula is as follows: 对预处理后的源点云P中任意一点pi(xi,yi,zi)与其邻域内A个邻近点构造协方差矩阵C:Construct the covariance matrix C for any point p i (x i ,y i ,z i ) in the preprocessed source point cloud P and its A neighboring points in the neighborhood: 其中,pi为采样点,为采样点pi与其A个邻近点的质心;in, p i is the sampling point, is the centroid of the sampling point pi and its A neighboring points; 求解协方差矩阵C得到的特征值最小特征值对应的特征向量为pi的法向量,并计算点pi与其邻近点的法向量内积均值表示法向量夹角特征度f;Solving the covariance matrix C for the eigenvalues remember Minimum eigenvalue The corresponding eigenvector is the normal vector of p i , and the mean of the inner product of the normal vectors of point p i and its neighboring points is calculated to represent the normal vector angle characteristic f; 式中,f∈[0,1],ni为点pi的法向量,nij表示邻近点pij的法向量,对于点pi,满足:Where f∈[0,1], ni is the normal vector of point pi , nij is the normal vector of the neighboring point pi , and for point pi , it satisfies: f(pi)=max[f(pi1),f(pi2),f(pi3),...,f(pik)]f(p i )=max[f(p i1 ),f(p i2 ),f(p i3 ),...,f(p ik )] 其中,f(pi)为采样点pi的特征度,点pi作为特征点,其中,f(pi1),f(pi2),f(pi3),...,f(pik)为点pi的k邻近点的特征度,从而将源点云P、目标点云Q,提取为初始特征点集Pt和QtAmong them, f( pi ) is the feature degree of sampling point p i , point p i is taken as the feature point, among which f( pi1 ), f( pi2 ), f( pi3 ), ..., f( pik ) are the feature degrees of the k neighboring points of point p i , so that the source point cloud P and the target point cloud Q are extracted as the initial feature point sets P t and Q t . 4.根据权利要求3所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述通过邻域平均曲率,对初始特征点进行二次提取,形成特征点,还包括,4. The point cloud registration method based on neighborhood normal vector and curvature according to claim 3 is characterized in that the initial feature points are extracted again by neighborhood average curvature to form feature points, and further comprises: 对初始特征点集Pt的任意一点p,通过最小二乘法进行曲面拟合,得到点p处邻域的二次曲面方程r(u,v),并求得p点处法向量nP,推导出第一基本量E、F、G和第二基本量L、M、N,从而计算出曲面p点处邻域的高斯曲率K和平均曲率H;For any point p of the initial feature point set Pt , the surface is fitted by the least square method to obtain the quadratic surface equation r(u,v) of the neighborhood at point p, and the normal vector nP at point p is obtained. The first basic quantities E, F, G and the second basic quantities L, M, N are derived, and the Gaussian curvature K and mean curvature H of the neighborhood at point p are calculated. 其中,ru、rv二次曲面的一阶偏导,ruu、ruv、rvv为二次曲面的二阶偏导,E=ru·ru,F=ru·rv,G=rv·rv,L=nP·ruu,M=nP·ruv,N=nP·rvvAmong them, r u and r v are the first-order partial derivatives of the quadratic surface, r uu , r uv , and r vv are the second-order partial derivatives of the quadratic surface, E = r u ·r u , F = r u ·r v , G = r v ·r v , L = n P ·r uu , M = n P ·r uv , N = n P ·r vv ; 由高斯曲率K和平均曲率H,计算曲面p点处主曲率k1、k2Calculate the principal curvatures k 1 and k 2 at point p of the surface using the Gaussian curvature K and the mean curvature H; 将点p处邻域的平均曲率H与点曲率Hi进行比较,若Hi<H,剔除该点;反之,若Hi>H,保留大于邻域平均曲率的点作为特征点集Pω和QωCompare the average curvature H of the neighborhood at point p with the point curvature Hi. If Hi < H, remove the point. Otherwise, if Hi > H, retain the points with a curvature greater than the neighborhood average curvature as the feature point sets P ω and Q ω . 5.根据权利要求4所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述依据构建曲率特征参数,形成最终特征点集,还包括,5. The point cloud registration method based on neighborhood normal vector and curvature according to claim 4 is characterized in that the method of constructing curvature feature parameters to form a final feature point set further comprises: 为了去除估算邻域曲率导致特征点集Pω和Qω具有相似曲率的非特征点,对Pω、Qω提取邻域内曲率变化最大的点作为特征点,点pi的曲率特征参数为:In order to remove the non-feature points that cause the feature point sets P ω and Q ω to have similar curvatures due to the estimated neighborhood curvature, the points with the largest curvature changes in the neighborhood of P ω and Q ω are extracted as feature points. The curvature feature parameters of point p i are: 其中,式中k1(pi)、k2(pi)分别表示点pi最大主曲率、最小主曲率;Among them, k 1 (p i ) and k 2 (p i ) represent the maximum principal curvature and the minimum principal curvature of point p i , respectively; 设定点pi是否为特征点的条件为:The condition for setting whether point pi is a feature point is: 其中,为点pi邻近点的曲率特征参数。in, is the curvature characteristic parameter of the neighboring points of point pi . 6.根据权利要求1所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述对最终特征点集进行FPFH特征描述,根据特征向量间双向最小与次小欧式距离比值进行初始特征匹配,并采用点对间欧式距离约束剔除误匹配点对,还包括,6. A point cloud registration method based on neighborhood normal vector and curvature according to claim 1, characterized in that the final feature point set is described by FPFH features, initial feature matching is performed according to the ratio of the bidirectional minimum and second minimum Euclidean distances between feature vectors, and the Euclidean distance constraint between point pairs is used to eliminate mismatched point pairs, and further comprises: 步骤3.1:FPFH特征描述;Step 3.1: FPFH feature description; 步骤3.2:对应关系估计;Step 3.2: Correspondence estimation; 步骤3.3:剔除误匹配点对。Step 3.3: Eliminate mismatched point pairs. 7.根据权利要求6所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述FPFH特征描述,还包括:7. The point cloud registration method based on neighborhood normal vector and curvature according to claim 6, characterized in that the FPFH feature description further includes: 重新确定每个特征点pi与其邻域内k个邻近点的SPFH特征值,并加入距离权值得到FPFH特征,记作公式FPFH(pi):Re-determine the SPFH feature value of each feature point p i and its k neighboring points in the neighborhood, and add the distance weight to obtain the FPFH feature, which is recorded as formula FPFH(p i ): 其中,wk表示距离权值,为特征点pi与其邻域内k邻近点之间的欧式距离。Among them, wk represents the distance weight, which is the Euclidean distance between the feature point pi and its k neighboring points in the neighborhood. 8.根据权利要求6所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述对应关系估计,还包括,8. The point cloud registration method based on neighborhood normal vector and curvature according to claim 6, characterized in that the correspondence relationship estimation further comprises: 计算特征点集Pγ中每个点的FPFH向量与特征点集Qγ中所有点的FPFH向量之间的欧式距离;Calculate the Euclidean distance between the FPFH vector of each point in the feature point set P γ and the FPFH vector of all points in the feature point set Q γ ; 对Pγ中的每个点找到Qγ中距离最近的特征点和次近的特征点并计算其比值rd,计算方法为:For every point in P γ Find the distance between Q γ The nearest feature point and the next closest feature point And calculate the ratio r d as follows: 设定阈值α∈(0,1),若rd(pi,qj)<α,认为匹配。Set the threshold α∈(0,1), if r d (p i ,q j )<α, it is considered and match. 9.根据权利要求6所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述剔除误匹配点对,还包括,9. The point cloud registration method based on neighborhood normal vector and curvature according to claim 6, characterized in that the step of eliminating mismatched point pairs further comprises: 选取初始匹配点对集合Cγ中任意两对匹配点对设定点对间的欧式距离约束为:Select any two pairs of matching points from the initial matching point set C γ and Set the Euclidean distance constraint between point pairs as: 其中,ε=0.02,满足上式,符合距离约束的匹配点对为 Among them, ε=0.02, which satisfies the above formula, The matching point pairs that meet the distance constraint are 计算Cγ中与满足上述条件的匹配点对数量kγ,并按照kγ值将Cγ内的点对从大到小排列,设定阈值β,正确匹配点对数量nm应满足:nm=β·Nm,β∈(0,1),Nm为初始匹配点对的数量。Calculate and The number of matching point pairs that meet the above conditions is k γ , and the point pairs in C γ are arranged from large to small according to the k γ value. The threshold β is set, and the number of correct matching point pairs nm should satisfy: nm = β·N m , β∈(0,1), where N m is the number of initial matching point pairs. 10.根据权利要求1所述的一种基于邻域法向量和曲率的点云配准方法,其特征在于,所述将正确匹配点对作为单位四元数计算初始变换参数的初值,对源点云和目标点云进行初始配准,并构建双向k维树改进ICP算法,完成精确配准,还包括:10. The point cloud registration method based on neighborhood normal vector and curvature according to claim 1 is characterized in that the correct matching point pairs are used as the initial values of the unit quaternion to calculate the initial transformation parameters, the source point cloud and the target point cloud are initially registered, and a bidirectional k-dimensional tree improved ICP algorithm is constructed to complete the precise registration, and further comprising: 步骤4.1:初始配准;Step 4.1: Initial registration; 步骤4.2:精确配准;Step 4.2: Accurate registration; 所述初始配准,还包括,四元数的表达式为:The initial registration also includes that the expression of the quaternion is: 其中,q0、q1、q2、q3为实数,i、j、k为相互正交的虚单位向量,q0为四元数的实部,q1、q2、q3为四元数的虚部,相应的旋转矩阵为:Among them, q 0 , q 1 , q 2 , q 3 are real numbers, i, j, k are mutually orthogonal imaginary unit vectors, q 0 is the real part of the quaternion, q 1 , q 2 , q 3 are the imaginary parts of the quaternion, and the corresponding rotation matrix is: 在匹配点对集合Cm的基础上计算刚体变化的最优解,其目标函数满足:The optimal solution of the rigid body change is calculated based on the matching point pair set C m , and its objective function satisfies: 其中,R为正交矩阵,则RTR=1,当为最大值时,目标函数f(R)为最小,将用四元数表示,并将其转化为矩阵形式:Where R is an orthogonal matrix, then R T R = 1. When it is the maximum value, the objective function f(R) is the minimum. Represent it as a quaternion and convert it into a matrix form: 其中,N4为4阶矩阵。当qTN4q为最大值时,即f(R)最大;Where N 4 is a 4th-order matrix. When q T N 4 q is the maximum value, f(R) is the maximum; 通过求解矩阵N4得到的特征值为λ1、λ2、λ3、λ4,记λ1<λ2<λ3<λ4,则最大特征值λ4对应的特征向量为单位四元数的矩阵形式;求解出单位四元数的四个参数后,将其代入四元数表达式,并解算出旋转矩阵R,则平移参数T=[ΔXΔYΔZ]T可表示为:The eigenvalues obtained by solving the matrix N 4 are λ 1 , λ 2 , λ 3 , and λ 4 . Let λ 1 <λ 2 <λ 3 <λ 4 . The eigenvector corresponding to the maximum eigenvalue λ 4 is the unit quaternion Matrix form; solve for the unit quaternion After the four parameters are substituted into the quaternion expression and the rotation matrix R is solved, the translation parameter T = [ΔXΔYΔZ] T can be expressed as: 其中,[Xi Yi Zi]T为源点云坐标系下重心点坐标,[x yi zi]T为目标点云坐标系下重心点坐标;Among them, [X i Y i Z i ] T is the coordinate of the center of gravity point in the source point cloud coordinate system, and [xy i z i ] T is the coordinate of the center of gravity point in the target point cloud coordinate system; 所述精确配准,还包括,在初始配准的基础上构建双向k维树搜索最近点对(pi,qi),计算变换参数R、T,并计算变换后的对应点对之间距离平方和:The precise registration further includes constructing a bidirectional k-dimensional tree to search for the nearest point pair (p i ,q i ) based on the initial registration, calculating transformation parameters R and T, and calculating the sum of squares of distances between corresponding point pairs after transformation: 其中,||dk+1-dk||表示相邻两次迭代的距离;Among them, ||d k+1 -d k || represents the distance between two adjacent iterations; 设定阈值δ,当||dk+1-dk||<δ时,迭代结束,得到最优刚体变换参数R、T;否则重复迭代计算||dk+1-dk||,直至满足||dk+1-dk||<δ或达到最大迭代次数ω,选取||dk+1-dk||最小的变换矩阵R、T为最优变换参数。A threshold δ is set. When ||d k+1 -d k ||<δ, the iteration ends and the optimal rigid body transformation parameters R and T are obtained. Otherwise, the iterative calculation of ||d k+1 -d k || is repeated until ||d k+1 -d k ||<δ or the maximum number of iterations ω is reached, and the transformation matrices R and T with the smallest ||d k+1 -d k || are selected as the optimal transformation parameters.
CN202411097504.XA 2024-08-12 2024-08-12 Point cloud registration method based on neighborhood normal vector and curvature Pending CN119006543A (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Title
宋成航: "基于领域法向量和曲率的点云配准方法研究", 万方数据知识服务平台, 1 December 2023 (2023-12-01) *

Cited By (2)

* Cited by examiner, † Cited by third party
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