A point cloud precise registration method based on feature consistency and spatial consistency
Through the point cloud precise registration method of feature consistency and spatial consistency, combined with dynamic graph convolutional neural network and non-local attention mechanism, the problem of local optimal solutions and outliers is solved, and the accuracy of point cloud registration is improved. rate and speed, especially at low overlap rates.
Patent Information
- Application Number
- CN202311335751.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2043-10-16
AI Technical Summary
Existing point cloud registration methods easily fall into local optimal solutions, have low computational efficiency, and are difficult to effectively handle outliers and ignore geometric features between point clouds, resulting in low accuracy.
A point cloud precision registration method based on feature consistency and spatial consistency is adopted, and point cloud features are obtained through dynamic graph convolutional neural network and non-local attention mechanism, and confidence is used to select seed points, construct a k-nearest neighbor feature space, and fuse Feature consistency and spatial consistency, generate probabilistic matching matrices, and calculate rotation vectors and translation matrices through singular value decomposition.
It achieves fast and accurate acquisition of the global optimal solution, effectively eliminates outliers, and improves the accuracy and speed of point cloud registration, especially in the case of low overlap rate.
Smart Images

Figure CN117351052B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer vision technology, and in particular to a point cloud precise registration method based on feature consistency and space consistency. Background Art
[0002] Active point cloud Target point cloud Among them, the number of points of the source point cloud and the target point cloud is different, that is, N x ≠N y Point cloud registration is to find the coincident points between the source point cloud and the target point cloud, i.e., the inliers, and calculate the rotation matrix and translation vector between the inliers. In recent years, point cloud registration methods can be divided into traditional methods and deep learning-based methods.
[0003] Traditional methods are represented by ICP and RANSAC, and ICP variant algorithms and RANSAC variant algorithms continue to emerge. However, the common problems of traditional methods are that they can only obtain local optimal solutions and have low computational efficiency.
[0004] With the advancement of deep learning technology in recent years, more and more scholars have focused on deep learning methods. In 2019, Wang proposed the DCP algorithm, which achieves fast point cloud registration through the DGCNN network and attention mechanism, but cannot solve the problem of outlier removal in point cloud registration. In 2021, Bai proposed the PointDSC method, which incorporates spatial consistency into feature extraction and can achieve outlier removal, but ignores the geometric features between point clouds, resulting in low accuracy of point cloud registration. Summary of the invention
[0005] The embodiment of the present invention provides a point cloud precise registration method based on feature consistency and spatial consistency, which can improve the accuracy and speed of point cloud registration. The technical solution is as follows:
[0006] On the one hand, a point cloud precise registration method based on feature consistency and spatial consistency is provided, the method is applied to electronic equipment, and the method includes:
[0007] Process the point pairs after rough registration of the point cloud to obtain feature consistency and spatial consistency;
[0008] Based on feature consistency and spatial consistency, confidence is used to select seed points;
[0009] Define the k-nearest neighbor feature space, take the seed point as the center, find its neighboring points in the k-nearest neighbor feature space to form a cluster, fuse the feature consistency and spatial consistency with non-local attention, and obtain the point cloud feature update formula to obtain the point cloud features containing long-distance information after the points in the cluster are updated;
[0010] A probability matching matrix is generated through the updated point cloud features. Based on the probability matching matrix, the rotation vector and translation matrix are calculated through singular value decomposition to achieve point cloud registration.
[0011] Furthermore, the point pairs after the rough registration of the point cloud are processed to obtain feature consistency and spatial consistency, including:
[0012] The normalized value of the feature difference of the defined point pair is α, which reflects the feature consistency of the point pair. The smaller the α value, the more consistent the features are. The specific formula is as follows:
[0013] Δf n =||g(x n )-g(y n )||
[0014]
[0015] α n ∈α, n=1, 2, ..., N
[0016] Among them, g(·) represents a dynamic graph convolutional neural network; x n and n By s n Decomposed, x n ,y n and c n They represent the nth source point cloud, the nth target point cloud and the nth initial point pair respectively. The initial point pair is obtained by rough registration of the point cloud. N represents the total number of point pairs, that is: represents the 6-dimensional real number space, represents the 3-dimensional real number space; Δf n Represents the characteristic difference of the nth point pair; α n represents the feature consistency of the nth point pair; ||·|| represents the Euclidean distance; [·] + is a non-negative operation, indicating that α n The value is greater than or equal to 0;
[0017] Define the point-to-point spatial distance difference between each pair of point pairs as β. The β value reflects the spatial consistency. The smaller the β value, the more matching the spatial position features between the point pairs. Let the Euclidean distance between the i-th group of point pairs be d i , then the Euclidean distance difference d between the i-th group of point pairs and the j-th group of point pairs ij for:
[0018] d ij =||d i -d j ||
[0019] The spatial consistency between the i-th group of point pairs and the j-th group of point pairs βij for:
[0020]
[0021] β ij ∈β, i=1, 2,...,N, j==1, 2,...,N.
[0022] Furthermore, the seed point selection using confidence based on feature consistency and spatial consistency includes:
[0023] Define the seed confidence C as:
[0024] C=α+β
[0025] Among them, the α value reflects the feature consistency of the point pair, and the β value reflects the spatial consistency;
[0026] Sort the point pairs according to the confidence C value from large to small, and select the point pairs with the top p% confidence as seed points, where p is a constant.
[0027] Furthermore, the k-nearest neighbor feature space is defined, and the seed point is taken as the center, and its neighboring points are found in the k-nearest neighbor feature space to form a cluster, and the feature consistency and spatial consistency are integrated with the non-local attention to obtain the point cloud feature update formula to obtain the point cloud features containing long-distance information after the points in the cluster are updated. The features include:
[0028] Define the k-nearest neighbor feature space, take the seed point as the center, find its neighboring points in the k-nearest neighbor feature space, and record the index of the seed point and its neighboring points as index, where index is a two-dimensional matrix with a size of [n seed , n k ],n seed is the number of seed points, n k is the number of neighboring points centered on the seed point; the seed point and its neighboring points form a cluster. If a point is inside the cluster, it is considered an inner point, and if a point is outside the cluster, it is considered an outlier.
[0029] By fusing feature consistency and spatial consistency with non-local attention, the point cloud feature update formula in the k-nearest neighbor feature space is obtained as:
[0030]
[0031] Among them, f on the right side of the equal sign is the point pair feature obtained after a layer of convolution after the initial point pair coordinates obtained by rough registration; f on the left side of the equal sign is the updated feature, MLP(·) is the multi-layer perceptron model, softmax(·) is the activation function, χ represents the feature similarity, represents vector cross product, h(·) is a linear mapping function, and α′ is the expansion of α, that is:
[0032]
[0033] Among them, N c Represents the feature dimension in the feature space;
[0034] Through the obtained point cloud feature updating formula, the point cloud features containing long-distance information after the points in the cluster are updated are obtained.
[0035] Furthermore, the method generates a probability matching matrix through the updated point cloud features, and obtains a rotation vector and a translation matrix through singular value decomposition calculation based on the probability matching matrix to achieve point cloud registration, which includes:
[0036] Perform L2 normalization and non-negative operation on the updated point cloud features, and calculate their main eigenvalues to obtain the probability matching matrix;
[0037] Based on the probability matching matrix, the rotation vector and translation matrix are calculated by singular value decomposition to achieve point cloud registration.
[0038] Furthermore, the updated features are subjected to L2 normalization and non-negative operation, and their main eigenvalues are calculated to obtain a probability matching matrix including:
[0039] Generate the probability matching matrix e through the updated feature information:
[0040] e=L{m}
[0041]
[0042] Where m is obtained by normalizing the updated point cloud feature f output from the k-nearest neighbor feature space, L{·} represents the calculation of the main feature vector using the power iteration method, [·] + It is a non-negative operation, indicating that the value of m is non-negative.
[0043] Furthermore, the rotation vector R and translation matrix t calculated by singular value decomposition are expressed as:
[0044]
[0045] On the one hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the above-mentioned point cloud precise registration method based on feature consistency and spatial consistency.
[0046] On the one hand, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the above-mentioned point cloud precise registration method based on feature consistency and spatial consistency.
[0047] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:
[0048] (1) In terms of point cloud registration, in order to address the problem that traditional methods are prone to falling into local optimal solutions, an embodiment of the present invention proposes a point cloud precise registration method based on feature consistency and spatial consistency. This method can quickly and accurately provide a rotation vector and a translation matrix to obtain a global optimal solution.
[0049] (2) In point cloud registration, when the number of source point clouds and target point clouds is different and the number of points is low, it is difficult for previous algorithms to handle the problem of outliers. The embodiments of the present invention eliminate outliers through feature consistency and spatial consistency, and select matching internal points through a confidence-based seed selection mechanism. In this way, by processing the point pairs after the rough registration of the point clouds, point cloud registration in the case of low overlap can be completed with higher accuracy and faster speed.
[0050] (3) In point cloud registration, the previous algorithms ignored the problem of topological information between point clouds. The embodiment of the present invention obtains the geometric information between point clouds by introducing a dynamic graph convolutional neural network; by fusing non-local attention, point cloud features containing long-distance information are obtained, thereby greatly improving the accuracy of point cloud registration. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0052] Figure 1 A schematic diagram of a process flow of a point cloud precise registration method based on feature consistency and spatial consistency provided in an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a point cloud registration network structure provided by an embodiment of the present invention;
[0054] FIG3( a ) is a schematic diagram of feature consistency provided by an embodiment of the present invention;
[0055] FIG3( b ) is a schematic diagram of spatial consistency provided by an embodiment of the present invention;
[0056] Figure 4 A schematic diagram of a feature consistency network structure provided by an embodiment of the present invention;
[0057] Figure 5 A schematic diagram of the k-nearest neighbor feature space structure provided by an embodiment of the present invention;
[0058] Figure 6 A schematic diagram of the registration results on the 3DMatch public dataset provided by an embodiment of the present invention;
[0059] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] In order to make the objectives, technical solutions and advantages of the present invention more clear, the embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0061] like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a point cloud precision registration method based on feature consistency and spatial consistency. This method is used after point cloud rough registration. The point pairs obtained by rough registration usually contain wrong matching points and outliers, and are prone to fall into a local optimal solution. Through this method, outliers can be eliminated, the registration accuracy can be improved, and a global optimal solution can be obtained. The method can be implemented by an electronic device, which can be a terminal or a server. The method includes:
[0062] S101, processing the point pairs after the point cloud rough registration to obtain feature consistency and spatial consistency; specifically, the following steps may be included:
[0063] A1, the normalized value of the feature difference of the defined point pair is α, and the α value reflects the feature consistency of the point pair. The smaller the α value, the more consistent the features are. The specific formula is as follows:
[0064] Δf n =||g(x n )-g(y n )||
[0065]
[0066] α n ∈α, n=1, 2, ..., N
[0067] Where g(·) represents the Dynamic Graph Convolutional Neural Network (DGCNN); x n and n By c n Decomposed, x n ,y n and c n They represent the nth source point cloud, the nth target point cloud and the nth initial point pair respectively, and N represents the total number of point pairs, that is: represents the 6-dimensional real number space, represents the 3D real space, and the initial point pair is obtained by rough registration of the point cloud; Δf n Represents the characteristic difference of the nth point pair; α n represents the feature consistency of the nth point pair; ||·|| represents the Euclidean distance; [·] + is a non-negative operation, indicating that α n The value is greater than or equal to 0;
[0068] A2, define the point pair spatial distance difference between each two groups of point pairs as β, the β value reflects the spatial consistency, the smaller the β value, the more matching the spatial position features between the point pairs, let the Euclidean distance between the i-th group of point pairs be d i , then the Euclidean distance difference d between the i-th group of point pairs and the j-th group of point pairs ij for:
[0069] d ij =||d i -d j ||
[0070] The spatial consistency between the i-th group of point pairs and the j-th group of point pairs β ij for:
[0071]
[0072] β ij ∈β, i=1, 2,...,N, j==1, 2,...,N.
[0073] As shown in Figure 3, Figure 3(a) is a schematic diagram of feature consistency, c1 and c2 are correct point pairs, c3 is an incorrect point pair, Δf1, Δf2 and Δf3 represent the feature differences between point pairs, then |Δf1-Δf2|<|Δf2-Δf3|; Figure 3(b) is a schematic diagram of spatial consistency, c1 and c2 are correct point pairs, c3 is an incorrect point pair, d1, d2, d3 and d4 represent the Euclidean distance between points, then |d1-d2|<|d3-d4|.
[0074] Figure 4 This is a schematic diagram of the DGCNN network in feature consistency calculation. Specifically, the network input source point cloud x n and target point cloud y n , perform edge convolution operations on the source point cloud and the target point cloud respectively, and extract through four layers of edge convolution. The number of output channels of the four layers of convolution is [16, 16, 32, 64], and the size of each convolution kernel is 1×1. Add the output of each layer of convolution, and pass through the multi-layer perceptron and the maximum pooling layer to obtain the final feature value. Subtract the feature value of the source point cloud from the feature value of the target point cloud to obtain the feature difference Δf n , Δfn After normalization, the feature consistency α is obtained.
[0075] S102, based on feature consistency and spatial consistency, using confidence to select seed points; specifically, the following steps may be included:
[0076] B1, define the seed confidence C as:
[0077] C=α+β
[0078] Among them, the α value reflects the feature consistency of the point pair, and the β value reflects the spatial consistency. The larger the confidence C value of the point pair is, the more the point pair satisfies the feature consistency and spatial consistency, and the greater the possibility that it is a correct matching point.
[0079] B2, sort the point pairs according to the confidence C value from large to small, and select the point pairs with the top p% (for example, 10%) confidence ranking as seed points, where p is a constant.
[0080] S103, defining a k-nearest neighbor feature space, taking the seed point as the center, searching for its neighboring points in the k-nearest neighbor feature space to form a cluster, fusing feature consistency and spatial consistency with non-local attention, and obtaining a point cloud feature update formula to obtain point cloud features containing long-distance information after the points in the cluster are updated; specifically, the following steps may be included:
[0081] C1, define the k nearest neighbor feature space, take the seed point as the center, find its neighbor points in the k nearest neighbor feature space, and record the index of the seed point and its neighbor points as index. Index is a two-dimensional matrix with a size of [n seed , n k ], where n seed is the number of seed points, n k is the number of neighboring points centered on the seed point; the seed point and its neighboring points form a cluster. If a point is inside the cluster, it is considered an inner point, and if a point is outside the cluster, it is considered an outlier.
[0082] C2, combines feature consistency and spatial consistency with non-local attention, and obtains the point cloud feature update formula in the k-nearest neighbor feature space as follows:
[0083]
[0084] Among them, f on the right side of the equal sign is the point cloud position feature (abbreviated as point cloud feature) obtained after a layer of convolution of the initial point pair coordinates obtained by rough registration; f on the left side of the equal sign is the updated feature, MLP(·) is the multi-layer perceptron model, softmax(·) is the activation function, χ represents the feature similarity, represents vector cross product, h(·) is a linear mapping function, and α′ is the expansion of α, that is:
[0085]
[0086] Among them, N c Represents the feature dimension in the feature space;
[0087] In order to better understand the point cloud feature update formula described in this embodiment, it is necessary to explain the classic non-local attention model, which can be expressed as:
[0088]
[0089] Non-local attention models have the ability to connect contextual information.
[0090] The feature update formula in this embodiment combines feature consistency and spatial consistency with non-local attention to obtain long-distance features combined with contextual information in the feature space, and fuses them with the original features to complete the feature update.
[0091] like Figure 5 As shown, the k-nearest neighbor feature space network inputs the point cloud feature f, After a layer of convolution, we get the features φ and After transposing, we get θ, φ and θ are matrix multiplied to obtain the feature similarity χ; after fusion of χ and spatial consistency β, the whole is used as a weight and added to the feature consistency α′. After passing through the multi-layer perceptron MLP, the updated feature f is obtained. The new feature integrates feature information and spatial information and increases the receptive field.
[0092] C3, through the obtained point cloud feature update formula, obtain the updated point cloud features containing long-distance information of the points in the cluster. Each point pair has a corresponding point cloud feature, and the point cloud features of the point pair are sorted according to the index, that is, the points in the cluster are filtered out. The number of points in the cluster is n seed ×n k ; The point cloud features of the point pairs not in the index will be discarded, thus completing the removal of outliers.
[0093] S104, generating a probability matching matrix through the updated point cloud features, and based on the probability matching matrix, obtaining a rotation vector and a translation matrix through singular value decomposition calculation to achieve point cloud registration; specifically, the following steps may be included:
[0094] D1, perform L2 normalization and non-negative operation on the updated point cloud features, and calculate their main eigenvalues to obtain the probability matching matrix;
[0095] In this embodiment, the probability matching matrix e is generated by the updated feature information:
[0096] e=L{m}
[0097]
[0098] Where m is obtained by normalizing the updated point cloud feature f output from the k-nearest neighbor feature space, L{·} represents the calculation of the main feature vector using the power iteration method, [·] + It is a non-negative operation, indicating that the value of m is non-negative.
[0099] D2, based on the probability matching matrix, obtains the rotation vector and translation matrix through singular value decomposition to achieve point cloud registration.
[0100] In this embodiment, the rotation vector R and the translation matrix t calculated by singular value decomposition are expressed as:
[0101]
[0102] In order to verify the effect of the point cloud precise registration method based on feature consistency and spatial consistency provided in this embodiment, this embodiment uses the following evaluation indicators:
[0103] (1) Recall rate RR: Recall rate is one of the important indicators to measure the performance of the registration algorithm. It is used to evaluate the algorithm's ability to identify correctly matched point pairs. Recall rate is defined as the ratio of the number of correctly matched point pairs to the total number of correctly matched point pairs. The recall rate ranges from 0 to 1. The larger the value, the higher the robustness and accuracy of the algorithm, and the better it can identify the correct matching point pairs.
[0104] (2) Rotation Error RE: Rotation Error is used to measure the accuracy of the rotation matrix in the point cloud transformation matrix and is defined as follows:
[0105]
[0106] in, is the predicted rotation matrix value, R * is the true value of the rotation matrix, arccos is the inverse cosine function, and Tr is the trace operation.
[0107] (3) Translation Error TE: The translation error is used to measure the accuracy of the translation vector in the point cloud transformation matrix and is defined as follows:
[0108]
[0109] in, is the predicted translation vector value, t * is the true value of the translation vector.
[0110] In order to verify the performance of the point cloud precise registration method based on feature consistency and spatial consistency provided by the embodiment of the present invention, the public data set 3DMatch is used in this embodiment to compare with the classic algorithms in recent years; the recall rate RR, rotation error RE and translation error TE are used as evaluation criteria, and the point cloud registration results are shown in Table 1. Figure 6 As shown in Table 1, the source point cloud and the target point cloud do not completely overlap; according to Table 1 and Figure 6 It can be seen that the point cloud registration result provided by the embodiment of the present invention is better.
[0111] Table 1 Point cloud registration results
[0112]
[0113] In summary, the point cloud precise registration method based on feature consistency and spatial consistency described in the embodiment of the present invention has at least the following beneficial effects:
[0114] (1) In terms of point cloud registration, in order to address the problem that traditional methods are prone to falling into local optimal solutions, an embodiment of the present invention proposes a point cloud precise registration method based on feature consistency and spatial consistency. This method can quickly and accurately provide a rotation vector and a translation matrix to obtain a global optimal solution.
[0115] (2) In point cloud registration, when the number of source point clouds and target point clouds is different and the number of points is low, it is difficult for previous algorithms to handle the problem of outliers. The embodiments of the present invention eliminate outliers through feature consistency and spatial consistency, and select matching internal points through a confidence-based seed selection mechanism. In this way, by processing the point pairs after the rough registration of the point clouds, point cloud registration in the case of low overlap can be completed with higher accuracy and faster speed.
[0116] (3) In point cloud registration, the previous algorithms ignored the problem of topological information between point clouds. The embodiment of the present invention introduces a dynamic graph convolutional neural network to obtain the geometric information between point clouds (where the geometric information of the nth point in the source point cloud is g(x n ), the geometric information of the nth point in the target point cloud is g(y n )), by fusing non-local attention, point cloud features containing long-distance information are obtained, which greatly improves the accuracy of point cloud registration.
[0117] Figure 7It is a structural diagram of an electronic device 600 provided in an embodiment of the present invention. The electronic device 600 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 601 and one or more memories 602, wherein at least one instruction is stored in the memory 602, and the at least one instruction is loaded and executed by the processor 601 to implement the above-mentioned point cloud precise registration method based on feature consistency and spatial consistency.
[0118] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including instructions, which can be executed by a processor in a terminal to complete the above-mentioned point cloud precise registration method based on feature consistency and spatial consistency. For example, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0119] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0120] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A point cloud precise registration method based on feature consistency and spatial consistency, characterized in that: include: Process the point pairs after rough registration of the point cloud to obtain feature consistency and spatial consistency; Based on feature consistency and spatial consistency, confidence is used to select seed points; Define the k-nearest neighbor feature space, take the seed point as the center, find its neighboring points in the k-nearest neighbor feature space to form a cluster, fuse the feature consistency and spatial consistency with non-local attention, and obtain the point cloud feature update formula to obtain the point cloud features containing long-distance information after the points in the cluster are updated; Generate a probability matching matrix through the updated point cloud features, and based on the probability matching matrix, calculate the rotation vector and translation matrix through singular value decomposition to achieve point cloud registration; The processing of the point pairs after the rough registration of the point cloud to obtain feature consistency and spatial consistency includes: The normalized value of the feature difference of the defined point pair is α, which reflects the feature consistency of the point pair. The smaller the α value, the more consistent the features are. The specific formula is as follows: Δf n =||g(x n )-g(y n )|| Where g(·) represents a dynamic graph convolutional neural network; x n and n By c n Decomposed, x n ,y n and c n They represent the nth source point cloud, the nth target point cloud and the nth initial point pair respectively. The initial point pair is obtained by rough registration of the point cloud. N represents the total number of point pairs, that is: represents the 6-dimensional real number space, represents the 3-dimensional real number space; Δf n Represents the characteristic difference of the nth point pair; α n represents the feature consistency of the nth point pair; ||·|| represents the Euclidean distance; [·] + is a non-negative operation, indicating that α n The value is greater than or equal to 0; Define the point-to-point spatial distance difference between each pair of point pairs as β. The β value reflects the spatial consistency. The smaller the β value, the more matching the spatial position features between the point pairs. Let the Euclidean distance between the i-th group of point pairs be d i , then the Euclidean distance difference d between the i-th group of point pairs and the j-th group of point pairs ij for: d ij =||d i -d j || The spatial consistency between the i-th group of point pairs and the j-th group of point pairs β ij for: The method of generating a probability matching matrix through the updated point cloud features, and obtaining a rotation vector and a translation matrix through singular value decomposition calculation based on the probability matching matrix, so as to realize point cloud registration includes: Perform L2 normalization and non-negative operation on the updated point cloud features, and calculate their main eigenvalues to obtain the probability matching matrix; Based on the probability matching matrix, the rotation vector and translation matrix are calculated by singular value decomposition to achieve point cloud registration; The updated features are subjected to L2 normalization and non-negative operation, and their main eigenvalues are calculated to obtain a probability matching matrix, including: Generate the probability matching matrix e through the updated feature information: e=L{m} Where m is obtained by normalizing the updated point cloud feature f output from the k-nearest neighbor feature space, L{·} represents the calculation of the main feature vector using the power iteration method, [·] + It is a non-negative operation, indicating that the value of m is non-negative; Among them, the rotation vector R and translation matrix t calculated by singular value decomposition are expressed as:
2. The point cloud precise registration method based on feature consistency and spatial consistency according to claim 1, characterized in that: The seed point selection using confidence based on feature consistency and spatial consistency includes: Define the seed confidence C as: C=α+β Among them, the α value reflects the feature consistency of the point pair, and the β value reflects the spatial consistency; Sort the point pairs according to the confidence C value from large to small, and select the point pairs with the top p% confidence as seed points, where p is a constant.
3. The point cloud precise registration method based on feature consistency and spatial consistency according to claim 1, characterized in that: The k-nearest neighbor feature space is defined, and the seed point is taken as the center, and its neighboring points are found in the k-nearest neighbor feature space to form a cluster. The feature consistency and spatial consistency are integrated with non-local attention to obtain the point cloud feature update formula to obtain the point cloud features containing long-distance information after the points in the cluster are updated. The features include: Define the k-nearest neighbor feature space, take the seed point as the center, find its neighboring points in the k-nearest neighbor feature space, and record the index of the seed point and its neighboring points as index, where index is a two-dimensional matrix with a size of [n seed ,n k ],n seed is the number of seed points, n k is the number of neighboring points centered on the seed point; the seed point and its neighboring points form a cluster. If a point is inside the cluster, it is considered an inner point, and if a point is outside the cluster, it is considered an outlier. By fusing feature consistency and spatial consistency with non-local attention, the point cloud feature update formula in the k-nearest neighbor feature space is obtained as: Among them, f on the right side of the equal sign is the point pair feature obtained after a layer of convolution after the initial point pair coordinates obtained by rough registration; f on the left side of the equal sign is the updated feature, MLP(·) is the multi-layer perceptron model, softmax(·) is the activation function, χ represents the feature similarity, represents vector cross product, h(·) is a linear mapping function, and α′ is the expansion of α, that is: Among them, N c Represents the feature dimension in the feature space; Through the obtained point cloud feature updating formula, the point cloud features containing long-distance information after the points in the cluster are updated are obtained.
