A deep neural network point cloud registration system based on local features and Euclidean space distance and its construction method
Through the deep neural network point cloud registration system based on local features and Euclidean spatial distance, the local optimal solution problem of the traditional method when the initial pose deviation is large is solved, and the robustness and accuracy of point cloud registration are improved to achieve achieves higher registration accuracy and efficiency.
Patent Information
- Application Number
- CN202410512743.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-26
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-04-26
AI Technical Summary
Traditional point cloud registration methods tend to fall into local optimal solutions when the initial pose deviation is large, and lack robustness and cannot effectively handle the disorder and local structure of point clouds, resulting in low registration accuracy.
Design a deep neural network point cloud registration system based on local features and Euclidean spatial distance, including a point cloud feature learning module, a feature space aggregation module, a feature space similarity measurement module and a rigid body motion parameter estimation module. Through the SPNet backbone network and The LoF local feature extraction network learns the local geometric features of the point cloud, combines the Euclidean distance features to generate augmented feature tensors, and uses convolution and singular value decomposition to calculate rigid body motion parameters.
It improves the robustness and accuracy of point cloud registration, can converge to the global optimal solution when the initial pose disturbance is large, reduces the number of erroneous corresponding points, and improves the confidence and efficiency of registration.
Smart Images

Figure CN118379334B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of image processing, and in particular relates to a deep neural network point cloud registration system based on local features and Euclidean space distance and a construction method thereof. Background Art
[0002] The point cloud registration task aims to find a rigid transformation to align the source point cloud Source with the target point cloud Target, where the point cloud may be occluded, noisy, or the two point clouds may have a low degree of overlap. Therefore, the algorithm must have high accuracy and a certain degree of robustness while ensuring operational efficiency. Traditional methods such as ICP first assume an initial pose, and then iteratively solve the optimal transformation, which leads to a problem: Under the condition of good initial values, good accuracy can be obtained, but if the initial value deviates greatly, it is easy to fall into the local optimal solution and cannot converge to the global optimal solution. Moreover, in the process of searching for corresponding points, these methods assume that the point with the closest Euclidean distance is the corresponding point. This assumption is arbitrary and does not take into account the distance in the feature space and the relationship between features. Therefore, a certain number of erroneous corresponding points will inevitably be generated. Deep learning methods are robust to disturbances of initial values and can avoid the impact of excessive deviations in initial pose on registration accuracy to a certain extent. However, deep learning methods rely heavily on feature identification of point clouds. The expression of features directly affects the accuracy of registration. The processing method of point cloud features is different from that of two-dimensional images or three-dimensional voxels. Conventional deep learning methods used for image tasks cannot be directly applied to point cloud data. The problems of point cloud disorder, local structure and transformation invariance need to be solved. Summary of the invention
[0003] The problem to be solved by the present invention is to find a correspondence mapping with higher confidence, solve the rigid body motion parameter estimation, and propose a deep neural network point cloud registration system based on local features and Euclidean space distance and its construction method.
[0004] To achieve the above object, the present invention is implemented through the following technical solutions:
[0005] A deep neural network point cloud registration system based on local features and Euclidean space distance, comprising a point cloud feature learning module, a feature space aggregation module, a feature space similarity measurement module and a rigid body motion parameter estimation module, wherein the point cloud feature learning module comprises an SPNet backbone network and a LoF local feature extraction network;
[0006] The input of the deep neural network point cloud registration system based on local features and Euclidean space distance is the source point cloud to be registered. and target point cloud x N is the Nth point of the source point cloud, yM is the Mth point in the target point cloud;
[0007] The source point cloud X and the target point cloud Y are connected to the point cloud feature learning module respectively. After the SPNet backbone network and the LoF local feature extraction network feature learning in the point cloud feature learning module, the source point cloud X and the target point cloud Y respectively obtain the source point cloud feature vector h with neighborhood geometric information X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·);
[0008] Then h X (·),h Y (·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module, and the augmented feature tensor T(·) is generated by feature aggregation;
[0009] Then the augmented feature tensor T(·) is input into the feature space similarity measurement module, and the point pair mapping relationship between the source feature and the target feature is learned using 1×1 convolution. The Softmax function is applied to each row of the point pair mapping relationship to obtain the similarity score, and the argmax function is used to extract the corresponding point pairs.
[0010] Then the corresponding point pairs are input into the rigid body motion parameter estimation module, and singular value decomposition (SVD) is used to calculate U and V, where U is the left singular vector matrix and V is the right singular vector matrix. Then U and V are used to calculate (R XY ,t XY ), where R XY is the rigid transformation rotation matrix, t XY is the translation vector.
[0011] A method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance includes the following steps:
[0012] S1. Build a point cloud feature learning module, including the SPNet backbone network and the LoF local feature extraction network;
[0013] S2. Connect the source point cloud X and the target point cloud Y to the point cloud feature learning module constructed in step S1 respectively. After learning the features of the SPNet backbone network and the LoF local feature extraction network in the point cloud feature learning module, the source point cloud feature vector h with neighborhood geometric information is obtained. X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·);
[0014] S3 builds a feature space aggregation module and transforms the h obtained in step S2 into X (·),h Y(·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module to generate the augmented feature tensor T(·);
[0015] S4. Construct a feature space similarity measurement module, input the augmented feature tensor T(·) obtained in step S3 into the feature space similarity measurement module, and output the point pair (x i ,y j );
[0016] S5. Construct a rigid body motion parameter estimation module and convert the point pair (x i ,y j ) is input into the rigid body motion parameter estimation module, and the rigid transformation rotation matrix and translation vector are output.
[0017] Furthermore, the specific implementation method of step S1 includes the following steps:
[0018] S1.1. Construct a LoF local feature extraction network. The feature points to be calculated are input into the K neighboring modules to search for K nearest neighbors in the neighborhood to form a K×d-dimensional feature. Then, it is processed by 5 multi-layer perceptrons MLP. The sizes of the 5 multi-layer perceptrons MLP are 64, 128, 256, 512, and d respectively. After processing, a K×d-dimensional feature vector is obtained. Then, the symmetrical maximum pooling function MaxPooling is used to obtain a 1×d-dimensional neighborhood global geometric feature vector. Finally, the local feature extraction operation is repeated on the N feature points to be calculated to obtain the neighborhood local geometric features of the same dimension as the input. The local feature extraction of the source point cloud f(x1, x2, …, x N ) is calculated as:
[0019]
[0020] Local feature extraction of target point cloud f(y1,y2,…,y M ) is calculated as:
[0021]
[0022] Among them, h represents the feature extraction layer, g is the symmetric method, γ is the higher-dimensional feature extraction, and g is set to MaxPooling or SumPooling;
[0023] S1.2. Build the SPNet backbone network, remove the maximum pooling of PointNet and its subsequent components, use the streamlined PointNet as the backbone network SPNet, the initial input is an N×3 point cloud, and then the first STN affine transformation generates a 3×3 transformation matrix to adjust the input point cloud in the space to align the input, and then pass through the MLP of size 64, 64 to obtain 64-dimensional features, and then pass through the second STN affine transformation to generate a 64×64 transformation matrix to align in the feature space, and then pass through the 64, 128 MLP and the 128, 256 MLP to upgrade the features to obtain 128-dimensional and 256-dimensional features. The MLPs in the network share weights, and each MLP contains ReLu and BN.
[0024] Furthermore, the specific implementation method of step S2 is to connect the source point cloud X and the target point cloud Y to the point cloud feature learning module constructed in step S1 respectively, and after the local neighborhood geometric features are processed by the LoF local feature extraction network, they are cascaded with the point features of the SPNet backbone network to generate 64, 192 and 384-dimensional features respectively, and finally the feature description of each point is generated as a 384-dimensional feature vector with the length of the point feature and the local geometric feature, and the source point cloud feature vector h with neighborhood geometric information is obtained. X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·).
[0025] Furthermore, the specific implementation method of step S3 is to obtain h X (·),h Y (·) and the Euclidean distance feature between the source point cloud and the target point cloud are input into the feature space aggregation module to calculate the distance augmented feature tensor T(·), and the calculation expression is:
[0026]
[0027] Among them, [;] represents cascade, T(i,j) represents the distance augmented feature tensor of the geometric features and Euclidean features of the point pair (xi,yj) located at (i,j);
[0028] The 2K+4-dimensional distance augmented feature tensor T(·) is obtained, including the K-dimensional h X (i) Geometric features, K-dimensional h Y (j) Geometric features, and 4-dimensional Euclidean features.
[0029] Furthermore, the specific implementation method of step S4 includes the following steps:
[0030] S4.1. Set the distance augmented feature tensor obtained in step S3 to a 2D image with (2K+4) channels;
[0031] S4.2. Use a series of 1×1 2D convolutions on T(·), and output a single-channel image of the same spatial size at the last layer, which is equivalent to applying 32,32,32,32,1 multi-layer perceptron MLP on T(·), 1×1 convolution, and using point matching loss to learn weights to obtain the feature mapping relationship between the target features. Apply the Softmax function to each row of the S×S single-channel image to obtain the similarity matrix m(·), convert the matching cost into probability, and obtain m(i,j) representing y j is x i The probability of the corresponding relationship, that is, y j With x i The similarity score of the registration task is to find a rigid transformation rotation matrix R XY ∈SO(3) and the translation vector Where SO(3) is a 3D rotation group, which aligns the original point cloud X with the target point cloud Y. The point cloud registration problem is described as a mean square error minimization problem. The point cloud registration task is achieved by minimizing the objective function. The formula for minimizing the objective function is:
[0032]
[0033] Rigidity change E(R XY ,t XY ,m) is defined as a variable (R XY ,t XY ),R XY ∈SO(3), m is a mapping from points in X to points in Y, Represents any point x i ∈X is the corresponding point in the target point cloud Y using the mapping method of m;
[0034] S4.3. Then perform argmax on each row of the similarity matrix m(·) to obtain the point pair (x i ,y j ), set the centroid of X and Y to be defined as Then we have:
[0035] R XY =VU T
[0036]
[0037] Among them, U is the left singular vector matrix, V is the right singular vector matrix;
[0038] m is the mapping of each point in X to the corresponding point in Y, expressed as:
[0039] m(x i,Y)=argmin||R XY x i +t XY -y j ||2.
[0040] Furthermore, the specific implementation method of step S5 includes the following steps:
[0041] S5.1. Construct a rigid body motion parameter estimation module, substitute the point pair coordinates obtained in step S4 into the minimization objective function formula (, use singular value decomposition SVD to calculate U and V, and then solve R XY , t XY , the calculation formula is:
[0042] H=U∑V T
[0043] in, H is an arbitrary matrix, Σ is a diagonal matrix;
[0044] S5.2. R obtained based on step S5.1 XY , t XY , update the source point cloud, obtain a new source point cloud, repeat steps S3 and S5 until the convergence condition is met, and the final estimate of the motion parameters (R*, t*) is the composition of all iterative intermediates (R(n), t(n)), and output the rigid transformation rotation matrix and translation vector.
[0045] Beneficial effects of the present invention:
[0046] The present invention discloses a deep neural network point cloud registration system based on local features and Euclidean space distance, which uses a local neighborhood feature module to fully learn the geometric relationship between points and their neighborhoods to obtain local geometric features of point clouds. In view of the problem that the traditional ICP method is sensitive to the initial posture, easily falls into the local optimal solution, and cannot converge to the global optimal solution, the present invention constructs a deep neural network point cloud registration system based on local features and Euclidean space distance, and uses deep learning and iterative optimization methods to combat the initial disturbance problem of point cloud registration. In view of the problem that the ICP method uses Euclidean distance as a metric when searching for corresponding points, which lacks robustness; the geometric distance-aware similarity matrix convolution module designed by the present invention jointly encodes the local neighborhood information of two points and their Euclidean space positions, and then integrates the joint encoded information into the point pair matching process to find a higher confidence correspondence mapping. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A system block diagram of a deep neural network point cloud registration system based on local features and Euclidean space distance according to the present invention;
[0048] Figure 2 This is a network architecture diagram of the feature learning module of the present invention;
[0049] Figure 3 A schematic diagram of local neighborhood feature learning of point clouds according to the present invention;
[0050] Figure 4 This is a visualization result diagram of point cloud registration with Gaussian noise data obtained by the method of the present invention on the ModelNet40 dataset;
[0051] Figure 5 The bar graph of the mean absolute rotation error test results of point cloud registration MAE(R) with different overlap rates obtained by the method of the present invention on the ModelNet40 dataset;
[0052] Figure 6 The bar graph of the mean absolute translation error test results of point cloud registration MAE(t) with different overlap rates obtained by the method of the present invention on the ModelNet40 dataset;
[0053] Figure 7 This is a comparison chart of the visualization results of point cloud registration obtained by the method of the present invention on the Stanford 3D Scanning Repository dataset. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solution and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the specific embodiments described are only part of the embodiments of the present invention, rather than all of the specific embodiments. The components of the specific embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations, and the present invention can also have other embodiments.
[0055] Therefore, the following detailed description of the specific embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected specific embodiments of the present invention. Based on the specific embodiments of the present invention, all other specific embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.
[0056] In order to further understand the content, features and effects of the present invention, the following specific implementation methods are given as examples, and the attached Figure 1 -Attached Figure 7 The detailed instructions are as follows: Specific implementation method one:
[0058] A deep neural network point cloud registration system based on local features and Euclidean space distance, comprising a point cloud feature learning module, a feature space aggregation module, a feature space similarity measurement module and a rigid body motion parameter estimation module, wherein the point cloud feature learning module comprises an SPNet backbone network and a LoF local feature extraction network;
[0059] The input of the deep neural network point cloud registration system based on local features and Euclidean space distance is the source point cloud to be registered. and target point cloud x N is the Nth point of the source point cloud, y M is the Mth point in the target point cloud;
[0060] The source point cloud X and the target point cloud Y are connected to the point cloud feature learning module respectively. After the SPNet backbone network and the LoF local feature extraction network feature learning in the point cloud feature learning module, the source point cloud X and the target point cloud Y respectively obtain the source point cloud feature vector h with neighborhood geometric information X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·); then h X (·),h Y (·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module, and the augmented feature tensor T(·) is generated by feature aggregation;
[0061] Then the augmented feature tensor T(·) is input into the feature space similarity measurement module, and the point pair mapping relationship between the source feature and the target feature is learned using 1×1 convolution. The Softmax function is applied to each row of the point pair mapping relationship to obtain the similarity score, and the argmax function is used to extract the corresponding point pairs.
[0062] Then the corresponding point pairs are input into the rigid body motion parameter estimation module, and singular value decomposition (SVD) is used to calculate U and V, where U is the left singular vector matrix and V is the right singular vector matrix. Then U and V are used to calculate (R XY ,t XY ), where R XY is the rigid transformation rotation matrix, t XY is the translation vector.
[0063] Furthermore, the maximum pooling of PointNet and its subsequent components are removed from the point cloud feature learning module, and the streamlined PointNet (Short PointNet, SPNet) is used as the backbone network; the local feature module (LoF) is designed to learn the neighborhood geometric features of the point, and the two parts of the features are added as the output of the feature learning module. The feature space aggregation module integrates the local geometric features and Euclidean space distance features from the feature matching module to form an augmented feature expression, which improves the feature significance while reducing the interference of noise data. The feature space similarity measurement module uses geometric distance-aware similarity matrix convolution to integrate the joint encoding information into the point pair matching process, so as to find a higher confidence correspondence mapping. Then normalization is performed to obtain the similarity score. In the motion parameter estimation, SVD singular value decomposition is used to estimate the rigid body motion parameters. The iterative method is used for local refinement to continuously optimize the initial estimate to obtain more accurate rigid body motion parameters. Specific implementation method 2:
[0065] According to the method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance described in the first specific implementation mode, the method comprises the following steps:
[0066] S1. Build a point cloud feature learning module, including the SPNet backbone network and the LoF local feature extraction network;
[0067] Furthermore, the specific implementation method of step S1 includes the following steps:
[0068] S1.1. Construct a LoF local feature extraction network. The feature points to be calculated are input into the K neighboring modules to search for K nearest neighbors in the neighborhood to form a K×d-dimensional feature. Then, it is processed by 5 multi-layer perceptrons MLP. The sizes of the 5 multi-layer perceptrons MLP are 64, 128, 256, 512, and d respectively. After processing, a K×d-dimensional feature vector is obtained. Then, the symmetrical maximum pooling function MaxPooling is used to obtain a 1×d-dimensional neighborhood global geometric feature vector. Finally, the local feature extraction operation is repeated on the N feature points to be calculated to obtain the neighborhood local geometric features of the same dimension as the input. The local feature extraction of the source point cloud f(x1, x2, …, x N ) is calculated as:
[0069]
[0070] Local feature extraction of target point cloud f(y1,y2,…,y m ) is calculated as:
[0071]
[0072] Among them, h represents the feature extraction layer, g is the symmetric method, γ is the higher-dimensional feature extraction, and g is set to MaxPooling or SumPooling;
[0073] Furthermore, point cloud data is highly unstructured and has permutation invariance. PointNet is the pioneering work of point cloud deep learning. It is superior to traditional classification and segmentation methods in the tasks of point cloud classification and segmentation, and has excellent feature description capabilities. PointNet uses the original point cloud directly as network input and can be embedded in a larger network, but they do not take into account the local features in the point cloud feature extraction process, cannot learn the relationship between points, and cannot fully utilize the local information of the point cloud. In the point cloud registration task, it is necessary to extract local feature descriptors from the source point cloud to effectively represent the local geometric structure, so as to establish an accurate matching relationship. To this end, this embodiment designs a local neighborhood feature extraction module (LoF) to fully learn the relationship between points in the neighborhood to obtain the local features of the point cloud.
[0074] Furthermore, the dimension of the feature after processing by g is that the corresponding maximum eigenvalue or the sum of eigenvalues among N points is selected in each dimension, and g is used to solve the local disorder problem in the local neighborhood.
[0075] S1.2. Construct the SPNet backbone network, remove the maximum pooling of PointNet and its subsequent components, use the streamlined PointNet as the backbone network SPNet, the initial input is an N×3 point cloud, and then the first STN affine transformation generates a 3×3 transformation matrix to adjust the input point cloud in the space to align the input, and then obtain 64-dimensional features through MLP of size 64, 64, and then the second STN affine transformation generates a 64×64 transformation matrix to align in the feature space, and then pass through 64, 128 MLP and 128, 256 MLP to upgrade the features to obtain 128-dimensional and 256-dimensional features. Each MLP in the network shares weights, and each MLP contains ReLu and BN;
[0076] Furthermore, a local feature module (LoF) is designed to learn the neighborhood geometric features of the point, and the two parts of the features are added as the output of the feature learning module. The point cloud obtains the high-dimensional features of each point through the SPNet feature extraction network, and uses the spatial distance metric to divide the point set into overlapping neighborhood local areas. The neighborhood local features of the point cloud are obtained using LoF, and the high-dimensional features of each point and the multi-dimensional fusion information of its neighborhood geometric features are obtained through feature cascading. The feature descriptor of the point containing the local geometric features can better characterize and identify the features of the point, which provides a favorable identification for subsequent feature point matching and can speed up the matching efficiency. The network architecture of the feature learning module is shown in the figure. Figure 2 As shown in the lower part, the data input dimension of the network is (B, N, C), where B is the input batch number Batch, which is omitted in the figure for simplicity; N is the number of points, and C is the number of channels, that is, the feature length. When the initial point cloud is input, feature C = 3, that is, the x, y, z coordinates of the point.
[0077] Furthermore, STN affine transformation does not rely on the spatial change of data to process rigid or affine transformations. It canonicalizes the point cloud data before inputting the network to eliminate the influence of transformations such as rotation and ensure rotation invariance. The 64-dimensional features are processed by the local feature extraction module to generate local neighborhood geometric features of the same dimension, which are cascaded with the subsequent 128-dimensional point features to obtain 192-dimensional fusion features. The local neighborhood geometric features generated by the local feature module at each layer are cascaded with the subsequent point features to generate 64, 192 and 384-dimensional features respectively. The feature extraction module finally generates a feature descriptor for each point, which is a 384-dimensional feature vector that combines the point features and the local geometric features of the neighbors.
[0078] S2. Connect the source point cloud X and the target point cloud Y to the point cloud feature learning module constructed in step S1 respectively. After learning the features of the SPNet backbone network and the LoF local feature extraction network in the point cloud feature learning module, the source point cloud feature vector h with neighborhood geometric information is obtained. X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·);
[0079] Furthermore, the specific implementation method of step S2 is as follows: the source point cloud X and the target point cloud Y are respectively connected to the point cloud feature learning module constructed in step S1, and the local neighborhood geometric features generated by the LoF local feature extraction network are cascaded with the point features of the SPNet backbone network to generate 64, 192 and 384-dimensional features respectively, and finally the feature description of each point is generated as a 384-dimensional feature vector with the length of the point feature and the local geometric feature, and the source point cloud feature vector h with neighborhood geometric information is obtained. X(·) and the target point cloud feature vector h with neighborhood geometric information Y (·);
[0080] S3 builds a feature space aggregation module and transforms the h obtained in step S2 into X (·),h Y (·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module to generate the augmented feature tensor T(·);
[0081] Furthermore, the specific implementation method of step S3 is to obtain h X (·),h Y (·) and the Euclidean distance feature between the source point cloud and the target point cloud are input into the feature space aggregation module to calculate the distance augmented feature tensor T(·), and the calculation expression is:
[0082]
[0083] Among them, [;] represents cascade, T(i,j) represents the distance augmented feature tensor of the geometric features and Euclidean features of the point pair (xi,yj) located at (i,j);
[0084] The 2K+4-dimensional distance augmented feature tensor T(·) is obtained, including the K-dimensional h X (i) Geometric features, K-dimensional h Y (j) Geometric features, and 4-dimensional Euclidean features;
[0085] Furthermore, the Euclidean space distance feature is an important basis for finding corresponding point pairs, but the method of searching for corresponding points in the target point cloud based solely on the Euclidean space distance lacks robustness and will inevitably produce erroneous corresponding points. The present embodiment fully considers the distance in the feature space and the relationship between features, aggregates the neighborhood geometric features and the Euclidean space distance information of the points, designs aggregated augmented features, learns hybrid enhanced feature expressions from spatial coordinates and local geometry, and uses the enhanced hybrid feature distance metric to replace the conventional metric based solely on the Euclidean space distance, which makes a very important contribution to the downstream point feature matching in finding the correct corresponding points.
[0086] Furthermore, x i and j The distance between and from y j Point to x iThe unit vector of . Each augmented feature vector in T(n) encodes the joint information of the local shape of two points and their current relative position, which is an important contribution to finding the corresponding relationship mapping between point pairs and obtaining the similarity score. The feature space aggregation network can still maintain strong stability for different forms of input point set fluctuations. Since the network can learn a small number of key point features distributed in the local neighborhood at the target backbone position, it can significantly characterize the target. Deleting some points and adding additional noise will not have a significant impact on the network's prediction results. Therefore, the feature space aggregation module has a certain robustness to the fluctuation of the input point set.
[0087] S4. Construct a feature space similarity measurement module, input the augmented feature tensor T(·) obtained in step S3 into the feature space similarity measurement module, and output the point pair (x i ,y j );
[0088] Furthermore, the specific implementation method of step S4 includes the following steps:
[0089] S4.1. Set the distance augmented feature tensor obtained in step S3 to a 2D image with (2K+4) channels;
[0090] S4.2. Use a series of 1×1 2D convolutions on T(·), and output a single-channel image of the same spatial size at the last layer, which is equivalent to applying 32,32,32,32,1 multi-layer perceptron MLP on T(·), 1×1 convolution, and using point matching loss to learn weights to obtain the feature mapping relationship between the target features. Apply the Softmax function to each row of the S×S single-channel image to obtain the similarity matrix m(·), convert the matching cost into probability, and obtain m(i,j) representing y j is x i The probability of the corresponding relationship, that is, y j With x i The similarity score of the registration task is to find a rigid transformation rotation matrix R XY ∈SO(3) and the translation vector Where SO(3) is a 3D rotation group, which aligns the original point cloud X with the target point cloud Y. The point cloud registration problem is described as a mean square error minimization problem. The point cloud registration task is achieved by minimizing the objective function. The formula for minimizing the objective function is:
[0091]
[0092] Rigidity change E(R XY ,t XY ,m) is defined as a variable (R XY ,t XY ),R XY∈SO(3), m is a mapping from points in X to points in Y, Represents any point x i ∈X is the corresponding point in the target point cloud Y using the mapping method of m;
[0093] S4.3. Then perform argmax on each row of the similarity matrix m(·) to obtain the point pair (x i ,y j ), set the centroid of X and Y to be defined as Then we have:
[0094] R XY =VU T
[0095]
[0096] Among them, U is the left singular vector matrix, V is the right singular vector matrix;
[0097] m is the mapping of each point in X to the corresponding point in Y, expressed as:
[0098] m(x i ,Y)=argmin||R XY x i +t XY -y j ||2;
[0099] Furthermore, in order to remove the limitations of the initial pose and obtain the optimal rigid body transformation (R XY ,t XY), the point cloud registration problem is transformed into the problem of finding the optimal projection m of the point correspondence between the source point cloud and the target point cloud. Most existing methods use feature inner product, Euclidean distance, cosine similarity, etc. as the similarity measure between features, and select the method with the highest (or lowest) response to achieve the mapping projection of the point pair correspondence. However, this method may cause a point to have multiple similar mapping points, and the point pair correspondence has great ambiguity, and the accuracy of the matching result is not ideal. At the same time, the expression ability of the traditional point feature descriptor is limited, the feature recognition is not high, and the feature matching error is large for some complex scenes such as symmetry, repetition, occlusion, and low texture. Based on the above analysis, this implementation method uses the geometric similarity of the neighborhood of two points in the real point pair to construct the correspondence between points, and combines the geometric features with the Euclidean distance features to find the correspondence mapping m between the point pairs. After being processed by the feature aggregation module in the previous step, the geometric features and the Euclidean distance features of the point are fused to generate a distance augmented feature tensor T(n), which can be regarded as a 2D image with (2K+4) channels. To obtain the mapping relationship between point pairs, this implementation uses a series of 1×1 2D convolutions on T(n), and outputs a single-channel image of the same spatial size at the last layer. This is equivalent to applying a multi-layer perceptron MLP(32,32,32,32,1) on T(n). The 1×1 convolutions use point matching loss to learn their weights. Compared with simple inner products, they learn to consider the interaction between shape and distance information, and can learn the feature mapping relationship between source features and target features to output more accurate similarity scores. At the same time, it can smooth (regularize) the matching volume and suppress matching noise. A Softmax function is applied to each row of the M×M single-channel image to obtain the mapping matrix m, converting the matching cost into a probability. m(i,j) represents y j is x i The probability of the corresponding relationship, that is, y j With x i The higher the score, the more similar the matching points are, and the higher the matching degree. In order to find the matching corresponding point pairs, perform argmax on each row of m to find a set of corresponding point pairs (x i ,y i ).
[0100] S5. Construct a rigid body motion parameter estimation module and convert the point pair (x i ,y i ) is input into the rigid body motion parameter estimation module, and the rigid transformation rotation matrix and translation vector are output;
[0101] Motion parameter estimation is the ultimate goal of learning the network, and all previous work serves this ultimate goal. The above implementation uses a learnable method to embed low-dimensional input features into a higher-dimensional space, and through learning, a better mapping relationship m(·) can be found in the high-dimensional space, so that the source point cloud obtains a more reliable corresponding relationship in the target point cloud to obtain the optimal match;
[0102] Furthermore, the specific implementation method of step S5 includes the following steps:
[0103] S5.1. Construct a rigid body motion parameter estimation module, substitute the point pair coordinates obtained in step S4 into the formula for minimizing the objective function, use singular value decomposition SVD to calculate U and V, and then solve R XY , t XY , the calculation formula is:
[0104] H=U∑V T
[0105] in, H is an arbitrary matrix, Σ is a diagonal matrix;
[0106] S5.2.S5.2. Based on R obtained in step S5.1 XY , t XY , update the source point cloud, obtain a new source point cloud, repeat steps S3 and S5 until the convergence condition is met, and the final estimate of the motion parameters (R*, t*) is the composition of all iterative intermediates (R(n), t(n)), and output the rigid transformation rotation matrix and translation vector.
[0107] Furthermore, after updating the source point cloud, the local geometric features of the point cloud have not changed, only the Euclidean distance has changed, so only the Euclidean features need to be updated;
[0108] Furthermore, the loss of the method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance mainly comes from two parts: rigid transformation loss And the projection point matching loss The final loss is the sum of these two terms, expressed as:
[0109]
[0110]
[0111] Among them, P is the number of times each input pair passes through the network LoFNet iteration during the training phase, and γ and α are hyperparameters of network training, which are used to increase the weight of positive excitation.
[0112] The expression of rigid transformation loss is:
[0113]
[0114] These two terms define the distance on SE(3), where and represents the motion estimated by the network, and Represents the true value.
[0115] The projected point matching loss is used to supervise the convolution of the similarity matrix, using the standard cross entropy loss function.
[0116]
[0117]
[0118]
[0119] Among them, τ is a hyperparameter used to control the distance between two point features. If x i With y j* If the distance between them is less than τ, they are considered to be a pair of matching points, on which the supervision signal is applied, otherwise the supervision signal cannot be applied, and the total matching loss is the average loss of all iterations. N is the number of sampling points, x i represents the i-th point in the source sampling point set, y i represents the jth point in the target sampling point set, j * Represents the index of the i-th point in the target sampling point set that is closest to the source sampling point set under the true value transformation.
[0120] The experimental results and analysis of point cloud registration using this embodiment are as follows: the performance of the deep neural network point cloud registration system LoFNet based on local features and Euclidean space distance is tested and evaluated. Training is performed on the ModelNet40 dataset, and the effectiveness of each component is verified using ablation. The performance is tested on the ModelNet40 dataset and compared with several representative classic mainstream systems. The generalization performance of LoFNet and the comparison model is tested on the Stanford 3D Scanning Repository dataset without fine-tuning, and a visual registration result is given.
[0121] Experimental environment and settings: The experimental platform is Intel Core i9-11900K3.5 GHZ 8-core CPU processor and single-core NVIDIA GeForce RTX 3090. Based on the Pytorch framework, Adam optimizer, β1=0.9, β2=0.999. 100 rounds of training on ModelNet40, the initial learning rate is set to 0.001, and the learning rate is divided by 10 every 30 rounds. The number of training iterations per round is set to 3, that is, the rigid alignment is updated 3 times, and the final rigid transformation is the combination of these 3 intermediate transformations. The number of key points in training is set to 256, and the geometric neighborhood is set to 64. The experiment uses the same method as PRNet, randomly sampling 1024 points on the shape surface to generate the source point cloud, performing a rigid body transformation along each coordinate axis on the source point cloud, randomly rotating [0,45°], and translating [-0.5,0.5] to generate the target point cloud. In order to generate partially overlapping point clouds, a distant random point away from the two point clouds is fixed, and 768 nearest neighbors of the distant random point are retained for each point cloud, and the remaining points are deleted to generate a point cloud with overlapping areas.
[0122] The performance evaluation indicators are set as follows:
[0123] In order to evaluate the performance of the point cloud registration algorithm, two commonly used registration error metrics in the industry are selected: Root Mean Square Error (RMSE) and Mean Absolute Error (MAE), which are used to measure the error between the source point cloud and the real point correspondence after the estimated motion parameter transformation, as shown below:
[0124]
[0125]
[0126] Among them, p is the point of the source point cloud, q is the corresponding point in the target point cloud, and M i,j represents the set of all corresponding relationships, R represents the estimated rotation parameter, and t represents the estimated translation parameter. The error evaluation indicators related to rotation are all in degrees, and the error evaluation indicators related to translation are all in millimeters. RMSE is equivalent to the L2 norm, and MAE is equivalent to the L1 norm. The higher the degree, the more the calculation result is related to the larger value, while ignoring the smaller value. Therefore, RMSE is more sensitive to outliers.
[0127] In order to verify the impact of different parts of the LoFNet network on the overall error, an ablation experiment was designed to test the registration error of each part of the network when the point cloud structure is unknown on the ModelNet40 dataset. The registration experiment with unknown point cloud structure refers to the registration experiment in which the training category and test category of the sample are the same but the structure is different, which is used to verify the registration ability of the algorithm when facing point clouds with different structures. The ModelNet40 dataset has a total of 12,311 shapes, of which 9,843 shapes are used for training and 2,468 shapes are used for testing. The experimental results are shown in Table 1:
[0128] Table 1 LoFNet network ablation experiment
[0129]
[0130] There are four key parts of the network used for testing:
[0131] (1) Point features (Pfs): high-dimensional point features learned by the PointNet network.
[0132] (2) Neighborhood geometric features (Ngs): The local feature module learns local neighborhood geometric features.
[0133] (3) Euclidean features (Efs): the Euclidean space distance between points.
[0134] (4) Neighborhood geometry feature module: The feature space similarity measurement module is used to measure the similarity of two features and then find corresponding points. Here, this embodiment adopts the characteristic inner product (Cip) commonly used in the industry and the geometric distance perception similarity matrix convolution (Gdp) designed in this embodiment. The neighborhood geometry feature module selects the 64 nearest points in the neighborhood and the 128 nearest points in the neighborhood for comparative testing.
[0135] In the test results of Table 1, the most prominent feature is that the basic structure Pfs+Cip has a large accuracy improvement with the final component structure of the system Pfs+Ngs_k128+Efs+Gdp. During this period, the Ngs, Efs and Gdp modules are added in sequence on the basis of the basic structure, and the error of the system is gradually reduced. Especially after adding the Ngs local feature module, the network can learn the local neighborhood geometric features of the point, which significantly improves the feature identification of the point, providing a strong basis for the subsequent point-to-point relationship mapping, and then obtains a more accurate pose, making the network's RMSE (R) drop sharply from 13.461 to 4.626, and MAE (R) drop from 5.036 to 2.324. At the same time, RMSE (t) and MAE (t) are also reduced to a certain extent. The 128-dimensional Ngs is better than the 64-dimensional Ngs, but in order to balance the accuracy, speed and complexity of the network, no higher dimension is set in the module. The addition of Euclidean features Efs helps to improve the accuracy of the system. The geometric distance-aware similarity matrix volume Gdp product has more advantages than the feature inner product Cip. Gdp can obtain a more accurate point correspondence mapping relationship, enabling the system to find the correct matching points, reduce the error of pose estimation, and make the system's accuracy converge to this group of combinations.
[0136] Registration experiment with unknown point cloud structure on ModelNet40:
[0137] Seven representative and highly relevant methods were selected for comparison. ICP, Go-ICP and FGR are three optimization-based point cloud registration methods. PointNetLK, DCP-v2, PRNet, IDAM-GNN and LoFNet (Ours) are learning-based point cloud registration methods. PointNetLK is a registration method without corresponding points, and the rest are registration methods with corresponding points. The experimental results of PRNet and IDAM-GNN are from the authors' publicly published papers (applicable to Table 2, Table 3, Table 4), and the rest are obtained from the test of this implementation method. The test results of the system registration error with unknown point cloud structure are shown in Table 2.
[0138] Table 2 Comparison of point cloud registration errors of ModelNet40 with unknown structure
[0139]
[0140]
[0141] It is not difficult to see from the experimental results in Table 2 that the errors of the optimization-based methods ICP, Go-ICP and FGR are generally greater than those of the learning-based methods, especially the classic ICP method, which has a larger error. The ICP algorithm is easily affected by the initial disturbance. If the initial position distance is too large, the algorithm will fall into the local optimum and cannot converge to the global optimal solution. Go-ICP combines the strategies of global search and local optimization to find the global optimal solution. To a certain extent, it can overcome the problem that the traditional ICP is prone to fall into the local optimal solution, but its computational complexity is high and the accuracy is not ideal. FGR uses FPFH to extract features, uses the bidirectional verification method to eliminate outliers, and uses a robust function to transform non-convex problems into convex problems, thereby seeking the optimal solution, and the accuracy is improved to a certain extent. Compared with traditional algorithms, learning-based methods have more advantages with their efficient matching performance. The PointNetLK algorithm extracts high-level features of the point cloud through PointNet, and uses the LK method to iteratively calculate the best alignment between these features, obtaining matching errors of MAE(R)6.126 and MAE(t)0.019. DCP-v2 uses the attention mechanism to calculate the soft correspondence between point pairs instead of looking for hard correspondence (i.e., the direct nearest point pair), and can estimate the optimal transformation parameters required for registration, obtaining a smaller matching error of MAE(R)3.436 and MAE(t)0.017. PRNet designs a corresponding Gumbel–Softmax matching matrix, and IDAM-GNN combines shape and position information and a two-stage point elimination method, which has a lower registration error than the PRNet method. The method of this embodiment increases the receptive field of the feature descriptor by learning local neighborhood geometric features, and incorporates local neighborhood geometric features and Euclidean space features when constructing augmented features, effectively improving the saliency of the features, reducing the impact of fuzzy features on registration performance, and using geometric distance-aware similarity convolution to find more accurate matching points in the point pair mapping, obtaining an error lower than IDAM, which is better than many methods.
[0142] Registration experiment of unknown point cloud category on ModelNet40:
[0143] The experiment with unknown point cloud categories is a point cloud registration experiment with different training categories and test categories, which is used to test the generalization ability of the algorithm on untrained point cloud categories. Consistent with the ROPNET method, on the ModelNet40 dataset, this implementation uses the first 20 categories for system training and the remaining 20 categories for system testing, comparing the generalization ability of various algorithms. The experimental results are shown in Table 3.
[0144] Table 3. Experimental results of registration of unknown point cloud categories
[0145]
[0146] Compared with the experiment with unknown point cloud structure, ICP, Go-ICP and FGR methods obtained similar errors. The optimization-based methods do not require training to update parameters. Their registration performance is relatively stable and will not be greatly affected by changes in structure and category. Therefore, it is close to the experimental results on unknown point cloud structure. The accuracy of the methods based on deep learning has decreased to varying degrees, especially the accuracy of the PointNetLK method has decreased significantly. The methods based on deep learning are data-driven. When the sample data categories of training and testing are different, the difference is large. The system lacks prior knowledge of test samples, which leads to a decrease in registration accuracy. Therefore, deep learning methods generally have the disadvantages of relying on specific sample structures and poor generalization performance. Compared with PointNetLK and DCP-v2, PRNet, IDAM-GNN and the system of this embodiment have slightly better generalization performance. Registration experiment of point cloud with Gaussian noise on ModelNet40:
[0147] In the process of real-world data collection, measurement errors and sensor errors are inevitable. Adding noise can simulate these measurement errors, making the point cloud data closer to the real data. Gaussian noise is a commonly used simulation method that does not change the number and distribution characteristics of points, nor does it change the geometric "shape" of the overall point cloud. It only has slight changes locally. Adding noise will cause random disturbances to each point. In order to avoid excessive disturbances in the point cloud and excessive impact on the data processing results, this implementation adds N(0,0.01 2 ) noise, and limit the extreme deviation to [-0.5, 0.5]. Table 4 shows the test results of the algorithm registration after adding noise data to the samples with unknown point cloud structure on ModelNet40.
[0148] Table 4 Registration results of samples with unknown point cloud structure on ModelNet40 with added noise data
[0149]
[0150]
[0151] Compared with the corresponding noise-free registration experimental results in Table 2, it is found that due to the presence of Gaussian noise, the performance of the traditional point cloud registration algorithm varies greatly: FGR performance drops rapidly, FGR uses FPFH to extract features, and FPFH is sensitive to noise and is greatly affected by noise. The ICP registration accuracy does not drop much, and the Go-ICP performance is slightly improved. The learning-based method is generally more robust to noise, and its accuracy is not greatly affected. The system of this embodiment shows strong robustness, and its registration accuracy is not much different from the noise-free registration accuracy in Table 2. The visualization results of the noisy point cloud registration of the system of this embodiment are shown in the figure. Figure 4 shown.
[0152] Figure 4 In the figure, green represents the target point cloud and red represents the source point cloud. The point cloud data with added noise has a small random offset from the original position, which is a certain test for the algorithm. The source point cloud is aligned with the target point cloud after the motion parameter transformation estimated by the algorithm, and part-to-part registration is performed. The first row is the initial pose of the point cloud, and the second row is the result of the registration. LoFNet still maintains a high registration accuracy on the data with added noise. In the visualization results, the edges of the source point cloud and the target point cloud can be well aligned, and the rotation error is also small.
[0153] Time test of algorithm running on ModelNet40:
[0154] In the test of the algorithm running time, 768, 1024, 2048, and 4096 points were sampled for the point cloud data in the ModelNet40 dataset, and the running time of LoFNet and other six methods was tested on the system of this embodiment, in seconds. The experimental results are shown in Table 5.
[0155] Table 5 Algorithm running time comparison
[0156]
[0157]
[0158] As can be seen from Table 5, the running time of traditional optimization-based methods is generally longer than that of learning-based methods, especially the Go-ICP method, which has a longer running time and a slower speed, which is quite different from other methods. The traditional ICP method takes a reasonable amount of time when the number of initial sampling points is small. As the number of sampling points increases, the time increases relatively rapidly. Compared with the traditional ICP method, the running time of the learning-based method does not increase much, which is also the advantage of the learning-based method. It can highlight its superior performance when processing large amounts of data. The DCP-v2 method is the fastest among all learning methods overall, and its performance degrades only slightly when the number of sampling points is 4096. The speed of IDAM-GNN and LoFNet is similar, and LoFNet has a slight advantage in comparison.
[0159] Accuracy experiments at different overlap rates on the ModelNet40 dataset:
[0160] In order to evaluate the impact of different overlap rates on system accuracy, this implementation sets point clouds with overlap rates of 25%, 35%, 45%, 55%, 65% and 75% on the ModelNet40 dataset to evaluate the registration accuracy of LoFNet. Here, only the MAE absolute error is used as the evaluation criterion, as shown in Figure 5 and Figure 6 As shown, it can be seen that in the part-to-part point cloud registration task, the overlap rate of the two point clouds has a great influence on the registration accuracy. The higher the overlap, the higher the system configuration accuracy. As the overlap rate continues to increase, the system accuracy improvement becomes slow, which shows that after the system reaches a certain accuracy, the room for improvement is getting smaller and smaller.
[0161] Visualization experiments on the Stanford 3D Scanning Repository dataset:
[0162] This implementation tested the registration performance of various comparison algorithms on the ModelNet40 dataset when the point cloud structure and point cloud category were unknown. This implementation used the Stanford 3D Scanning Repository to test the generalization performance of various comparison algorithms across datasets. The learning-based methods were not fine-tuned, and all methods were directly tested according to their original parameter settings. Figure 7 The visualization effects of the four methods of ICP, DCP-v2, IDAM-GNN, and Ours are given. Black represents the target point cloud, purple represents the source point cloud, and part-to-part registration is performed. The first column is the initial pose of the point cloud, and the 2nd to 4th columns are the registration effects of ICP, DCP-v2, IDAM-GNN, and LoFNet respectively. Through the above effect comparison, the ICP method has a large registration error when the initial position offset is large. Even after 8 iterations, it is easy to fall into the local minimum and cannot reach global convergence. The DCP-v2 method can basically align with the target point cloud as a whole, but the local accuracy is not enough. The IDAM-GNN method can be closer to the true value and the generalization effect is relatively good. Thanks to the better local neighborhood learning ability, LoFNet can effectively obtain the geometric local information and spatial distance information of the point cloud, so that it can obtain effective point pair projection information in the geometric similarity convolution, and can still accurately identify the correct matching point pairs in the absence of prior knowledge of the test system to obtain a more accurate pose. Compared with other methods, the method of this implementation has better generalization ability.
[0163] It should be noted that relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0164] Although the present application has been described above with reference to specific embodiments, various modifications may be made thereto and parts thereof may be replaced with equivalents without departing from the scope of the present application. In particular, as long as there is no structural conflict, the various features in the specific embodiments disclosed in the present application may be used in combination with each other in any manner, and the fact that these combinations are not exhaustively described in this specification is only for the sake of omitting space and saving resources. Therefore, the present application is not limited to the specific embodiments disclosed herein, but includes all technical solutions falling within the scope of the claims.
Claims
1. A deep neural network point cloud registration system based on local features and Euclidean space distance, characterized in that: It includes a point cloud feature learning module, a feature space aggregation module, a feature space similarity measurement module and a rigid body motion parameter estimation module, wherein the point cloud feature learning module includes an SPNet backbone network and a LoF local feature extraction network; The input of the deep neural network point cloud registration system based on local features and Euclidean space distance is the source point cloud to be registered. and target point cloud x N is the Nth point of the source point cloud, y M is the Mth point in the target point cloud; The source point cloud X and the target point cloud Y are connected to the point cloud feature learning module respectively. After the SPNet backbone network and the LoF local feature extraction network feature learning in the point cloud feature learning module, the source point cloud X and the target point cloud Y respectively obtain the source point cloud feature vector h with neighborhood geometric information X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·); Then h X (·),h Y (·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module, and the augmented feature tensor T(·) is generated by feature aggregation; Then the augmented feature tensor T(·) is input into the feature space similarity measurement module, and the point pair mapping relationship between the source feature and the target feature is learned using 1×1 convolution. The Softmax function is applied to each row of the point pair mapping relationship matrix to obtain the similarity score, and the argmax function is used to obtain the corresponding point pairs. Then the corresponding point pairs are input into the rigid body motion parameter estimation module, and singular value decomposition (SVD) is used to calculate U and V, where U is the left singular vector matrix and V is the right singular vector matrix. Then U and V are used to calculate (R XY ,t XY ), where R XY is the rigid transformation rotation matrix, t XY is the translation vector.
2. A method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance as claimed in claim 1, characterized in that: The steps include: S1. Build a point cloud feature learning module, including the SPNet backbone network and the LoF local feature extraction network; S2. Connect the source point cloud X and the target point cloud Y to the point cloud feature learning module constructed in step S1 respectively. After learning the features of the SPNet backbone network and the LoF local feature extraction network in the point cloud feature learning module, the source point cloud feature vector h with neighborhood geometric information is obtained. X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·); S3 builds a feature space aggregation module and transforms the h obtained in step S2 into X (·),h Y (·) and the Euclidean distance features between the source point cloud and the target point cloud are input into the feature space aggregation module to generate the augmented feature tensor T(·); S4. Construct a feature space similarity measurement module, input the augmented feature tensor T(·) obtained in step S3 into the feature space similarity measurement module, and output the point pair (x i ,y j ); S5. Construct a rigid body motion parameter estimation module and convert the point pair (x i ,y j ) is input into the rigid body motion parameter estimation module, and the rigid transformation rotation matrix and translation vector are output.
3. The method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance according to claim 2, characterized in that: The specific implementation method of step S1 includes the following steps: S1.
1. Construct a LoF local feature extraction network. The feature points to be calculated are input into the K neighboring modules to search for K nearest neighbors in the neighborhood to form a K×d-dimensional feature. Then, it is processed by 5 multi-layer perceptrons MLP. The sizes of the 5 multi-layer perceptrons MLP are 64, 128, 256, 512, and d respectively. After processing, a K×d-dimensional feature vector is obtained. Then, the symmetrical maximum pooling function MaxPooling is used to obtain a 1×d-dimensional neighborhood global geometric feature vector. Finally, the local feature extraction operation is repeated on the N feature points to be calculated to obtain the neighborhood local geometric features of the same dimension as the input. The local feature extraction of the source point cloud f(x1, x2, …, x N ) is calculated as: Local feature extraction of target point cloud f(y1,y2,…,y M ) is calculated as: Among them, h represents the feature extraction layer, g is the symmetric method, γ is the higher-dimensional feature extraction, and g is set to MaxPooling or SumPooling; S1.
2. Build the SPNet backbone network, remove the maximum pooling of PointNet and its subsequent components, use the streamlined PointNet as the backbone network SPNet, the initial input is an N×3 point cloud, and then the first STN affine transformation generates a 3×3 transformation matrix to adjust the input point cloud in the space to align the input, and then pass through the MLP of size 64, 64 to obtain 64-dimensional features, and then pass through the second STN affine transformation to generate a 64×64 transformation matrix to align in the feature space, and then pass through the 64, 128 MLP and the 128, 256 MLP to upgrade the features to obtain 128-dimensional and 256-dimensional features. The MLPs in the network share weights, and each MLP contains ReLu and BN.
4. The method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance according to claim 3, characterized in that: The specific implementation method of step S2 is to connect the source point cloud X and the target point cloud Y to the point cloud feature learning module constructed in step S1 respectively, and after the local neighborhood geometric features are processed by the LoF local feature extraction network, they are cascaded with the point features of the SPNet backbone network to generate 64, 192 and 384-dimensional features respectively. Finally, the feature description of each point is generated as a 384-dimensional feature vector that combines the length of the point feature and the local geometric feature, and the source point cloud feature vector h with neighborhood geometric information is obtained. X (·) and the target point cloud feature vector h with neighborhood geometric information Y (·).
5. The method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance according to claim 4, characterized in that: The specific implementation method of step S3 is to obtain h X (·),h Y (·) and the Euclidean distance feature between the source point cloud and the target point cloud are input into the feature space aggregation module to calculate the distance augmented feature tensor T(·), and the calculation expression is: Among them, [;] represents cascade, T(i,j) represents the point pair (x i ,y j )’s geometric features and Euclidean features’ distance augmented feature tensor; The 2K+4-dimensional distance augmented feature tensor T(·) is obtained, including the K-dimensional h X (i) Geometric features, K-dimensional h Y (j) Geometric features, and 4-dimensional Euclidean features.
6. The method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance according to claim 5, characterized in that: The specific implementation method of step S4 includes the following steps: S4.
1. Set the distance augmented feature tensor obtained in step S3 to a 2D image with (2K+4) channels; S4.
2. Use a series of 1×1 2D convolutions on T(·), and output a single-channel image of the same spatial size at the last layer, which is equivalent to applying 32,32,32,32,1 multi-layer perceptron MLP on T(·), 1×1 convolution, and using point matching loss to learn weights to obtain the feature mapping relationship between the target features. Apply the Softmax function to each row of the S×S single-channel image to obtain the similarity matrix m(·), convert the matching cost into probability, and obtain m(i,j) representing y j is x i The probability of the corresponding relationship, that is, y j With x i The similarity score of the registration task is to find a rigid transformation rotation matrix R XY ∈SO(3) and the translation vector Where SO(3) is a 3D rotation group, which aligns the original point cloud X with the target point cloud Y. The point cloud registration problem is described as a mean square error minimization problem. The point cloud registration task is achieved by minimizing the objective function. The formula for minimizing the objective function is: Rigidity change E(R XY ,t XY ,m) is defined as a variable (R XY ,t XY ),R XY ∈SO(3), m is the mapping from points in X to points in Y, y m(xi) Represents any point x i ∈X is the corresponding point in the target point cloud Y using the mapping method of m; S4.
3. Then perform argmax on each row of the similarity matrix m(·) to obtain the point pair (x i ,y j ), set the X and Y centroids to be defined as Then we have: R XY =VU T Among them, U is the left singular vector matrix, V is the right singular vector matrix; m is the mapping of each point in X to the corresponding point in Y, expressed as: m(x i ,Y)=argmin||R XY x i +t XY -y j ||2。 7. The method for constructing a deep neural network point cloud registration system based on local features and Euclidean space distance according to claim 6, characterized in that: The specific implementation method of step S5 includes the following steps: S5.
1. Construct a rigid body motion parameter estimation module, substitute the point pair coordinates obtained in step S4 into the formula for minimizing the objective function, use singular value decomposition SVD to calculate U and V, and then solve R XY , t XY , the calculation formula is: H=U∑V T in, H is an arbitrary matrix, Σ is a diagonal matrix; S5.
2. R obtained based on step S5.1 XY , t XY , update the source point cloud, obtain a new source point cloud, repeat steps S3 and S5 until the convergence condition is met, and the final estimate of the motion parameters (R*, t*) is the composition of all iterative intermediates (R(n), t(n)), and output the rigid transformation rotation matrix and translation vector.
