Three-dimensional point cloud semantic segmentation method based on local and non-local feature aggregation

By designing a local and non-local feature aggregation module in the point cloud semantic segmentation algorithm and using PointNet++ and the attention mechanism for feature fusion, the problem of noise sensitivity and feature redundancy in feature learning in the existing technology is solved, and the robustness of point cloud features is improved. Stickiness and distinction.

CN118587428APending Publication Date: 2024-09-03YANGTZE DELTA REGION INST OF UNIV OF ELECTRONICS SCI & TECH OF CHINE (HUZHOU)
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310194858.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-03
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing point cloud semantic segmentation algorithms are noise-sensitive and bottom-up in the feature learning process, causing feature extraction to be affected by outliers, causing feature redundancy problems, and making it difficult to effectively extract local and non-local features with high representativeness and distinction.

Method used

Design a three-dimensional point cloud semantic segmentation algorithm based on local non-local feature aggregation, using PointNet++ as the basic framework, using relative coordinates and shared multi-layer perceptrons in point local units to extract local features, and calculating non-local features and points through the attention mechanism Similarity of clouds, weighted fusion is performed to improve the robustness and discrimination of feature extraction.

Benefits of technology

Through local and non-local feature fusion, the problem of feature redundancy and noise sensitivity is alleviated, the robustness of point cloud feature learning and the model's tolerance to noise are improved, and more representative feature information is extracted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118587428A
    Figure CN118587428A
Patent Text Reader

Abstract

The invention discloses a three-dimensional point cloud semantic segmentation method based on local and non-local feature aggregation. The method aims to solve the problems that an existing feature learning process is sensitive to noise, only local information interaction of adjacent areas is considered, then global context is obtained through a hierarchical structure, feature learning from bottom to top is generally caused, accordingly, extracted feature information is affected by outliers, and feature redundancy exists. The invention provides a weighted summation method based on local information and non-local feature information. According to the method, a 3D point cloud is used as input, and relative coordinates are used as local features in a point local unit; in the non-local feature extraction module of the points, sampling points are used as query points, the relevancy between the sampling points and the whole point cloud in the layer is calculated through an attention mechanism, then MLP is carried out to serve as non-local information, and finally weighted sum is carried out to realize fusion of local features and non-local features of the points. Therefore, more representative features are extracted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semantic segmentation of computer vision, and implements semantic segmentation of three-dimensional point clouds based on a deep learning method. Background Art

[0002] With the popularity of 3D sensors, more raw 3D data is relatively easy to obtain, such as RGB-D data, LiDAR data, and MEMS data. Considering point clouds as the basic representation of 3D data, the understanding of point clouds has attracted widespread attention in various applications, such as autonomous driving, robotics, and location recognition. However, the raw point cloud data obtained from 3D sensors or reconstruction algorithms inevitably contain outliers or noise, and the existing point cloud semantic segmentation algorithms often use methods to query a local neighborhood around each sample point and define convolution-like operations or use multi-layer perceptrons to extract local features. However, such a feature learning process is noise-sensitive, and it only considers the local information interaction of adjacent areas, and then obtains the global context through a hierarchical structure, which usually leads to bottom-up feature learning. This will cause the extracted feature information to be affected by outliers and there will be feature redundancy. At present, many different algorithms have been proposed to extract more representative and distinguishable features. However, when these local feature extraction modules are placed in the same deep residual architecture, it is found that the contributions of these local feature extraction modules are surprisingly similar. Therefore, how to design a feature extraction module that can better represent global and local information is a major problem in point cloud semantic segmentation technology and has great research significance. Summary of the invention

