3D point cloud semantic segmentation method for large-scene and multi-target environment

By using K nearest neighbor search operator and local feature learner for feature encoding and aggregation in 3D point cloud semantic segmentation technology, combined with the multi-scale feature fusion module, the problem of poor semantic segmentation results in large scenes and multi-target environments is solved. , achieving efficient and accurate semantic segmentation.

CN118628744AActive Publication Date: 2024-09-10ARMY ENG UNIV OF PLA

Patent Information

Application Number
CN202410817327.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-10
Estimated Expiration
2044-06-24

AI Technical Summary

Technical Problem

Existing 3D point cloud semantic segmentation technology has insufficient local semantic feature representation capabilities and cross-scale information fusion capabilities in large scenes and multi-target environments, resulting in poor segmentation results.

Method used

The encoder's K nearest neighbor search operator and local feature learner are used to perform feature encoding and aggregation through feature addition and attention pooling modules, combined with the multi-scale feature fusion module to achieve efficient semantic segmentation of point clouds.

Benefits of technology

It improves the accuracy and efficiency of 3D point cloud semantic segmentation in large scenes and multi-target environments, can accurately capture local contextual features and targets of different scales, and provides efficient semantic segmentation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628744A
    Figure CN118628744A
Patent Text Reader

Abstract

The invention discloses a 3D point cloud semantic segmentation method for a large-scale scene and a multi-target environment. The method comprises the following steps: searching an original input point cloud by using a K-nearest neighbor search operator; encoding the obtained bilateral input features by using a local feature encoding block; processing the fused bilateral coding features by using an attention pooling module; adding and fusing the input features and the obtained local aggregation features to obtain output features; performing up-sampling on the output features of the coding layer under all resolutions by using a decoder embedded with a multi-scale feature fusion module, and fusing up-sampling features under other resolutions to obtain feature representation with the same resolution as the original input point cloud; and converting the feature representation with the same resolution as the input point cloud into a semantic segmentation result by using the segmentation prediction head, and outputting the semantic segmentation result. According to the method, the limitation of local semantic feature representation capability and cross-scale information fusion capability in the prior art is broken through, and accurate and efficient semantic segmentation of the 3D point cloud in a large-scene and multi-target environment is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of geographical science and computer vision technology, and relates to a 3D point cloud semantic segmentation method for large scenes and multi-target environments. Background Art

[0002] With the rapid development of computer vision technology, the demand for processing and analyzing three-dimensional data is growing. Point cloud data, as an important form of three-dimensional data, has shown broad application prospects in the fields of unmanned driving, virtual reality, robot navigation, etc. In these applications, the semantic segmentation of point cloud data plays a vital role. It can accurately distinguish and identify different objects or areas in point cloud data, and provide detailed information description for the three-dimensional environment.

[0003] 3D point cloud semantic segmentation is an important research direction in the field of computer vision, which aims to divide points or regions in point clouds into different semantic categories. Although semantic segmentation technology in two-dimensional images has made significant progress, semantic segmentation of three-dimensional point cloud data still faces many challenges, such as data sparsity, noise and irregularity.

[0004] Large scene point clouds composed of millions or even billions of points collected from the real world are extremely complex, which greatly limits the development of segmentation technology for large-scale complex scene point clouds. At present, most 3D point cloud semantic segmentation methods are derived from image semantic segmentation technology, but due to the limitations of local semantic feature representation capabilities and cross-scale information fusion capabilities, these methods are unable to cope with large scenes and multi-target environments. Summary of the invention

[0005] The technical problem to be solved by the present invention is to break through the limitations of local semantic feature representation capabilities and cross-scale information fusion capabilities in the prior art, and to achieve accurate and efficient semantic segmentation of 3D point clouds in large scenes and multi-target environments.

[0006] In order to solve the above technical problems, the present invention is implemented by adopting the following technical solutions.

[0007] The present invention provides a 3D point cloud semantic segmentation method for large scenes and multi-target environments, comprising: Get the point cloud, use the K-nearest neighbor search operator KNN of each encoding layer of the encoder to search the feature space and geometric space of the point cloud of this encoding layer, obtain the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood, as the bilateral input features of each encoding layer; Using the local feature encoding block of the local feature learner of each encoding layer of the encoder, feature encoding is performed on the bilateral input features to obtain bilateral encoded features; The bilateral encoding features are fused through feature addition operation; The attention pooling module of the encoder local feature learner is used to process the fused bilateral coding features to obtain the local aggregation features of the point cloud of this coding layer; Using a residual connection module of an encoder local feature learner, the semantic features of the bilateral input features and the local aggregation features are added and fused to obtain output features; Among them, the point cloud of the first coding layer is the original input point cloud, and the point clouds of the remaining coding layers are obtained by downsampling the geometric space of the point cloud of the upper coding layer and the feature space of the output features of the upper coding layer using the farthest point sampling FPS; After obtaining the output features of all coding layers, the decoder embedded in the multi-scale feature fusion module MFF is used to upsample the output features of the coding layers at all resolutions, and the upsampled features from the coding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud; The feature representation is converted into a semantic segmentation result using a segmentation prediction head and outputted.

