Position recognition method based on fusion of camera and lidar in large-scale environment

By fusing the position recognition method of cameras and lidar in a large-scale environment, and using the neural network structure to fuse different modal features, the problem of poor position recognition accuracy in the existing technology is solved, and higher robustness and perception capabilities are achieved. .

CN118379355BActive Publication Date: 2024-10-15SHANDONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410806547.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-10-15
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

The existing technology has poor position recognition accuracy in large-scale environments. Visual SLAM is easily affected by illumination changes and noise, and laser SLAM is easily affected by viewpoint changes and point cloud sparseness, resulting in performance degradation.

Method used

Using a position recognition method that integrates cameras and lidar in a large-scale environment, by converting a three-dimensional point cloud into a two-dimensional range image, extracting surround image features and range image features, the neural network structure is designed, including a visual feature map vertical compression module, multiple The modal feature fusion and descriptor aggregation module and the post-fusion module use the Transformer module to fuse the feature information of different modalities and calculate global descriptors for location recognition.

Benefits of technology

It improves the accuracy of robust location recognition, improves environmental understanding, object detection and tracking performance, and semantic understanding, providing more comprehensive and reliable perception capabilities for autonomous driving systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118379355B_ABST
    Figure CN118379355B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for position recognition by fusing a camera and a laser radar in a large-scale environment, which belongs to the technical field of position recognition and is used for position recognition, including converting a three-dimensional point cloud into a two-dimensional range image, extracting surround image features and range image features, constructing a neural network structure, and performing neural network training and robust position recognition; constructing a neural network structure includes designing a visual feature map vertical compression module, a multimodal feature fusion and descriptor aggregation module, and a late fusion module. The present invention improves the efficiency of network processing by removing redundant information in the height dimension and converting a three-dimensional point cloud into a two-dimensional range image through a vertical compression module. At the same time, the Transformer module fuses feature information of different modalities and the late fusion module extracts the association between different modalities, thereby improving the accuracy of robust position recognition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a position recognition method integrating a camera and a laser radar in a large-scale environment, and belongs to the technical field of position recognition. Background Art

[0002] In recent years, Simultaneous Localization and Mapping (SLAM) technology has been widely used in the field of positioning and navigation. SLAM can provide real-time positioning and build a consistent map of the environment in complex and unknown environments. It does not rely on external signals and can achieve high-precision and high-continuity positioning in GNSS-denied environments. It has become an alternative solution for reliable vehicle positioning. In addition, SLAM has extensive and important practical application value in the fields of autonomous driving, digital twins, augmented reality, search and rescue, and industrial inspection robots.

[0003] Visual SLAM refers to the SLAM technology based on computer vision, which uses cameras (monocular, binocular, RGB-D) as sensors. It uses camera images to achieve real-time positioning and map construction, and has the advantages of rich environmental information and low cost. However, cameras are easily affected by lighting changes, image noise, and lack of texture scenes, which makes feature extraction and tracking difficult, resulting in reduced visual SLAM performance. Laser SLAM refers to SLAM technology based on laser radar. Laser radar can obtain the distance and spatial structure information of objects in the environment by emitting laser beams and receiving reflected laser point cloud data. Therefore, laser SLAM is insensitive to lighting and texture conditions, and has the advantages of high accuracy, good stability, and strong anti-interference ability. However, the performance of the laser radar-based method is easily affected by viewpoint changes, sparse point clouds, and lack of texture information. Combining laser radar with cameras can transcend the limitations of each single modality and is widely used in perception tasks such as autonomous driving. The complementary nature of the two sensors is utilized to improve the ability to understand the environment, object detection and tracking performance, semantic understanding ability, and depth prediction accuracy, bringing more comprehensive and reliable perception capabilities to autonomous driving systems. It is of great significance to achieve robust position recognition and improve SLAM positioning performance.

[0004] Visual SLAM technology using cameras (monocular, binocular, RGB-D) as sensors is easily affected by illumination changes, image noise, and lack of texture scenes, which makes feature extraction and tracking difficult, resulting in reduced visual SLAM performance. Laser SLAM using lidar as a sensor is easily affected by viewpoint changes, sparse point clouds, and lack of texture information. Summary of the invention

