Three-dimensional semantic segmentation method for complex open scene

By integrating multimodal data of point cloud, two-dimensional image and text description, using contrast learning and geometric comparison loss terms, the problems of insufficient data and unclear semantic definition of three-dimensional scene segmentation technology in open and complex environments are solved, and the problem of insufficient data and unclear semantic definition of three-dimensional scene segmentation technology in open and complex environments is achieved. Accurate segmentation and adaptability of complex scenarios.

CN118968060AActive Publication Date: 2024-11-15INST OF AUTOMATION CHINESE ACAD OF SCI (LUOYANG) ROBOTICS & INTELLIGENT EQUIP INNOVATION INST

Patent Information

Application Number
CN202410997936.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

The existing three-dimensional scene segmentation technology faces the problems of insufficient data volume, unclear scene complexity and unclear semantic definition in open and complex environments, and the model has limited understanding and adaptability to natural real-world scenarios.

Method used

Using multimodal data integration method, including point cloud, 2D images and text description, features are extracted and aligned through the pre-training stage, and robust three-dimensional feature expression is obtained by using contrast learning, combined with geometric contrast loss terms, and three-dimensional semantic segmentation is realized .

Benefits of technology

Accurate three-dimensional semantic segmentation is realized in complex open scenarios, and has the ability to close set semantic segmentation of the entire scenario. The model can learn deep features and show adaptability and accuracy in unlabeled, dynamically changing real-world scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118968060A_ABST
    Figure CN118968060A_ABST
Patent Text Reader

Abstract

The invention discloses a three-dimensional semantic segmentation method for a complex open scene, and the method comprises a pre-training stage and a reasoning stage, and the pre-training stage comprises the following steps: collecting an object point cloud, text vocabularies, a two-dimensional image and a scene point cloud in an original scene in the pre-training stage; extracting features from the object point cloud, the text vocabularies, the two-dimensional image and the three-dimensional scene point cloud; aligning the features of the multi-modal data, and performing knowledge distillation through comparative learning to obtain a robust three-dimensional feature expressor; in the reasoning stage, the method comprises the following steps: carrying out feature extraction on'prompt 'and three-dimensional scene point cloud; and performing similarity calculation on the three-dimensional scene point cloud features and the prompt features, wherein three-dimensional points of which the similarity values are greater than a set threshold value are selected areas. According to the method, object point cloud, text vocabularies and two-dimensional images are taken as prompts, corresponding areas are segmented from a complex three-dimensional scene, and meanwhile, the method also has the capability of carrying out closed set semantic segmentation on the whole three-dimensional scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of computer vision and image processing, and in particular to a three-dimensional semantic segmentation method for complex open scenes. Background Art

[0002] 3D scene segmentation technology refers to the technology of dividing the scene in 3D space into different parts or regions, and identifying and classifying each part or region. As a core research field in the field of computer vision, 3D scene segmentation technology plays a vital role in understanding and parsing the information of physical space scenes, and can provide technical support for cutting-edge technologies such as virtual / augmented reality, autonomous driving, smart cities, and digital twins. With the development of deep learning methods based on data supervision, 3D semantic segmentation tasks have achieved good results, but they still face many challenges in practical applications; especially in open and complex environments, they often face problems such as insufficient data, complex scenes, and unclear semantic definitions. In addition, most existing research is currently limited to limited, predefined categories, which limits the model's understanding and adaptability to the diversity of natural real-world scenes. Summary of the invention

[0003] To solve the above problems, the purpose of the present invention is to provide a 3D semantic segmentation method for complex open scenes, which processes complex 3D scene segmentation tasks by integrating multimodal data including point clouds, 2D images and text descriptions.

[0004] In order to achieve the above-mentioned invention object, the present invention adopts the following technical scheme:

[0005] A 3D semantic segmentation method for complex open scenes includes a pre-training stage and a reasoning stage. The pre-training stage includes the following steps:

[0006] S11, in the pre-training stage, collecting object point clouds, text words, two-dimensional images and scene point clouds in the original scene, and extracting features from the object point clouds, text words, two-dimensional images and three-dimensional scene point clouds;

[0007] S12, aligning the multimodal data features in step S11, and performing knowledge distillation through contrastive learning to obtain a robust three-dimensional feature expressor;