[0003] In order to overcome the problem that the local feature extraction module of the existing algorithm is sensitive to noise and leads to bottom-up feature learning, this paper proposes a 3D point cloud semantic segmentation algorithm based on local and non-local feature aggregation. This method takes the 3D point cloud as the initial input, designs a point local feature extraction module and a point non-local feature extraction module to extract more representative and easier to distinguish features. Figure 1 As shown, the present invention adopts PointNet++ as the basic framework, uses relative coordinates as local features in point local units, and then uses a shared multi-layer perceptron (MLP) as a feature mapping module. Figure 2As shown in the figure, in the point non-local feature extraction module, we use the sampling point as the query point to query the correlation between the sampling point and the entire point cloud in this layer, calculate the similarity through the attention mechanism, and then map it to the same output dimension as the point local feature extraction module through a shared multi-layer perceptron, and finally perform a weighted sum to achieve the fusion of point local features and point non-local features. With the downsampling operation of each layer, the feature output dimension of the local non-local feature aggregation module is gradually increased to alleviate the information loss problem in the encoder.

[0004] The technical solution adopted by the present invention is to perform semantic segmentation of three-dimensional point cloud based on the aggregation of local features and non-local features. The method includes:

[0005] Step 1: Use the farthest point sampling to obtain the sampling points of each layer, and then use the ball query algorithm to obtain the neighborhood points of the sampling points to group the point cloud; in different groups, calculate the relative coordinates respectively, and then use the shared multi-layer perceptron for feature mapping to obtain the local features of the point cloud;

[0006] Step 2: Take the sampling points obtained in step 1 as query points, use the attention mechanism to query the similarity between each sampling point and the overall point cloud, use this as the queried global information, and then use the shared multi-layer perceptron to map it to the same output dimension as step 1;

[0007] Step 3: Perform simple convolution and activation on the similarity of each point obtained in step 2 as weight information, and then perform weighted fusion of the local features and non-local features of the point cloud through weighted sum operation. The fused features are used as the output of this layer of the PointNet++ network and input into the next layer of the network to achieve semantic segmentation of the point cloud.

[0008] Compared with the prior art, the present invention has the following beneficial effects:

[0009] (1) In the previous point cloud semantic segmentation algorithm, the local features extracted were redundant and the distinction between features was insufficient. The present invention uses a local feature and non-local feature fusion module to extract more detailed features and alleviate the problem of feature redundancy by adding non-local features.

[0010] (2) The proposed point cloud non-local features enhance the learning process of point cloud features and design and extract point cloud features from a new perspective, which is not only conducive to the learning of point features, but also can improve the robustness of the model to noise. Description of the drawings:

[0011] Attached Figure 1 : PointNet++ network framework diagram.

[0012] Attached Figure 2 : Diagram of the local-nonlocal feature aggregation framework.

[0013] Attached Figure 3 : Diagram of the non-local feature extraction framework. Specific implementation method:

[0014] The present invention will be further described below in conjunction with the accompanying drawings.

[0015] Step 1: The present invention first adopts the farthest point sampling method to obtain N downsampled point clouds from the original point cloud, and then uses the ball query algorithm. The radius of the neighborhood ball is set to r, and the number of neighborhood points in the neighborhood ball is K. Then the neighborhood ball is searched to obtain K neighborhood point indexes of the downsampled point cloud. Each point in the downsampled point cloud is taken as the center point and combined with its neighborhood points to obtain a grouped point cloud, and the coordinates and features of the neighborhood points are recorded as x and y, respectively. i,1 , ..., x i,K ∈N(x i ) and its corresponding feature f i,1 , ..., f i,K ;

[0016] Step 2: For the coordinates obtained in step 1, Figure 1 As shown in Figure 2, the relative coordinates are calculated by the PointNet++ network as the local geometric features of the point cloud, that is, x = x i -x j , and then use a shared multi-layer perceptron (MLP) to map the relative coordinates to the same output dimension as other additional features;

[0017] Step 3: Concatenate the relative coordinates obtained in step 2 with other additional features to obtain the local features of the point cloud, that is, F1 = Concat(MLP(x i-xj ), f i,j );

[0018] Step 4: Figure 3 As shown in the figure, the sampling point obtained in step 1 is used as the query point. The additional features of the sampling point are subjected to MLP using the self-attention mechanism to obtain the feature information of the point cloud in the nonlinear space, and then average pooled to obtain the feature information of the entire point cloud. The pooled feature information is then copied N times and then element-by-element multiplied with the coordinates of the sampling point to serve as the similarity between the sampling point and the entire point cloud, that is,

