Laser point cloud feature extraction method and device based on multi-head self-attention
Through the multi-head self-attention laser point cloud feature extraction method, combined with the cascade self-attention perception network and feature fusion, the problems of low image data processing efficiency and insufficient detection accuracy in the existing technology are solved, and more efficient feature extraction is achieved. and improved detection accuracy.
Patent Information
- Application Number
- CN202210311581.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-03-28
AI Technical Summary
Existing feature extraction methods are difficult to effectively express long-distance correlation and parallel computing in images when processing large-scale image data, resulting in low detection accuracy and low data processing efficiency, especially in laser point cloud target detection and semantic segmentation tasks. middle.
A laser point cloud feature extraction method based on multi-head self-attention is used. Through voxel segmentation and low-level feature extraction, the cascaded self-attention perception network is used for multiple feature perceptions, and low-level and high-level feature maps are combined for fusion to generate the final Point cloud feature map.
It improves the ability of features to express original data, enhances detection accuracy and efficiency, effectively prevents the loss of low-level features in the feature extraction process, and improves detection accuracy by learning the overall structural relationship of the image through the self-attention mechanism.
Smart Images

Figure CN114743014B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of computer vision, and in particular relates to a laser point cloud feature extraction method and device based on multi-head self-attention. Background Art
[0002] In computers, images are stored in ordered multidimensional matrices. Grayscale images correspond to a two-dimensional array, and color images correspond to a three-dimensional array. When the number of images involved in the calculation is small, the image matrix can be directly used as the image feature for operation. In recent years, with the rapid development of artificial intelligence and big data, data-driven methods have gradually become mainstream. In this type of method, the amount of data is often very large. If the traditional method is still used, directly using the entire image matrix as the image feature for various operations will occupy a large amount of storage and computing resources, resulting in huge waste. Therefore, it is of great significance to extract features from the original image, reduce the image dimension through certain methods, store only the key information in the image, and remove redundant information.
[0003] At present, the existing feature extraction methods for deep learning tasks mostly use methods based on CNN models or RNN models. Among them, in the feature extraction method based on the CNN model, the number of operations required to calculate the association between two positions in the image is positively correlated with the distance between the two positions. Therefore, when the number of network layers is limited, it is difficult to calculate the association between distant positions in the image, resulting in the loss of some features; and the RNN-based method is also difficult to perform parallel calculations due to its inherent sequential properties; and for long sequences, memory limitations will hinder the network's batch processing of samples, affecting the subsequent detection accuracy.
[0004] In summary, the features extracted by the existing feature extraction methods are insufficient in expressing the original data, which seriously affects the detection accuracy of subsequent tasks such as laser point cloud target detection and laser point cloud semantic segmentation, and the data processing efficiency needs to be further improved. Summary of the invention
[0005] In order to solve the above problems existing in the prior art, the present invention provides a laser point cloud feature extraction method and device based on multi-head self-attention. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0006] In a first aspect, the present invention provides a laser point cloud feature extraction method based on multi-head self-attention, comprising:
[0007] Step 1: Get the original point cloud information of the laser radar;
[0008] Step 2: Perform voxel segmentation on the original point cloud information to obtain a depth map;
[0009] Step 3: extracting low-level features from the depth map to obtain a low-level feature map;
[0010] Step 4: Based on the cascaded self-attention perception network, the low-level feature map is sequentially subjected to multiple feature perceptions to obtain a high-level feature map;
[0011] Step 5: Fuse the low-level feature map and the high-level feature map to obtain the final point cloud feature map.
[0012] In one embodiment of the present invention, step 3 specifically includes: using a first convolutional layer to extract low-level features of the depth map to obtain a low-level feature map; wherein the first convolutional layer includes a 3*3 convolution kernel.
[0013] In one embodiment of the present invention, in step 4, the self-attention perception network includes a plurality of cascaded feature perception modules and a second convolutional layer; wherein the second convolutional layer includes a 3*3 convolution;
[0014] Then step 4 specifically includes:
[0015] Using multiple feature perception modules in sequence to perform feature perception on the low-level feature map;
[0016] The output of the last-level feature perception module is processed using the second convolutional layer to obtain a high-level feature map.
[0017] In one embodiment of the present invention, each of the feature perception modules includes a plurality of cascaded feature extraction units and a third convolution layer; wherein the third convolution layer includes a 3*3 convolution kernel;
[0018] The specific process of each feature perception module performing feature perception on the low-level feature map includes:
[0019] Using the first-level feature extraction unit to extract features from the input of the current-level feature perception module;
[0020] The output of the feature extraction unit at the current level is used as the input of the feature extraction unit at the next level, and feature extraction is performed in sequence;
[0021] The third convolutional layer is used to perform feature extraction on the output of the last-level feature extraction unit to obtain the output of the current feature perception module.
[0022] In one embodiment of the present invention, each of the feature extraction units includes a self-attention perception layer and a multi-layer perceptron; then the processing process of each feature extraction unit on the input feature includes:
[0023] Using the self-attention perception layer to process the input of the current feature extraction unit to obtain a first feature map;
[0024] Fusing the input of the current feature extraction unit with the first feature map to obtain a second feature map;
[0025] Processing the second feature map using the multi-layer perceptron to obtain a third feature map;
[0026] The third feature map and the second feature map are fused to obtain the output of the current feature extraction unit.
[0027] In one embodiment of the present invention, the input of the current feature extraction unit is processed using the self-attention perception layer to obtain a first feature map, including:
[0028] Set the number of channels to C and the window size to M to divide the input image of the current feature extraction unit into M×M×C image blocks;
[0029] Calculate the single-head attention values Q, K, V of each image block using the weight matrix set in the self-attention perception layer;
[0030] The score between each image block and other image blocks is calculated according to the single-head attention value, and the calculation formula is:
[0031] Score i→j =Q i ·K j
[0032] Among them, Score i→j Refers to the score of the i-th image block to the j-th image block, Q i represents the single-head attention Q value of the i-th image block, K j Represents the single-head attention K value of the j-th image block;
[0033] Perform relative position encoding on each image block to obtain a coding matrix;
[0034] Use the Softmax function to normalize the score of each image block;
[0035] Calculate the standard self-attention of the normalized image block;
[0036] Aggregate the calculated standard self-attention to obtain the first feature map.
[0037] In one embodiment of the present invention, each of the feature extraction units further includes a first normalization layer and a second normalization layer;
[0038] The first normalization layer is specifically used to normalize the input of the current feature extraction unit before using the self-attention perception layer to process the input of the current feature extraction unit;
[0039] The second normalization layer is specifically used to normalize the second feature map before the second feature map is processed by the multilayer perceptron.
[0040] In one embodiment of the present invention, the multilayer perceptron includes two fully connected layers and a GELU activation function.
[0041] In a second aspect, the present invention provides a laser point cloud feature extraction device based on multi-head self-attention, comprising:
[0042] Data acquisition module, used to obtain the original point cloud information of the laser radar;
[0043] A voxel segmentation module, used to perform voxel segmentation on the original point cloud information to obtain a depth map;
[0044] A low-level feature extraction module, used to perform low-level feature extraction on the depth map to obtain a low-level feature map;
[0045] A high-level feature extraction module, comprising a plurality of cascaded feature perception modules, for sequentially performing multiple feature perceptions on the low-level feature map based on a self-attention perception network to obtain a high-level feature map;
[0046] A feature fusion module is connected to the low-level feature extraction module and the high-level feature extraction module, and is used to fuse the low-level feature map with the high-level feature map to obtain a final point cloud feature map.
[0047] In one embodiment of the present invention, each of the feature perception modules includes a plurality of cascaded feature extraction units, and each of the feature extraction units includes a self-attention perception layer and a multi-layer perceptron.
[0048] Beneficial effects of the present invention:
[0049] 1. The present invention first extracts low-level features from the image, and then extracts high-level features from the low-level feature map by using a self-attention perception network with a multi-cascade structure, and then combines the low-level features and the high-level features to obtain the final feature map; this method takes into account both the high-level features and the low-level features of the original image, fully utilizes the three-dimensional information of the original point cloud, effectively prevents the problem of losing low-level features under multi-layer feature extraction, improves the ability of features to express original data, and thus improves the subsequent detection accuracy and efficiency;
[0050] 2. The self-attention mechanism introduced in the present invention can also effectively learn the relationship of the overall structure of the image, further enhance the ability of the features to express the original data, and improve the subsequent detection accuracy.
[0051] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] Figure 1 It is a flow chart of a laser point cloud feature extraction method based on multi-head self-attention provided by an embodiment of the present invention;
[0053] Figure 2 It is a working principle diagram of feature extraction based on a cascaded self-attention perception network provided by an embodiment of the present invention;
[0054] Figure 3 It is a working principle diagram of feature extraction of a feature perception module provided by an embodiment of the present invention;
[0055] Figure 4 is a schematic diagram of a process for relative position encoding of each image block provided by an embodiment of the present invention;
[0056] Figure 5 is a schematic diagram of a process of normalizing the score of each image block using a Softmax function provided by an embodiment of the present invention;
[0057] Figure 6 It is a structural schematic diagram of a laser point cloud feature extraction device based on multi-head self-attention provided by an embodiment of the present invention;
[0058] Figure 7 It is a schematic diagram of the structure of a single feature perception module provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0060] Embodiment 1
[0061] See also Figure 1 , Figure 1 : is a flow chart of a laser point cloud feature extraction method based on multi-head self-attention provided by an embodiment of the present invention, which specifically includes:
[0062] Step 1: Get the original point cloud information of LiDAR.
[0063] Specifically, raw point cloud data can be obtained through lidar scanning.
[0064] Step 2: Perform voxel segmentation on the original point cloud information to obtain a depth map.
[0065] In this embodiment, the method disclosed in the document "Lang AH, Vora S, Caesar H, et al. Pointpillars: Fast encoders for object detection from point clouds [C] / / Proceedings of the IEEE / CVF Conference on Computer Vision and Pattern Recognition. 2019: 12697-12705." can be used to perform 2D voxelization on the original point cloud information to obtain a 2D depth map. The detailed process is not described here.
[0066] Step 3: Perform low-level feature extraction on the depth map to obtain a low-level feature map.
[0067] Specifically, the first convolutional layer can be used to extract low-level features from the depth map to obtain a low-level feature map; wherein the first convolutional layer includes a 3*3 convolution kernel.
[0068] In this embodiment, the low-level features mainly refer to primary features that contain more detailed information such as texture, geometry, color, contour, etc. related to the image after simple feature extraction.
[0069] Step 4: Based on the cascaded self-attention perception network, the low-level feature map is perceived multiple times in sequence to obtain a high-level feature map.
[0070] In this embodiment, the high-level features of the image refer to features with stronger semantic information.
[0071] Specifically, the self-attention perception network includes multiple cascaded feature perception modules and a second convolutional layer; wherein the second convolutional layer includes a 3*3 convolution.
[0072] For example, see Figure 2 , Figure 2 1 is a working principle diagram of feature extraction based on a cascaded self-attention perception network provided by an embodiment of the present invention. The self-attention perception network includes four cascaded feature perception modules and a 3*3 convolution.
[0073] Accordingly, step 4 specifically includes:
[0074] 41) using multiple feature perception modules in sequence to perform feature perception on the low-level feature map;
[0075] 42) The output of the last-level feature perception module is processed using the second convolutional layer, i.e., 3*3 convolution, to obtain a high-level feature map.
[0076] Furthermore, each feature perception module includes multiple cascaded feature extraction units and a third convolution layer; wherein the third convolution layer includes a 3*3 convolution kernel.
[0077] For example, see Figure 3 , Figure 3 It is a working principle diagram of feature extraction of a feature perception module provided by an embodiment of the present invention, wherein the feature perception module includes four cascaded feature extraction units and a 3*3 convolution.
[0078] Specifically, in step 41), the specific process of each feature perception module performing feature perception on the low-level feature map includes:
[0079] 41-3) using the first-level feature extraction unit to extract features from the input of the current-level feature perception module;
[0080] 41-2) using the output of the current level feature extraction unit as the input of the next level feature extraction unit, and performing feature extraction in sequence;
[0081] 41-3) Use the third convolutional layer to extract features from the output of the last-level feature extraction unit to obtain the output of the current feature perception module.
[0082] More specifically, each feature extraction unit includes a self-attention perception layer and a multi-layer perceptron, such as Figure 3 As shown, in this embodiment, the process of processing the input features by each feature extraction unit includes:
[0083] a) using the self-attention perception layer to process the input of the current feature extraction unit to obtain a first feature map;
[0084] b) fusing the input of the current feature extraction unit with the first feature map to obtain a second feature map;
[0085] c) using a multi-layer perceptron to process the second feature map to obtain a third feature map;
[0086] d) Fusing the third feature map and the second feature map to obtain the output of the current feature extraction unit.
[0087] In this embodiment, step a) specifically includes:
[0088] a1) Set the number of channels to C and the window size to M to divide the input image of the current feature extraction unit into M×M×C image blocks.
[0089] Specifically, let the size of the input image be H×W×C, C is the number of channels, and the window size be M, then the image can be split into There are M×M×C image blocks.
[0090] a2) Use the weight matrix set in the self-attention perception layer to calculate the single-head attention value Q, K, V of each image block.
[0091] Specifically, the self-attention perception layer contains 8 sets of weight matrices, each of which contains W Q , W K and W V Three weight matrices, the parameters of which can be improved in the subsequent training process, for each image block, multiply them by the three weight matrices respectively to obtain the single-head attention values Q, K and V. Since there are 8 sets of weight matrix sets, 8 sets of Q, K, V features can be calculated for each input.
[0092] a3) Calculate the score between each image patch and other image patches based on the single-head attention value.
[0093] Specifically, after obtaining the Q, V, and K features, for each image block, it is necessary to calculate the score between it and other image blocks. This parameter indicates how much attention needs to be paid to other input image blocks when encoding an image block at a certain position. The score is calculated by taking the Q of the current image block being calculated and the K of other image blocks, and taking the dot product of the two as the score. The calculation formula is:
[0094] Score i→j =Q i ·K j
[0095] Among them, Score i→j Refers to the score of the i-th image block to the j-th image block, Q i represents the single-head attention Q value of the i-th image block, K j Represents the single-head attention K value of the j-th image patch.
[0096] a4) Perform relative position encoding on each image block to obtain a coding matrix.
[0097] In this embodiment, in order to prevent label leakage during training, the self-attention calculation of a certain image block needs to rely only on the image block before it, not on the image block after it. The implementation method is an upper triangular matrix, where the upper triangular area corresponds to the part to be shielded, which is -∞, and the lower triangular area is 0. For example, taking 4 image blocks as an example, the relative position encoding process is as follows: Figure 4 shown.
[0098] a5) Use the Softmax function to normalize the score of each image block.
[0099] Specifically, first, the attention relationship is encoded using the encoding matrix generated in step a4), and then normalized using the softmax function.
[0100] For example, continuing with the example of 4 image blocks, the normalization process can be done by Figure 5 Indicates, AB refers to the score of image block A to image block B in the previous step a3). Similarly, AC and AD are the scores of A to C and D. Then add the encoding matrix in step a4) and perform softmax to get the normalized score. Since the positions that do not need to be allocated attention after encoding become negative infinity, these positions are exactly 0 after softmax. ab represents the score of A to B after softmax.
[0101] a6) Calculate the standard self-attention of the normalized image block.
[0102] Specifically, continuing to take the above four image blocks as an example, the standard self-attention of image block A is aa×Va+ab×Vb+ac×Vc+ad×Vd.
[0103] By performing steps a3)-a6) for all image blocks, the standard self-attention of all image blocks can be obtained.
[0104] a7) Aggregate the calculated standard self-attention to obtain the first feature map.
[0105] Specifically, since there are eight matrix sets described in step a2), for each image block, there will be 8 sets of standard self-attention in the end. These eight sets of standard self-attention are aggregated into one group to obtain the first feature map.
[0106] For further information, see Figure 3 , where each feature extraction unit also includes a first normalization layer and a second normalization layer, that is, Figure 3 Layer Normalization 1 and Layer Normalization 2 in
[0107] The first normalization layer is specifically used to normalize the input of the current feature extraction unit before the self-attention perception layer processes the input of the current feature extraction unit;
[0108] The second normalization layer is specifically used to normalize the second feature map before processing the second feature map using the multilayer perceptron.
[0109] In this embodiment, both the first normalization layer and the second normalization layer perform layer normalization on the data. Specifically, layer normalization is to normalize the data to a distribution with a mean of 0 and a variance of 1. The main function is to ensure that the data distribution of each layer input is the same. Since the distribution of each batch of training data is different in the subsequent training process, if normalization is not performed, it will make it difficult to converge during the network training process.
[0110] Furthermore, in this embodiment, the multilayer perceptron includes two fully connected layers and one GELU activation function.
[0111] Specifically, the multi-layer perceptron itself is also a way of feature extraction. In the entire network, a multi-layer perceptron with two hidden layers is used to extract the intrinsic connection between the outputs of each image block in the attention perception layer.
[0112] Step 5: Fuse the low-level feature map and the high-level feature map to obtain the final point cloud feature map.
[0113] The laser point cloud feature extraction method based on multi-head self-attention provided by the present invention first extracts low-level features of the image, and then extracts high-level features of the low-level feature map by adopting a self-attention perception network with a multi-cascade structure, and then combines the low-level features and the high-level features to obtain the final feature map; the method takes into account both the high-level features and the low-level features of the original image, makes full use of the three-dimensional information of the original point cloud, effectively prevents the problem of losing low-level features under multi-layer feature extraction, improves the expression ability of features to the original data, and thus improves the subsequent detection accuracy and efficiency; in addition, the self-attention mechanism introduced by the present invention can also effectively learn the relationship between the overall structure of the image, further improves the expression ability of features to the original data, and improves the subsequent detection accuracy.
[0114] Embodiment 2
[0115] Based on the above embodiment 1, this embodiment provides a laser point cloud feature extraction device based on multi-head self-attention, which is used to implement the method of the above embodiment 1. Figure 6 , Figure 6 : is a schematic diagram of the structure of a laser point cloud feature extraction device based on multi-head self-attention provided by an embodiment of the present invention, which includes:
[0116] Data acquisition module 1, used to obtain the original point cloud information of the laser radar;
[0117] Voxel segmentation module 2, used to perform voxel segmentation on the original point cloud information to obtain a depth map;
[0118] A low-level feature extraction module 3 is used to extract low-level features from the depth map to obtain a low-level feature map;
[0119] A high-level feature extraction module 4, comprising a plurality of cascaded feature perception modules, for sequentially performing multiple feature perceptions on the low-level feature map based on a self-attention perception network to obtain a high-level feature map;
[0120] The feature fusion module 5 is connected to the low-level feature extraction module 3 and the high-level feature extraction module 4, and is used to fuse the low-level feature map with the high-level feature map to obtain the final point cloud feature map.
[0121] For further information, see Figure 7 , Figure 7 It is a structural schematic diagram of a single feature perception module provided by an embodiment of the present invention, wherein each feature perception module includes a plurality of cascaded feature extraction units, and each feature extraction unit includes a self-attention perception layer and a multi-layer perceptron.
[0122] In addition, each feature extraction unit also includes two normalization layers, which are connected before the self-attention perception layer and the multi-layer perceptron, respectively, as shown in Figure 7 shown.
[0123] Preferably, in this embodiment, the high-level feature extraction module 4 specifically includes four cascaded feature perception modules, and the last-level feature perception module is also connected to a 3*3 convolution. Each feature perception module includes four cascaded feature extraction units, and the last-level feature extraction unit is also connected to a 3*3 convolution.
[0124] The laser point cloud feature extraction device based on multi-head self-attention provided in this embodiment can be used to implement the method provided in the above-mentioned embodiment 1. The detailed process can be found in the above-mentioned embodiment 1 and will not be described in detail here.
[0125] Therefore, when performing feature extraction, the device provided in this embodiment takes into account both the high-level and low-level features of the original image, fully utilizes the three-dimensional information of the original point cloud, effectively prevents the problem of losing low-level features under multi-layer feature extraction, improves the feature's ability to express the original data, and thereby improves subsequent detection accuracy and efficiency.
[0126] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A laser point cloud feature extraction method based on multi-head self-attention, characterized in that: include: Step 1: Get the original point cloud information of the laser radar; Step 2: Perform voxel segmentation on the original point cloud information to obtain a depth map; Step 3: extracting low-level features from the depth map to obtain a low-level feature map; Step 4: Based on the cascaded self-attention perception network, the low-level feature map is sequentially subjected to multiple feature perceptions to obtain a high-level feature map; Step 5: Fusing the low-level feature map and the high-level feature map to obtain a final point cloud feature map; Wherein, in step 4, the self-attention perception network includes multiple cascaded feature perception modules and a second convolutional layer; the second convolutional layer includes a 3*3 convolution; then step 4 specifically includes: 41) using multiple feature perception modules in sequence to perform feature perception on the low-level feature map; 42) Using the second convolutional layer to process the output of the last level feature perception module to obtain a high-level feature map; Each of the feature perception modules includes a plurality of cascaded feature extraction units and a third convolution layer; the third convolution layer includes a 3*3 convolution kernel; and the specific process of each feature perception module performing feature perception on the low-level feature map includes: 41-1) using the first-level feature extraction unit to extract features from the input of the current-level feature perception module; 41-2) using the output of the current level feature extraction unit as the input of the next level feature extraction unit, and performing feature extraction in sequence; 41-3) using the third convolutional layer to perform feature extraction on the output of the last-level feature extraction unit to obtain the output of the current feature perception module; Wherein, each of the feature extraction units includes a self-attention perception layer and a multi-layer perceptron; then the processing process of each feature extraction unit on the input feature includes: a) using the self-attention perception layer to process the input of the current feature extraction unit to obtain a first feature map; a1) setting the number of channels to C and the window size to M to divide the input image of the current feature extraction unit into M×M×C image blocks; a2) using the weight matrix set in the self-attention perception layer to calculate the single-head attention values Q, K, V of each image block; a3) Calculating the score between each image block and other image blocks according to the single-head attention value, the calculation formula is: Score i→j =Q i ·K j Among them, Score i→j Refers to the score of the i-th image block to the j-th image block, Q i represents the single-head attention Q value of the i-th image block, K j Represents the single-head attention K value of the j-th image block; a4) performing relative position encoding on each image block to obtain a coding matrix; a5) Use the Softmax function to normalize the score of each image block; a6) Calculate the standard self-attention of the normalized image block; a7) Aggregating the calculated standard self-attention to obtain the first feature map; b) fusing the input of the current feature extraction unit with the first feature map to obtain a second feature map; c) using the multi-layer perceptron to process the second feature map to obtain a third feature map; d) fusing the third feature map and the second feature map to obtain the output of the current feature extraction unit.
2. The laser point cloud feature extraction method based on multi-head self-attention according to claim 1 is characterized in that: Step 3 specifically includes: using the first convolutional layer to extract low-level features of the depth map to obtain a low-level feature map; wherein the first convolutional layer includes a 3*3 convolution kernel.
3. The laser point cloud feature extraction method based on multi-head self-attention according to claim 1 is characterized in that: Each of the feature extraction units further includes a first normalization layer and a second normalization layer; The first normalization layer is specifically used to normalize the input of the current feature extraction unit before using the self-attention perception layer to process the input of the current feature extraction unit; The second normalization layer is specifically used to normalize the second feature map before the second feature map is processed by the multilayer perceptron.
4. The laser point cloud feature extraction method based on multi-head self-attention according to claim 1 is characterized in that: The multilayer perceptron includes two fully connected layers and a GELU activation function.
5. A laser point cloud feature extraction device based on multi-head self-attention, used to implement the method described in any one of claims 1 to 4, characterized in that: include: A data acquisition module (1), used to acquire original point cloud information of the laser radar; A voxel segmentation module (2), used for performing voxel segmentation on the original point cloud information to obtain a depth map; A low-level feature extraction module (3), used for performing low-level feature extraction on the depth map to obtain a low-level feature map; A high-level feature extraction module (4), comprising a plurality of cascaded feature perception modules, for sequentially performing multiple feature perceptions on the low-level feature map based on a self-attention perception network to obtain a high-level feature map; A feature fusion module (5) is connected to the low-level feature extraction module (3) and the high-level feature extraction module (4) and is used to fuse the low-level feature map and the high-level feature map to obtain a final point cloud feature map.
6. The laser point cloud feature extraction device based on multi-head self-attention according to claim 5 is characterized in that: Each of the feature perception modules includes a plurality of cascaded feature extraction units, and each of the feature extraction units includes a self-attention perception layer and a multi-layer perceptron.
Citation Information
Patent Citations
Single-frame image super-resolution method based on attention cascade network
CN111833246A
Point cloud segmentation method and system, medium, computer equipment, terminal and application
CN112633330A
Three-dimensional target classification and segmentation method
CN113159232A
RGB image classification method based on multi-scale feature attention fusion network
CN113486981A
Salient target detection method based on self-attention mechanism
CN114119993A
