Robust component segmentation method for 3D point clouds based on semantic SAM large model

Through the robust component segmentation method of 3D point cloud based on the semantic SAM large model, using multi-view projection and fusion feature maps, combined with the concepts of super points and anchor points, the robustness problem of 3D point cloud segmentation in complex environments is solved. Achieve high accuracy and stability of component segmentation effect.

CN118397282BActive Publication Date: 2024-08-30CIVIL AVIATION FLIGHT UNIV OF CHINA

Patent Information

Application Number
CN202410849292.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-30
Estimated Expiration
2044-06-27

AI Technical Summary

Technical Problem

Existing 3D point cloud segmentation methods are difficult to maintain robustness in complex environments, especially when the distance between component instances in complex scenes is close or nested, and it is difficult to achieve high accuracy and stability.

Method used

A robust component segmentation method for 3D point cloud based on a large semantic SAM model is used to project component-level semantic information through multi-view projection to a 2D depth map, fuse feature maps, and fine-tune the model through the adapter module, combining superpoints and anchor points. The concept dynamically adjusts weights to achieve seamless integration of 2D segmentation results back into 3D point cloud data.

Benefits of technology

It significantly improves the robustness and accuracy of 3D point cloud segmentation, can better handle local and global information, enhances the accuracy and stability of segmentation, and adapts to segmentation tasks in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118397282B
    Figure CN118397282B
Patent Text Reader

Abstract

The present invention relates to the field of computer vision technology, and discloses a robust component segmentation method for three-dimensional point clouds based on a semantic SAM large model, comprising the steps of: projecting three-dimensional point cloud data to a two-dimensional depth map through multiple perspectives; using the semantic SAM large model to fuse the two-dimensional depth maps under various perspectives to obtain a fused feature map to learn component-level semantic information in the fused feature map; fine-tuning the semantic SAM large model through an adapter module, using the two-dimensional depth maps of various perspectives as training data, training the semantic SAM large model, and making the semantic SAM large model output a two-dimensional segmentation result; the semantic SAM large model integrates the output two-dimensional segmentation result back into the three-dimensional point cloud data to achieve three-dimensional point cloud segmentation of components. The present invention improves the robustness of three-dimensional point cloud segmentation in complex environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer vision technology, and in particular to a three-dimensional point cloud robust component segmentation method based on a semantic SAM large model. Background Art

[0002] 3D point cloud segmentation technology plays a key role in the field of computer vision, especially in applications such as robotics, augmented reality, and virtual reality. In practical applications, 3D point cloud data is often affected by multiple factors, such as noise, occlusion, and changes in lighting conditions, which greatly increase the difficulty of point cloud segmentation. Existing 3D point cloud segmentation methods, such as those based on convolutional neural networks (CNNs), graph convolutional networks (GCNs), and transformers, have achieved success in scene semantic segmentation and object-level instance segmentation, but still face unique challenges in component-level segmentation. Especially in complex scenes, the object structure may be very complex, containing many parts and details, resulting in very close distances between component instances, and even some component instances may be nested in other objects, such as the door handle component instance nested in the door object.

[0003] Therefore, in order to improve the robustness of 3D point cloud segmentation in complex environments, technological innovation is needed to maintain performance and adaptability under harsh conditions. Summary of the invention

[0004] The purpose of the present invention is to improve the robustness of 3D point cloud segmentation in complex environments and to provide a 3D point cloud robust component segmentation method based on a semantic SAM large model.

[0005] In order to achieve the above-mentioned object of the invention, the embodiment of the present invention provides the following technical solutions:

[0006] A method for robust component segmentation of a three-dimensional point cloud based on a semantic SAM large model is characterized by comprising the following steps:

[0007] Step 1: Project the 3D point cloud data into a 2D depth map through multiple perspectives;

[0008] Step 2: Use the semantic SAM large model to fuse the two-dimensional depth images from different perspectives to obtain a fused feature map to learn the component-level semantic information in the fused feature map;

[0009] Step 3, fine-tuning the semantic SAM large model through the adapter module, using the two-dimensional depth maps of each perspective obtained in step 1 as training data, training the semantic SAM large model, and making the semantic SAM large model output a two-dimensional segmentation result;

