Robust point cloud registration method and system based on invariant and unique features
By designing a point cloud registration method based on multi-region MLP and Transformer joint learning, the RID-Net model extracts unchanged and unique features, the problem of low point cloud registration accuracy and success rate in scenarios with low overlap or repeated structures is solved, and a high-precision and robust point cloud registration effect is achieved.
Patent Information
- Application Number
- CN202411603267.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-11-11
AI Technical Summary
In the prior art, in scenarios with low overlap or repeated structures, the accuracy and success rate of point cloud registration are low, and it is difficult to effectively deal with problems such as noise interference, non-overlapping partial characteristic interference, repeated structure interference, occlusion and missing.
A point cloud registration method based on multi-region MLP and Transformer joint learning was designed. By constructing the RID-Net model, 4 AMR modules, global Transformer modules and feature forward propagation modules were used to extract unchanged and unique features, and point cloud registration was completed through a robust pose estimator.
This method achieves high-precision point cloud registration in low overlap scenarios indoor and outdoor scenarios, which has strong robustness and is suitable for a variety of scenarios, significantly improving the point matching internal point rate and registration success rate.
Smart Images

Figure CN119540306A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of mobile robots, and in particular relates to a robust point cloud registration method and system based on invariant and unique features. Background Art
[0002] Point cloud registration is an important technical foundation in the fields of SLAM, 3D reconstruction and augmented reality. It refers to the process of estimating the relative pose relationship between two frames of partially overlapping point cloud scenes or targets. General sensors such as depth cameras and lidar can only obtain point cloud information of partial perspectives or local scenes. In order to obtain point cloud information of complete perspectives or global scenes, point cloud registration must be performed. In addition, obtaining the relative pose relationship of robots through point cloud registration technology is also crucial for various intelligent unmanned systems to achieve other advanced tasks. Sometimes, image registration can also obtain the relative pose relationship of robots, but because image registration is extremely sensitive to illumination changes, requires rich color and texture features, and it is difficult to estimate depth information, point cloud registration is widely used in scenes such as cultural relics reconstruction, oral modeling, and night. However, in actual scenarios, point cloud registration faces the following challenges: 1) Noise interference. A large amount of noise will be generated due to environmental interference or insufficient sensors; 2) Non-overlapping feature interference. Non-overlapping point clouds will interfere with matching and cause mismatches; 3) Repetitive structure interference. Repetitive structures will produce similar features, which will cause incorrect feature matching; 4) Occlusion and missing. Changes in perspective or dynamic objects will cause occlusion, resulting in the disappearance of some features. Factors such as exceeding the sensor's working range will cause point cloud missing; 5) Changes in data resolution. The influence caused by the inherent characteristics of LiDAR near-dense and far-sparse or the different resolutions of different sensors. Depending on whether feature point pairs are required, point cloud registration is mainly divided into: direct registration method and registration method based on correspondence. Direct registration method generally does not need to extract local feature descriptors, but learns global features through the network, and uses a pose estimation network to directly regress and generate transformed poses to complete point cloud registration. This method of regressing relative pose from global features belongs to a rough point cloud registration. The advantage of this method is that it is robust to changes in the resolution of the point cloud, and the complexity of the algorithm will not increase significantly with the increase in the number of points. However, this type of method is often highly dependent on the high overlap of point cloud data, so it is not suitable for the low overlap scene registration problem that has attracted much attention. With the continuous development of point cloud registration technology, researchers are now beginning to pay attention to the successful registration of point clouds in low overlap scenes. The registration method based on correspondence has attracted more and more attention from scholars. This method first extracts the correspondence between key points in a pair of point clouds, and then performs point cloud registration through robust pose estimation. GeoTransformer is the most representative model. It extracts local features through a pyramid-structured convolutional feature extractor, and enhances local features using a global transformer with geometric position encoding. Then, a coarse-to-fine feature matching framework is used to obtain dense point cloud correspondences, and then point cloud registration is completed through a robust pose estimator.This model significantly improves the success rate of point cloud registration in low-overlap scenes. However, in some scenes with extremely low overlap or many repetitive structures, the obtained dense point cloud correspondences still contain many erroneous correspondences, which in turn affects the accuracy or success rate of registration.
[0003] In summary, how to design a feature extractor to obtain more correct point correspondences and complete point cloud registration more accurately and robustly is a technical problem that needs to be solved urgently. Therefore, it is necessary to design a new point cloud registration method. Summary of the invention
[0004] In view of the defects in the existing technology, a robust point cloud registration method and system based on invariant and unique features are provided. The point cloud registration method based on multi-region MLP and Transformer joint learning has the advantages of high accuracy, strong robustness, and suitability for a variety of indoor and outdoor scenes.
[0005] The technical solution provided by the present invention is as follows:
[0006] On the one hand, a robust point cloud registration method based on invariant and unique features, comprising:
[0007] Step 1: Construct the RID-Net model;
[0008] The RID-Net model includes a connected feature extractor and a coarse-to-fine point matcher, wherein the feature extractor includes 4 AMR modules, a global Transformer module, and 4 feature forward propagation modules;
[0009] The AMR module includes an Abstract layer, an MLP module enhanced based on local rotation-invariant position coding, and a ring attention module connected in sequence;
[0010] Step 2: Model training;
[0011] Multiple pairs of point cloud data and the corresponding relative pose truth values of a scene are obtained as training data, where the relative pose truth values are converted into super-point matching relationships and dense point matching relationships; each pair of point cloud data is input into the constructed RID-Net model in turn, and the matching relationships of the super points and dense points of each pair of point clouds predicted by the RID-Net model are used to obtain the trained RID-Net model parameters when the matching loss converges;
[0012] Step 3: Model registration;
[0013] The collected point cloud data is input into the trained RID-Net model to predict the super-point matching relationship and dense point matching relationship between the two frames of point clouds. Based on the obtained matching relationship, the relative pose of the two frames of point clouds is solved by a robust pose estimator, and then the source point cloud data is converted to the target point cloud coordinate system through the relative pose to complete the alignment.
[0014] The robust pose estimator completely relies on traditional geometric knowledge to solve the robust registration pose according to the predicted matching relationship without the need for training;
[0015] Furthermore, the specific working process of the MLP module based on local rotation-invariant position coding enhancement is as follows:
[0016] Step A1: Obtain the local neighborhood point coordinates and aggregation features of each point;
[0017] The initial feature of each point is set to 1, and the aggregated feature of each point is obtained by aggregating the initial features through the Abstract layer;
[0018] Step A2: Calculate the reference axis perpendicular to the normal line of each point;
[0019]
[0020] in, represents the i-th point processed on the first layer AMR module, K l represents the number of neighborhood points used by the AMR module at the first layer, k l Indicates the kth layer of the lth layer l Neighborhood points, Indicated by point point to The vector of express kth l Neighborhood points, express The set of neighboring points of is the calculated perpendicular to the point The normal vector, r is set to The distance to the farthest neighbor point, v i is the final weighted perpendicular to The reference axis of the normal; each point The normal line is denoted as
[0021] Step A3: construct a high-dimensional rotation-invariant position encoding of each point and its neighboring points based on the reference axis and normal;
[0022]
[0023] Among them, HRIPE() represents the high-dimensional rotation-invariant position encoding operation, and rpe() represents the rotation-invariant position representation; Indicate point and High-dimensional rotation-invariant position encoding between Indicates that the input feature dimension is 5, and the feature dimension of the output of the lth AMR module is C l The linear layer operation, Norm represents the normalization operation, Indicates that the input feature dimension is C l , the feature dimension of the output of the lth AMR module is C l Linear layer operation;
[0024] Step A4: Linearly transform the high-dimensional rotation-invariant position encoding of all neighboring points of each point and the first 1 / 4 channels of each point after adding the features of the sampled points after downsampling and aggregation in the Abstract layer;
[0025] Step A5: The result of step A4 after linear transformation is aggregated by the maximum pooling layer, and then two linear layers are used to learn deeper features;
[0026] Step A6: Perform a residual connection between the features obtained in step A5 and the features obtained by aggregation of the Abstract layer to obtain updated features to alleviate the gradient disappearance.
[0027] Furthermore, the working process of the ring attention module is as follows:
[0028] Step B1: The input of the ring attention module is the set of target points to be processed The set of annular neighborhood points around the target point is recorded as And the corresponding feature set
[0029] in, Indicates distance point In addition to the recent K l The nearest point outside Point index, feature set According to this index Indexed from the features obtained from the MLP module enhanced by local rotation-invariant position encoding;
[0030] Step B2: According to the high-dimensional rotation-invariant position encoding operation, Relative to The high-dimensional rotation-invariant position encoding of Using five learnable matrices W G ,W E ,W Q ,WK and W V To project the input, high-dimensional rotation-invariant position encoding By W G ,W E It is further encoded into geometric code G and position code E, and then the new features of the target point at the lth layer are obtained by weighting the geometric code and the value.
[0031]
[0032] Among them, G and E are the learned geometric and positional encodings respectively, and the learned context features can be projected into q, K and V:
[0033]
[0034] in, is the feature of the i-th point in the l-th layer, F l is the point feature updated by the MLP module based on local rotation-invariant position encoding enhancement, c0 is the feature dimension size of G and V;
[0035] Step B3: Through linear layers and residual connections and After adding and updating, we get the final feature F of the target point at the lth layer. l .
[0036] The ring attention module senses the ring area around the target point to focus on the surrounding landmark structures, making the locally similar features unique;
[0037] Furthermore, the four AMR modules of the feature extractor are connected in sequence, wherein the downsampling coefficients in each AMR module are [1, 0.25, 0.25, 0.25] in sequence; the feature dimensions of each AMR module are [64, 128, 256, 256] in sequence; the number of neighborhood points is set to [8, 16, 16, 16] in sequence, the last AMR module is connected to the global Transformer module, each AMR module is residually connected to a feature forward propagation module, the four feature forward propagation modules are connected in reverse sequence, the input end of the first feature forward propagation module and the input end of the coarse-to-fine point matcher are both connected to the output end of the global Transformer module, and the output end of the last feature forward propagation module and the global Transformer module are connected to the input end of the coarse-to-fine point matcher, so as to obtain the predicted super-point matching relationship and dense point matching relationship through the coarse-to-fine point matcher.
[0038] Furthermore, the matching loss is calculated by the overlap-aware circle loss and the negative log-likelihood loss. The matching loss is obtained by adding the overlap-aware circle loss and the negative log-likelihood loss in a one-to-one ratio.
[0039] The overlap-aware circle loss is calculated using the predicted value of the super-point matching relationship and the super-point matching relationship derived from the pose truth as input;
[0040] The negative log-likelihood loss is calculated using the dense point matching relationship prediction value and the pose truth value as input.
[0041] In the second aspect, a robust point cloud registration system based on invariant and unique features, comprising:
[0042] RID-Net model construction unit: The RID-Net model includes a connected feature extractor and a coarse-to-fine point matcher, wherein the feature extractor includes 4 AMR modules, a global Transformer module, and 4 feature forward propagation modules;
[0043] The AMR module includes an Abstract layer, an MLP module enhanced based on local rotation-invariant position coding, and a ring attention module connected in sequence;
[0044] Model training unit: by obtaining multiple pairs of point cloud data of a certain scene and the corresponding relative pose truth values as training data, where the relative pose truth values are converted into super-point matching relationships and dense point matching relationships; input each pair of point cloud data into the constructed RID-Net model in turn, and the matching relationships of super points and dense points of each pair of point clouds predicted by the RID-Net model are used to obtain the trained RID-Net model parameters when the matching loss converges (in practice, 40 rounds for indoor data and 80 rounds for outdoor data);
[0045] Model registration unit: The collected point cloud data is input into the trained RID-Net model, and the super-point matching relationship and dense point matching relationship corresponding to the two frames of point clouds are predicted. Based on the obtained matching relationship, the relative pose of the two frames of point clouds is solved by a robust pose estimator, and then the source point cloud data is converted to the target point cloud coordinate system through the relative pose to complete the registration.
[0046] Furthermore, the specific working process of the MLP module based on local rotation-invariant position coding enhancement is as follows:
[0047] Step A1: Obtain the local neighborhood point coordinates and aggregation features of each point;
[0048] The initial feature of each point is set to 1, and the aggregated feature of each point is obtained by aggregating the initial features through the Abstract layer;
[0049] Step A2: Calculate the reference axis perpendicular to the normal line of each point;
[0050]
[0051] in, represents the i-th point processed on the first layer AMR module, K l represents the number of neighborhood points used by the AMR module at the first layer, k l Indicates the kth layer of the lth layer l Neighborhood points, Indicated by point point to The vector of express kth l Neighborhood points, express The set of neighboring points of is the calculated perpendicular to the point The normal vector, r is set to The distance to the farthest neighbor point, v i is the final weighted perpendicular to The reference axis of the normal; each point The normal line is denoted as
[0052] Step A3: construct a high-dimensional rotation-invariant position encoding of each point and its neighboring points based on the reference axis and normal;
[0053]
[0054] Among them, HRIPE() represents the high-dimensional rotation-invariant position encoding operation, and rpe() represents the rotation-invariant position representation; Indicate point and High-dimensional rotation-invariant position encoding between Indicates that the input feature dimension is 5, and the feature dimension of the output of the lth AMR module is C l The linear layer operation, Norm represents the normalization operation, Indicates that the input feature dimension is C l , the feature dimension of the output of the lth AMR module is C l Linear layer operation;
[0055] Step A4: Linearly transform the high-dimensional rotation-invariant position encoding of all neighboring points of each point and the first 1 / 4 channels of each point after adding the features of the sampled points after downsampling and aggregation in the Abstract layer;
[0056] Step A5: The result of step A4 after linear transformation is aggregated by the maximum pooling layer, and then two linear layers are used to learn deeper features;
[0057] Step A6: Perform a residual connection between the features obtained in step A5 and the features obtained by aggregation of the Abstract layer to obtain updated features to alleviate the gradient disappearance.
[0058] Furthermore, the working process of the ring attention module is as follows:
[0059] Step B1: The input of the ring attention module is the set of target points to be processed The set of annular neighborhood points around the target point is recorded as And the corresponding feature set in, Indicates distance point In addition to the recent K l The nearest point outside Point index, feature set According to this index Indexed from the features obtained from the MLP module enhanced by local rotation-invariant position encoding;
[0060] Step B2: According to the high-dimensional rotation-invariant position encoding operation, Relative to The high-dimensional rotation-invariant position encoding of Using five learnable matrices W G ,W E ,W Q ,W K and W V To project the input, high-dimensional rotation-invariant position encoding By W G ,W E It is further encoded into geometric code G and position code E, and then the new features of the target point at the lth layer are obtained by weighting the geometric code and the value.
[0061]
[0062] Among them, G and E are the learned geometric and positional encodings respectively, and the learned context features can be projected into q, K and V:
[0063]
[0064] in, is the feature of the i-th point in the l-th layer, F lis the point feature updated by the MLP module based on local rotation-invariant position encoding enhancement, c0 is the feature dimension size of G and V;
[0065] Step B3: Through linear layers and residual connections and After adding and updating, we get the final feature F of the target point in the first layer. l .
[0066] According to a third aspect, a computer device comprises at least:
[0067] one or more processors;
[0068] a memory storing one or more computer programs;
[0069] The processor calls the computer program to implement:
[0070] The above steps are for a robust point cloud registration method based on invariant and unique features.
[0071] In a fourth aspect, a computer-readable storage medium stores a computer program, wherein the computer program is called by a processor to implement:
[0072] The above steps are for a robust point cloud registration method based on invariant and unique features.
[0073] Beneficial Effects
[0074] The present invention provides a robust point cloud registration method and system based on invariant and unique features, and uses deep learning technology to construct a trainable feature extraction and matching model. The feature extraction module proposed by the present invention can help the network efficiently learn local features and focus on the surrounding distinguishing landmark features, thereby improving feature matching accuracy and point cloud registration accuracy. The technical solution of the present invention can achieve high-precision registration in low-overlapping indoor and outdoor scenes, and has the advantages of high accuracy, strong robustness, and is suitable for a variety of indoor and outdoor scenes.
[0075] Compared with the existing point cloud registration method based on deep learning, the technical solution of the present invention is advanced in the following aspects:
[0076] 1. The technical solution of the present invention proposes an MLP feature encoder enhanced by rotation-invariant position coding, which effectively enhances the network's ability to extract local features by mapping the rotation-invariant relative position to the feature space and fusing it with the point features, thereby improving the accuracy of point cloud registration;
[0077] 2. The technical solution of the present invention proposes a feature enhancement strategy that combines MLP local features with an attention mechanism. First, the MLP module enhanced by rotation-invariant position coding is used to efficiently extract the 0-k nearest neighbor local features around the feature point. Then, the attention mechanism is used to extract and fuse the distinguishing landmark features within the k-2k nearest neighbor range of the feature point, so that the network can accurately extract local features while paying more attention to the surrounding distinguishing structural features, thereby significantly improving the point matching inlier rate.
[0078] 3. Based on the efficient local feature extraction capability and surrounding feature enhancement strategy of the technical solution of the present invention, the test results of the technical solution of the present invention on indoor and outdoor data sets show that in indoor scenes, the technical solution of the present invention exceeds the currently advanced Geotransformer and RolTr in terms of matching inlier rate and registration recall rate. In outdoor autonomous driving scenes, the technical solution of the present invention still has advantages in registration accuracy and success rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0079] Figure 1 It is the overall flow chart of the present invention;
[0080] Figure 2 This is the specific network architecture of the network model RID-Net proposed in the present invention. DETAILED DESCRIPTION
[0081] The present invention is further described in detail below with reference to the accompanying drawings and embodiments:
[0082] Example 1
[0083] like Figure 1 As shown, a robust point cloud registration method based on invariant and unique features includes:
[0084] Step 1: Construct the RID-Net model;
[0085] The RID-Net model includes a connected feature extractor and a coarse-to-fine point matcher, wherein the feature extractor includes 4 AMR modules, a global Transformer module, and 4 feature forward propagation modules;
[0086] The AMR module includes an Abstract layer, an MLP module enhanced based on local rotation-invariant position coding, and a ring attention module connected in sequence;
[0087] The specific working process of the MLP module based on local rotation invariant position coding enhancement is as follows:
[0088] Step A1: Obtain the local neighborhood point coordinates and aggregation features of each point;
[0089] The initial feature of each point is set to 1, and the aggregated feature of each point is obtained by aggregating the initial features through the Abstract layer;
[0090] Step A2: Calculate the reference axis perpendicular to the normal line of each point;
[0091]
[0092] in, represents the i-th point processed on the first layer AMR module, K l represents the number of neighborhood points used by the AMR module at the first layer, k l Indicates the kth layer of the lth layer l Neighborhood points, Indicated by point point to The vector of express kth l Neighborhood points, express The set of neighboring points of is the calculated perpendicular to the point The normal vector, r is set to The distance to the farthest neighbor point, v i is the final weighted perpendicular to The reference axis of the normal; each point The normal line is denoted as Step A3: construct a high-dimensional rotation-invariant position encoding of each point and its neighboring points based on the reference axis and normal;
[0093]
[0094] Among them, HRIPE() represents the high-dimensional rotation-invariant position encoding operation, and rpe() represents the rotation-invariant position representation; Indicate point and High-dimensional rotation-invariant position encoding between Indicates that the input feature dimension is 5, and the feature dimension of the output of the lth AMR module is C l The linear layer operation, Norm represents the normalization operation, Indicates that the input feature dimension is C l , the feature dimension of the output of the lth AMR module is C l Linear layer operation;
[0095] Step A4: Linearly transform the high-dimensional rotation-invariant position encoding of all neighboring points of each point and the first 1 / 4 channels of each point after adding the features of the sampled points after downsampling and aggregation in the Abstract layer;
[0096] Step A5: The result of step A4 after linear transformation is aggregated by the maximum pooling layer, and then two linear layers are used to learn deeper features;
[0097] Step A6: Perform a residual connection between the features obtained in step A5 and the features obtained by aggregation of the Abstract layer to obtain updated features to alleviate the gradient disappearance.
[0098] The working process of the ring attention module is as follows:
[0099] Step B1: The input of the ring attention module is the set of target points to be processed The set of annular neighborhood points around the target point is recorded as And the corresponding feature set in, Indicates distance point In addition to the recent K l The nearest point outside Point index, feature set According to this index Indexed from the features obtained from the MLP module enhanced by local rotation-invariant position encoding;
[0100] Step B2: According to the high-dimensional rotation-invariant position encoding operation, Relative to The high-dimensional rotation-invariant position encoding of Using five learnable matrices W G ,W E ,W Q ,W K and W V To project the input, high-dimensional rotation-invariant position encoding By W G ,W E It is further encoded into geometric code G and position code E, and then the new features of the target point at the lth layer are obtained by weighting the geometric code and the value.
[0101]
[0102] Among them, G and E are the learned geometric and positional encodings respectively, and the learned context features can be projected into q, K and V:
[0103]
[0104] in, is the feature of the i-th point in the l-th layer, F lis the point feature updated by the MLP module based on local rotation-invariant position encoding enhancement, c0 is the feature dimension size of G and V;
[0105] Step B3: Through linear layers and residual connections and After adding and updating, we get the final feature F of the target point at the lth layer. l The ring attention module senses the ring area around the target point to focus on the surrounding landmark structures, making the locally similar features unique;
[0106] The four AMR modules of the feature extractor are connected in sequence, wherein the downsampling coefficients in each AMR module are [1, 0.25, 0.25, 0.25] in sequence; the feature dimensions of each AMR module are [64, 128, 256, 256] in sequence; the number of neighborhood points is set to [8, 16, 16, 16] in sequence, the last AMR module is connected to the global Transformer module, each AMR module is residually connected to a feature forward propagation module, the four feature forward propagation modules are connected in reverse sequence, the input end of the first feature forward propagation module and the input end of the coarse-to-fine point matcher are both connected to the output end of the global Transformer module, and the output end of the last feature forward propagation module and the global Transformer module are connected to the input end of the coarse-to-fine point matcher, thereby obtaining the predicted super-point matching relationship and dense point matching relationship through the coarse-to-fine point matcher.
[0107] Step 2: Model training;
[0108] Multiple pairs of point cloud data and the corresponding relative pose truth values of a certain scene are obtained as training data, where the relative pose truth values are converted into super-point matching relationships and dense point matching relationships; each pair of point cloud data is input into the constructed RID-Net model in turn, and the matching relationships of the super-points and dense points of each pair of point clouds predicted by the RID-Net model are used to match the convergence of the loss. In actual training, the indoor data is iterated for 40 rounds and the outdoor data is iterated for 80 rounds to obtain the trained RID-Net model parameters;
[0109] The matching loss is calculated by the overlap-aware circle loss and the negative log-likelihood loss. The matching loss is obtained by adding the overlap-aware circle loss and the negative log-likelihood loss in a one-to-one ratio.
[0110] The overlap-aware circle loss is calculated using the predicted value of the super-point matching relationship and the super-point matching relationship derived from the pose truth as input;
[0111] The negative log-likelihood loss is calculated using the dense point matching relationship prediction value and the pose truth value as input.
[0112] The Adam optimizer is used for training, and the weight decay factor is set to 10. -6 , the batch size is set to 4. For the 3DMatch dataset, the number of training rounds is set to 40, and the initial learning rate is 10 -4 And the decay rate is 0.05 per round; for the KITTI dataset, the number of training rounds is set to 80, and the initial learning rate is 10 -4 The model is decayed by 0.05 every 4 rounds. The training result of the last round is taken as the optimal model.
[0113] Step 3: Model registration;
[0114] The collected point cloud data is input into the trained RID-Net model to predict the super-point matching relationship and dense point matching relationship between the two frames of point clouds. Based on the obtained matching relationship, the relative pose of the two frames of point clouds is solved by a robust pose estimator, and then the source point cloud data is converted to the target point cloud coordinate system through the relative pose to complete the alignment.
[0115] The robust pose estimator completely relies on traditional geometric knowledge to solve the robust registration pose according to the predicted matching relationship without the need for training;
[0116] The test results of the present invention are shown in Table 1. Three public datasets containing indoor and outdoor scene types are used here to test the present invention, and the error between the relative pose prediction value of all the point cloud pairs to be registered in a certain scene and the true value provided by the dataset is used to evaluate the test results.
[0117] Table 1 shows the comparative experimental results based on the 3DMatch dataset and the 3DLoMatch dataset, which are from the same indoor dataset. The dataset collects data from 62 scenes, of which 54 scenes are used for training and 8 scenes are used for evaluation. Among them, 3DLoMatch is data with point cloud overlap of less than 30%, which is more challenging. As shown in the table, the method proposed in the present invention has a higher registration success rate (RR) and matching inlier rate (IR) in each indoor scene, and the feature matching recall rate (FMR) is also at a high level.
[0118] Table 1 Performance comparison between the proposed method and existing algorithms on indoor data sets
[0119]
[0120]
[0121] Table 2 shows the effect of the method proposed in the present invention when sampling different numbers of matching points. As shown in the table, it can be seen that the method proposed in the present invention is still stable when there are only a small number of corresponding points, and the effect is still outstanding.
[0122] Table 2 Performance comparison of the proposed algorithm and the existing algorithm on indoor datasets with different matching points
[0123]
[0124]
[0125] Table 3 shows the results of comparative experiments based on the kitti dataset, which is currently the largest computer vision algorithm evaluation dataset in the world for autonomous driving scenarios. The point cloud data of this dataset is collected by the on-board Velodyne 64-line 3D laser radar, and the true value data is provided by the GPS navigation system. The dataset contains real road scenes collected in urban areas, rural areas, and highways. As shown in the table, the method proposed in the present invention still has obvious advantages in outdoor scene data.
[0126] Table 3 KITTI dataset algorithm effect
[0127]
[0128] According to the above experimental analysis, the algorithm of the present invention is superior to the existing algorithms in terms of registration accuracy and robustness, and is also applicable to various indoor and outdoor scenes.
[0129] Example 3
[0130] Corresponding to the aforementioned method of this embodiment, this example also provides a computer device, comprising at least:
[0131] one or more processors;
[0132] a memory storing one or more computer programs;
[0133] The processor calls the computer program to implement:
[0134] The above steps are for a robust point cloud registration method based on invariant and unique features.
[0135] The specific implementation process of each step can refer to the detailed process of the aforementioned method, and the present invention will not elaborate on this in detail.
[0136] Example 4
[0137] Corresponding to the aforementioned method of this embodiment, this example also provides a computer storage medium storing a computer program, wherein the computer program is called by a processor to execute:
[0138] The above steps are for a robust point cloud registration method based on invariant and unique features.
[0139] The specific implementation process of each step can refer to the detailed process of the aforementioned method, and the present invention will not elaborate on this in detail.
[0140] Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned readable storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk, etc. Various media that can store program codes.
[0141] It should be understood that in the embodiments of the present invention, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the type of device.
[0142] It should be emphasized that the examples described in the present invention are illustrative rather than restrictive, and therefore the present invention is not limited to the examples described in the specific embodiments. Any other embodiments derived by those skilled in the art based on the technical solution of the present invention that do not depart from the purpose and scope of the present invention, whether modified or replaced, also fall within the scope of protection of the present invention.
Claims
1. A robust point cloud registration method based on invariant and unique features, characterized in that: include: Step 1: Construct the RID-Net model; The RID-Net model includes a connected feature extractor and a coarse-to-fine point matcher, wherein the feature extractor includes 4 AMR modules, a global Transformer module, and 4 feature forward propagation modules; The AMR module includes an Abstract layer, an MLP module enhanced based on local rotation-invariant position coding, and a ring attention module connected in sequence; Step 2: Model training; Multiple pairs of point cloud data and the corresponding relative pose truth values of a scene are obtained as training data, where the relative pose truth values are converted into super-point matching relationships and dense point matching relationships; each pair of point cloud data is input into the constructed RID-Net model in turn, and the matching relationships of the super points and dense points of each pair of point clouds predicted by the RID-Net model are used to obtain the trained RID-Net model parameters when the matching loss converges; Step 3: Model registration; The collected point cloud data is input into the trained RID-Net model to predict the super-point matching relationship and dense point matching relationship between the two frames of point clouds. Based on the obtained matching relationship, the relative pose of the two frames of point clouds is solved by a robust pose estimator, and then the source point cloud data is converted to the target point cloud coordinate system through the relative pose to complete the alignment.
2. The method according to claim 1, characterized in that The specific working process of the MLP module based on local rotation invariant position coding enhancement is as follows: Step A1: Obtain the local neighborhood point coordinates and aggregation features of each point; The initial feature of each point is set to 1, and the aggregated feature of each point is obtained by aggregating the initial features through the Abstract layer; Step A2: Calculate the reference axis perpendicular to the normal line of each point; in, represents the i-th point processed on the l-th layer AMR module, K l represents the number of neighborhood points used by the AMR module at the first layer, k l Indicates the kth layer of the lth layer l Neighborhood points, Indicated by point point to The vector of express kth l Neighborhood points, express The set of neighboring points of is the calculated perpendicular to the point The normal vector, r is set to The distance to the farthest neighbor point, v i is the final weighted perpendicular to The reference axis of the normal; each point The normal line is denoted as Step A3: construct a high-dimensional rotation-invariant position encoding of each point and its neighboring points based on the reference axis and normal; Among them, HRIPE() represents the high-dimensional rotation-invariant position encoding operation, and rpe() represents the rotation-invariant position representation; Indicate point and High-dimensional rotation-invariant position encoding between Indicates that the input feature dimension is 5, and the feature dimension of the output of the lth AMR module is C l The linear layer operation, Norm represents the normalization operation, Indicates that the input feature dimension is C l , the feature dimension of the output of the lth AMR module is C l Linear layer operation; Step A4: Linearly transform the high-dimensional rotation-invariant position encoding of all neighboring points of each point and the first 1 / 4 channels of each point after adding the features of the sampled points after downsampling and aggregation in the Abstract layer; Step A5: The result of step A4 after linear transformation is aggregated by the maximum pooling layer, and then two linear layers are used to learn deeper features; Step A6: Perform a residual connection between the features obtained in step A5 and the features obtained by aggregation of the Abstract layer to obtain updated features to alleviate the gradient disappearance.
3. The method according to claim 1, characterized in that The working process of the ring attention module is as follows: Step B1: The input of the ring attention module is the set of target points to be processed The set of annular neighborhood points around the target point is recorded as And the corresponding feature set in, Indicates distance point In addition to the recent K l The nearest point Point index, feature set According to this index Indexed from the features obtained from the MLP module enhanced by local rotation-invariant position encoding; Step B2: According to the high-dimensional rotation-invariant position encoding operation, Relative to The high-dimensional rotation-invariant position encoding of Using five learnable matrices W G ,W E ,W Q ,W K and W V To project the input, high-dimensional rotation-invariant position encoding By W G ,W E It is further encoded into geometric code G and position code E, and then the new features of the target point at the lth layer are obtained by weighting the geometric code and the value. Among them, G and E are the learned geometric and positional encodings respectively, and the learned context features can be projected into q, K and V: in, is the feature of the i-th point in the l-th layer, F l is the point feature updated by the MLP module based on local rotation-invariant position encoding enhancement, c0 is the feature dimension size of G and V; Step B3: Through linear layers and residual connections and After adding and updating, we get the final feature F of the target point at the lth layer. l .
4. The method according to claim 1, characterized in that: The four AMR modules of the feature extractor are connected in sequence, wherein the downsampling coefficients in each AMR module are [1, 0.25, 0.25, 0.25] in sequence; the feature dimensions of each AMR module are [64, 128, 256, 256] in sequence; the number of neighborhood points is set to [8, 16, 16, 16] in sequence, the last AMR module is connected to the global Transformer module, each AMR module is residually connected to a feature forward propagation module, the four feature forward propagation modules are connected in reverse sequence, the input end of the first feature forward propagation module and the input end of the coarse-to-fine point matcher are both connected to the output end of the global Transformer module, and the output end of the last feature forward propagation module and the global Transformer module are connected to the input end of the coarse-to-fine point matcher, thereby obtaining the predicted super-point matching relationship and dense point matching relationship through the coarse-to-fine point matcher.
5. The method according to claim 1, characterized in that The matching loss is calculated by the overlap-aware circle loss and the negative log-likelihood loss. The matching loss is obtained by adding the overlap-aware circle loss and the negative log-likelihood loss in a one-to-one ratio. The overlap-aware circle loss is calculated using the predicted value of the super-point matching relationship and the super-point matching relationship derived from the pose truth as input; The negative log-likelihood loss is calculated using the dense point matching relationship prediction value and the pose truth value as input.
6. A robust point cloud registration system based on invariant and unique features, characterized in that: include: RID-Net model construction unit; the RID-Net model includes a connected feature extractor and a coarse-to-fine point matcher, wherein the feature extractor includes 4 AMR modules, a global Transformer module and 4 feature forward propagation modules; The AMR module includes an Abstract layer, an MLP module enhanced based on local rotation-invariant position coding, and a ring attention module connected in sequence; Model training unit: by obtaining multiple pairs of point cloud data of a certain scene and the corresponding relative pose truth values as training data, where the relative pose truth values are converted into super-point matching relationships and dense point matching relationships; input each pair of point cloud data into the constructed RID-Net model in turn, and the matching relationships of the super points and dense points of each pair of point clouds predicted by the RID-Net model are used to obtain the trained RID-Net model parameters when the matching loss converges; Model registration unit: The collected point cloud data is input into the trained RID-Net model, and the super-point matching relationship and dense point matching relationship corresponding to the two frames of point clouds are predicted. Based on the obtained matching relationship, the relative pose of the two frames of point clouds is solved by a robust pose estimator, and then the source point cloud data is converted to the target point cloud coordinate system through the relative pose to complete the registration.
7. The system according to claim 6, characterized in that The specific working process of the MLP module based on local rotation invariant position coding enhancement is as follows: Step A1: Obtain the local neighborhood point coordinates and aggregation features of each point; The initial feature of each point is set to 1, and the aggregated feature of each point is obtained by aggregating the initial features through the Abstract layer; Step A2: Calculate the reference axis perpendicular to the normal line of each point; in, represents the i-th point processed on the l-th layer AMR module, K l represents the number of neighborhood points used by the AMR module at the first layer, k l Indicates the kth layer of the lth layer l Neighborhood points, Indicated by point point to The vector of express kth l Neighborhood points, express The set of neighboring points of is the calculated perpendicular to the point The normal vector, r is set to The distance to the farthest neighbor point, v i is the final weighted perpendicular to The reference axis of the normal; each point The normal line is denoted as Step A3: construct a high-dimensional rotation-invariant position encoding of each point and its neighboring points based on the reference axis and normal; Among them, HRIPE() represents the high-dimensional rotation-invariant position encoding operation, and rpe() represents the rotation-invariant position representation; Indicate point and High-dimensional rotation-invariant position encoding between Indicates that the input feature dimension is 5, and the feature dimension of the output of the lth AMR module is C l The linear layer operation, Norm represents the normalization operation, Indicates that the input feature dimension is C l , the feature dimension of the output of the lth AMR module is C l Linear layer operation; Step A4: Linearly transform the high-dimensional rotation-invariant position encoding of all neighboring points of each point and the first 1 / 4 channels of each point after adding the features of the sampled points after downsampling and aggregation in the Abstract layer; Step A5: The result of step A4 after linear transformation is aggregated by the maximum pooling layer, and then two linear layers are used to learn deeper features; Step A6: Perform a residual connection between the features obtained in step A5 and the features obtained by aggregation of the Abstract layer to obtain updated features to alleviate the gradient disappearance.
8. The system according to claim 6, characterized in that The working process of the ring attention module is as follows: Step B1: The input of the ring attention module is the set of target points to be processed The set of annular neighborhood points around the target point is recorded as And the corresponding feature set in, Indicates distance point In addition to the recent K l The nearest point Point index, feature set According to this index Indexed from the features obtained from the MLP module enhanced by local rotation-invariant position encoding; Step B2: According to the high-dimensional rotation-invariant position encoding operation, Relative to The high-dimensional rotation-invariant position encoding of Using five learnable matrices W G ,W E ,W Q ,W K and W V To project the input, high-dimensional rotation-invariant position encoding By W G ,W E It is further encoded into geometric code G and position code E, and then the new target point feature of the lth layer is obtained by weighting the geometric code and the value Value. Among them, G and E are the learned geometric and positional encodings respectively, and the learned context features can be projected into q, K and V: in, is the feature of the i-th point in the l-th layer, F l is the point feature updated by the MLP module based on local rotation-invariant position encoding enhancement, c0 is the feature dimension size of G and V; Step B3: Through linear layers and residual connections and After adding and updating, we get the final feature F of the target point at the lth layer. l .
9. A computer device, characterized in that: At least: one or more processors; a memory storing one or more computer programs; The processor calls the computer program to implement: The steps of the method according to any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: A computer program is stored, which is called by a processor to implement: The steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Improved three-dimensional point cloud registration method and system based on two-dimensional image guidance, and readable storage medium
CN110942476A
Transform-based low-overlap point cloud registration method
CN118096843A
Deep neural network point cloud registration system based on local features and Euclidean spatial distance and construction method thereof
CN118379334A
Method and apparatus for point cloud data processing, electronic device and computer storage medium
US20220335666A1
Systems and methods for point cloud registration
US20220414821A1