[0005] The purpose of the present invention is to provide a position recognition method that integrates a camera and a laser radar in a large-scale environment to solve the problem of poor position recognition accuracy in the prior art.

[0006] The location recognition method of fusing camera and lidar in large-scale environment includes converting 3D point cloud into 2D range image, extracting surround image features and range image features, building neural network structure, and performing neural network training and robust location recognition; building neural network structure includes designing visual feature map vertical compression module, multimodal feature fusion and descriptor aggregation module and late fusion module;

[0007] Designing a multimodal feature fusion and descriptor aggregation module includes designing a multimodal feature fusion Transformer module and designing a descriptor aggregation module. Designing a multimodal feature fusion Transformer module includes simultaneously sending the range image features output by the surround image feature encoding module and the OverlapNetLeg module to the multimodal feature fusion Transformer module to extract features collected by different sensors. The dimension of the visual feature map is equal to the dimension of the point cloud feature map.

[0008] The multimodal feature fusion module is divided into a visual feature map branch and a point cloud feature map branch, which are stacked through a single Transformer module;

[0009] The designed late fusion module includes the visual descriptor, point cloud descriptor, and visual-point cloud fusion descriptor output by the descriptor aggregation module, which are input into the late fusion module. The similarity of each descriptor is calculated and the fusion strategy is applied to combine them into a global descriptor for location recognition retrieval. The visual feature map branch uses the query features in the visual feature map and the key and value features in the point cloud feature map to extract the correlation between different modalities.

[0010] Converting a 3D point cloud into a 2D distance image includes converting the 3D point cloud into a 2D distance image using spherical projection, point cloud coordinates Convert to image coordinates :

[0011] ;

[0012] ;

[0013] In the formula, and Represents the width and height of the distance image, Represents the distance of each point, represents the vertical viewing angle of the LiDAR, express Upward angle.

[0014] Extracting surround view image features and distance image features includes designing a surround view image feature encoding module, extracting visual image features collected by N cameras through an image encoder, and designing a distance image feature encoding module, extracting distance image features of point cloud projection through an OverlapNetLeg fully convolutional encoder.

[0015] Designing the surround view image feature encoding module includes using the 360-degree surround view images collected by N cameras as input data, denoted as , is the input data , is the input data , a multi-level, multi-channel fine-grained features are captured through a multi-image weight-sharing encoder embedded with an attention mechanism, and a lightweight ResNet-18 network is used to process image features. The number of cameras is equal to the number of weight-sharing branches. A channel attention mechanism is embedded after the deep and shallow cascade convolutional layers of each branch, and different weights are assigned to each channel.

[0016] Designing the distance image feature encoding module includes converting the size The distance image is passed through the fully convolutional encoder OverlapNetLeg to extract global image features. It is the output data , Output data , the convolution filter in the encoder only compresses the distance image in the vertical dimension, does not change the width dimension, and has no padding or loss; OverlapNetLeg outputs feature quantity The dimension is .

[0017] Designing a visual feature map vertical compression module includes performing a vertical compression operation on the feature map output by the surround view image feature encoding module. For the visual feature map, the feature quantity dimension output by the surround view image feature encoding module is , C is the length of the distance image, and it is spliced ​​along the width dimension. The spliced ​​dimension is The feature quantity is input into the vertical compression module for feature compression operation, and the compressed feature is obtained. .

[0018] Designing a descriptor aggregation module involves converting the visual feature map , point cloud feature map , Vision-point cloud fusion feature map A one-dimensional global descriptor is obtained by aggregating three NetVLAD-MLP modules.

[0019] The feature quantity extracted by multi-head self-attention of one Transformer block is expressed as , Cross-Attention Mechanism for:

[0020] ;

[0021] In the formula, From the visual feature map The query features after dimension transformation, and It is the point cloud feature map The key features and value features after dimension transformation, Represents feature dimension;

[0022] Will Input layer normalization and multi-layer perceptron, generating attention-enhanced fusion features of the first Transformer block through LN operation :

[0023] ;

[0024] In the formula, Represents a dimension transformation operation;

[0025] For the point cloud feature map branch, the same operation as the visual feature map branch is used to obtain the cross attention mechanism of the visual feature map branch. Attention-enhanced fusion features of the visual feature map branch ;

[0026] In the last Transformer block and Connect them to obtain the intermediate fusion features .

