A point cloud segmentation method based on geometric feature aggregation and adaptive fusion
By using geometric representation methods based on position and angle information and multi-scale feature adaptive fusion, the problems of insufficient real-time performance and feature fusion in existing point cloud segmentation methods in autonomous driving environments are solved, achieving more efficient point cloud segmentation results.
Patent Information
- Application Number
- CN202311538657.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-17
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-11-17
AI Technical Summary
Existing point cloud segmentation methods based on points suffer from insufficient real-time performance and inadequate fusion of encoding and decoding features when dealing with complex and ever-changing autonomous driving environments. In particular, they are difficult to achieve accurate real-time segmentation in large outdoor real-world point cloud scenarios.
We employ a geometric representation method based on position and angle information, combined with explicit geometric priors, and obtain geometric context features through an attention mechanism. Furthermore, we use a multi-scale feature adaptive fusion module at the encoder end to enhance the semantic information of the encoded features and reduce the semantic gap between the encoded and decoded features.
It effectively mines geometric structure information in point clouds, improves segmentation performance, enhances the feature fusion process, and meets the requirements of real-time segmentation.
Smart Images

Figure CN117522882B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of point cloud segmentation methods, and specifically to a point cloud segmentation method based on geometric feature aggregation and adaptive fusion. Background Technology
[0002] Point cloud segmentation is an important task in the field of 3D computer vision, aiming to correctly classify each point in a point cloud scene. It has wide applications in autonomous driving, robotics, and remote sensing. However, unlike the regular data format of images, point clouds are spatially unordered collections of points, typically represented by their 3D coordinates, color information, and intensity information. Due to the inherent disorder, irregularity, and sparsity of point clouds, point cloud segmentation presents significant challenges.
[0003] In recent years, deep learning-based point cloud segmentation methods have made significant progress, mainly including projection-based, voxel-based, and point-based methods. Projection- and voxel-based methods first convert the point cloud into multi-view images and voxel meshes, then use 2D and 3D convolutional neural networks to extract features. However, these two methods introduce quantization errors, resulting in the loss of structural information. Point-based methods, on the other hand, process the point cloud directly without additional preprocessing or post-processing, thus becoming the mainstream method for point cloud segmentation. However, due to the complex and ever-changing scenarios in autonomous driving environments, achieving accurate and real-time segmentation remains a significant challenge.
[0004] Point-based point cloud segmentation methods directly use point clouds as input without preprocessing, resulting in relatively low computational complexity. Stanford University's PointNet is a pioneering work in this field, using a shared multilayer perceptron (MLP) and max-pooling function to extract and aggregate features. However, PointNet does not consider local structural information and does not introduce the concept of hierarchical feature extraction, leading to poor performance in point cloud segmentation tasks. Current mainstream point cloud segmentation methods typically employ a U-Net-like structure, including an encoder and a decoder. The encoder extracts hierarchical features through feature extractors and downsampling, while the decoder is used for upsampling and feature fusion. To ensure uniform distribution of downsampled point clouds and preserve key information as much as possible, most methods use farthest point sampling for downsampling. However, this sampling method is too time-consuming, especially when processing large outdoor real-world point cloud scenes, and cannot meet real-time requirements. Oxford University's RandLA-Net proposes using random sampling to improve network efficiency, while simultaneously using the positional relationships between points to encode geometric structural information, which is then combined with semantic information to aggregate neighborhood features. However, RandLA-Net only utilizes the positional information between points to implicitly encode geometric structural information, resulting in insufficient geometric feature extraction capabilities. Meanwhile, Rand-Net adopts the traditional U-Net-type encoding and decoding structure. However, this structure ignores the semantic differences between encoding and decoding features, which is not conducive to the fusion of encoding and decoding features. Summary of the Invention
[0005] To further enhance feature extraction and fusion, this invention proposes a point cloud segmentation method based on geometric feature aggregation and adaptive fusion. This segmentation method primarily enhances geometric representation through positional and angular information between points, while also incorporating geometric priors to obtain explicit geometric information. To enhance the semantic information of encoded features, we propose a multi-scale feature adaptive fusion method, which can simultaneously reduce the semantic gap between encoded and decoded features and improve segmentation performance.
[0006] The present invention has the following two objectives:
[0007] 1) A geometric representation method based on position and angle information is proposed, and the geometric prior of points is introduced to obtain explicit geometric information, thereby realizing geometric context feature aggregation;
[0008] 2) Encoding features are enhanced through multi-scale feature adaptive fusion, while the semantic gap between encoding and decoding features is reduced.
[0009] The specific solution of the present invention is as follows:
[0010] A point cloud segmentation method based on geometric feature aggregation and adaptive fusion:
[0011] like Figure 1As shown, the input point cloud data is first N×d, where N is the number of points in the point cloud and d is the input dimension of the point cloud. Then, a local triangle is constructed for each point in the original point cloud, and the normal estimate corresponding to this triangle is obtained as the explicit geometric prior for the point. Next, to obtain an enhanced geometric representation, in each encoding layer, the K-nearest neighbor algorithm is used to obtain the K neighbor points of each point, and the geometric representation is encoded based on the positional and angular information between the point pairs. Then, combining the explicit geometric prior, geometric representation, and semantic features, an attention mechanism is used to obtain aggregated geometric context features. After obtaining multiple encoded features at different scales at the encoder, a multi-scale feature adaptive fusion method is used to enhance the encoded features of each layer, reducing the semantic gap with the decoded features. At the decoder, the decoded features of the previous layer are upsampled and then fused with encoded features of the same scale. Finally, the fused features at the original resolution are passed through a fully connected layer to obtain the predicted segmentation result.
[0012] Step 1: Input point cloud data N×d;
[0013] Step 2: Obtain the local triangle representation of each point in the original point cloud to obtain the explicit geometric prior of the point;
[0014] Step 3: Use the K nearest neighbor algorithm in each coding layer to obtain the K neighbor points of each point, and obtain the geometric representation based on the position and angle information between the point pairs;
[0015] Step 4: Combine explicit geometric priors, geometric representations, and semantic features, and use an attention mechanism to obtain aggregated geometric context features;
[0016] Step 5: Use a multi-scale feature adaptive fusion module to enhance the encoded features of each layer and reduce the semantic gap with the decoded features;
[0017] Step 6: The decoder uses nearest neighbor interpolation to upsample features and then fuses them with encoded features of the same scale;
[0018] Step 7: The fused features obtained from the original resolution are passed through a fully connected layer to obtain the predicted segmentation result.
[0019] The present invention has the following beneficial technical effects:
[0020] 1) A geometric context feature aggregation method is proposed. First, an explicit geometric prior is obtained through the local triangle representation of each point in the original point cloud. Then, an implicit geometric representation is obtained in each encoding layer based on the positional and angular information between points. Finally, the explicit geometric prior, geometric representation, and semantic features are combined, and an attention mechanism is used to obtain the aggregated context features. The proposed feature aggregation method can effectively mine the geometric structure information in the point cloud, while simultaneously extracting rich feature information using the attention mechanism.
[0021] 2) A multi-scale feature adaptive fusion module is proposed to enhance the coding features of each layer, which can alleviate the problem of insufficient semantic information and receptive field of shallow coding features. At the same time, multi-scale information is extracted, reducing the semantic gap between the features and the decoding features, and enhancing the feature fusion process. Attached Figure Description
[0022] Figure 1 This is a point cloud segmentation method based on geometric feature aggregation and adaptive fusion;
[0023] Figure 2 This is an explicit geometric prior;
[0024] Figure 3 This is a multi-scale feature adaptive fusion module;
[0025] Figure 4 This is the process of fusing encoded and decoded features.
[0026] Figure 5 This refers to the overall network structure. Detailed Implementation
[0027] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0028] like Figure 1 As shown, the input point cloud data is first N×d, where N is the number of points in the point cloud and d is the input dimension of the point cloud. Then, a local triangle is constructed for each point in the original point cloud, and the normal estimate corresponding to this triangle is obtained as the explicit geometric prior for the point. Next, to obtain an enhanced geometric representation, in each encoding layer, the K-nearest neighbor algorithm is used to obtain the K neighbor points of each point, and the geometric representation is encoded based on the positional and angular information between the point pairs. Then, combining the explicit geometric prior, geometric representation, and semantic features, an attention mechanism is used to obtain aggregated geometric context features. After obtaining multiple encoded features at different scales at the encoder, a multi-scale feature adaptive fusion method is used to enhance the encoded features of each layer, reducing the semantic gap with the decoded features. At the decoder, the decoded features of the previous layer are upsampled and then fused with encoded features of the same scale. Finally, the fused features at the original resolution are passed through a fully connected layer to obtain the predicted segmentation result.
[0029] Step 1: Input point cloud data N×d;
[0030] Step 2: Obtain the local triangle representation of each point in the original point cloud to obtain the explicit geometric prior of the point;
[0031] Step 3: Use the K nearest neighbor algorithm in each coding layer to obtain the K neighbor points of each point, and obtain the geometric representation based on the position and angle information between the point pairs;
[0032] Step 4: Combine explicit geometric priors, geometric representations, and semantic features, and use an attention mechanism to obtain aggregated geometric context features;
[0033] Step 5: Use a multi-scale feature adaptive fusion module to enhance the encoded features of each layer and reduce the semantic gap with the decoded features;
[0034] Step 6: The decoder uses nearest neighbor interpolation to upsample features and then fuses them with encoded features of the same scale;
[0035] Step 7: The fused features obtained from the original resolution are passed through a fully connected layer to obtain the predicted segmentation result.
[0036] For explicit geometric priors, the coordinates of a point in a point cloud represent its absolute position within the entire point cloud. To obtain richer geometric information, local triangles of each point in the point cloud are used to derive the explicit geometric prior. This is because triangles are commonly used in 3D data representation and can effectively describe the shape of 3D objects. Figure 2 As shown, first, the two neighboring points of each point are obtained, forming a triangle. Then, the information of the two edges is obtained, and the estimated normal information is extracted from the edge information, that is:
[0037] η i =(p i -p i 1 )×(p i -p i 2 )
[0038] Where, p i p i 1 p i 2 These are the coordinates of the center point and its two neighboring points, respectively. × represents the cross product of the vectors, and η... i This represents the estimated normal information. Our explicit geometric prior can provide orientation and local structure information for points, enhancing the feature representation of points without introducing additional training parameters.
[0039] For geometric representation based on position and angle information, point clouds are essentially a set of unordered points in three-dimensional space, and their geometric representation is particularly important for the final downstream task. This invention proposes a geometric representation method based on position and angle information. First, the K nearest neighbor algorithm is used to obtain the K neighbor points of each point. The relative coordinates and distances between points are used to represent the position information, i.e.:
[0040] r i k =(p i -p i k ,||p i -p i k ||)
[0041] Where, r i k p represents location information. i -p i k and ||p i -p i k || represent relative coordinates and distance, respectively.
[0042] In addition to using positional information, angle information is introduced to enrich the geometric representation, that is:
[0043]
[0044] β i k =tan -1 ((y i -y i k ) / (x i -x i k ))
[0045] Where, θ i k and β i k These are the polar angle and the azimuth angle, respectively. i y i , z i It is point p i The three-dimensional coordinates, i.e., p i =(x i y i , z i After obtaining the position and angle information, an MLP layer is used to encode the geometric representation of the point cloud, i.e.:
[0046] ε i k=MLP(p i -p i k ,||p i -p i k ||,θ i k ,β i k )
[0047] By combining position and angle information, the resulting implicit geometric representation can well characterize the geometric structure information in each coding layer.
[0048] For the geometric context feature aggregation module, real-world large point cloud scenarios are complex and varied. To obtain discriminative local features, explicit geometric priors, implicit geometric representations, and semantic features of neighboring points are combined and aggregated through an attention mechanism to obtain the geometric context features of the current layer. First, the semantic features and implicit geometric representations are concatenated to obtain the enhanced neighboring point feature representation, i.e.:
[0049]
[0050] Among them, f i k It is the center point p i neighboring point p i k Features, ε i k It is an implicit geometric representation between the center point and its neighboring points.
[0051] Enhanced feature representation Then, it is combined with explicit geometric priors and the attention coefficients are obtained through MLP and softmax activation functions, i.e.:
[0052]
[0053] Attention coefficient w i k It possesses geometric perception capabilities, enabling it to better select important neighbor features. Finally, it enhances the neighbor point features. With attention coefficient w i k The weighted summation yields the aggregated geometric context features, namely:
[0054]
[0055] Aggregated geometric context features f iIt makes full use of geometric relationships, including explicit geometric priors and implicit geometric representations in each layer. By combining geometric relationships and semantic features, it learns attention coefficients with geometric awareness and can adaptively aggregate local contextual information.
[0056] For multi-scale feature adaptive fusion modules, traditional point cloud segmentation networks employ a symmetrical encoder-decoder structure. However, this framework simply fuses encoded and decoded features of the same scale through skip connections, ignoring the inherent semantic differences between the encoded and decoded features. Shallow encoded features typically focus on edges or corners, extracting relatively little semantic information, while deep decoded features, usually processed through multiple feature extraction layers, contain more semantic information, leading to semantic inconsistencies. Furthermore, at the encoder level, shallow encoding layers have a small receptive field and insufficient scale awareness, failing to effectively handle real-world scenes with multi-scale objects. Therefore, a multi-scale feature adaptive fusion module is proposed at the encoder level to enhance the semantic information of encoded features and improve scale awareness. This module has three main feature inputs: the encoded features of the current layer, the fused features from deeper layers, and the high-resolution encoded features from the previous layer. The module aims to enhance the encoded features of the current layer using these three features. The fused features from deeper layers provide richer semantic information, while the high-resolution encoded features from the previous layer compensate for information loss due to random sampling.
[0057] To fuse the three features, we first upsample the encoded features of the current layer and the fused features of the deeper layer to the same scale as the encoded features of the previous layer. Then, we adaptively fuse these three features, specifically as follows: Figure 3 As shown. The feature adaptive fusion module consists of two parts: adaptive weight learning and feature fusion. The three features are denoted as F1, F2, and F3. First, the three features are average-pooled along the channels to obtain three N×1 global descriptors g. i ,Right now:
[0058] g i =avg(F i i = {1, 2, 3}
[0059] Then the three global descriptors g i The components are concatenated together, and an adaptive weight for each feature is obtained using a linear layer and a sigmoid activation function.
[0060]
[0061] The learned adaptive weights are then used to enhance the three input features, namely:
[0062]
[0063] Finally, we will use the three enhanced input features The features are concatenated together and then passed through an MLP layer to obtain the fused features F. out ,Right now:
[0064]
[0065] The multi-scale feature adaptive fusion module can adaptively select more important features according to different scenarios, and at the same time fuse feature information from multiple scales to enhance feature representation.
[0066] Because the scale of the acquired fused features does not match the scale of the current coding layer features, we need to downsample the fused features to the same scale as the current coding layer features, and then fuse them with the decoder features through skip connections. The entire process is as follows: Figure 4 As shown, the downsampled fusion features are concatenated with the upsampled deep decoding features, and then the MLP layer is used to achieve skip-level connection and fusion of encoding and decoding features.
[0067] The overall network architecture diagram is as follows: Figure 5 As shown, an encoder-decoder structure is adopted, and a multi-scale adaptive feature fusion module is used in the encoder stage to enhance the encoded features. Except for the deepest multi-scale adaptive fusion module, which has only two feature inputs, the other modules have three feature inputs. The output features of the fusion module need to be downsampled and then fused with the upsampled decoded features of the previous layer to obtain the decoded features of the current layer.
[0068] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
Claims
1. A point cloud segmentation method based on geometric feature aggregation and adaptive fusion, characterized in that, Includes the following steps, Step 1: Input point cloud data N×d, where N is the number of points in the point cloud and d is the input dimension of the point cloud; Step 2: Obtain the local triangle representation of each point in the original point cloud to obtain the explicit geometric prior of the point; Step 3: Use the K nearest neighbor algorithm in each coding layer to obtain the K neighbor points of each point, and obtain the geometric representation based on the position and angle information between the point pairs; Step 4: Combine explicit geometric priors, geometric representations, and semantic features, and use an attention mechanism to obtain aggregated geometric context features; Step 5: Use a multi-scale feature adaptive fusion module to enhance the encoded features of each layer and reduce the semantic gap with the decoded features; Step 6: The decoder uses nearest neighbor interpolation to upsample features and then fuses them with encoded features of the same scale; Step 7: The fused features obtained from the original resolution are passed through a fully connected layer to obtain the predicted segmentation result; The specific implementation method of step 3 is as follows: First, obtain the K neighbor points of each point using the K nearest neighbor algorithm, and use the relative coordinates and distance between the points to represent the location information of each point, that is: Where k∈{1,2,…,K} in, Indicates location information, and Representing relative coordinates and distance respectively; The angle information for each point is represented as follows: ) in, and These are the polar angle and the azimuth angle, respectively. It is a point The three-dimensional coordinates, i.e. , After obtaining the position and angle information, an MLP layer is used to encode the geometric representation of each point, i.e.: ; The specific implementation method of step 4 is as follows: First, the semantic features and geometric representations are concatenated together to obtain the enhanced neighbor point feature representation, that is: in, It is the center point Neighboring points Features It is the geometric representation between the center point and its neighboring points; Enhanced feature representation Then, it is combined with explicit geometric priors and attention coefficients are obtained through MLP and softmax activation functions. ,Right now: ; Finally, the enhanced neighbor point features will be... With attention coefficient The weighted summation yields the aggregated geometric context features, namely: ; The multi-scale feature adaptive fusion module has three feature inputs: the current layer's encoded features, the fusion features from the deep layer, and the high-resolution encoded features from the previous layer. The multi-scale feature adaptive fusion module uses these three features to enhance the current layer's encoded features. The fusion features from the deep layer provide semantic information, while the high-resolution encoded features from the previous layer compensate for information loss caused by random sampling.
2. The method according to claim 1, characterized in that, The specific implementation method of step 2 is as follows: First, obtain the two neighboring points of each point to form a triangle, then obtain the information of the two sides, and then extract the estimated normal information from the side information, that is: in, These are the coordinates of the center point and its two neighboring points, respectively, with × representing the cross product of the vectors. This represents the estimated normal information.
3. The method according to claim 1, characterized in that, The multi-scale feature adaptive fusion module includes two parts: adaptive weight learning and feature fusion. The three feature inputs are denoted as F1, F2, and F3, respectively. First, the three features are average-pooled along the channels to obtain three N×1 global descriptors. ,Right now: Then the three global descriptors The components are concatenated together, and an adaptive weight for each feature is obtained using a linear layer and a sigmoid activation function. The learned adaptive weights are then used to enhance the three input features, namely: Finally, we will use the three enhanced input features The features are stitched together and then fused through an MLP layer. ,Right now: 。
Citation Information
Patent Citations
Point cloud shape analysis method based on space geometry perception convolutional neural network
CN115170859A
Noisy plant point cloud semantic segmentation method and system based on self-attention feature fusion
CN116311218A