[0008] Furthermore, each encoding layer of the encoder only includes a K-nearest neighbor search operator KNN and a local feature learner w-LFL.

[0009] Furthermore, the local feature learner w-LFL is formed by connecting a local feature encoding block, an attention pooling module and a residual connection module; The local feature encoding block is used to perform feature encoding on the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood, respectively, to obtain bilateral encoded features, and to fuse the bilateral encoded features to obtain fused encoded features; The attention pooling module is used to perform discriminative aggregation on the fused bilateral coding features to obtain local aggregation features of the point cloud of the current coding layer; The residual connection module is used to add and fuse the bilateral input features of the local feature learner w-LFL and the local aggregation features.

[0010] Furthermore, the local feature encoding block of the local feature learner of each encoding layer of the encoder is used to perform feature encoding on the bilateral input features to obtain bilateral encoded features, including: Ignore the absolute coordinates of the K nearest neighbor points and only use relative coordinates and relative distances to represent local geometric relationships , obtain the geometric feature information encoding ; Through the semantic features of K nearest neighbors To capture the center point s of the point cloud neighborhood i The surrounding local semantic relationship , obtain local semantic feature information encoding ; By encoding geometric feature information and local semantic feature information, we can obtain bilateral encoding features that imply different information. .

[0011] The 3D point cloud semantic segmentation method for large scenes and multi-target environments according to claim 4 is characterized in that the local geometric relationship , expressed as: (1); In the formula, Concat represents the cascade operation. Represents the center point s of the point cloud neighborhood i The spatial coordinate information of Represents the center point s of the point cloud neighborhood i The spatial coordinate information of the kth neighbor point in the neighborhood, i represents the sorting number of each point in the point cloud, k represents the sorting number of the neighbor points in the point cloud neighborhood, represents the 2-norm operator; The geometric feature information encoding , expressed as: (2); In the formula, MLP() represents the multi-layer perceptron function, Represent local geometric relationships; The local semantic relationship , expressed as: (3); In the formula, Concat represents the cascade operation, i represents the sorting number of each point in the point cloud, and k represents the sorting number of the neighboring points in the point cloud neighborhood. Represents the center point s of the point cloud neighborhood i The semantic feature information of Represents the center point s of the point cloud neighborhood i The semantic feature information of the kth neighbor point in the neighborhood, Represents a scalar calculation operator; The local semantic feature information encoding , expressed as: (4); In the formula, MLP() represents the multi-layer perceptron function, Represents a local semantic relationship.

[0012] Furthermore, the bilateral encoding features are fused through feature addition operation, which is expressed as: (5); In the formula, ⊕ represents the feature addition operation, represents the fused bilateral encoding features, Represents geometrically encoded feature information, Represents local semantic encoding feature information.

[0013] Furthermore, the attention pooling module of the encoder local feature learner is used to process the fused bilateral coding features to obtain the local aggregation features of the point cloud of this coding layer, including: From the fused bilateral encoding features through the shared MLP and softmax function Learning the attention weight matrix ; Through the attention weight matrix The fused bilateral encoding features Perform weighted summation to obtain the local aggregation features of the point cloud of this coding layer.

[0014] Furthermore, the attention weight matrix , expressed as: (6); In the formula, softmax() represents the normalized exponential function, MLP() represents the multi-layer perceptron function, Represents the fused bilateral encoding features; Furthermore, the local aggregation feature is expressed as: (7); In the formula, Sum() represents the sum function, represents the attention weight matrix, ° represents the element-by-element product of the matrix, Represents the fused bilateral encoding features.

[0015] Furthermore, after obtaining the output features of all coding layers, the decoder embedded in the multi-scale feature fusion module MFF is used to upsample the output features of the coding layers at all resolutions, and the upsampled features from the coding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud, including: Assume that the encoder has J layers, for the jth encoding layer E j Output characteristics Upsample and fuse the upsampled features of other resolution coding layer features to obtain the output features At the decoding layer D k The fusion features under , the fusion feature is obtained The process is expressed as: (8); In the formula, j and k represent the numbers of the coding layer and decoding layer respectively, E j , Dk denote the jth encoding layer and the kth decoding layer respectively, ⊕ denotes the feature addition operation, Represents the coding layer E j The output features, f D express Continue upsampling to the decoding layer D k The input features when k=j,j-1,…,1, represents the upsampling operator, Indicates that at the decoding layer D k Upper coding layer E j-1 ~E k The features are obtained by upsampling and fusing the output features of .