[0019] F(x i ,f i )=x i ⊙N(mean(MLP(f i )))

[0020] Step 5: The similarity obtained in step 4 is nonlinearly activated using the softmax function, and then mapped to the same output dimension as the local feature of the point cloud using a shared multi-layer perceptron as the non-local feature of the point cloud, that is,

[0021] F2=MLP(soft max(F(x i ,f i )))

[0022] Step 6: Apply the softmax function to the similarity obtained in step 4 for nonlinear activation, and then use 1×1 convolution to map it to the same output dimension as the local feature of the point cloud, which is used as the non-local feature weight of the point cloud, that is,

[0023] w i =Conv(soft max(F(x i ,f i )))

[0024] Step 7: Figure 2 As shown in the figure, the local features of the point cloud obtained in step 3 and the non-local features of the point cloud obtained in step 5 are weighted and summed, and the output is used as the output of this layer of the PointNet++ network, and as the input of the next layer, that is: F = F1 + w i F2.

Claims

1. A 3D point cloud semantic segmentation method based on local and non-local feature aggregation, characterized in that: The following steps are involved: Step 1: First, the farthest point sampling method is used to obtain N downsampled point clouds from the original point cloud. Then, the ball query algorithm is used. The radius of the neighborhood ball is set to r, and the number of neighborhood points in the neighborhood ball is K. Then, the neighborhood ball is searched to obtain the K neighborhood point indexes of the downsampled point cloud. Each point in the downsampled point cloud is taken as the center point and combined with its neighborhood points to obtain a grouped point cloud. The coordinates and features of the neighborhood points are recorded as x and y, respectively. i,1 , ..., x i,K ∈N(x i ) and its corresponding feature f i,1 , ..., f i,K ; Step 2: For the coordinates obtained in step 1, calculate the relative coordinates as the local geometric features of the point cloud, that is, x = x i -x j , and then use the shared multi-layer perceptron (MLP) to map the relative coordinates to the same output dimension as other additional features, and then cascade with other additional features to obtain the local features of the point cloud, that is, F1 = Concat (MLP (x i-xj ), f i,j ); Step 3: Take the sampling point obtained in step 1 as the query point, use the self-attention mechanism to perform MLP on the additional features of the sampling point, obtain the feature information of the point cloud in the nonlinear space, and then average pool it to obtain the feature information of the entire point cloud, then copy the pooled feature information N times, and then perform element-by-element multiplication with the coordinates of the sampling point to use it as the similarity between the sampling point and the entire point cloud, that is, F(x i ,f i )=x i ⊙N(mean(MLP(f i ))) Step 4: For the similarity obtained in step 3, use the softmax function to perform nonlinear activation on it, and then use the shared multi-layer perceptron to map it to the same output dimension as the local feature of the point cloud as the non-local feature of the point cloud, that is, Step 5: Apply the softmax function to the similarity obtained in step 3 for nonlinear activation, and then use 1×1 convolution to map it to the same output dimension as the local feature of the point cloud, which is used as the non-local feature weight of the point cloud, that is, Step 6: Perform a weighted sum of the local features of the point cloud obtained in step 2 and the non-local features of the point cloud obtained in step 4, and use the output as the output of this layer of the PointNet++ network and as the input of the next layer, that is: F = F1 + w i F2.

2. The method according to claim 1, characterized in that: The neighborhood query method used in step 1 is the ball query algorithm instead of KNN.

3. The method according to claim 1, characterized in that: In step 3, only additional features are used to calculate the similarity between each sampling point and the overall point cloud, without geometric coordinates.

4. The method according to claim 1, characterized in that: In step 6, point-by-point multiplication is used instead of matrix multiplication.

Citation Information

Cited By

  • Three-dimensional point cloud classification algorithm based on global perception and local enhancement

    CN119625381A

  • A 3D point cloud classification algorithm based on global perception and local enhancement

    CN119625381B

  • A point cloud feature aggregation method and system based on geometric consistency transmission

    CN123119202A