[0008] The inference phase includes the following steps:

[0009] S2. Extract features from the "prompt" and the three-dimensional scene point cloud; calculate the similarity between the three-dimensional scene point cloud features and the prompt features, and the three-dimensional points whose similarity values ​​are greater than a set threshold are the selected areas.

[0010] Furthermore, in the above step S11, the process of extracting features from the two-dimensional image is as follows: setting the resolution of the two-dimensional image to H×W, using the pre-trained image semantic segmentation model to extract features, and obtaining pixel-level feature embedding, which is expressed as Among them, W and H represent the width and height of the two-dimensional image respectively, C represents the dimension of the feature, and i represents the i-th image.

[0011] Furthermore, in the above step S11, the process of extracting features from text words is as follows: each text word is subjected to feature extraction using the "a"+label+"in a scene template and the CLIP text encoder to obtain a C-dimensional feature vector, which is expressed as

[0012] Furthermore, in the above step S11, the process of extracting features from the object point cloud is as follows: the object point cloud is subjected to feature extraction using the PointMAE network to obtain a C-dimensional feature vector, which is expressed as

[0013] Furthermore, in the above step S11, the process of extracting features from the three-dimensional scene point cloud is: using the MinkUNet18 network to extract features, and obtaining the feature expression of each three-dimensional point in the scene point cloud, which is expressed as Among them, j represents the jth three-dimensional point.

[0014] Furthermore, in the above step S12, the alignment of image pixels with three-dimensional point features includes the following sub-steps:

[0015] (1) 2D-3D matching association: Given a 3D scene point cloud P and a set of multi-view images I collected in the scene, collect the pre-calibrated camera internal and external parameters of each image, including camera internal parameter K, camera rotation parameter R, and camera translation parameter T; use perspective projection transformation to realize the 2D image pixel μ i =(u,v) and the three-dimensional point p j The corresponding transformation formula is as follows:

[0016]

[0017] in, Respectively represent μ i 、p j The homogeneous coordinates of ;

[0018] For a 3D point p in a 3D scene j , and obtain a set of 2D pixels aligned with it, expressed as

[0019] After obtaining the 2D-3D matching pair, for the 3D point p in the point cloud model j , aggregate the features of all matching pixels and express it as Among them, avg represents average pooling;

[0020] (2) Self-supervised pre-training of 3D scene point cloud feature extractor: The 3D point p obtained by the 3D feature extractor j The characteristic is expressed as The feature representation of the 3D point obtained by 2D feature fusion is: Then, the rich semantic information extracted from the two-dimensional image is distilled into the three-dimensional point cloud encoder by contrastive learning, and the cosine similarity metric is used for loss calculation. pcs Refers to the difference between the 3D feature expression obtained from multi-view image feature fusion and the 3D feature expression obtained by 3D feature extractor extraction.

[0021]

[0022] Among them, cosin represents cosine similarity judgment; K represents the number of overlapping points between the three-dimensional points visible from the multi-view images and the scene point cloud.

[0023] Furthermore, in the above step S12, a geometric contrast loss term is introduced in the model pre-training process to make the feature expressions of points belonging to the same geometric cluster more similar and the features between different clusters more differentiated; specifically, firstly, an unsupervised method is used to over-segment the three-dimensional point cloud and divide the entire point cloud into geometrically homogeneous bodies; then, the feature vector of each super-point cluster is set As anchor points, points belonging to the same geometric cluster are taken as positive samples, while points in different geometric clusters are taken as negative samples.

[0024]

[0025] Among them, τ is the temperature coefficient, which is used to control the smoothness of the output distribution; M represents the number of geometric clusters; Ω(m) represents the negative sample set of the mth cluster; Represents the positive sample features in the same geometric cluster as the superpoint m; Represents negative sample features from different geometric clusters.

[0026] Furthermore, in the above step S12, the object point cloud is aligned with the text word features, including the following sub-steps:

[0027] (1) Object point cloud and text matching association: 3D object-text matching pairs are obtained based on the object classification dataset. For 3D objects and text descriptions, first, the feature expression of the 3D object is obtained by using the 3D object feature extractor and the text feature extractor respectively. and the feature expression of text description