[0016] Compared with the prior art, the present invention has the following beneficial effects: The present invention constructs an efficient encoder that can learn and aggregate information-rich local context features in point clouds. Each encoding layer of the encoder consists of a K-nearest neighbor search operator and a local feature learner that does not rely on strict geometric relationships; a multi-scale feature fusion module (MFF) is designed in the decoder, which can effectively fuse multi-scale encoding layer features at all resolutions at each decoder layer, and can provide efficient representation of variable-scale targets; finally, the semantic segmentation result is obtained through the segmentation prediction head. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the structure of a network architecture of a 3D point cloud semantic segmentation method for a large scene and multi-target environment provided by an embodiment of the present invention;

[0018] Figure 2 is a schematic diagram of the structure of a local feature learner provided by an embodiment of the present invention;

[0019] Figure 3 is a structural diagram of a multi-scale feature fusion module MFF provided in an embodiment of the present invention;

[0020] Figure 4 This is an example diagram comparing the semantic segmentation results of the method provided by the present invention and the currently popular semantic segmentation method on the indoor scene point cloud dataset S3DIS provided by an embodiment of the present invention;

[0021] Figure 5 This is an example diagram comparing the semantic segmentation results of the method provided by the present invention and the currently popular semantic segmentation method on the urban road scene point cloud dataset Toronto3D provided by an embodiment of the present invention;

[0022] Figure 6 This is an example diagram of semantic segmentation results on the Semantic KITTI autonomous driving scene point cloud dataset provided by an embodiment of the present invention.

[0023] Figure 7 It is a schematic diagram of the semantic segmentation comparison results of the method and other advanced semantic segmentation methods on the test set Area5 of S3DIS based on the indoor scene point cloud dataset S3DIS provided by an embodiment of the present invention;

[0024] Figure 8 It is a schematic diagram of semantic segmentation results generated by the method provided by the present invention and some currently popular methods based on the urban road scene point cloud dataset Toronto3D provided by an embodiment of the present invention;

[0025] Fig. 9 It is a schematic diagram of the semantic segmentation comparison results of the method and other advanced semantic segmentation methods on the test set Area5 of S3DIS based on the Semantic KITTI point cloud dataset of autonomous driving scenes provided by an embodiment of the present invention;

[0026] Fig.10 This is a schematic diagram of the complexity comparison results of the method provided by the present invention and some recently popular semantic segmentation methods based on the indoor scene point cloud dataset S3DIS provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The technical solution of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations on the technical solution of the present invention. The embodiments of the present invention and the technical features in the embodiments may be combined with each other unless there is a conflict.

[0028] Example 1

[0029] like Figure 1 As shown, this embodiment introduces a 3D point cloud semantic segmentation method for large scenes and multi-target environments, including:

[0030] The K-nearest neighbor search operator KNN of each encoding layer of the encoder is used to search the feature space and geometric space of the point cloud of this encoding layer to obtain the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood as the bilateral input features of each encoding layer;

[0031] Using the local feature encoding block of the local feature learner of each encoding layer of the encoder, feature encoding is performed on the bilateral input features to obtain bilateral encoded features;

[0032] The bilateral encoding features are fused through feature addition operation;

[0033] The attention pooling module of the encoder local feature learner is used to process the fused bilateral coding features to obtain the local aggregation features of the point cloud of this coding layer;

[0034] Using a residual connection module of an encoder local feature learner, the semantic features of the bilateral input features and the local aggregation features are added and fused to obtain output features;

[0035] Among them, the point cloud of the first coding layer is the original input point cloud, and the point clouds of the remaining coding layers are obtained by downsampling the geometric space of the point cloud of the upper coding layer and the feature space of the output features of the upper coding layer using the farthest point sampling FPS;

[0036] After obtaining the output features of all coding layers, the decoder embedded in the multi-scale feature fusion module MFF is used to upsample the output features of the coding layers at all resolutions, and the upsampled features from the coding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud;

[0037] The feature representation is converted into a semantic segmentation result using a segmentation prediction head and outputted.

[0038] The structural diagram of the local feature learner w-LFL is as follows: Figure 2 As shown in the figure, through the K-nearest neighbor search operator KNN and the local feature learner w-LFL in the encoder, the local geometric relationship and semantic feature information of each point in the point cloud can be accurately captured, ensuring the ability to capture details in high-density point clouds, thereby improving the accuracy of semantic segmentation.

[0039] The schematic diagram of the multi-scale feature fusion module MFF is as follows: Figure 3 As shown in the figure, the multi-scale feature fusion module MFF integrates features from coding layers of different resolutions, can process targets of different scales at the same time, and can produce accurate semantic segmentation results for targets of different sizes in the scene, thereby improving the semantic segmentation capability of targets of different sizes.