[0027] The generalized harmonic mean is obtained by Mean:

[0028] ;

[0029] ;

[0030] ;

[0031] ;

[0032] In the formula, It is a broad Mean, is a hyperparameter, is the one-dimensional global descriptor output by the descriptor aggregation module, is the number of descriptors, The one-dimensional global descriptor generated for the n-th modal feature map, and is the intermediate parameter; represents the similarity score of each descriptor calculated by Euclidean distance, for The reciprocal of

[0033] Mean and Power for:

[0034] ;

[0035] ;

[0036] ;

[0037] The minimum and maximum values ​​of are:

[0038] ;

[0039] Maximum value:

[0040] ;

[0041] Minimum:

[0042] ;

[0043] In the formula, and is a hyperparameter.

[0044] Use triplet loss for training, and for each training step, set each batch to contain one query example , a positive sample as well as Negative samples :

[0045] ;

[0046] In the formula, represents the training loss, represents the mapping of sample input to global descriptors, represents the Euclidean distance, Represents the threshold for avoiding negative losses.

[0047] Compared with the prior art, the present invention has the following beneficial effects: the present invention improves the efficiency of network processing by removing redundant information in the height dimension and converting the three-dimensional point cloud into a two-dimensional distance image through a vertical compression module. At the same time, the Transformer module fuses the feature information of different modalities and the post-fusion module extracts the association between different modalities, thereby improving the accuracy of robust position recognition. The complementary properties of the two sensors are utilized to improve the environmental understanding ability, object detection and tracking performance, semantic understanding ability and depth prediction accuracy, bringing more comprehensive and reliable perception capabilities to autonomous driving systems, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a technical flow chart of the present invention. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] The location recognition method of fusing camera and lidar in large-scale environment includes converting 3D point cloud into 2D range image, extracting surround image features and range image features, building neural network structure, and performing neural network training and robust location recognition; building neural network structure includes designing visual feature map vertical compression module, multimodal feature fusion and descriptor aggregation module and late fusion module;

[0051] Designing a multimodal feature fusion and descriptor aggregation module includes designing a multimodal feature fusion Transformer module and designing a descriptor aggregation module. Designing a multimodal feature fusion Transformer module includes simultaneously sending the range image features output by the surround image feature encoding module and the OverlapNetLeg module to the multimodal feature fusion Transformer module to extract features collected by different sensors. The dimension of the visual feature map is equal to the dimension of the point cloud feature map.

[0052] The multimodal feature fusion module is divided into a visual feature map branch and a point cloud feature map branch, which are stacked through a single Transformer module;

[0053] The designed late fusion module includes the visual descriptor, point cloud descriptor, and visual-point cloud fusion descriptor output by the descriptor aggregation module, which are input into the late fusion module. The similarity of each descriptor is calculated and the fusion strategy is applied to combine them into a global descriptor for location recognition retrieval. The visual feature map branch uses the query features in the visual feature map and the key and value features in the point cloud feature map to extract the correlation between different modalities.

[0054] Converting a 3D point cloud into a 2D distance image includes converting the 3D point cloud into a 2D distance image using spherical projection, point cloud coordinates Convert to image coordinates :

[0055] ;

[0056] ;

[0057] In the formula, and Represents the width and height of the distance image, represents the distance of each point, represents the vertical viewing angle of the LiDAR, express Upward angle.

[0058] Extracting surround view image features and distance image features includes designing a surround view image feature encoding module, extracting visual image features collected by N cameras through an image encoder, and designing a distance image feature encoding module, extracting distance image features of point cloud projection through an OverlapNetLeg fully convolutional encoder.

[0059] Designing the surround view image feature encoding module includes using the 360-degree surround view images collected by N cameras as input data, denoted as , is the input data , is the input data , a multi-level, multi-channel fine-grained features are captured through a multi-image weight-sharing encoder embedded with an attention mechanism, and a lightweight ResNet-18 network is used to process image features. The number of cameras is equal to the number of weight-sharing branches. A channel attention mechanism is embedded after the deep and shallow cascade convolutional layers of each branch, and different weights are assigned to each channel.