[0028] (2) Pre-training of 3D object point cloud feature extractor: For the object point cloud feature extractor, the feature expression of 3D objects and the feature expression of text description Comparative learning is performed between them, so that the feature expression extracted by the object point cloud feature extractor and the CLIP text feature are in the same feature space;

[0029]

[0030] Among them, L obj represents the contrast loss between object point cloud features and text features; cosin represents cosine similarity judgment; N represents the number of three-dimensional object point clouds; Represents the characteristic expression of the nth three-dimensional object; Represents the feature expression of the nth text description.

[0031] Furthermore, in the above step S2, feature extraction is performed on the “prompt” and the three-dimensional scene point cloud, and segmentation based on the query prompt is adopted, which includes the following sub-steps:

[0032] According to the given query prompt, that is, a two-dimensional image, text or object point cloud, first, the feature expression of the prompt is obtained through the corresponding feature extractor, and the feature is a C-dimensional vector; for the scene point cloud, the feature expression of each point is extracted through the scene point cloud feature encoder, and the feature of each point is a C-dimensional vector; since these feature expressions have been aligned to the same feature space, the cosine similarity is calculated between the features of the query prompt and the three-dimensional point features to obtain a similarity value, and segmentation is performed based on this similarity value; this similarity value is distributed between 0 and 1, and the larger the similarity value, the higher the similarity between the two features. A higher threshold is set in the similarity value. If the calculated similarity coefficient exceeds this threshold, it is considered that the corresponding area belongs to the target segmentation area.

[0033] Furthermore, in the above step S2, feature extraction is performed on the “prompt” and the three-dimensional scene point cloud, and closed-set semantic segmentation based on text vocabulary is adopted, which includes the following sub-steps:

[0034] Given all the categories to be segmented, first, use CLIP's text encoder to calculate a feature vector for each category and obtain an N×C feature matrix F text, where N represents the number of categories and C represents the feature dimension; then, the feature F of the scene point cloud is pcs Perform dot product with the text feature set and normalize it, the feature F of the scene point cloud pcs The dimension is K×C, K is the number of point clouds, and a K×N similarity matrix S is obtained, where S ij Represents point p i The probability of belonging to category j, the category with the largest probability is selected as the semantic category of the current 3D point;

[0035]

[0036] in, Represents the point p in the scene point cloud i characteristic expression; Represents the feature expression of the jth text word.

[0037] Due to the adoption of the above-mentioned technical solution, the present invention has the following advantages:

[0038] This 3D semantic segmentation method for complex open scenes uses object point clouds, text words, and 2D images as prompts to segment corresponding areas from complex 3D scenes. At the same time, this 3D semantic segmentation method also has the ability to perform closed-set semantic segmentation on the entire 3D scene. Point cloud data provides the model with precise geometric information, while 2D images and texts are rich in contextual and semantic information, which is crucial for understanding the overall picture of the scene. The model can not only learn deep features that are difficult to obtain from a single modality, but also show unique adaptability and accuracy when facing unlabeled, dynamically changing real-world scenes, and has good promotion and application value. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 It is a flow chart of the first embodiment of the three-dimensional semantic segmentation method for complex open scenes of the present invention;

[0040] Figure 2 This is a scene segmentation comparison diagram of the first embodiment of the three-dimensional semantic segmentation method for complex open scenes of the present invention; Figure 2 a is the original point cloud scene with RGB information; Figure 2 b is the semantic segmentation truth map;

[0041] Figure 3 yes Figure 2 The complete semantic segmentation result of the original point cloud scene with RGB information in a;

[0042] Figure 4 This is a semantic segmentation result graph of the query using the text vocabulary table as an example in the first embodiment; Figure 4a is a result graph that visualizes the similarity values, where the redder area 1 indicates a stronger similarity, and the bluer area 2 indicates a lower similarity; Figure 4 b is the segmented area map where the similarity value of the red area 3 is greater than the set threshold;

[0043] Figure 5 This is the result of querying the semantic segmentation of a two-dimensional image using a table as an example; Figure 5 a is the two-dimensional image of the table; Figure 5 b is a result graph that visualizes the similarity values, where the redder area 1 indicates a stronger similarity, and the bluer area 2 indicates a lower similarity; Figure 5 c is the segmentation area map where the similarity value of red area 3 is greater than the set threshold;