[0040] Through efficient layer-by-layer fusion operations in the decoder stage, semantic segmentation results with the same resolution as the input point cloud can be quickly generated, providing efficient and accurate representation for large-scale scenes.

[0041] The segmentation prediction head converts the decoder fused features into the final semantic segmentation result and predicts the semantic label for each point.

[0042] The 3D point cloud semantic segmentation device for large-scene and multi-target environments provided by the present invention is suitable for large-scene and multi-target environments, such as autonomous driving, robot navigation, virtual reality and other fields, and provides accurate 3D environment perception capabilities for these applications.

[0043] The local feature learner w-LFL is composed of a local feature encoding block, an attention pooling module and a residual connection module;

[0044] The local feature encoding block adds and fuses the bilateral input features of the local feature learner w-LFL and the local aggregated features, so as to more richly represent the local features;

[0045] The attention pooling module discriminates and aggregates the fused bilateral coding features to obtain the local aggregation features of the point cloud of the current coding layer, and can focus on the most discriminative local features;

[0046] The residual connection module adds and fuses the bilateral input features of the local feature learner w-LFL and the local aggregated features, retains more original information, and facilitates gradient propagation during network training.

[0047] Example 2

[0048] This embodiment introduces a 3D point cloud semantic segmentation method for large scenes and multi-target environments, and the specific steps include:

[0049] (1) Using the K-nearest neighbor search operator KNN of each encoding layer of the encoder, search the feature space and geometric space of the point cloud of this encoding layer to obtain the neighborhood semantic feature representation of the point cloud and the geometric information that ignores the absolute coordinates of the neighborhood as the bilateral input features of the encoding layer:

[0050] For the first coding layer of the encoder, the original input point cloud is input into the first coding layer of the encoder as the point cloud of this coding layer, and the K nearest neighbor search operator KNN of the first coding layer of the encoder is used to search the feature space and geometric space of the point cloud of this coding layer to obtain the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood as the bilateral input features of the coding layer of the first coding layer.

[0051] For the remaining coding layers of the encoder, the point cloud obtained by downsampling the geometric space of the point cloud of the upper coding layer and the feature space of the output features of the upper coding layer using the farthest point sampling FPS is used as the input point cloud of the remaining coding layers of the encoder. The K nearest neighbor search operator KNN of the remaining coding layers of the encoder is used to search the feature space and geometric space of the point cloud of this coding layer to obtain the neighborhood semantic feature representation of the point cloud and the geometric information of the neighborhood absolute coordinates being ignored as the bilateral input features of the remaining coding layers.

[0052] The original input point cloud S ∈ ℝ N×(3+d) Contains 3-D spatial coordinates 𝒫∈ℝ representing geometric information N×3 and represent the basic attributes of feature information, such as RGB information or reflection intensity. Among them, S = {s1, s2, ⋯, sN}, i = 1,⋯, N; N represents the number of point clouds, d represents the dimension of the feature information of the original input point cloud, s1 represents the first point of the original input point cloud, s2 represents the second point of the original input point cloud, and s N represents the Nth point of the original input point cloud, ℝ N×(3+d) represents the feature space of N×(3+d), ℝ N×3 Represents an N×d geometric space.

[0053] Initially, the original input point cloud S is passed through a fully connected layer FC to extract point-by-point features ℱ∈ℝ in the high-dimensional feature space N×D , where ℝ N×D Represents the spatial dimension of high-dimensional features, N represents the number of point clouds, and D represents the dimension of the high-dimensional feature space.

[0054] Use the K-nearest neighbor search operator KNN of each encoding layer of the encoder to search the feature space and geometric space of the point cloud S of this encoding layer to obtain the neighborhood information of the point cloud of this encoding layer , as the bilateral input feature of this encoding layer, the neighborhood information includes the neighborhood semantic feature representation of the original input point cloud and the geometric information ignoring the absolute coordinates of the neighborhood. Represents the geometric feature information of K nearest neighbors, Represents the local feature information of K nearest neighbor points, K represents K nearest neighbor points, k represents the number of neighborhood points in the neighborhood, and i represents the sorting number of points in the point cloud.

[0055] (2) Using the local feature encoding block of the local feature learner of each encoding layer of the encoder, feature encode the bilateral input features to obtain bilateral encoded features;

[0056] When encoding local geometric information, the absolute coordinates of the K nearest neighbors are ignored, and only relative coordinates and relative distances are used to represent local geometric relationships. , obtain the geometric feature information encoding ;

[0057] The local geometric relationship , expressed as:

[0058] (1);

[0059] In the formula, Concat represents the cascade operation. Represents the center point s of the point cloud neighborhood i The spatial coordinate information of Represents the center point s of the point cloud neighborhood i The spatial coordinate information of the kth neighbor point in the neighborhood, i represents the sorting number of each point in the point cloud, k represents the sorting number of the neighbor points in the point cloud neighborhood, represents the 2-norm operator;