[0060] Designing the distance image feature encoding module includes converting the size The distance image is passed through the fully convolutional encoder OverlapNetLeg to extract global image features. It is the output data , Output data , the convolution filter in the encoder only compresses the distance image in the vertical dimension, does not change the width dimension, and has no padding or loss; OverlapNetLeg outputs feature quantity The dimension is .

[0061] Designing a visual feature map vertical compression module includes performing a vertical compression operation on the feature map output by the surround view image feature encoding module. For the visual feature map, the feature quantity dimension output by the surround view image feature encoding module is , C is the length of the distance image, and it is spliced ​​along the width dimension. The spliced ​​dimension is The feature quantity is input into the vertical compression module for feature compression operation, and the compressed feature is obtained. .

[0062] Designing a descriptor aggregation module involves converting the visual feature map , point cloud feature map , Vision-point cloud fusion feature map A one-dimensional global descriptor is obtained by aggregating three NetVLAD-MLP modules.

[0063] The feature quantity extracted by multi-head self-attention of one Transformer block is expressed as , Cross-Attention Mechanism for:

[0064] ;

[0065] In the formula, From the visual feature map The query features after dimension transformation, and It is the point cloud feature map The key features and value features after dimension transformation, Represents feature dimension;

[0066] Will Input layer normalization and multi-layer perceptron, generating attention-enhanced fusion features of the first Transformer block through LN operation :

[0067] ;

[0068] In the formula, Represents a dimension transformation operation;

[0069] For the point cloud feature map branch, the same operation as the visual feature map branch is used to obtain the cross attention mechanism of the visual feature map branch. Attention-enhanced fusion features of the visual feature map branch ;

[0070] In the last Transformer block and Connect them to obtain the intermediate fusion features .

[0071] The generalized harmonic mean is obtained by Mean:

[0072] ;

[0073] ;

[0074] ;

[0075] ;

[0076] In the formula, It is a broad Mean, is a hyperparameter, is the one-dimensional global descriptor output by the descriptor aggregation module, is the number of descriptors, The one-dimensional global descriptor generated for the n-th modal feature map, and is the intermediate parameter; represents the similarity score of each descriptor calculated by Euclidean distance, for The reciprocal of

[0077] Mean and Power for:

[0078] ;

[0079] ;

[0080] ;

[0081] The minimum and maximum values ​​of are:

[0082] ;

[0083] Maximum value:

[0084] ;

[0085] Minimum:

[0086] ;

[0087] In the formula, and is a hyperparameter.

[0088] Use triplet loss for training, and for each training step, set each batch to contain one query example , a positive sample as well as Negative samples :

[0089] ;

[0090] In the formula, represents the training loss, represents the mapping of sample input to global descriptors, represents the Euclidean distance, Represents the threshold for avoiding negative losses.

[0091] The technical process of the present invention is as follows Figure 1 As shown, the three-dimensional point cloud is converted into a two-dimensional range image, the surround image features and the range image features are extracted, a neural network structure is constructed, and neural network training and robust position recognition are performed; the construction of the neural network structure includes designing a visual feature map vertical compression module, a multimodal feature fusion and descriptor aggregation module, and a late fusion module.

[0092] In the present invention, the surround image feature encoding module includes:

[0093] Convolutional layer 1: 64 The convolution kernel and input dimensions are The visual image is convolved with a step size of 1 and a dilation rate of 1. After BN and ReLU activation, the dimension is The feature map of

[0094] Pooling layer 1: Use Perform maximum pooling on the feature map output by convolution layer 1 with a step size of 4, and the dimension is The feature map of

[0095] ResNet-18 block 1: 4 layers with 64 The convolution kernel is convolved with the feature map and connected through the residual structure to obtain a dimension of The feature map of

[0096] ResNet-18 convolution layer 1-1: using 64 The convolution kernel is convolved with the feature map output by pooling layer 1, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0097] ResNet-18 convolutional layers 1-2: use 64 The convolution kernel is convolved with the feature map output by ResNet-18 layer 1-1, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0098] ResNet-18 convolutional layers 1-3: use 64 The convolution kernel is convolved with the feature map output by ResNet-18 layer 1-2, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0099] ResNet-18 convolutional layers 1-4: use 64 The convolution kernel is convolved with the feature map output by ResNet-18 layer 1-3, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0100] SENet block 1: Use 1 average pooling layer and 2 fully connected layers to extract channel attention from the feature map output by ResNet-18 block 1, and multiply it with the original feature map to obtain a dimension of The feature map of

