Heterogenous point cloud registration model and method based on deep learning SR-Net
Through the SR-Net model, combined with pyramid feature extraction and geometric Transformer units, the problems of noise sensitivity and insufficient local structure information are solved, significantly improving the accuracy and robustness of point cloud registration in urban environments.
Patent Information
- Application Number
- CN202410785764.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-06-18
AI Technical Summary
Existing deep learning point cloud registration methods are highly sensitive to noise and outliers in urban environments. Partial overlap problems are difficult to accurately match, and local structural information is insufficiently considered, which affects registration accuracy and robustness.
A SR-Net model based on deep learning is proposed. It uses the pyramid feature extraction module, aggregation point feature extraction and matching module, local feature extraction module and global registration module, combined with the geometric Transformer unit and self-attention feature extraction layer to enhance the comparison. Utilize noise tolerance and local and global structure information, and design adaptive topk operation and loss function to optimize registration accuracy.
The accuracy and robustness are significantly improved in urban heterogeneous point cloud registration, achieving higher noise tolerance and accurate registration of partially overlapping areas, and improving the overall registration performance of the model.
Smart Images

Figure CN118691653A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of urban area point cloud registration, and specifically relates to a heterogeneous point cloud registration model and method based on deep learning SR-Net. Background Art
[0002] The registration technology of heterogeneous point clouds in urban areas is a key technology for three-dimensional spatial data processing and is widely used in many fields such as urban planning, infrastructure management, transportation planning, disaster assessment, key building protection, and environmental monitoring. This technology creates a unified high-precision three-dimensional model by accurately aligning point cloud data collected at different times, perspectives, or sensors. Although the registration technology of heterogeneous point clouds in cities plays a key role in fusing different sensor data to obtain three-dimensional models, it also faces many challenges. First, due to the differences in acquisition mechanism and capture time, point cloud data collected at different times or environments may contain noise and outliers. It is difficult to ensure that the same points are located in the same position, and it is difficult to generate three-dimensional points of the same order of magnitude between two acquired point clouds, which will interfere with the accuracy of the registration process. Secondly, due to the limitation of the sensor field of view, the heterogeneous point cloud data have different perspectives when collected, and the collected point clouds may only partially overlap. The acquired point clouds contain missing parts, so the remaining point clouds are incomplete, which also increases the complexity of registration. Finally, the complex and changeable structure of the urban environment makes the robustness and accuracy of the algorithm higher.
[0003] In the field of heterogeneous point cloud registration, deep learning technology has been widely used to improve the accuracy and robustness of registration, and the registration method based on end-to-end learning is a very active and common method. End-to-end learning registration methods can directly learn the feature representation required for registration from the original data and output the registration results at one time; in addition, they show superior performance when processing point cloud data with noise, different scales and distributions, especially in cross-source point cloud registration, these methods can effectively process point cloud data captured by different sensors. Deng et al. proposed the RelativeNet method, which achieves fast point cloud alignment by assigning specific directions to key points to eliminate local reference frame calculations, and has good generalization performance and speed; the DeepVCP model developed by Lu et al. selects key points through feature weight matching, which enhances the accuracy of registration; the 3DRegNet proposed by Pais et al. can distinguish between internal and external points and accurately estimate the transformation matrix. PointNetLK, which combines neural networks and optimization methods, provides a new approach to point cloud registration through an improved LK algorithm and PointNet model; Huang et al. further improved PointNetLK, reducing the reliance on labels and improving the accuracy of registration. DeepGMR optimizes the transformation solution by learning the correspondence between points and distribution parameters, while DGR combines convolutional networks, differentiable weighted Procrustes algorithm and SE(3) optimizer to achieve fine registration; the DCP technology proposed by Wang and Solomon uses DGCNN and Transformer networks to process point cloud features, and uses SVD to estimate the transformation, showing high noise tolerance. On this basis, PRNet adds a key point detection mechanism to optimize the anti-interference of low overlap and noise; Lu et al.'s DeepICP method uses PointNet++ feature extraction, and detects key points through multi-layer perceptrons and point weight layers to improve the registration accuracy; Ye w and Lee's RPMNet combines PPFNet feature extraction with coordinate information, identifies key points through parameter prediction modules, and enhances the robustness to noise and slightly overlapping data; Ginzburg and Raviv's deep weighted consistency unsupervised network uses DGCNN to capture global and local features, construct a probability matching matrix, and further improve the registration performance. These methods have solved the problems of noise sensitivity, high computational cost and limited generalization ability in traditional point cloud registration to a certain extent through deep learning technology, showing the significant advantages of deep learning technology in heterogeneous point cloud registration.
[0004] Although existing deep learning registration methods can be designed and optimized specifically for registration tasks, and can fully utilize the advantages of traditional mathematical theories in registration, and give full play to the advantages of deep neural networks in learning complex feature representations to achieve effective registration, existing methods still have some limitations: 1) Sensitivity to noise and outliers: Although some models have a high tolerance to noise, in urban environments, point cloud data are collected from a variety of building structures, roads, vegetation, and various man-made and natural objects. These scenes are not only complex and varied in geometry, but also have significant differences in texture and lighting conditions. Therefore, when faced with extreme noise or outliers that are prone to occur, deep learning models may produce misleading matches and affect registration accuracy. 2) Partial overlap problem: When point cloud data only partially overlap, the difficulty of correct matching increases, and deep learning models may find it difficult to find enough corresponding points to accurately estimate the transformation matrix. 3) Insufficient consideration of local structural information: Although feature metric registration methods take local structural information into account, both global and local structural information are very important for registration, so there may still be limitations in some cases. Summary of the invention
[0005] In view of the problems existing in the background technology, the purpose of the present invention is to provide a heterogeneous point cloud registration model and method based on deep learning SR-Net. The SR-Net (Super-point Registration Network) registration model is based on deep learning technology. Through innovative network structure and learning strategy, it improves the tolerance to noise and outliers, optimizes the registration accuracy of partially overlapping areas, and enhances the integrated utilization of global and local structural information. At the same time, in order to further improve the registration accuracy of the model, an adaptive topk operation is determined and a loss function is designed. The registration method based on this model shows higher accuracy and robustness in heterogeneous point cloud registration tasks, and has important theoretical research and practical application value in the field of urban heterogeneous point cloud registration.
[0006] To achieve the above object, the technical solution of the present invention is as follows:
[0007] A heterogeneous point cloud registration model based on deep learning SR-Net, including a pyramid feature extraction module, an aggregate point feature extraction and matching module, a local feature extraction module, a local registration module and a global registration module;
[0008] The pyramid feature extraction module is used to capture the features of point clouds at different sampling rates to obtain the features of aggregated points and local point features;
[0009] The cluster point feature extraction and matching module extracts the matching relationship between cluster points based on the features of the cluster points; the cluster point feature extraction and matching module is obtained by cascading three identical geometric Transformer units and one cluster point matching unit; the geometric Transformer unit is used to obtain the fusion features of the cluster points based on the features of the cluster points, and the cluster point matching unit is used to match the correlation of the obtained fusion features;
[0010] The geometric Transformer unit includes a self-attention feature extraction layer and a cross-attention feature extraction layer; the self-attention feature extraction unit is used to extract the correlation of the geometric space between each aggregation point based on the features of the aggregation points; the cross-attention feature extraction unit merges information from different point clouds based on the correlation of the geometric space between the aggregation points to obtain the fusion features of the aggregation points;
[0011] The local feature extraction module is used to find matching points between two point clouds based on local point features and correlation matching results, and obtain the matching situation of the aggregation points of the source point cloud and the target point cloud to the neighborhood local points, as well as the relationship between the neighborhood points of a pair of aggregation points;
[0012] The local registration module solves the transformation matrix based on the relationship between the neighborhood points of each pair of aggregation points;
[0013] The global registration module compares the transformation matrix obtained by solving the relationship between the neighborhood points of all the clustered points, selects the transformation matrix that can better satisfy the relationship between the neighborhood points in the global point correspondence, and performs registration based on the transformation matrix.
[0014] Furthermore, the pyramid feature extraction module includes N layers of KPconv feature extraction network layers, each layer is used for downsampling and feature integration, as well as upsampling and feature dimension reduction of the input data; wherein, the last layer of KPconv feature extraction network layer after downsampling outputs the features of the aggregated points, and the last layer of KPconv feature extraction network layer after upsampling outputs the features of the local points.
[0015] Furthermore, the working process of the self-attention feature extraction layer is:
[0016] For the input feature vector X∈R |X|×d , output feature vector Y, that is, the correlation of geometric space, the value y in the feature vector i The calculation formula is,
[0017]
[0018] Among them, d is the characteristic dimension of the input vector, R is the real number field, |X| is the number of cluster points, and a i,jis the weight coefficient, i is the i-th row of the eigenvector X, j is the j-th column of the eigenvector X, and x j is the feature vector value of the jth column, and V is the value in the attention mechanism;
[0019] Weight coefficient a i,j By the attention score e i,j Calculate the normalized exponential function row by row to get the attention score e i,j The calculation of is shown in formula (2):
[0020]
[0021] Among them, Q is the query in the attention mechanism, K is the key in the attention mechanism, d is the feature dimension of the input vector, C is the projection matrix of the geometric structure embedding, which is used to capture the geometric structure information with transformation invariance inside the point cloud, T represents the transpose of the matrix, and r i,j Embedded by geometric structure, embedded by distance and angular embedding Weighted, D is the projection matrix of distance embedding, A is the projection matrix of angle embedding;
[0022] For any two clustering points p i and p j , the distance between them is s i,j =||p i -p j ||2, the distance embedding between these two points As shown in formula (3),
[0023]
[0024] Among them, σ d is a hyperparameter used to adjust the sensitivity to distance changes, 2k and 2k+1 represent even and odd positions respectively;
[0025] Select the aggregation point p i The k nearest neighbor clustering points form a point set K. For each point p in the point set K l Calculate its value with p i 、p j The angle α i,j,l , α i,j,l =∠(p l -p i ,p j -p i ), p l Different from p i and p j The third aggregation point
[0026] The angle embedding It can be calculated by formula (4):
[0027]
[0028] Among them, σ a is a hyperparameter used to adjust the sensitivity to angle changes.
[0029] Furthermore, the working process of the cross-attention feature extraction layer is:
[0030] The point sets K of the two point clouds output by the self-attention feature extraction unit are defined as point set M and point set N, respectively, and their feature matrices are X' M and X' N , that is, the output feature vector Y of the self-attention feature extraction layer, then the cross-attention feature matrix Z of the aggregation point M M , and its calculation method is shown in formula (5):
[0031]
[0032] in, is the cross attention feature matrix Z of the aggregation point M M A row vector in, |N| is the number of points in the point set N, a i,j ′ is composed of the cross attention score e i,j 'Calculate the normalized exponential function row by row to get, e i,j The calculation formula of ' is shown in formula (6), where o is the feature dimension of the input vector.
[0033] Furthermore, the working process of the aggregation point matching unit is as follows:
[0034] The final output of the three geometric Transformer units is the fusion features F A and F B , and then normalize the fused features to the unit sphere to ensure that the length of the feature vectors is consistent, and then calculate their Gaussian correlation matrix Τ∈R |A|×|B| , where the elements of the matrix τ i,j The calculation of is shown in formula (7):
[0035]
[0036] Double normalize the Gaussian correlation matrix T to obtain a new matrix matrix Medium Element The calculation formula is shown in formula (8):
[0037]
[0038] in, is obtained by calculating the element τ in the Gaussian correlation matrix T i,j The result of two normalization calculations is to reduce ambiguous matches and effectively eliminate wrong matches. |A| is the number of points in point cloud A, and |B| is the number of points in point cloud B. represents the sum of the i-th row of the Gaussian correlation matrix T, and k represents the k-th element of the i-th row;
[0039] Finally, from the matrix Select the largest N indices (x i ,y i ), that is, arrange the N indexes from large to small, and select the first N indexes, which correspond to the most likely matching cluster points in the two point clouds, as shown in formula (9):
[0040]
[0041] in, is the fusion feature of point cloud A, is the fusion feature of point cloud B, E∈R N×2 Stores the index information of N pairs of matching cluster points, topk x,y (·) is the adaptive topk operation.
[0042] Furthermore, the specific process of the adaptive topk operation is as follows:
[0043]
[0044] Among them, dist_mat(·) is the distance evaluation function of two features, and δ(·) is the random replication function.
[0045] Furthermore, the working process of the local feature extraction module is:
[0046] For each pair of cluster points ( is an aggregation point of point cloud A, b yi is the cluster point in the matching point cloud B), first associate it with the local point in the corresponding neighborhood, recorded as and Among them, h is the feature dimension, and m is the number of neighborhood points;
[0047] Construct the cost matrix cost i ∈R m×m , as shown in formula (11), where Θ is the feature matrix of two local regions,
[0048]
[0049] Calculate the soft assignment matrix Z based on the cost matrix i , to determine how the points around each clustered point align with the points in the corresponding area in the other point cloud, and then from Z i The point correspondence is extracted from , that is, if a pair of matches is ranked in the top k items of its row and column at the same time, then the pair of matches is selected, and finally the matching of the aggregated points of the source point cloud and the target point cloud to the local points in the neighborhood is output, as shown in formula (12), where and They are points from two point clouds A and B respectively;
[0050]
[0051] The present invention also provides a method for performing heterogeneous point cloud registration based on the above-mentioned deep learning SR-Net heterogeneous point cloud registration model, comprising the following steps:
[0052] Step 1. Obtain heterogeneous point set data, preprocess the data, and then divide the preprocessed data into training set and test set;
[0053] Step 2. Pre-train the heterogeneous point cloud registration model of deep learning SR-Net based on the existing data set, use the trained parameters as the initial parameters, and then train the heterogeneous point cloud registration model of deep learning SR-Net based on the training set, using the data in the test set as the label. The loss function L during the training process is:
[0054] L=L oc +L p ,
[0055] Among them, L oc is the overlap-aware circular loss for cluster point matching, L p is the point matching loss for matching the neighborhood points of a pair of clustered points,
[0056] is the loss on point cloud A, is the loss on point cloud B, and the calculations for both are the same.
[0057]
[0058] Where Ψ is a set of anchor patches, which contains all superpoints in point cloud A that have at least one overlapping region in point cloud B; and represents two neighboring points, and are the distances in the feature space of the source point cloud and the target point cloud, Representing neighboring points and The overlap ratio between and Δ A and Δ n is the interval hyperparameter, and γ is the hyperparameter used to adjust the impact of point matching loss.
[0059]
[0060] N g is the number of randomly sampled cluster points during training, L p,i The corresponding relationship of the aggregation point Point matching loss,
[0061]
[0062] I i and J i It represents the point set of unmatched points. The aggregation point C i The matching probability between point x and point y is, The aggregation point C i The matching probability of point x and unmatched points, is the matching probability of point y in the target point cloud and the unmatched point in the source point cloud;
[0063] Step 3. Register the newly collected heterogeneous point cloud data based on the trained deep learning SR-Net heterogeneous point cloud registration model.
[0064] Furthermore, the heterogeneous point cloud data are vehicle-mounted laser radar point cloud, drone-mounted laser radar point cloud and drone oblique photography reconstruction point cloud.
[0065] Furthermore, the preprocessing in step 1 is a downsampling process.
[0066] Furthermore, the training parameters in step 2 are: using the Adam optimizer, the number of training epochs is 80-100, and the weight decay is 10 -6 , the initial learning rate lr = 0.0001, which decays every 4 epochs.
[0067] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:
[0068] The SR-Net model proposed in this paper has superior performance in urban area point cloud registration, with an average RMSE of 1.48; the registration method based on this model shows higher accuracy and robustness in the heterogeneous point cloud registration task, and has important theoretical research and practical application value in the field of urban heterogeneous point cloud registration. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 This is a schematic diagram of the heterogeneous point cloud registration model based on deep learning SR-Net in the present invention.
[0070] Figure 2 It is a structural schematic diagram of the pyramid feature extraction module in the present invention.
[0071] Figure 3 It is a structural schematic diagram of the aggregation point feature extraction and matching module of the present invention.
[0072] Figure 4 This is an initial position diagram of heterogeneous point cloud data from three different data sources in the same scene in Example 1 of the present invention.
[0073] Figure 5 This is the heterogeneous point cloud data after manual registration.
[0074] Figure 6 Schematic diagram of segmentation of heterogeneous point cloud data.
[0075] Figure 7 This is a scale comparison diagram of the data set in Example 1 of the present invention.
[0076] Figure 8 This is a comparison diagram of the vehicle point cloud before and after downsampling in Example 1 of the present invention.
[0077] Fig. 9 This is a graph of the training loss function for a model that does not use pre-training techniques.
[0078] Fig.10 Graph of the training loss function for a model using pre-training techniques.
[0079] Fig.11 This is a comparison chart of the RRE indicator on the validation set.
[0080] Fig.12 The following is a comparison chart of the RTE indicators on the validation set. DETAILED DESCRIPTION
[0081] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention is further described in detail below in conjunction with the implementation modes and the accompanying drawings.
[0082] A heterogeneous point cloud registration model based on deep learning SR-Net. The structural diagram of the model is as follows: Figure 1 As shown, it includes a pyramid feature extraction module, an aggregation point feature extraction and matching module, a local feature extraction module, a local registration module and a global registration module;
[0083] The pyramid feature extraction module is used to capture the features of point clouds at different sampling rates to obtain the features of aggregated points and local point features. The structural diagram of the pyramid feature extraction module is shown in Figure 2 As shown, it includes N layers of KPconv feature extraction network layers, each layer is used to downsample and integrate features of the input data, as well as upsample and reduce the feature dimension; wherein, the last layer of KPconv feature extraction network layer after downsampling outputs the features of the aggregated points, and the last layer of KPconv feature extraction network layer after upsampling outputs the features of the local points.
[0084] The cluster point feature extraction and matching module extracts the matching relationship between cluster points based on the features of the cluster points; the structural diagram of the cluster point feature extraction and matching module is as follows: Figure 3 As shown, it is obtained by cascading three identical geometric Transformer units and an aggregation point matching unit; the geometric Transformer unit is used to obtain the fusion features of the aggregation points based on the features of the aggregation points, and the aggregation point matching unit is used to match the correlation of the obtained fusion features;
[0085] The geometric Transformer unit includes a self-attention feature extraction layer and a cross-attention feature extraction layer; the self-attention feature extraction unit is used to extract the correlation of the geometric space between each aggregation point based on the features of the aggregation points; the cross-attention feature extraction unit merges information from different point clouds based on the correlation of the geometric space between the aggregation points to obtain the fusion features of the aggregation points;
[0086] The local feature extraction module is used to find matching points between two point clouds based on local point features and correlation matching results, and obtain the matching situation of the aggregation points of the source point cloud and the target point cloud to the neighborhood local points, as well as the relationship between the neighborhood points of a pair of aggregation points;
[0087] The local registration module solves the transformation matrix based on the relationship between the neighborhood points of each pair of aggregation points;
[0088] The global registration module compares the transformation matrix obtained by solving the relationship between the neighborhood points of all the clustered points, selects the transformation matrix that can better satisfy the relationship between the neighborhood points in the global point correspondence, and performs registration based on the transformation matrix.
[0089] Example 1
[0090] A method for performing heterogeneous point cloud registration based on a heterogeneous point cloud registration model of deep learning SR-Net comprises the following steps:
[0091] Step 1. Obtain heterogeneous point set data and preprocess the data. The specific process is as follows:
[0092] Step 1.1. For the same scene, vehicle-mounted laser radar, drone-mounted laser radar and drone oblique photography are used to collect point cloud data. The initial positions of point cloud data from three different data sources are shown in the figure below. Figure 4 shown.
[0093] The vehicle-mounted laser radar point cloud only contains point cloud coordinate information, while the drone-mounted laser radar point cloud and the drone oblique photography reconstruction point cloud also contain color information; the spatial resolution of the three is 5cm, and the drone oblique photography reconstruction only contains canopy surface information; the vehicle-mounted laser radar and drone-mounted laser radar are penetrating, so they have some canopy internal information;
[0094] Step 1.2. First, manually align the three collected heterogeneous point clouds. The method adopted in the present invention is as follows:
[0095] (1) Taking a point cloud (referred to as heterogeneous point cloud A) as a reference, select some matching points with prominent features and clear semantic information in scene A, such as tree trunks, street lights, house corners, etc.;
[0096] (2) In the heterogeneous point cloud B, locate the matching points selected in the first step and calculate the transformation matrix between these point pairs;
[0097] (3) Among the multiple pairs of rotation matrices obtained, outliers are removed, the average value is calculated, and the transformation matrix is applied to the heterogeneous point cloud B; finally, the three heterogeneous data sets of the same scene are registered, as shown in Figure 5 As shown, different colors represent different data sources.
[0098] Next, the scene is subdivided into 17 datasets of mixed vegetation and building areas, such as Figure 6 Finally, the same operation is performed on the datasets of the other two scenes, and finally 156 pairs of heterogeneous data to be matched are obtained.
[0099] Step 1.3. Downsample the 156 heterogeneous data pairs to be matched.
[0100] According to other public datasets KITTI and 3DMatch datasets, the spatial resolution after downsampling commonly used in the field of deep learning is 0.25m and 0.3m; the data collected by the present invention is similar in scale to the KITTI dataset, such as Figure 7 As shown, therefore, this embodiment also sets the downsampling rate to voxel_size=0.3m;
[0101] Comparison of vehicle point clouds before and after downsampling Figure 8As shown in the figure, the white part is the vehicle point cloud after voxel downsampling (voxel size is 0.3m), and the blue part is the original vehicle point cloud. As can be seen from the figure, at this downsampling rate, the registration index is not only comparable to that before downsampling, but also retains rich details and visualization effects, and the features of different objects are not lost due to downsampling processing;
[0102] The data obtained by downsampling is divided into two parts, one as a training set and the other as a test set as labels;
[0103] Step 2. Pre-train the deep learning SR-Net heterogeneous point cloud registration model based on the KITTI dataset, and use the trained parameters as the initial parameters.
[0104] No pre-training strategy is used ( Fig. 9 ) and used pre-training ( Fig.10 ) Fig. 9 and attached Fig.10 As shown, it can be seen that after the model converges, the loss function of the pre-trained model converges to around 1.7, while the loss function of the model without pre-training converges to around 2.3, proving that the pre-training technology has a great effect on improving the model;
[0105] Then, the deep learning SR-Net heterogeneous point cloud registration model is trained based on the training set obtained after downsampling in step 1. The model is trained on KITTI for 80 epochs using the Adam optimizer, with a batch size of 1 and a weight decay of 10. -6 , the initial learning rate lr = 0.0001, decaying every 4 epochs; the data in the test set are used as labels during training;
[0106] In addition to the self-collected data, the data in the training set can also use data enhancement methods to randomly rotate and translate the self-collected point cloud and update the transformation matrix to increase the amount of training data;
[0107] On the validation set of each epoch, the model of that epoch is evaluated, such as Fig.11 and Fig.12 As shown in the figure, both RRE and RTE show that the pre-trained model (purple) performs better than the non-pre-trained model (blue) in the registration task.
[0108] The loss function L during training is:
[0109] L=L oc +L p ,
[0110] Among them, L oc is the overlap-aware circular loss for cluster point matching, L p is the point matching loss for matching the neighborhood points of a pair of clustered points,
[0111] is the loss on point cloud A, is the loss on point cloud B, and the calculations for both are the same.
[0112]
[0113] Where Ψ is a set of anchor patches, which contains all superpoints in point cloud A that have at least one overlapping region in point cloud B; and represents two neighboring points, and are the distances in the feature space of the source point cloud and the target point cloud, Representing neighboring points and The overlap ratio between and Δ A and Δ n is the interval hyperparameter, γ is the hyperparameter used to adjust the impact of point matching loss;
[0114]
[0115] N g is the number of randomly sampled cluster points during training, L p,i The corresponding relationship of the aggregation point Point matching loss,
[0116]
[0117] I i and J i It represents the point set of unmatched points. The aggregation point C i The matching probability between point x and point y is, The aggregation point C i The matching probability of point x and unmatched points, is the matching probability of point y in the target point cloud and the unmatched point in the source point cloud;
[0118] Step 3. Register the newly collected heterogeneous point cloud data based on the trained deep learning SR-Net heterogeneous point cloud registration model.
[0119] The registration results use three indicators to measure the effect of the registration, namely the relative root mean square error RRE, the relative total error RTE and the root mean square error RMSE. The basic model of the present invention and the emerging point cloud registration models in the prior art such as GoFiNet, Predato r and other models are registered on the KITTI dataset. The registration results are shown in Table 1.
[0120] Table 1 Accuracy comparison of different models on the KITTI dataset
[0121]
[0122] It can be seen from Table 1 that on the KITTI dataset, the registration result of the SR-Net model of the present invention is better. Compared with other existing models, the registration accuracy error is lower, and the RRE and RTE are 0.24 and 6.80 respectively.
[0123] Since the calculation of the MRSE index requires a certain amount of calculation, which will increase the training time, the MRSE index of the two models is evaluated only on the test set. On the test set, the comparison of three different models is shown in Table 2. Kitti_pre_train represents a model that uses the KITTI dataset for pre-training and then trains on the self-collected dataset of the present invention. No_kitti_pre_train represents a dataset that only uses the self-collected dataset of the present invention for training. Only_kitti_train represents a model that is only trained on the KIT TI dataset. Average_a represents the average of the indicators of all data, and average_b represents the average of the indicators after eliminating the data that has not been successfully registered. It can be seen from the bold data in Table 2 that the pre-trained model performs better in the registration task of the vegetation-building mixed scene of the present invention.
[0124] Table 2 Comparison of indicators on the validation set
[0125]
[0126] The above description is only a specific implementation mode of the present invention. Any feature disclosed in this specification, unless otherwise stated, can be replaced by other alternative features that are equivalent or have similar purposes; all the disclosed features, or all the steps in the methods or processes, except for mutually exclusive features and / or steps, can be combined in any way.
Claims
1. A heterogeneous point cloud registration model based on deep learning SR-Net, characterized in that: It includes pyramid feature extraction module, aggregation point feature extraction and matching module, local feature extraction module, local registration module and global registration module; The pyramid feature extraction module is used to capture the features of point clouds at different sampling rates to obtain the features of aggregated points and local point features; The cluster point feature extraction and matching module extracts the matching relationship between cluster points based on the features of the cluster points; the cluster point feature extraction and matching module is obtained by cascading three identical geometric Transformer units and one cluster point matching unit; the geometric Transformer unit is used to obtain the fusion features of the cluster points based on the features of the cluster points, and the cluster point matching unit is used to match the correlation of the obtained fusion features; The geometric Transformer unit includes a self-attention feature extraction layer and a cross-attention feature extraction layer; the self-attention feature extraction unit is used to extract the correlation of the geometric space between each aggregation point based on the features of the aggregation points; the cross-attention feature extraction unit merges information from different point clouds based on the correlation of the geometric space between the aggregation points to obtain the fusion features of the aggregation points; The local feature extraction module is used to find matching points between two point clouds based on local point features and correlation matching results, and obtain the matching situation of the aggregation points of the source point cloud and the target point cloud to the neighborhood local points, as well as the relationship between the neighborhood points of a pair of aggregation points; The local registration module solves the transformation matrix based on the relationship between the neighborhood points of each pair of aggregation points; The global registration module compares the transformation matrix obtained by solving the relationship between the neighborhood points of all the clustered points, selects the transformation matrix that can better satisfy the relationship between the neighborhood points in the global point correspondence, and performs registration based on the transformation matrix.
2. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 1, characterized in that: The pyramid feature extraction module includes N layers of KPconv feature extraction network layers, each layer is used for downsampling and feature integration, as well as upsampling and feature dimension reduction of input data; wherein, the last layer of KPconv feature extraction network layer after downsampling outputs the features of aggregated points, and the last layer of KPconv feature extraction network layer after upsampling outputs local point features.
3. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 1, characterized in that: The working process of the self-attention feature extraction layer is: For the input feature vector X∈R |X|×d , output feature vector Y, that is, the correlation of geometric space, the value y in the feature vector i The calculation formula is, Among them, d is the characteristic dimension of the input vector, R is the real number field, |X| is the number of cluster points, and a i,j is the weight coefficient, i is the i-th row of the eigenvector X, j is the j-th column of the eigenvector X, and x j is the feature vector value of the jth column, and V is the value in the attention mechanism; Weight coefficient a i,j By the attention score e i,j Calculate the normalized exponential function row by row to get the attention score e i,j The calculation of is shown in formula (2): Among them, Q is the query in the attention mechanism, K is the key in the attention mechanism, d is the feature dimension of the input vector, C is the projection matrix of the geometric structure embedding, T represents the transpose of the matrix, and r i,j Embedded by geometric structure, embedded by distance and angular embedding Weighted, D is the projection matrix of distance embedding, A is the projection matrix of angle embedding; For any two clustering points p i and p j , the distance between them is s i,j =||p i -p j ||2, the distance embedding between these two points As shown in formula (3), Among them, σ d is a hyperparameter, 2k and 2k+1 represent even positions and odd positions respectively; Select the aggregation point p i The k nearest neighbor aggregation points form a point set K. For each point p in the point set K l Calculate its value with p i 、p j The angle α i,j,l , α i,j,l =∠(p l -p i ,p j -p i ), p l Different from p i and p j The third aggregation point The angle embedding It can be calculated by formula (4): Among them, σ a is a hyperparameter.
4. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 1, characterized in that: The working process of the cross-attention feature extraction layer is: The point sets K of the two point clouds output by the self-attention feature extraction unit are defined as point set M and point set N, respectively, and their feature matrices are X' M and X' N , that is, the output feature vector Y of the self-attention feature extraction layer, then the cross-attention feature matrix Z of the aggregation point M M , and its calculation method is shown in formula (5): in, is the cross attention feature matrix Z of the aggregation point M M A row vector in, |N| is the number of points in the point set N, a i,j ′ is composed of the cross attention score e i,j 'Calculate the normalized exponential function row by row to get, e i,j The calculation formula of ' is shown in formula (6), where o is the feature dimension of the input vector.
5. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 1, characterized in that: The working process of the aggregation point matching unit is as follows: The final output of the three geometric Transformer units is the fusion features F A and F B , and then normalize the fused features to the unit sphere to ensure that the length of the feature vectors is consistent, and then calculate their Gaussian correlation matrix Τ∈R |A|×|B| , where the elements of the matrix τ i,j The calculation of is shown in formula (7): The Gaussian correlation matrix T is double normalized to obtain a new matrix Τ, as shown in formula (8): in, is obtained by calculating the element τ in the Gaussian correlation matrix T i,j The double normalization calculation is performed, where |A| is the number of points in point cloud A, and |B| is the number of points in point cloud B. represents the sum of the i-th row of the Gaussian correlation matrix T, and k represents the k-th element of the i-th row; Finally, select the largest N indices (x i ,y i ), that is, arrange the N indexes from large to small, and select the first N indexes, which correspond to the most likely matching cluster points in the two point clouds, as shown in formula (9): in, is the fusion feature of point cloud A, is the fusion feature of point cloud B, E∈R N×2 Stores the index information of N pairs of matching cluster points, topk x,y (·) is the adaptive topk operation.
6. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 5, characterized in that: The specific process of adaptive topk operation is: Among them, dist_mat(·) is the distance evaluation function of two features, and δ(·) is the random replication function.
7. The heterogeneous point cloud registration model based on deep learning SR-Net as claimed in claim 1, characterized in that: The working process of the local feature extraction module is as follows: For each pair of cluster points is an aggregation point of point cloud A, is the aggregation in the matching point cloud B, firstly associate it with the local points in the corresponding neighborhood, recorded as and Among them, h is the feature dimension, and m is the number of neighborhood points; Construct the cost matrix cost i ∈R m×m , as shown in formula (11), where Θ is the feature matrix of two local regions, Calculate the soft assignment matrix Z based on the cost matrix i , to determine how the points around each clustered point align with the points in the corresponding area in the other point cloud, and then from Z i The point correspondence is extracted from the source point cloud and the target point cloud, and the matching of the aggregated points to the local points in the neighborhood is finally output, as shown in formula (12), where: and They are points from two point clouds A and B respectively; 8. A method for performing heterogeneous point cloud registration based on the heterogeneous point cloud registration model based on deep learning SR-Net as claimed in any one of claims 1 to 7, characterized in that: The following steps are involved: Step 1. Obtain heterogeneous point set data, preprocess the data, and then divide the preprocessed data into training set and test set; Step 2. Pre-train the heterogeneous point cloud registration model of deep learning SR-Net based on the existing data set, use the trained parameters as the initial parameters, and then train the heterogeneous point cloud registration model of deep learning SR-Net based on the training set, using the data in the test set as the label. The loss function L during the training process is: L=L oc +L p , Among them, L oc is the overlap-aware circular loss for cluster point matching, L p is the point matching loss for matching the neighborhood points of a pair of clustered points, is the loss on point cloud A, is the loss on point cloud B, and the calculations for both are the same. Where Ψ is a set of anchor patches, which contains all superpoints in point cloud A that have at least one overlapping region in point cloud B; and represents two neighboring points, and are the distances in the feature space of the source point cloud and the target point cloud, Representing neighboring points and The overlap ratio between and Δ A and Δ n is the interval hyperparameter, γ is the hyperparameter used to adjust the impact of point matching loss; N g is the number of randomly sampled cluster points during training, L p,i The corresponding relationship of the aggregation point Point matching loss, I i and J i It represents the point set of unmatched points. The aggregation point C i The matching probability between point x and point y is, The aggregation point C i The matching probability of point x and unmatched points, is the matching probability of point y in the target point cloud and the unmatched point in the source point cloud; Step 3. Register the newly collected heterogeneous point cloud data based on the trained deep learning SR-Net heterogeneous point cloud registration model.
9. The method for heterogeneous point cloud registration according to claim 8, characterized in that: The heterogeneous point cloud data are vehicle-mounted laser radar point cloud, drone-mounted laser radar point cloud and drone oblique photography reconstruction point cloud.
10. The method for heterogeneous point cloud registration according to claim 8, characterized in that: The training parameters in step 2 are: using Adam optimizer, training times 80-100 epochs, weight decay 10 -6 , the initial learning rate lr = 0.0001, which decays every 4 epochs.
Citation Information
Patent Citations
4D millimeter wave radar target detection, tracking and speed measurement method based on deep learning
CN116403180A
Point cloud registration method and device based on geometric attention mechanism
CN117689702A
Transform-based low-overlap point cloud registration method
CN118096843A
Methods, systems, storage media and apparatus for end-to-end scenario extraction from 3D input point clouds, scenario classification and the generation of sequential driving features for the identification of safety-critical scenario categories
WO2023099787A1
Cited By
Aircraft assembly point cloud registration method and device based on LiDAR scanning data
CN119313713A
Neural network-based search radius adaptive ICP registration method
CN121120719A