[0060] The geometric feature information encoding , expressed as:

[0061] (2);

[0062] In the formula, MLP() represents the multi-layer perceptron function, Represents local geometric relations.

[0063] When encoding local feature information, the semantic features of K nearest neighbors are used To capture the center point s of the point cloud neighborhood i The surrounding local semantic relationship , obtain local feature information encoding ;

[0064] The local semantic relationship , expressed as:

[0065] (3);

[0066] In the formula, Concat represents the cascade operation, i represents the sorting number of each point in the point cloud, and k represents the sorting number of the neighboring points in the point cloud neighborhood. Represents the center point s of the point cloud neighborhood i The semantic feature information of Indicates i The semantic feature information of the kth neighbor point in the neighborhood, Represents a scalar calculation operator, similar to the Euclidean distance;

[0067] The local semantic feature information encoding , expressed as:

[0068] (4);

[0069] In the formula, MLP() represents the multi-layer perceptron function, Represents a local semantic relationship.

[0070] By encoding geometric feature information and local semantic feature information, we can obtain bilateral encoding features that imply different information. .

[0071] (3) Through the feature addition operation, the bilateral coding features are fused and expressed as:

[0072] (5);

[0073] In the formula, ⊕ represents the feature addition operation, represents the fused bilateral encoding features, Represents geometrically encoded feature information, Represents local semantic encoding feature information.

[0074] (4) Using the attention pooling module of the encoder local feature learner, the fused bilateral encoding features are processed to automatically select and aggregate highly representative information, while discarding irrelevant features to obtain local aggregate features, including:

[0075] From the fused bilateral encoding features through the shared MLP and softmax function Learning the attention weight matrix , the attention weight matrix , expressed as:

[0076] (6);

[0077] In the formula, softmax() represents the normalized exponential function, MLP() represents the multi-layer perceptron function, Represents the fused bilateral encoding features;

[0078] Through the attention weight matrix The fused bilateral encoding features Perform weighted summation to obtain the local aggregation features of the point cloud of this coding layer, which is expressed as:

[0079] (7);

[0080] In the formula, Sum() represents the sum function, represents the attention weight matrix, ° represents the element-by-element product of the matrix, Represents the fused bilateral encoding features.

[0081] (5) using a residual connection module of the encoder local feature learner to add and fuse the semantic features of the bilateral input features and the local aggregation features to obtain output features;

[0082] (6) After obtaining the output features of all coding layers, the multi-scale feature fusion module MFF is used to upsample the output features of all coding layers at all resolutions, and at the same time, the upsampled features from the decoding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud:

[0083] Assume that the encoder has J layers, for the jth encoding layer E j Output characteristics Upsample and fuse the upsampled features of other resolution coding layer features to obtain the output features At the decoding layer D kThe fusion features under , the fusion feature is obtained The process is expressed as:

[0084] (8);

[0085] In the formula, j and k represent the numbers of the coding layer and decoding layer respectively, E j , D k denote the jth encoding layer and the kth decoding layer respectively, ⊕ denotes the feature addition operation, Represents the coding layer E j The output features, f D express Continue upsampling to the decoding layer D k The input features when k=j,j-1,…,1, represents the upsampling operator, Indicates that at the decoding layer D k Upper coding layer E j-1 ~E k The features are obtained by upsampling and fusing the output features of .

[0086] (7) The segmentation prediction head is used to convert the feature representation with the same resolution as the original input point cloud into a semantic segmentation result and output it.

[0087] (8) The semantic segmentation results are obtained by the above method, which verifies the excellent performance of the 3D point cloud semantic segmentation method for large scenes and multi-target environments provided by the present invention in large scenes and multi-target environments:

[0088] Three large-scale point cloud datasets were selected for experiments, including the indoor point cloud dataset S3DIS, the urban road scene point cloud dataset Toronto3D, and the autonomous driving scene point cloud dataset Semantic KITTI.

[0089] Experiment 1: Based on the indoor point cloud dataset S3DIS, the semantic segmentation results produced by a 3D point cloud semantic segmentation method for large scenes and multi-target environments are compared with the semantic segmentation results produced by some currently popular methods to verify that the 3D point cloud semantic segmentation method for large scenes and multi-target environments provided by the present invention still has high efficiency when dealing with complex point cloud scene segmentation tasks with dense and close target objects.

[0090] Experiment 2: Based on the urban road scene point cloud dataset Toronto3D, the semantic segmentation results produced by a 3D point cloud semantic segmentation method for large scenes and multi-target environments are compared with the semantic segmentation results produced by some currently popular methods to verify that the 3D point cloud semantic segmentation method for large scenes and multi-target environments provided by the present invention is also significantly effective in urban road scenes. In the experiment, the spatial coordinate information and color information of the point cloud are selected as the original input data.