[0044] Figure 6 This is the result of querying the semantic segmentation of the object point cloud using a table as an example; Figure 6 a is the point cloud image of the table; Figure 6 b is a result graph that visualizes the similarity values, where the redder area 1 indicates a stronger similarity, and the bluer area 2 indicates a lower similarity; Figure 6 c is the segmented area map where the similarity value of the red area 3 is greater than the set threshold. DETAILED DESCRIPTION

[0045] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0046] like Figure 1 As shown, the 3D semantic segmentation method for complex open scenes includes a pre-training stage and a reasoning stage. The pre-training stage includes the following steps:

[0047] S11, in the pre-training stage, collecting object point clouds, text words, two-dimensional images and scene point clouds in the original scene, and extracting features from the object point clouds, text words, two-dimensional images and three-dimensional scene point clouds;

[0048] The process of extracting features from a two-dimensional image is as follows: set the resolution of the two-dimensional image to H×W, use the pre-trained image semantic segmentation model to extract features, and obtain pixel-level feature embedding, which is expressed as Where W and H represent the width and height of the two-dimensional image, respectively, C represents the dimension of the feature, and i represents the i-th image. The image semantic segmentation model has been aligned with the CLIP language model, so the image features and language features share a semantic space.

[0049] The process of extracting features from text words is as follows: each text word uses the "a"+label+"in ascene template and the CLIP text encoder to extract features and obtain a C-dimensional feature vector, expressed as For example, if the text word is "table", the "a"+label+"in a scene template is used, that is, the single word is converted into "a table in a scene" for feature extraction;

[0050] The process of extracting features from the object point cloud is as follows: the object point cloud uses the PointMAE network to extract features and obtain a C-dimensional feature vector, expressed as

[0051] The process of extracting features from the 3D scene point cloud is as follows: MinkUNet18 network is used for feature extraction to obtain the feature expression of each 3D point in the scene point cloud, which is expressed as Among them, j represents the jth three-dimensional point;

[0052] S12, aligning the multimodal data features in step S11 in combination with auxiliary information such as camera parameters, and obtaining a robust three-dimensional feature expressor by performing knowledge distillation through contrastive learning;

[0053] Image pixels are aligned with 3D point features, i.e. Figure 1 middle for Figure 1 In The CLIP model has achieved text-image alignment; for Figure 1 In The camera parameters are pre-calibrated to achieve alignment. This step enables the query segmentation of the 3D scene using the image as a hint. Figure 1 In Text and image alignment, because the image and the 3D scene are aligned, the text and the 3D scene are indirectly aligned. This step can realize the ability to query and segment the 3D scene using text as a prompt. It specifically includes the following sub-steps:

[0054] (1) 2D-3D matching association: Given a 3D scene point cloud P and a set of multi-view images I collected in the scene, collect the pre-calibrated camera internal and external parameters of each image, including camera internal parameter K, camera rotation parameter R, and camera translation parameter T; use perspective projection transformation to realize the 2D image pixel μ i =(u,v) and the three-dimensional point p j The corresponding transformation formula is as follows:

[0055]

[0056] in, Respectively represent μ i 、p jHomogeneous coordinates, for a three-dimensional scene, there are multiple collected images, so for a three-dimensional point p in the three-dimensional scene j , and obtain a set of 2D pixels aligned with it, expressed as

[0057] After obtaining the 2D-3D matching pair, for the 3D point p in the point cloud model j , aggregate the features of all matching pixels and express it as Among them, avg represents average pooling.

[0058] (2) Self-supervised pre-training of 3D scene point cloud feature extractor: The 3D point p obtained by the 3D feature extractor j The characteristic is expressed as The feature representation of the 3D point obtained by 2D feature fusion is: Then, the rich semantic information extracted from the 2D image is distilled into the 3D point cloud encoder by contrastive learning. The core of the distillation process is to minimize the difference between the 3D point cloud super-point features and their corresponding 2D projection features. The cosine similarity metric is used for loss calculation. The loss L pcs Refers to the difference between the 3D feature expression obtained from multi-view image feature fusion and the 3D feature expression obtained by 3D feature extractor extraction.

[0059]

[0060] Among them, cosin represents the cosine similarity judgment; K represents the number of overlapping points between the 3D points visible from the multi-view image and the scene point cloud, that is, the overlapping points are both visible in the multi-view image and included in the point cloud scene;