[0010] Step 4: The semantic SAM large model integrates the output 2D segmentation results back into the 3D point cloud data to achieve 3D point cloud segmentation of the component.

[0011] Compared with the prior art, the present invention has the following beneficial effects: the present invention combines the concepts of superpoints and anchor points, and this fusion strategy significantly improves the robustness and accuracy of seamlessly integrating 2D segmentation results back into 3D point cloud data. Through dynamic weight adjustment and combining the characteristics of superpoints and anchor points, the present invention can better process local and global information, thereby improving the accuracy and stability of segmentation. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0013] Figure 1 It is a schematic diagram of the process of the present invention;

[0014] Figure 2 A schematic diagram of the network structure of the semantic SAM large model of the present invention;

[0015] Figure 3 Schematic diagram of the network structure of the transformer layer of the present invention. DETAILED DESCRIPTION

[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.

[0017] It should be noted that similar numbers and letters represent similar items in the following figures, so once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. The terms "connected" and "connected" can refer to direct connection between units and modules, or indirect connection via other units and modules.

[0018] Embodiment 1:

[0019] The present invention is achieved through the following technical solutions: Figure 1 As shown, the robust component segmentation method of 3D point cloud based on semantic SAM large model includes the following steps:

[0020] Step 1: Project the 3D point cloud data into a 2D depth map through multiple perspectives.

[0021] The 3D point cloud data is obtained from the ShapeNet-C dataset, projected from multiple different angles (e.g., 16 angles), and rendered into 2D depth maps from different angles using OpenGL graphics processing technology. These 2D depth maps create depth information by recording the distance from each pixel to the center of the camera, which can effectively capture the shape and spatial information of the target object and provide rich geometric data. By configuring a virtual camera with OpenGL graphics processing technology, 16 fixed and evenly distributed virtual cameras are arranged around the target object at the same angle, and precise rendering settings are made for the virtual camera of each perspective, ensuring that the 2D depth map captured by each virtual camera can accurately reflect the depth information of the 3D scene observed from a specific perspective.

[0022] Next, the projected two-dimensional depth maps are preprocessed, including color correction, contrast adjustment, and denoising, to optimize the image quality and prepare for subsequent feature extraction and other processing. This not only improves the availability of the data, but also enhances the efficiency and accuracy of the model when processing multi-view inputs.

[0023] Step 2: Use the semantic SAM large model to fuse the two-dimensional depth maps from different perspectives to obtain a fused feature map to learn the component-level semantic information in the fused feature map.

[0024] The semantic SAM (Segment Anything Model) is used to extract and learn component-level semantic information from multi-view 2D depth maps. Figure 2 As shown, the network structure of the semantic SAM large model includes an input layer, a fusion layer, an encoder, an adapter module, and an output layer. The input layer, the fusion layer, the encoder, and the output layer are connected in sequence. The adapter module ( Figure 2 The adapter module (indicated by a dotted box in the figure) is set in the encoder and between the encoder and the output layer. The specific network structure of the adapter module is described in detail in step 3 of this solution.

[0025] The 2D depth maps of each view are input into the input layer of the semantic SAM model. The input layer processes the 2D depth map of each view separately to generate a feature map, which contains the semantic information about each view and the spatial relationship between objects, and is the key to understanding the scene structure. The feature map of each view maintains the same spatial resolution and number of channels to ensure seamless connection and complete information transfer in the feature fusion stage.

[0026] After obtaining the feature map at each perspective, the fusion layer of the semantic SAM model introduces a feature aggregation model that does not require training to fuse the feature maps at different perspectives. The feature aggregation module calculates the weighted average of each pixel to form a fused feature map. i Each pixel point (u,v) in is represented in the fusion feature map as follows:

[0027]

[0028] Where (u, v) represents the coordinates of the pixel point, u is the horizontal coordinate of the pixel point, and v is the vertical coordinate of the pixel point; i represents the i-th viewing angle, i=1,2,...,N, k represents the k-th viewing angle, k=1,2,...,N, i≠k, and N is the total number of viewing angles; Represents the features of the pixel point (u, v) of the i-th perspective in the fusion feature map; Indicates the horizontal coordinate corresponding to the pixel point in view i when it is mapped to view k, Indicates the corresponding ordinate when the pixel point in view i is mapped to view k; It represents the corresponding features when the pixel point (u, v) in view i is mapped to view k. Specifically, It refers to the original feature map f at the viewing angle k k , corresponding to the coordinates The features at the locations have not yet been fused.

[0029] The weights of the pixel points (u, v) at view i when mapped to view k are:

[0030]

[0031] P i (u,v) represents the three-dimensional point set corresponding to the pixel point (u,v) at the viewing angle i; Represents the corresponding three-dimensional point set when the pixel point (u, v) in view i is mapped to view k; the corresponding coordinates of the pixel point (u, v) in view i when mapped to view k are determined by maximizing the overlap of three-dimensional points:

[0032]

[0033] in, Indicates the corresponding coordinates of the pixel point (u, v) in view i when it is mapped to view k; Represents the three-dimensional point set corresponding to the pixel point (x, y) under viewing angle k.

[0034] The obtained fusion feature map Replace the original feature map f i , and fuse the feature map The data is input into the encoder of the semantic SAM large model for further analysis and processing, which not only improves the adaptability of the semantic SAM large model to multi-view data, but also optimizes the integration effect of image data obtained from different viewpoints, thereby improving the performance of the semantic SAM large model in processing complex environments, and enables the semantic SAM large model to learn the component-level semantic information in the fused feature map.

[0035] In summary, this step obtains a fused feature map through feature fusion, replaces the original feature map obtained from a single perspective, and re-inputs it into the semantic SAM large model, which enhances the data processing capability and component-level semantic information learning capability of the semantic SAM large model, especially when faced with image data obtained from different and potentially unfamiliar perspectives, which can significantly improve the prediction accuracy and the generalization ability of the model.

[0036] Step 3, fine-tune the semantic SAM large model through the adapter module, use the two-dimensional depth maps of each perspective obtained in step 1 as training data, train the semantic SAM large model, and make the semantic SAM large model output a two-dimensional segmentation result.

[0037] When a pixel in each 2D depth map belongs to a segmented component, the label of the pixel is 1, otherwise it is 0. The 2D depth map and its label are input into the semantic SAM big model, and the adapter module is used to fine-tune the semantic SAM big model, so as to train the semantic SAM big model.

[0038] Integrate the adapter module into the network structure of the semantic SAM model to refine the feature segmentation requirements in a targeted manner. Figure 2, the adapter module includes multiple fully connected layers, three self-attention layers, and three softmax layers. The specific connection structure is: there are L transformer layers connected in sequence in the encoder, and 2 fully connected layers are set between every two transformer layers, so the adapter module has (L-1)×2 fully connected layers; a self-attention layer is connected to a softmax layer as a self-attention structure, then the three self-attention structures are connected in sequence, and the output end of the encoder is connected to the input end of the first self-attention structure, and the output end of the third self-attention structure is connected to the input end of the output layer. Among them, multiple transformer layers are used to process sequence data, such as Figure 3 As described above, each transformer layer contains a self-attention layer, a feedforward neural network, a residual layer, and a normalization layer connected in sequence.

[0039] This solution integrates the adapter module into the middle of the transformer layer, refines the features by adding two fully connected layers between each layer and three self-attention layers at the output of the encoder, and uses the softmax layer to generate the two-dimensional segmentation results of each pixel. The output layer integrates the pixel segmentation results of each feature map into the two-dimensional segmentation results of the feature map. This improvement enhances the multi-view adaptability of the semantic SAM large model, improves the accuracy of the two-dimensional segmentation results, optimizes the feature integration effect, and improves the robustness and performance of the semantic SAM large model in complex environments.

[0040] Steps 1 to 3 train the semantic SAM model based on the two-dimensional depth map obtained from the ShapeNet-C dataset, and fine-tune it through the integrated adapter module, so that the semantic SAM model can effectively improve its ability to accurately segment components of multi-view two-dimensional images. During the fine-tuning process, the semantic SAM model continuously optimizes the parameters of the adapter module by training with real data, so that it can better adapt to specific segmentation task requirements.

[0041] When the semantic SAM big model fine-tuned by the adapter module is applied to the actual segmentation task, the training results of the adapter module fine-tuning process enable the semantic SAM big model to better adapt to various segmentation challenges, prepare for the subsequent steps of the overall framework, and improve the performance of the semantic SAM big model when processing two-dimensional images.

[0042] Step 4: The semantic SAM large model integrates the output 2D segmentation results back into the 3D point cloud data to achieve 3D point cloud segmentation of the component.

[0043] Integrating the 2D segmentation results back into the 3D point cloud requires adjusting dynamic weights, generating super points, generating anchor points, and finally fusing the super points and anchor points into the fused feature map obtained in step 2 to achieve a 3D segmentation effect from layout to global. Step 4 specifically includes the following steps:

[0044] Step 4-1, based on the component-level semantic information learned from the fused feature map by the semantic SAM large model, adjust the dynamic weight of a single view.

[0045] The fused feature map obtained in step 2 allows the semantic SAM model to learn the contextual information of each view. Adjusting the dynamic weights based on the contextual information of each view can ensure that when fusing superpoints and anchor points, the contribution of each view matches its relevance in the entire scene. Specifically, the following formula is used to adjust the dynamic weights:

[0046]

[0047] Among them, w i represents the dynamic weight of view i, i=1,2,...,N, N is the total number of views; S i represents the score related to the contextual information of view i, S j Represents the score associated with the contextual information of view j, j=1,2,...,N, j≠i. The semantic information provided by the fused feature map helps determine this score, which aims to quantify the importance or contribution of each view to the overall scene understanding, which can be obtained by views with higher resolution and clarity, views with wider coverage, and views with higher viewpoint uniqueness:

[0048]

[0049] Among them, R i represents the resolution and clarity score of viewing angle i; C i represents the coverage score of view i; U i represents the viewpoint uniqueness score of view i; are weight coefficients, representing R i , C i , U i The importance of.

[0050] Step 4-2, generating super points through the original 3D point cloud data.

[0051] The process of superpoint generation uses the DNSCAN clustering algorithm to process the original 3D point cloud data, dividing the point cloud into multiple clusters, each cluster forming a superpoint, representing an area with similar features, which is used to capture local geometric features. The step 4-2 specifically includes the following steps:

[0052] Step 4-21, select DNSCAN parameters: select the appropriate neighborhood radius (epsilon) and minimum number of points (minPoints). These two parameters will directly affect the clustering results. The neighborhood radius determines the conditions for points to be considered as the same cluster, while the minimum number of points defines what is a core point.

[0053] Step 4-22, identify core points: For each point in the point cloud, check whether there are at least minPoints points in its neighborhood. If a point meets this condition, the point is marked as a core point.

[0054] Step 4-23, expand the cluster: Starting from each core point, find all density-reachable points to form a cluster, which includes points directly within the neighborhood radius and points that are density-reachable through other core points.

[0055] Step 4-24, mark noise points: Points that are not in any cluster are considered noise points and can be ignored or processed separately.

[0056] Step 4-25, feature extraction: For each cluster, extract its geometric descriptor and photometric descriptor. The geometric descriptor usually includes the position (X, Y, Z) of the point, the normal vector (N x ,N y ,N z ), the curvature vector (K x ,K y ,K z ), etc. These geometric descriptors can capture the local shape information and topological information of the points. The geometric descriptor of each point can be expressed as:

[0057]

[0058] Among them, Geometric Descriptor represents the geometric descriptor, (X, Y, Z) represents the location of the point, (N x ,N y ,N z ) represents the normal vector, (K x ,K y ,K z ) represents the curvature vector;

[0059] The photometric descriptor usually includes the color information (R, G, B), texture feature, intensity value, etc. These photometric descriptors can capture the color information and texture information of the point. The photometric descriptor of each point can be expressed as:

[0060]

[0061] Among them, Photometric Descriptor represents the photometric descriptor, (R, G, B) represents the color information, TextureFeature represents the texture feature, and Intensity represents the intensity value.

[0062] By combining geometric descriptors and photometric descriptors, a more comprehensive 3D point cloud data representation is obtained, thus providing strong support for subsequent 3D segmentation and recognition tasks.

[0063] The advantage of the DNSCAN clustering algorithm is that it does not require the number of clusters to be specified in advance, can automatically discover clusters of any shape, and is insensitive to noise and outliers, which makes it more robust when processing real-world 3D point cloud data.

[0064] Step 4-3, generate anchor points through the original 3D point cloud data.

[0065] The entire 3D point cloud data is preprocessed using VLM (Volume-Level Set Mapping) technology to calculate the volume attributes of each point. VLM technology is a representation method for 3D point cloud data that describes the geometric features of the point cloud by calculating the volume attributes of each point in 3D space. VLM technology preprocesses the 3D point cloud data and extracts the volume attributes of each point. These volume attributes reflect the 3D geometric features of each point in the point cloud, providing a basis for subsequent clustering analysis. Therefore, the core idea of ​​VLM technology is to regard each point in the point cloud as a volume and describe the geometric features of the point cloud based on its volume attributes.

[0066] Based on the volume attribute representation of points, an advanced clustering algorithm (spectral clustering) is applied to group the point cloud to generate anchor points. The specific clustering process is expressed as follows:

[0067]

[0068] Among them, Anchor Point represents anchor point, Spectral Clustering is a clustering algorithm based on graph theory, VLM represents volume level set mapping operation, and Point Cloud represents point cloud. By constructing a graph, each point is used as a node and the similarity between points is used as the weight of the edge. Based on this graph, the eigenvectors of the Laplacian matrix are calculated, which can help find the potential partition of the data and thus achieve clustering. In this way, each anchor point generated represents an area with unique geometric and semantic features, providing a global reference for the semantic SAM large model.

[0069] In step 4-4, based on superpoints and anchor points, dynamic weights are used to fuse the two-dimensional segmentation results of each perspective, so that the semantic SAM large model captures local to global semantic information.

[0070] The concepts of superpoints and anchor points are used to fuse the 2D segmentation results of each view. Superpoints are generated based on local 2D segmentation results, which helps to deal with local challenges such as noise, occlusion and deformation; anchor points cluster 3D point cloud data using volume level set mapping (VLM) to maintain global consistency. The fusion of superpoints and anchor points ensures an accurate understanding of the relationship between different parts of the entire scene, thus avoiding inconsistencies or discontinuities in the mapping from 2D to 3D.

[0071] In the fusion process, this scheme combines dynamic weight adjustment and feature fusion formula to flexibly adapt to the two-dimensional segmentation results of multiple perspectives and capture local and global information. The improved feature fusion formula is:

[0072]

[0073] Among them, f[u,v] represents the features of the fused feature map of the two-dimensional segmentation results of each view at the pixel point (u,v); Represents the global dynamic weight, reflecting the overall weight from view i to view k, which is represented by w i and w k get; Represents the local feature weight, reflecting the local weight of the feature at the coordinate (u, v); Indicates the corresponding coordinates in view k The improved feature fusion formula combines global and local information and ensures accurate feature transfer and fusion by dynamically adjusting weights and feature fusion.

[0074] Step 4-5, integrate the fused 2D segmentation results back into the 3D point cloud data to achieve a robust 3D point cloud segmentation effect for components.

[0075] Finally, by accurately integrating the 2D segmentation results back into the 3D point cloud data, a robust and accurate 3D segmentation of parts is achieved. This method can effectively handle local challenges such as noise, occlusion, and deformation in 3D point cloud data while maintaining global consistency. Experimental results on the ShapeNet-C dataset show that the present invention has high accuracy and robustness in processing complex 3D point cloud data, and can provide strong support for various 3D applications.

[0076] The loss function of the semantic SAM large model includes an adaptive weighted fusion loss function L fusion And the knowledge transfer loss function L transfer,Each loss function is used to optimize a specific aspect of the semantic SAM large model, and together improve the overall prediction effect.

[0077] The adaptive weighted fusion loss function L fusion Taking into account the consistency of multiple perspectives, the fusion result of the two-dimensional segmentation results can better retain the consistent features of different perspectives. The adaptive weighted fusion loss function L fusion for:

[0078]

[0079] Where i represents the th viewing angle, i=1,2,...,N, N represents the total number of viewing angles; w i represents the dynamic weight of view i; CE represents the cross entropy loss; Y ground_truth Indicates the true label of the two-dimensional segmentation result; represents the predicted two-dimensional segmentation result of view i; L consistency represents the multi-view consistency loss function, Indicates control L consistency Importance weight parameter. L consistency The consistency of the fusion results is promoted by calculating the intersection-over-union ratio between the fusion result and the average fusion result. In order to effectively map the two-dimensional segmentation result to the three-dimensional point cloud data, the concept of multi-view consistency is integrated using the information of super points and anchor points.

[0080] Knowledge transfer loss function L transfer for:

[0081]

[0082] in, is the weight of the superpoint, is the weight of the anchor point, is a weight parameter to control the contribution of multi-view consistency to knowledge transfer; IoU represents intersection over union; t represents the t-th superpoint or the t-th anchor point, the number of superpoints and anchor points is T, t=1,2,...,T; represents the weight of super point t; represents the weight of anchor point t; Represents the true label of the rth point cloud; Represents the predicted segmentation result of the rth point cloud, r=1,2,...,R, R is the total number of point clouds; It represents the average fusion result after the fusion of the 2D segmentation results of multiple views, which is used to ensure the consistency of the 2D segmentation results of multiple views.

[0083] The total loss function L total is the adaptive weighted fusion loss function L fusion And the knowledge transfer loss function Ltransfer Combination of:

[0084]

[0085] in, Indicates balance L fusion and L transfer The total loss function can enhance the performance of the semantic SAM large model in 3D point cloud segmentation by utilizing multi-view consistency, adaptive weighted fusion and knowledge transfer.

[0086] Step 5: Input the collected two-dimensional depth map into the trained semantic SAM large model to obtain the three-dimensional point cloud segmentation result of the component in the two-dimensional depth map.

[0087] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A robust component segmentation method for 3D point clouds based on a semantic SAM large model, characterized by: The following steps are involved: Step 1: Project the 3D point cloud data into a 2D depth map through multiple perspectives; Step 2: Use the semantic SAM large model to fuse the two-dimensional depth images from different perspectives to obtain a fused feature map to learn the component-level semantic information in the fused feature map; Step 3, fine-tuning the semantic SAM large model through the adapter module, using the two-dimensional depth maps of each perspective obtained in step 1 as training data, training the semantic SAM large model, and making the semantic SAM large model output a two-dimensional segmentation result; Step 4: The semantic SAM large model integrates the output 2D segmentation results back into the 3D point cloud data to achieve 3D point cloud segmentation of the component; The step 4 specifically comprises the following steps: Step 4-1, based on the component-level semantic information learned from the fused feature map by the semantic SAM large model, adjust the dynamic weight of a single view; The step 4-1 specifically includes the following steps: Use the following formula to adjust the dynamic weight: Among them, w i represents the dynamic weight of view i, i=1,2,...,N, N is the total number of viewpoints; S i represents the score related to the contextual information of view i, S j represents the score related to the context information of view j, j=1,2,...,N,j≠i; score S i for: Among them, R i represents the resolution and clarity score of viewing angle i; C i represents the coverage score of view i; U i represents the viewpoint uniqueness score of view i; are weight coefficients, representing R i , C i , U i The importance of Step 4-2, generating super points through the original three-dimensional point cloud data; Step 4-3, generating anchor points through original 3D point cloud data; Step 4-4, based on superpoints and anchor points, the two-dimensional segmentation results of each view are fused using dynamic weights, so that the semantic SAM large model captures local to global semantic information; The step 4-4 specifically includes the following steps: Using the concepts of superpoints and anchor points, combined with dynamic weight adjustment and feature fusion formula, the two-dimensional segmentation results of each perspective are fused. The feature fusion formula is: Among them, f[u,v] represents the features of the fused feature map of the two-dimensional segmentation results of each view at the pixel point (u,v); represents the global dynamic weight, reflecting the overall weight from view i to view k; Represents the local feature weight, reflecting the local weight of the feature at the coordinate (u, v); Indicates the corresponding coordinates in view k Characteristics of the place; Step 4-5, integrate the fused 2D segmentation results back into the 3D point cloud data to achieve a robust 3D point cloud segmentation effect for components.

2. The method for robust component segmentation of three-dimensional point cloud based on semantic SAM large model according to claim 1, characterized in that: The semantic SAM large model includes an input layer, a fusion layer, an encoder, an adapter module, and an output layer. The encoder includes L transformer layers, and the adapter module includes multiple fully connected layers, three self-attention layers, and three softmax layers. The input layer, fusion layer, and encoder are connected in sequence, and two fully connected layers are set between every two transformer layers in the encoder; a self-attention layer is connected to a softmax layer as a self-attention structure, and the three self-attention structures are connected in sequence, and the output end of the encoder is connected to the input end of the first self-attention structure, and the output end of the third self-attention structure is connected to the input end of the output layer.

3. The method for robust component segmentation of three-dimensional point cloud based on semantic SAM large model according to claim 2, characterized in that: The step 2 specifically includes the following steps: The 2D depth maps of each view are input into the input layer of the semantic SAM model, and the input layer processes the 2D depth map of each view separately to generate a feature map; After obtaining the feature map at each perspective, the fusion layer of the semantic SAM large model calculates the weighted average of each pixel, fuses the feature maps at different perspectives, and forms a fused feature map. For the feature map f of the i-th perspective, i Each pixel point (u,v) in is represented in the fusion feature map as follows: Where (u, v) represents the coordinates of the pixel point, u is the horizontal coordinate of the pixel point, and v is the vertical coordinate of the pixel point; i represents the i-th viewing angle, i=1,2,...,N, k represents the k-th viewing angle, k=1,2,...,N, i≠k, and N is the total number of viewing angles; Represents the features of the pixel point (u, v) of the i-th perspective in the fusion feature map; Indicates the horizontal coordinate corresponding to the pixel point in view i when it is mapped to view k, Indicates the corresponding ordinate when the pixel point in view i is mapped to view k; Represents the corresponding features when the pixel point (u, v) in view i is mapped to view k; The weights of the pixel points (u, v) at view i when mapped to view k are: P i (u,v) represents the three-dimensional point set corresponding to the pixel point (u,v) at the viewing angle i; Represents the corresponding three-dimensional point set when the pixel point (u, v) in view i is mapped to view k; the corresponding coordinates of the pixel point (u, v) in view i when mapped to view k are determined by maximizing the overlap of three-dimensional points: in, Indicates the corresponding coordinates of the pixel point (u, v) in view i when it is mapped to view k; Represents the three-dimensional point set corresponding to the pixel point (x, y) under viewing angle k.

4. The method for robust component segmentation of three-dimensional point cloud based on semantic SAM large model according to claim 1, characterized in that: The step 4-2 specifically includes the following steps: Step 4-21, select DNSCAN parameters: select appropriate neighborhood radius and minimum number of points. These two parameters will directly affect the clustering results. The neighborhood radius determines the conditions for points to be considered as the same cluster, while the minimum number of points defines what is a core point. Step 4-22, identify core points: for each point in the point cloud, check whether there are at least a minimum number of points in its neighborhood. If a point meets this condition, the point is marked as a core point; Step 4-23, expand the cluster: starting from each core point, find all density-reachable points to form a cluster, which includes points directly within the neighborhood radius and points that are density-reachable through other core points; Step 4-24, mark noise points: points that are not in any cluster are considered noise points; Step 4-25, feature extraction: For each cluster, extract its geometric descriptor and photometric descriptor. The geometric descriptor of each point is expressed as: Among them, Geometric Descriptor represents the geometric descriptor, (X, Y, Z) represents the location of the point, (N x ,N y ,N z ) represents the normal vector, (K x ,K y ,K z ) represents the curvature vector; The photometric descriptor of each point is expressed as: Among them, Photometric Descriptor represents the photometric descriptor, (R, G, B) represents the color information, TextureFeature represents the texture feature, and Intensity represents the intensity value.

Citation Information

Patent Citations

  • Target detection and tracking method based on two-dimensional picture and three-dimensional point cloud fusion

    CN111626217A

  • Large aircraft large component point cloud semantic segmentation method based on pre-training large model

    CN117058366A

Cited By

  • A general lightweight component segmentation method for dense point clouds

    CN119625318B

  • A 3D model feature recognition method based on heterogeneous graph neural networks

    CN120411954B