[0091] Experiment 3: Based on the autonomous driving scene point cloud dataset SemanticKITTI, the semantic segmentation results produced by a 3D point cloud semantic segmentation method for large scenes and multi-target environments are compared with the semantic segmentation results produced by some currently popular methods to verify the effectiveness of the 3D point cloud semantic segmentation method for large scenes and multi-target environments provided by the present invention in dealing with multi-scale and multi-category complex traffic scenes.

[0092] The above experimental results are as follows Figure 7-9 shown.

[0093] Figure 7 The performance comparison results of the semantic segmentation results generated by the method provided by the present invention on the test set Area5 of the indoor scene point cloud dataset S3DIS dataset are quantitatively demonstrated. The method provided by the present invention achieved results of 66.5% and 88.9% in the mIoU and OA indicators, respectively. Compared with the method provided by the BEMF-Net network structure, the method provided by the present invention achieved the same mIoU result. Although the result of the method provided by the present invention on the OA indicator is 0.4% lower than that of the BEMF-Net network structure, according to the comparison results of the model complexity of different methods in Table 4, the method provided by the present invention surpasses the existing network structure in both the number of model parameters and the inference speed.

[0094] In summary, the performance of the method provided by the present invention on the indoor scene point cloud dataset S3DIS exceeds all current point-based semantic segmentation methods. Figure 7 It also fully demonstrates that a 3D point cloud semantic segmentation method for large scenes and multi-target environments achieves more balanced IoU results in different scale categories, further proving that the method provided by the present invention shows stronger adaptability to the segmentation of target objects of different scales when dealing with complex point cloud scenes with dense and close target objects.

[0095] at the same time Figure 4 The visualization results of the semantic segmentation results generated by the method provided by the present invention and the method provided by the RandLA-Net network structure on the indoor scene point cloud dataset S3DIS are also qualitatively demonstrated. Figure 4It shows that the semantic segmentation results produced by the method provided by the present invention in these segmented areas are better than those produced by the method provided by the RandLA-Net network structure. In particular, the method provided by the present invention has obvious detail improvements in segmenting objects of different scales, such as chairs, tables, and bookcases in the first row of segmented pictures; photo frames, windows, etc. in the second row of segmented pictures; doors, sundries, etc. in the third row of segmented pictures. In addition, in complex scenes facing multiple overlapping objects at close range, the method provided by the present invention can still show excellent segmentation performance. For example, in the first scene, although the chairs and desks are closely adjacent, a 3D point cloud semantic segmentation method for large scenes and multi-target environments can still accurately distinguish their boundaries; and in the second scene, the fine segmentation performance of the photo frame is also improved. These visualized semantic segmentation results fully demonstrate the excellent performance of the method provided by the present invention in local details and multi-scale object segmentation.

[0096] Figure 8 The semantic segmentation results produced by the method provided by the present invention and the semantic segmentation results produced by some currently popular methods are quantitatively demonstrated, and the performance comparison results on the urban road scene point cloud dataset Toronto3D are shown. The method provided by the present invention achieves 81.7% and 97.0% results in mIoU and OA indicators respectively. Figure 8 The BAF-LAC network structure with the best mIoU result is only 0.3% lower than that of the BAF-LAC network structure, but the OA result produced by the method provided by the present invention is 1.8% higher than that of the BAF-LAC network structure. In addition, the semantic segmentation results produced by the method provided by the present invention achieve the highest segmentation accuracy in the two categories of Building and Car. In general, the semantic segmentation results produced by the method provided by the present invention show the best performance level on the urban road scene point cloud dataset Toronto3D.

[0097] Figure 5 The comparison results of the segmentation performance of the 3D point cloud semantic segmentation method for large scenes and multi-target environments of the present invention and the semantic segmentation results produced by the current popular methods on the Toronto3D test set are intuitively demonstrated, further verifying the effectiveness and superiority of the 3D point cloud semantic segmentation method for large scenes and multi-target environments of the present invention. Figure 4 It shows that the 3D point cloud semantic segmentation method for large scenes and multi-target environments of the present invention accurately captures the local details of objects of different scales and achieves more detailed segmentation. For example, the zebra crossing and the fence connected to the building marked in the figure are all finely and accurately segmented.

[0098] Fig. 9The performance comparison results of the semantic segmentation results produced by a 3D point cloud semantic segmentation method for large-scale and multi-target environments and the semantic segmentation results produced by some recent popular methods on the autonomous driving scene point cloud dataset SemanticKITTI are shown. According to the online submission test results of the semantic segmentation results produced by the method provided by the present invention, the method provided by the present invention achieved a result of 59.2% in the mIoU indicator. Compared with other popular methods recently, the method provided by the present invention has achieved the best performance in the intersection over union (IoU) ratio in many categories, and has shown outstanding performance in both the fine segmentation of small-scale objects such as pedestrians, bicycles and motorcycles, and the overall recognition of large-scale objects such as roads, sidewalks and trucks.