[0061] The object point cloud is aligned with the text word features, i.e. Figure 1 middle If the 3D object point cloud is used as a hint to query and segment the scene point cloud, the most intuitive way is to align the object point cloud features with the scene point cloud features. Since the 3D scene point cloud features have been aligned with the text features after the previous step, it is only necessary to align the object point cloud features with the text features. The following will describe in detail the method for aligning the features of the object point cloud with the text vocabulary, which specifically includes the following sub-steps:

[0062] (1) Object point cloud and text matching association: Based on the object classification dataset, we can clearly know the category of each type of object, and can easily obtain the 3D object-text matching pair. For the 3D object and text description, first, we pass them through the 3D object feature extractor and the text feature extractor respectively to obtain the feature expression of the 3D object. and the feature expression of text description

[0063] (2) Pre-training of 3D object point cloud feature extractor: Similar to the training process of 3D scene point cloud feature extractor, for object point cloud feature extractor, the feature expression of 3D objects is and the feature expression of text description Comparative learning is performed between them, so that the feature expression extracted by the object point cloud feature extractor and the CLIP text feature are in the same feature space;

[0064]

[0065] Among them, L obj represents the contrast loss between object point cloud features and text features; cosin represents cosine similarity judgment; N represents the number of three-dimensional object point clouds; Represents the characteristic expression of the nth three-dimensional object; Represents the feature expression of the nth text description;

[0066] A scene point cloud feature extractor and an object point cloud feature extractor are obtained through step S12, and the extracted features are in the same feature space as the CLIP text features;

[0067] In the inference phase, there are two methods:

[0068] The specific steps of the first method are to extract features from the "prompt" and the 3D scene point cloud, and segment based on the query prompt: according to the given query prompt, i.e., the 2D image, text or object point cloud, first, obtain the feature expression of the prompt through the corresponding feature extractor, and the feature is a C-dimensional vector; for the scene point cloud, extract the feature expression of each point through the scene point cloud feature encoder, and the feature of each point is a C-dimensional vector;

[0069] Since these feature expressions have been aligned to the same feature space, the cosine similarity is calculated between the query prompt feature and the 3D point feature to obtain a similarity value, and segmentation is performed based on this similarity value; this similarity value is distributed between 0 and 1. The larger the similarity value, the higher the similarity between the two features. A higher threshold is set in the similarity value. If the calculated similarity coefficient exceeds this threshold, the corresponding area is considered to belong to the target segmentation area; preferably, the threshold is 0.9;

[0070] The specific steps of the second method are to extract features from the "prompt" and 3D scene point cloud, and perform closed-set semantic segmentation based on text vocabulary:

[0071] Given all the categories to be segmented, first, use CLIP's text encoder to calculate a feature vector for each category and obtain an N×C feature matrix Ftext , where N represents the number of categories and C represents the feature dimension; then, the feature F of the scene point cloud is pcs Perform dot product with the text feature set and normalize it, the feature F of the scene point cloud pcs The dimension is K×C, K is the number of point clouds, and a K×N similarity matrix S is obtained, where S ij Represents point p i The probability of belonging to category j, the category with the largest probability is selected as the semantic category of the current 3D point;

[0072]

[0073] in, Represents the point p in the scene point cloud i characteristic expression; Represents the feature expression of the jth text word;

[0074] The similarity between the 3D scene point cloud features and the prompt features is calculated, and the 3D points whose similarity values ​​are greater than the set threshold are the selected areas.

[0075] In the above step S12, in order to enhance the geometric consistency of the learned three-dimensional features, a geometric contrast loss term is introduced in the model pre-training process, so that the feature expressions of points belonging to the same geometric cluster are more similar, and the features between different clusters are more differentiated. Specifically, firstly, an unsupervised method (including but not limited to VCCS and region growing) is used to over-segment the three-dimensional point cloud to divide the entire point cloud into geometrically homogeneous bodies; then, the feature vector of each super point cluster is set As anchor points, points belonging to the same geometric cluster are taken as positive samples, while points in different geometric clusters are taken as negative samples.

[0076]

[0077] Among them, τ is the temperature coefficient, which is used to control the smoothness of the output distribution; M represents the number of geometric clusters; Ω(m) represents the negative sample set of the mth cluster; Represents the positive sample features in the same geometric cluster as the superpoint m; Represents negative sample features from different geometric clusters.