[0101] SENet pooling layer 1-1: Check the feature map output by ResNet block 1 and perform global average pooling with a step size of 1, and the dimension is The feature map of

[0102] SENet fully connected layer 1-1: Connect the feature map output by the fully connected layer and the SENet pooling layer 1-1, and activate it with ReLU to get the dimension The feature map of

[0103] SENet fully connected layer 1-2: Connect the feature map output by the fully connected layer and SENet fully connected layer 1-1, and activate it with Sigmoid to get the dimension The feature map of

[0104] ResNet-18 block 2: 4 layers with 128 The convolution kernel is convolved with the feature map and connected through the residual structure to obtain a dimension of The feature map of

[0105] ResNet-18 convolution layer 2-1: using 128 The convolution kernel is convolved with the feature map output by SENet block 1 with a step size of 2 and a dilation rate of 0.5. After ReLU activation, the resulting dimension is The feature map of

[0106] ResNet-18 convolution layer 2-2: using 128 The convolution kernel is convolved with the feature map output by ResNet-18 layer 2-1, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0107] ResNet-18 convolutional layers 2-3: use 128 The convolution kernel is convolved with the feature map output by ResNet-18 layer 2-2, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0108] ResNet-18 convolutional layers 2-4: use 128 The convolution kernel is convolved with the feature map output by ResNet-18 layer 2-3, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0109] ResNet-18 block 3: 4 layers with 256 The convolution kernel is convolved with the feature map and connected through the residual structure to obtain a dimension of The feature map of

[0110] ResNet-18 convolution layer 3-1: using 256 The convolution kernel is convolved with the feature map output by ResNet-18 block 2 with a step size of 2 and a dilation rate of 0.5. After ReLU activation, the resulting dimension is The feature map of

[0111] ResNet-18 convolution layer 3-2: using 256 The convolution kernel is convolved with the feature map output by ResNet-18 layer 3-1, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0112] ResNet-18 convolution layer 3-3: using 256 The convolution kernel is convolved with the feature map output by ResNet-18 layer 3-2, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0113] ResNet-18 convolutional layers 3-4: use 256 The convolution kernel is convolved with the feature map output by ResNet-18 layer 3-3, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0114] ResNet-18 block 4: uses 4 layers and 512 The convolution kernel is convolved with the feature map and connected through the residual structure to obtain a dimension of The feature map of

[0115] ResNet-18 convolution layer 4-1: using 512 The convolution kernel is convolved with the feature map output by ResNet-18 block 3 with a step size of 2 and a dilation rate of 0.5. After ReLU activation, the resulting dimension is The feature map of

[0116] ResNet-18 convolution layer 4-2: using 512 The convolution kernel is convolved with the feature map output by ResNet-18 layer 4-1, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0117] ResNet-18 convolutional layer 4-3: 512 The convolution kernel is convolved with the feature map output by ResNet-18 layer 4-2, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0118] ResNet-18 convolution layer 4-4: 512 The convolution kernel is convolved with the feature map output by ResNet-18 layer 4-3, with a step size of 1 and a dilation rate of 1. After ReLU activation, the dimension is The feature map of

[0119] SENet block 2: Use 1 average pooling layer and 2 fully connected layers to extract channel attention from the feature map output by ResNet-18 block 4, and multiply it with the original feature map to obtain a dimension of The feature map of

[0120] SENet pooling layer 2-1: Check the feature map output by ResNet block 1 and perform global average pooling with a step size of 1, and the dimension is The feature map of

[0121] SENet fully connected layer 2-1: Connect the feature map output by the fully connected layer and the SENet pooling layer 1-1, and activate it with ReLU to get a dimension of The feature map of

[0122] SENet fully connected layer 2-2: Connect the feature map output by the fully connected layer and the SENet fully connected layer 1-1, and activate it with Sigmoid to get a dimension of The feature map of

[0123] The visual feature map vertical compression module includes:

[0124] Convolutional layer 1: 512 The convolution kernel and input dimensions are The visual image is convolved with a step size of 1 and a dilation rate of 1. After Sigmoid activation, the dimension is 5 The feature map of