[0099] Figure 6 The semantic segmentation results of the method provided by the present invention on the autonomous driving scene point cloud dataset SemanticKITTI are visualized. Through the visualized segmentation results, it can be seen that the method provided by the present invention achieves more accurate segmentation of objects of different scales in road traffic scenes. For example, in the third image, whether it is small vegetation, tree trunks, or high traffic lights and guardrails, a 3D point cloud semantic segmentation method for large scenes and multi-target environments has demonstrated excellent segmentation capabilities; and in the fourth image, for small-scale objects such as pedestrians, bicycles, motorcycles, and large-scale objects such as buildings, the method provided by the present invention also achieves fine and accurate segmentation. These results fully demonstrate the superiority and effectiveness of a 3D point cloud semantic segmentation method for large scenes and multi-target environments in dealing with complex road traffic scenes.

[0100] Fig.10 The inference speed and number of parameters of the method provided by the present invention on the S3DIS dataset are quantitatively compared with other recently popular network structures, providing an evaluation of the model complexity level for the method provided by the present invention. Fig.10 It can be seen that the method provided by the present invention has achieved the best performance results in both the amount of model parameters and the reasoning speed. Compared with the recently popular BEMF-Net network structure, the method provided by the present invention reduces the amount of parameters to 2 / 3 while maintaining the same mIoU performance, and increases the reasoning speed to 3 / 4 times, showing higher efficiency and practicality. Compared with the classic model RandLA-Net network structure, the method provided by the present invention achieves a significant improvement of 4.1% in the mIoU indicator, while the amount of model parameters and reasoning speed are basically the same. In summary, the method provided by the present invention shows excellent performance when processing large scenes and multi-target environments, and the efficiency of the model is also excellent, providing an efficient and reliable solution for practical applications.

[0101] Example 3

[0102] A computer-readable storage medium having computer instructions stored thereon, characterized in that when the computer instructions are executed by a processor, the steps of the method of embodiment 1 or 2 above are implemented.

[0103] Example 4

[0104] The present invention also provides a computer program product, including computer instructions, characterized in that when the computer instructions are executed by a processor, the steps of the method in the above-mentioned embodiment 1 or 2 are implemented.

[0105] In summary, the present invention provides a 3D point cloud semantic segmentation method for large scenes and multi-target environments, which can be used for point cloud semantic segmentation tasks in large-scale variable-scale target scenes. The present invention constructs a local feature learner w-LF that does not rely on strict geometric relationships, capturing and aggregating discriminative local features of point clouds. The present invention also innovatively designs a multi-scale feature fusion module MFF, which integrates multi-scale coding layer features from all resolutions, and can provide efficient representation of variable-scale targets.

[0106] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A 3D point cloud semantic segmentation method for large scenes and multi-target environments, characterized in that: include: Get the point cloud, use the K-nearest neighbor search operator KNN of each encoding layer of the encoder to search the feature space and geometric space of the point cloud of this encoding layer, obtain the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood, as the bilateral input feature of each encoding layer; Using the local feature encoding block of the local feature learner of each encoding layer of the encoder, feature encoding is performed on the bilateral input features to obtain bilateral encoded features; The bilateral encoding features are fused through feature addition operation; The attention pooling module of the encoder local feature learner is used to process the fused bilateral coding features to obtain the local aggregation features of the point cloud of this coding layer; Using a residual connection module of an encoder local feature learner, the semantic features of the bilateral input features and the local aggregation features are added and fused to obtain output features; Among them, the point cloud of the first coding layer is the original input point cloud, and the point clouds of the remaining coding layers are obtained by downsampling the geometric space of the point cloud of the upper coding layer and the feature space of the output features of the upper coding layer using the farthest point sampling FPS; After obtaining the output features of all coding layers, the decoder embedded in the multi-scale feature fusion module MFF is used to upsample the output features of the coding layers at all resolutions, and the upsampled features from the coding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud; The feature representation is converted into a semantic segmentation result using a segmentation prediction head and outputted.

2. The 3D point cloud semantic segmentation method for large scenes and multi-target environments according to claim 1 is characterized in that: Each encoding layer of the encoder only includes a K-nearest neighbor search operator KNN and a local feature learner w-LFL.

3. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 1 is characterized in that: The local feature learner w-LFL is composed of a local feature encoding block, an attention pooling module and a residual connection module; The local feature encoding block is used to perform feature encoding on the neighborhood semantic feature representation of the point cloud and the geometric information ignoring the absolute coordinates of the neighborhood, respectively, to obtain bilateral encoded features, and to fuse the bilateral encoded features to obtain fused encoded features; The attention pooling module is used to discriminately aggregate the fused bilateral coding features to obtain the local aggregation features of the point cloud of the current coding layer; The residual connection module is used to add and fuse the bilateral input features of the local feature learner w-LFL and the local aggregation features.

4. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 1, characterized in that: The local feature encoding block of the local feature learner of each encoding layer of the encoder is used to encode the bilateral input features to obtain bilateral encoded features, including: Ignore the absolute coordinates of the K nearest neighbor points and only use relative coordinates and relative distances to represent local geometric relationships , obtain the geometric feature information encoding ; Through the semantic features of K nearest neighbors To capture the center point s of the point cloud neighborhood i The surrounding local semantic relationship , obtain local semantic feature information encoding ; By encoding geometric feature information and local semantic feature information, we can obtain bilateral encoding features that imply different information. .

5. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 4, characterized in that: The local geometric relationship , expressed as: (1); In the formula, Concat represents the cascade operation. Represents the center point s of the point cloud neighborhood i The spatial coordinate information of Represents the center point s of the point cloud neighborhood i The spatial coordinate information of the kth neighbor point in the neighborhood, i represents the sorting number of each point in the point cloud, k represents the sorting number of the neighbor points in the point cloud neighborhood, represents the 2-norm operator; The geometric feature information encoding , expressed as: (2); In the formula, MLP() represents the multi-layer perceptron function, Represent local geometric relationships; The local semantic relationship , expressed as: (3); In the formula, Concat represents the cascade operation, i represents the sorting number of each point in the point cloud, and k represents the sorting number of the neighboring points in the point cloud neighborhood. Represents the center point s of the point cloud neighborhood i The semantic feature information of Represents the center point s of the point cloud neighborhood i The semantic feature information of the kth neighbor point in the neighborhood, Represents a scalar calculation operator; The local semantic feature information encoding , expressed as: (4); In the formula, MLP() represents the multi-layer perceptron function, Represents a local semantic relationship.

6. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 4, characterized in that: Through the feature addition operation, the bilateral encoding features are fused, which is expressed as: (5); In the formula, ⊕ represents the feature addition operation, represents the fused bilateral encoding features, Represents geometrically encoded feature information, Represents local semantic encoding feature information.

7. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 4, characterized in that: The attention pooling module of the encoder local feature learner is used to process the fused bilateral coding features to obtain the local aggregation features of the point cloud of this coding layer, including: From the fused bilateral encoding features through the shared MLP and softmax function Learning the attention weight matrix ; Through the attention weight matrix The fused bilateral encoding features Perform weighted summation to obtain the local aggregation features of the point cloud of this coding layer.

8. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 7, characterized in that: The attention weight matrix , expressed as: (6); In the formula, softmax() represents the normalized exponential function, MLP() represents the multi-layer perceptron function, Represents the fused bilateral encoding features.

9. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 7, characterized in that: The local aggregation feature is expressed as: (7); In the formula, Sum() represents the sum function, represents the attention weight matrix, ° represents the element-by-element product of the matrix, Represents the fused bilateral encoding features.

10. The 3D point cloud semantic segmentation method for large scene and multi-target environment according to claim 1, characterized in that: After obtaining the output features of all coding layers, the decoder embedded in the multi-scale feature fusion module MFF is used to upsample the output features of the coding layers at all resolutions, and the upsampled features from the coding layer features at other resolutions are fused layer by layer to obtain a feature representation with the same resolution as the original input point cloud, including: Assume that the encoder has J layers, for the jth encoding layer E j Output characteristics Upsample and fuse the upsampled features of other resolution coding layer features to obtain the output features At the decoding layer D k The fusion features of , the fusion feature is obtained The process is expressed as: (8); In the formula, j and k represent the numbers of the coding layer and decoding layer respectively, E j , D k denote the jth encoding layer and the kth decoding layer respectively, ⊕ denotes the feature addition operation, Represents the coding layer E j The output features, f D express Continue upsampling to the decoding layer D k The input features when k=j,j-1,…,1, represents the upsampling operator, Indicates that at the decoding layer D k Upper coding layer E j-1 ~E k The features are obtained by upsampling and fusing the output features of .

Citation Information

Patent Citations

  • Point cloud semantic segmentation method based on expansion point convolution space pyramid pooling

    CN111027559A

  • Semantic segmentation method for laser radar sparse point cloud data

    CN116597146A

  • Three-dimensional point cloud semantic segmentation method based on multi-scale feature jump fusion

    CN117456172A

Cited By

  • Urban scene point cloud automatic semantic segmentation method and system based on multi-channel attention mechanism, terminal and medium

    CN120747522A

  • A method, system, terminal, and medium for automatic semantic segmentation of urban scene point clouds based on a multi-channel attention mechanism.

    CN120747522B