[0078] Through this framework, not only is it ensured that the 3D point cloud encoder can learn the semantic information corresponding to the 2D image, but it also strengthens the geometric consistency between the internal features of the point cloud, providing an effective solution for the deep understanding and high-quality segmentation of 3D scenes.

[0079] from Figure 2 to Figure 6It can be seen that the three-dimensional semantic segmentation method of the present invention for complex open scenes uses text words, two-dimensional images, and object point clouds as prompts, and can segment corresponding areas from complex three-dimensional scenes. It also has the ability to perform complete semantic segmentation on the entire scene.

[0080] Quantitative segmentation results: quantitative evaluation indicators for complete semantic segmentation on the ScanNet dataset. Distill represents the point features obtained by the 3D feature extractor after distillation, and Ensemble represents the combined effect of the 3D point features obtained by 2D multi-view fusion and the point features extracted by the 3D feature extractor.

[0081]

[0082] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Those skilled in the art should understand that the technical solutions described in the above embodiments may be modified, or some of the technical features thereof may be replaced by equivalents; these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A 3D semantic segmentation method for complex open scenes, characterized by: It includes a pre-training phase and an inference phase. The pre-training phase includes the following steps: S11, in the pre-training stage, collecting object point clouds, text words, two-dimensional images and scene point clouds in the original scene, and extracting features from the object point clouds, text words, two-dimensional images and three-dimensional scene point clouds; S12, aligning the multimodal data features in step S11, and performing knowledge distillation through contrastive learning to obtain a robust three-dimensional feature expressor; The inference phase includes the following steps: S2. Extract features from the "prompt" and the three-dimensional scene point cloud; calculate the similarity between the three-dimensional scene point cloud features and the prompt features, and the three-dimensional points whose similarity values ​​are greater than the set threshold are the selected areas.

2. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S11, the process of extracting features from the two-dimensional image is as follows: setting the resolution of the two-dimensional image to H×W, using a pre-trained image semantic segmentation model to extract features, and obtaining pixel-level feature embedding, which is expressed as Among them, W and H represent the width and height of the two-dimensional image respectively, C represents the dimension of the feature, and i represents the i-th image.

3. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S11, the process of extracting features from text words is as follows: each text word is subjected to feature extraction using the "a"+label+"in a scene template and the CLIP text encoder to obtain a C-dimensional feature vector, which is expressed as 4. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S11, the process of extracting features from the object point cloud is as follows: the object point cloud is subjected to feature extraction using the PointMAE network to obtain a C-dimensional feature vector, which is expressed as 5. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S11, the process of extracting features from the three-dimensional scene point cloud is: using the MinkUNet18 network to extract features and obtain the feature expression of each three-dimensional point in the scene point cloud, expressed as Among them, j represents the jth three-dimensional point.

6. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S12, the image pixels are aligned with the three-dimensional point features, including the following sub-steps: (1) 2D-3D matching association: Given a 3D scene point cloud P and a set of multi-view images I collected in the scene, collect the pre-calibrated camera internal and external parameters of each image, including camera internal parameter K, camera rotation parameter R, and camera translation parameter T; use perspective projection transformation to realize the 2D image pixel μ i =(u,v) and the three-dimensional point p j The corresponding transformation formula is as follows: in, Respectively represent μ i 、p j The homogeneous coordinates of ; For a 3D point p in a 3D scene j , and obtain a set of 2D pixels aligned with it, expressed as After obtaining the 2D-3D matching pair, for the 3D point p in the point cloud model j , aggregate the features of all matching pixels and express it as Among them, avg represents average pooling; (2) Self-supervised pre-training of 3D scene point cloud feature extractor: The 3D point p obtained by the 3D feature extractor j The characteristic is expressed as The feature representation of the 3D point obtained by 2D feature fusion is: Then, the rich semantic information extracted from the two-dimensional image is distilled into the three-dimensional point cloud encoder by contrastive learning, and the cosine similarity metric is used for loss calculation. pcs Refers to the difference between the 3D feature expression obtained from multi-view image feature fusion and the 3D feature expression obtained by 3D feature extractor extraction. Among them, cosin represents cosine similarity judgment; K represents the number of overlapping points between the three-dimensional points visible from the multi-view images and the scene point cloud.

7. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S12, a geometric contrast loss term is introduced in the model pre-training process to make the feature expressions of points belonging to the same geometric cluster more similar and the features between different clusters more differentiated; specifically, firstly, an unsupervised method is used to over-segment the three-dimensional point cloud and divide the entire point cloud into geometrically homogeneous bodies; then, the feature vector of each super-point cluster is set As anchor points, points belonging to the same geometric cluster are taken as positive samples, while points in different geometric clusters are taken as negative samples. Among them, τ is the temperature coefficient, which is used to control the smoothness of the output distribution; M represents the number of geometric clusters; Ω(m) represents the negative sample set of the mth cluster; Represents the positive sample features in the same geometric cluster as the superpoint m; Represents negative sample features from different geometric clusters.

8. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S12, the object point cloud is aligned with the text word features, including the following sub-steps: (1) Object point cloud and text matching association: 3D object-text matching pairs are obtained based on the object classification dataset. For 3D objects and text descriptions, first, the feature expression of the 3D object is obtained by using the 3D object feature extractor and the text feature extractor respectively. and the feature expression of text description (2) Pre-training of 3D object point cloud feature extractor: For the object point cloud feature extractor, the feature expression of 3D objects and the feature expression of text description Comparative learning is performed between them, so that the feature expression extracted by the object point cloud feature extractor and the CLIP text feature are in the same feature space; Among them, L obj represents the contrast loss between object point cloud features and text features; cosin represents cosine similarity judgment; N represents the number of three-dimensional object point clouds; Represents the characteristic expression of the nth three-dimensional object; Represents the feature expression of the nth text description.

9. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In step S2, feature extraction is performed on the "prompt" and the three-dimensional scene point cloud, and segmentation based on the query prompt is adopted, which includes the following sub-steps: According to the given query prompt, that is, a two-dimensional image, text or object point cloud, first, the feature expression of the prompt is obtained through the corresponding feature extractor, and the feature is a C-dimensional vector; for the scene point cloud, the feature expression of each point is extracted through the scene point cloud feature encoder, and the feature of each point is a C-dimensional vector; since these feature expressions have been aligned to the same feature space, the cosine similarity is calculated between the features of the query prompt and the three-dimensional point features to obtain a similarity value, and segmentation is performed based on this similarity value; this similarity value is distributed between 0 and 1, and the larger the similarity value, the higher the similarity between the two features. A higher threshold is set in the similarity value. If the calculated similarity coefficient exceeds this threshold, it is considered that the corresponding area belongs to the target segmentation area.

10. The 3D semantic segmentation method for complex open scenes according to claim 1, characterized in that: In the step S2, feature extraction is performed on the "prompt" and the three-dimensional scene point cloud, and closed-set semantic segmentation based on text vocabulary is adopted, which includes the following sub-steps: Given all the categories to be segmented, first, use CLIP's text encoder to calculate a feature vector for each category and obtain an N×C feature matrix F text , where N represents the number of categories and C represents the feature dimension; then, the feature F of the scene point cloud is pcs Perform dot product with the text feature set and normalize it, the feature F of the scene point cloud pcs The dimension is K×C, K is the number of point clouds, and a K×N similarity matrix S is obtained, where S ij Represents point p i The probability of belonging to category j, the category with the largest probability is selected as the semantic category of the current 3D point; in, Represents the point p in the scene point cloud i characteristic expression; Represents the feature expression of the jth text word.

Citation Information

Patent Citations

  • Processing method and device of unbalanced data

    CN105786970A

  • Automatic driving scene panorama segmentation method based on multi-modal fusion perception

    CN116129233A

  • Building point cloud data segmentation method and system, and point cloud data semantic segmentation method and system

    CN116612285A

  • Semantic boundary guided robot operation scene point cloud segmentation method

    CN117218321A

  • Target detection method and device, computer equipment and storage medium

    CN117636330A

Cited By

  • 3D scene semantic segmentation system and method for open vocabularies

    CN121236762A

  • Multi-modal fusion space intelligent scene instance segmentation method and system

    CN121834476A

  • A multi-modal fusion spatial intelligent scene instance segmentation method and system

    CN121834476B