[0125] Convolutional layer 2: 512 The convolution kernel and input dimensions are The visual image is convolved with a step size of 1 and a dilation rate of 1. After Sigmoid activation, the dimension is 5 The feature map of

[0126] Pooling layer 1: Perform maximum pooling on the feature map output by convolution layer 2 along the height dimension to obtain a dimension of 5 The feature map of

[0127] Convolutional layer 3: 256 The convolution kernel is convolved with the feature map output by pooling layer 1, with a step size of 1 and a dilation rate of 1. After BN and ReLU activation, the dimension is 256. The feature map of

[0128] Convolutional layer 4: 256 The convolution kernel is convolved with the feature map output by convolution layer 3, with a step size of 1 and a dilation rate of 1. After BN and ReLU activation, the dimension is 256. The feature map of

[0129] Convolutional layer 5: 256 The convolution kernel is convolved with the feature map output by convolution layer 4, with a step size of 1 and a dilation rate of 1. After BN and ReLU activation, the dimension is 256. The feature map of

[0130] Convolutional layer 6: 256 The convolution kernel is convolved with the feature map output by convolution layer 5, with a step size of 1 and a dilation rate of 1. After BN and ReLU activation, the dimension is 256. The feature map of

[0131] The nuScenes dataset is widely used in the field of intelligent vehicles. It contains 1,000 driving scenarios, each lasting 20 seconds, and comes with a complete autonomous vehicle sensor suite including six cameras, one lidar, and five radars. The dataset was collected from four different locations, including BS, SON, SQ, and SHV. Among them, the BS dataset is the largest, containing 550 scenes, and the others contain 215, 135, and 100 scenes respectively.

[0132] The robust location recognition network is trained and evaluated on the BS dataset, and the generalization ability of the network is evaluated on SON. The scenes collected within 120 days on the BS dataset are divided into training query set, validation query set, test query set and database set. First, the data of the first 105 days are used as the training query set, and samples with an interval of 1m are selected as the database set; then the data of the latest 15 days are used as the test query set and validation query set according to 1:4; finally, those query sets that do not have indexes in the database within a distance of 5m are deleted. The final BS database set, training query set, validation query set and test query set contain 9686, 8407, 1002 and 3008 samples respectively, and the SON database set and test query set contain 4796 and 3308 samples respectively, as shown in Table 1.

[0133] Table 1 Dataset

[0134] ;

[0135] Two representative visual location recognition algorithms, two laser radar location recognition algorithms and one millimeter wave radar location recognition algorithm are selected for comparison. The output global descriptor sizes of NetVLAD, Patch-NetVLAD, PointNetVLAD, OverlapTransformer, AutoPlace and the present invention are 9216×1, 256×1, 256×1, 256×1, 9216×1, and 256×1, respectively. Recall@1, Recall@5, and Recall@10 are used as evaluation indicators, and the comparison results are shown in Table 2. It can be seen that the method of the present invention achieves the best accuracy in the robust location recognition task, which is better than all the compared methods.

[0136] Table 2 Comparison of results

[0137] .

[0138] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some or all of the technical features may be replaced by equivalents, and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for position recognition by fusing camera and laser radar in a large-scale environment, characterized in that: It includes converting 3D point cloud into 2D range image, extracting surround image features and range image features, building neural network structure, and performing neural network training and robust position recognition; building neural network structure includes designing visual feature map vertical compression module, multimodal feature fusion and descriptor aggregation module and late fusion module; Designing a multimodal feature fusion and descriptor aggregation module includes designing a multimodal feature fusion Transformer module and designing a descriptor aggregation module. Designing a multimodal feature fusion Transformer module includes simultaneously sending the range image features output by the surround image feature encoding module and the OverlapNetLeg module to the multimodal feature fusion Transformer module to extract features collected by different sensors. The dimension of the visual feature map is equal to the dimension of the point cloud feature map. The multimodal feature fusion module is divided into a visual feature map branch and a point cloud feature map branch, which are stacked through a single Transformer module; The late fusion module is designed to include the visual descriptor, point cloud descriptor, and visual-point cloud fusion descriptor output by the descriptor aggregation module into the late fusion module, calculate the similarity of each descriptor, and apply the fusion strategy to combine them into a global descriptor for location recognition retrieval. The visual feature map branch uses the query features in the visual feature map and the key and value features in the point cloud feature map to extract the correlation between different modalities. Designing a visual feature map vertical compression module includes performing a vertical compression operation on the feature map output by the surround view image feature encoding module. For the visual feature map, the feature quantity dimension output by the surround view image feature encoding module is , C is the length of the distance image, and it is spliced ​​along the width dimension. The spliced ​​dimension is The feature quantity is input into the vertical compression module for feature compression operation, and the compressed feature is obtained. ; The generalized harmonic mean is obtained by Mean: ; ; ; ; In the formula, It is a broad Mean, is a hyperparameter, is the one-dimensional global descriptor output by the descriptor aggregation module, is the number of descriptors, The one-dimensional global descriptor generated for the n-th modal feature map, and is the intermediate parameter; represents the similarity score of each descriptor calculated by Euclidean distance, for The reciprocal of Mean and Power for: ; ; ; The minimum and maximum values ​​of are: ; Maximum value: ; Minimum: ; In the formula, and is a hyperparameter.

2. The method for position recognition by fusing camera and laser radar in a large-scale environment according to claim 1, characterized in that: Converting a 3D point cloud into a 2D distance image includes converting the 3D point cloud into a 2D distance image using spherical projection, point cloud coordinates Convert to image coordinates : ; ; In the formula, and Represents the width and height of the distance image, represents the distance of each point, represents the vertical viewing angle of the LiDAR, express Upward angle.

3. The method for position recognition by fusing camera and laser radar in a large-scale environment according to claim 2, characterized in that: Extracting surround view image features and distance image features includes designing a surround view image feature encoding module, extracting visual image features collected by N cameras through an image encoder, and designing a distance image feature encoding module, extracting distance image features of point cloud projection through an OverlapNetLeg fully convolutional encoder.

4. The method for position recognition by fusing camera and laser radar in a large-scale environment according to claim 3, characterized in that: Designing the surround view image feature encoding module includes using the 360-degree surround view images collected by N cameras as input data, denoted as , is the input data , is the input data , a multi-level, multi-channel fine-grained features are captured through a multi-image weight-sharing encoder embedded with an attention mechanism, and a lightweight ResNet-18 network is used to process image features. The number of cameras is equal to the number of weight-sharing branches. A channel attention mechanism is embedded after the deep and shallow cascade convolutional layers of each branch, and different weights are assigned to each channel.

5. The method for position recognition in a large-scale environment by fusing camera and laser radar according to claim 4, characterized in that: Designing the distance image feature encoding module includes converting the size The distance image is passed through the fully convolutional encoder OverlapNetLeg to extract global image features. It is the output data , Output data , the convolution filter in the encoder only compresses the distance image in the vertical dimension, does not change the width dimension, and has no padding or loss; OverlapNetLeg outputs feature quantity The dimension is .

6. The method for position recognition in a large-scale environment by fusing a camera and a laser radar according to claim 5, characterized in that: Designing a descriptor aggregation module involves converting the visual feature map , point cloud feature map , Vision-point cloud fusion feature map A one-dimensional global descriptor is obtained by aggregating three NetVLAD-MLP modules.

7. The method for position recognition in a large-scale environment by fusing a camera and a laser radar according to claim 6, characterized in that: The feature quantity extracted by multi-head self-attention of one Transformer block is expressed as , Cross-Attention Mechanism for: ; In the formula, From the visual feature map The query features after dimension transformation, and It is the point cloud feature map The key features and value features after dimension transformation, Represents feature dimension; Will Input layer normalization and multi-layer perceptron, generate the first Transformer block through LN operation : ; In the formula, Represents a dimension transformation operation; For the point cloud feature map branch, the same operation as the visual feature map branch is used to obtain the cross attention mechanism of the visual feature map branch. Attention-enhanced fusion features of the visual feature map branch ; In the last Transformer block and Connect them to obtain the intermediate fusion features .

8. The method for position recognition by fusing camera and laser radar in a large-scale environment according to claim 7, characterized in that: Use triplet loss for training, and for each training step, set each batch to contain one query example. , a positive sample as well as Negative samples : ; In the formula, represents the training loss, represents the mapping of sample input to global descriptors, represents the Euclidean distance, Represents the threshold for avoiding negative losses.