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

By mapping the point cloud data into RGB images and using the visual segmentation model for image segmentation, combined with the similarity calculation of point cloud features and component features, the problem of requiring a large amount of labeled data in the existing technology is solved, and the building point cloud is realized Automatic segmentation and semantic segmentation of data improve the applicability and automation of the method.

CN116612285BActive Publication Date: 2024-09-20CHONGQING INST OF SURVEYING & MAPPING SCI & TECH (CHONGQING MAP COMPILATION CENT)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310713896.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-15
Publication Date
2024-09-20
Estimated Expiration
2043-06-15

AI Technical Summary

Technical Problem

Existing building point cloud data segmentation methods require a large amount of labeled data, are weak in applicability, and cannot achieve fully automated segmentation of building components.

Method used

By mapping the point cloud data into multiple RGB images with different mapping angles, using the visual segmentation model for image segmentation, and tracing the segmentation mask back to the three-dimensional space, the data points are automatically determined based on the calculation of similarity between point cloud features and component features. semantic tags.

Benefits of technology

Effective segmentation and semantic segmentation of building point cloud data can be achieved without a large amount of labeled data, which improves the applicability and automation of the method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116612285B
    Figure CN116612285B
Patent Text Reader

Abstract

The present invention discloses a method and system for segmenting point cloud data of a building, and semantic segmentation of point cloud data. The semantic segmentation system includes a point cloud data segmentation system, a feature extraction module, a semantic determination module, and a final semantic determination module. First, the segmentation system maps the point cloud data into multiple RGB images, and then segments each RGB graphic through a visual segmentation model, and then maps the segmentation results back to a three-dimensional space to obtain point cloud segmentation data of the building at different mapping angles. Then, the point cloud segmentation data features are extracted by the feature extraction module, and then the semantic determination module calculates the similarity between the point cloud features of the data point and the component features of each component, and determines the semantic label of each data point at different mapping angles based on the similarity. Finally, the final semantic determination module determines the final semantic label of the data point from all semantic labels. This solves the problem that the current semantic segmentation of point cloud data of buildings needs to rely on a large amount of labeled point cloud data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image data region segmentation, and in particular to a method and system for building point cloud data segmentation and point cloud data semantic segmentation. Background Art

[0002] Buildings may be damaged or corroded during their use, so they need to be regularly inspected for safety. Currently, building safety inspections are mainly carried out by professionals using visual inspections or manual measurements, but this method has low inspection efficiency and subjective inspection results. In recent years, non-contact measurement technologies such as 3D laser scanning and photogrammetry have been increasingly used as part of building inspection and management. These non-contact measurement technologies can obtain point cloud data containing object coordinates and radiation properties such as color and intensity information through scanning or reconstruction technology. Point cloud data can store information such as structural damage and geometric and topological characteristics. Therefore, the point cloud data can be processed and analyzed for future use.

[0003] However, the raw point cloud data of buildings does not contain any semantics, nor does it contain specific information about the building components. Therefore, the segmentation of point cloud data of buildings is an intermediate process required to achieve full automation for the above-mentioned future use. However, previous studies have either used prior knowledge in professional fields or deep learning methods to segment point cloud data. These methods are either less applicable and only applicable to a certain type of building, or require a large amount of labeled building point cloud data, which requires a lot of manual labor. Therefore, there is an urgent need to propose a point cloud data segmentation method that is more applicable and does not rely on a large amount of labeled data. Summary of the invention

[0004] In view of the shortcomings of the existing technology, the present invention proposes a method and system for building point cloud data segmentation and point cloud data semantic segmentation. It has strong applicability and does not rely on a large amount of labeled data. The specific technical solution is as follows:

[0005] In a first aspect, a method for segmenting building point cloud data is provided, comprising:

[0006] Get the point cloud data corresponding to the building;

[0007] Mapping the point cloud data into multiple RGB images at different mapping angles, and recording the mapping grid position corresponding to each data point in the point cloud data;

[0008] Each RGB image is segmented by a visual segmentation model to obtain the segmentation mask corresponding to the building at different mapping angles;

[0009] Each segmentation mask is mapped back to three-dimensional space according to the mapping grid position of the corresponding data point, and the point cloud segmentation data corresponding to the building at different mapping angles is obtained.

[0010] In combination with the first aspect, in a first implementable manner of the first aspect, obtaining point cloud data corresponding to a building includes:

[0011] The overall point cloud data corresponding to the building is obtained, and the overall point cloud data is divided into multiple points along the main axis of the building.

[0012] In combination with the first aspect, in a second implementable manner of the first aspect, a multi-view mapping method is used to map the point cloud data into multiple RGB images at different mapping angles.

[0013] In combination with the first aspect, in a third implementable manner of the first aspect, a SegmentAnything model is used to perform image segmentation on an RGB image.

[0014] In a second aspect, a method for semantic segmentation of building point cloud data is provided, comprising:

[0015] Segment the point cloud data of the building using the building point cloud data segmentation method as described in the first aspect or any one of the first to third implementable embodiments of the first aspect to obtain point cloud segmentation data of the building at different mapping angles;

[0016] Feature extraction is performed on each point cloud segmentation data to obtain the point cloud features corresponding to each data point at different mapping angles;

[0017] According to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building, the semantic label corresponding to each data point at different mapping angles is determined;

[0018] The final semantic label of each data point is determined by the corresponding semantic labels at different mapping angles.

[0019] In combination with the second aspect, in a first implementable manner of the second aspect, a CrossPoint model is used to perform feature extraction on the point cloud segmentation data.

[0020] In conjunction with the second aspect, in a second possible implementation manner of the second aspect, determining the semantic label corresponding to the data point includes:

[0021] Acquire multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building;

[0022] Extract features from each component point cloud data respectively, and determine the component features corresponding to each component point cloud data in each group of component point cloud data;

[0023] Calculate the similarity between the point cloud features of the data points and the component features of the point cloud data of each component respectively;

[0024] According to the similarity between the point cloud features and the component features, respectively calculating the probability value of the data point belonging to each component with respect to each group of component point cloud data sets;

[0025] Calculate the probability value of the data point relative to each component point cloud data group to determine the average probability value of the data point belonging to each component;

[0026] The component corresponding to the maximum average probability value is selected as the semantic label corresponding to the data point.

[0027] In combination with the second aspect, in a third implementable manner of the second aspect, a final semantic label of the data point is determined according to the number of mapping perspectives corresponding to the same semantic label.

[0028] In a third aspect, a building point cloud data segmentation system is provided, comprising:

[0029] An acquisition module, configured to acquire point cloud data corresponding to the building;

[0030] A mapping module configured to map the point cloud data into a plurality of RGB images at different mapping angles, and record a mapping grid position corresponding to each data point in the point cloud data;

[0031] A segmentation module is configured to perform image segmentation on each RGB image using a visual segmentation model to obtain segmentation masks corresponding to buildings at different mapping angles;

[0032] The backtracking module is configured to map each segmentation mask back to the three-dimensional space according to the mapping grid position of the corresponding data point, so as to obtain the point cloud segmentation data corresponding to the building at different mapping angles.

[0033] In combination with the third aspect, in a first implementable manner of the third aspect, the acquisition module includes:

[0034] The division unit is configured to obtain the overall point cloud data corresponding to the building, and divide the overall point cloud data into multiple points along the main axis of the building.

[0035] In a fourth aspect, a building point cloud data semantic segmentation system is provided, characterized in that it includes:

[0036] A building point cloud data segmentation system as in the third aspect or the first implementable manner of the third aspect;

[0037] A feature extraction module is configured to extract features from each point cloud segmentation data to obtain point cloud features corresponding to each data point at different mapping angles;

[0038] A semantic determination module configured to determine the semantic label corresponding to each data point at different mapping angles according to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building;

[0039] The final semantic determination module is configured to determine the final semantic label of each data point through the semantic labels corresponding to different mapping angles.

[0040] In conjunction with the fourth aspect, in a first implementable manner of the fourth aspect, the semantic determination module includes:

[0041] A data acquisition unit is configured to acquire multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building;

[0042] A feature extraction unit is configured to extract features from each component point cloud data respectively, and determine the component features corresponding to each component point cloud data in each group of component point cloud data;

[0043] A similarity calculation unit configured to respectively calculate the similarity between the point cloud features of the data points and the component features of the point cloud data of each component;

[0044] A probability value calculation unit is configured to calculate the probability value of the data point belonging to each component with respect to each group of component point cloud data sets according to the similarity between the point cloud features and the component features;

[0045] A probability value statistical unit is configured to calculate the probability value of the data point relative to each component point cloud data group, and determine the average probability value of the data point belonging to each component;

[0046] The semantic label determination unit is configured to select the component corresponding to the maximum average probability value as the semantic label corresponding to the data point.

[0047] In combination with the fourth aspect, in a second implementable manner of the fourth aspect, the final semantic determination module determines the final semantic label of the data point according to the number of mapping perspectives corresponding to the same semantic label.

[0048] Beneficial effects: The method and system for building point cloud data segmentation and point cloud data semantic segmentation of the present invention are used. The image mapping image of the building point cloud data is segmented using a visual segmentation model, and the segmentation mask obtained by segmentation is traced back to the three-dimensional space to obtain the point cloud segmentation data of the building. This effectively solves the problem that the current point cloud data segmentation of buildings needs to rely on a large amount of labeled point cloud data. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to more clearly illustrate the specific implementation of the present invention, the following will briefly introduce the drawings required for use in the specific implementation. In all the drawings, each element or part is not necessarily drawn according to the actual scale.

[0050] Figure 1 A flow chart of a method for segmenting building point cloud data provided by an embodiment of the present invention;

[0051] Figure 2 A flowchart of a method for semantic segmentation of building point cloud data provided by an embodiment of the present invention;

[0052] Figure 3 A flow chart of a method for determining a semantic label of a data point provided by an embodiment of the present invention;

[0053] Figure 4 A system block diagram of a building point cloud data segmentation system provided by an embodiment of the present invention;

[0054] Figure 5 A system block diagram of a building point cloud data semantic segmentation system provided by an embodiment of the present invention;

[0055] Figure 6 A principle block diagram of a semantic determination module provided in one embodiment of the present invention;

[0056] Figure 7 A schematic diagram of segmented bridge point cloud data of an implementation example of the present invention;

[0057] Figure 8 for Figure 7 The mapping image of the segmented bridge point cloud data at a 0° mapping angle is shown;

[0058] Fig. 9 for Figure 8 Schematic diagram of the segmentation mask of the mapping image shown;

[0059] Fig.10 for Figure 7 Schematic diagram of the semantic segmentation results of the bridge point cloud data shown. DETAILED DESCRIPTION

[0060] The following embodiments of the technical solution of the present invention are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and are therefore only used as examples, and cannot be used to limit the protection scope of the present invention.

[0061] Embodiment 1

[0062] like Figure 1 The flowchart of the building point cloud data segmentation method shown in FIG. 1 includes:

[0063] Step 1: Obtain point cloud data corresponding to the building;

[0064] Step 2: Map the point cloud data into multiple RGB images at different mapping angles, and record the mapping grid position corresponding to each data point in the point cloud data;

[0065] Step 3: Use the visual segmentation model to segment each RGB image and obtain the segmentation mask corresponding to the building at different mapping angles;

[0066] Step 4: Map each segmentation mask back to three-dimensional space according to the mapping grid position of the corresponding data point to obtain the point cloud segmentation data corresponding to the building at different mapping angles.

[0067] Specifically, first, the existing point cloud data acquisition method can be used to obtain the point cloud data of the building. Then, the existing mapping method can be used to map the point cloud data into corresponding RGB images from different perspectives. During the mapping process, the mapping grid position corresponding to each data point in the point cloud data can be recorded to provide a basis for subsequent point cloud data tracing. After that, the trained visual segmentation model can be used to perform image segmentation on each RGB image to obtain the segmentation masks corresponding to different RGB images. Finally, based on the mapping grid positions of each data point previously recorded, the segmentation mask can be mapped back to the three-dimensional space to obtain the point cloud segmentation data of the building at different perspectives, providing a basis for subsequent semantic segmentation. In this way, the point cloud data of the building can be segmented without the need for point cloud data with semantic labels, thereby effectively solving the problem that the current point cloud data segmentation of the building needs to rely on a large amount of labeled point cloud data.

[0068] In this embodiment, after obtaining the point cloud data corresponding to the building, the point cloud data may be preprocessed. The preprocessing process includes: first, the principal axis of the building may be determined using an existing principal component analysis algorithm. Then, the obtained overall point cloud data of the building may be divided into multiple point cloud data along the main axis of the building to obtain the following: Figure 7 The segmented bridge point cloud data shown is then segmented for each segmented bridge point cloud data.

[0069] It should be understood that this embodiment is only illustrated by the principal component analysis algorithm, but the present invention is not limited thereto, and other methods may also be used to determine the principal axis of the building, such as the optimal transmission algorithm.

[0070] In this embodiment, a multi-view mapping method can be used to map the point cloud data into N RGB images at different mapping angles. The specific steps are as follows:

[0071] Taking the bridge as an example, first, a cross-shaped mapping path can be set on both sides of the bridge as a multi-view mapping method for the bridge point cloud data. Secondly, the center of the point cloud data is used as the origin of the local coordinate system, and the y-axis of the local coordinate system is set according to the mapping angle. The z-axis of the local coordinate system is kept in the same direction as the z-axis of the bridge point cloud data. The x-axis of the local coordinate system is obtained according to the "right-hand principle", that is, the thumb, index finger and middle finger of the right hand are at right angles to each other, the index finger points to the positive direction of the y-axis, and the middle finger points to the positive direction of the z-axis, then the direction pointed by the thumb is almost the positive direction of the x-axis.

[0072] Then, the point cloud data is reduced to the xOz plane of the local coordinate system. After that, the two-dimensional point cloud data is gridded according to the set grid size, and the grid where each data point is located is recorded. Then, for the data points in the same grid, the DBSCAN algorithm is used for clustering to obtain multiple clusters. Finally, the RGB value of the grid is set to the mean value of the RGB corresponding to the data point in the cluster closest to the "cross" mapping path.

[0073] In this embodiment, the mapping angle can be set to ±45°, the grid size can be set to 10 cm, and each segment of point cloud data is mapped to obtain 18 RGB images, among which the mapping image with a mapping angle of 0° is shown in FIG. Figure 8 .

[0074] In this embodiment, the SegmentAnything model is a suggestible model designed for general image segmentation. It has been trained with more than 1 billion masks on 11 million images and has strong zero-sample generalization capabilities. It can be used as a preprocessing step in many downstream tasks such as segmentation, detection, and reconstruction. Therefore, in this embodiment, the SegmentAnything model can be used to segment RGB images. RGB images corresponding to different mapping angles can be input into the Segment Anything model to obtain the segmentation masks corresponding to each RGB image. Figure 8 The segmentation mask obtained by segmenting the mapping image shown in Fig. 9 shown.

[0075] It should be understood that this embodiment only uses the SegmentAnything model as an example, and the present invention is not limited to this. Other models can also be used for image segmentation, such as the SEEM model, the Grounded-SAM model, the segGPT model, etc.

[0076] Finally, according to the mapping grid position corresponding to each data point recorded when the point cloud is mapped into an image, the segmentation mask of the pixel points in the image is mapped to the data points to obtain the segmentation result of the point cloud data.

[0077] Embodiment 2

[0078] like Figure 2 The flowchart of the semantic segmentation method of building point cloud data shown in FIG. 1 includes:

[0079] Step S1, using the above-mentioned building point cloud data segmentation method to segment the point cloud data of the building, to obtain point cloud segmentation data of the building at different mapping angles;

[0080] Step S2, extracting features from each point cloud segmentation data to obtain point cloud features corresponding to each data point at different mapping angles;

[0081] Step S3, determining the semantic labels corresponding to each data point at different mapping angles according to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building;

[0082] Step S4: Determine the final semantic label of each data point through the semantic labels corresponding to different mapping angles.

[0083] Specifically, first, the segmentation method in Example 1 can be used to segment the point cloud data of the building, and point cloud segmentation data of the building at different mapping angles can be obtained without a large amount of point cloud data with semantic labels.

[0084] Then, the feature extraction model trained based on the self-supervised learning method can be used to extract features from the point cloud segmentation data to obtain the point cloud features corresponding to each data point at different mapping angles. Since the self-supervised learning method can be trained using unlabeled data, the feature extraction model trained based on the self-supervised learning method can further avoid the need for semantically labeled point cloud data for model training.

[0085] After that, the similarity between the point cloud features of each data point and the component features of each component of the building can be calculated, and the component type of each data point at different mapping angles can be determined based on the calculated similarity, and the semantic label corresponding to the data point can be determined based on the component type. Finally, the final semantic label of the data point can be determined based on the semantic label corresponding to the data point at all mapping angles. Figure 7 The point cloud data shown in the figure is semantically segmented, and the semantic segmentation results are as follows Fig.10 shown.

[0086] In this embodiment, optionally, a CrossPoint model is used to extract features from the point cloud segmentation data. It should be understood that this embodiment is only illustrated by the CrossPoint model, but the present invention is not limited thereto, and other models may also be used for feature extraction, such as the PointContrast model, the Contrastive Scene Contexts model, the OneThing One Click model, the PointASNL model, etc.

[0087] In this embodiment, optionally, in step S3, as Figure 3 As shown, determining the semantic label corresponding to the data point includes:

[0088] Step S3-1, obtaining multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building;

[0089] Step S3-2, extracting features from each component point cloud data respectively, and determining component features corresponding to each component point cloud data in each group of component point cloud data;

[0090] Step S3-3, respectively calculating the similarity between the point cloud features of the data points and the component features of the point cloud data of each component;

[0091] Step S3-4, calculating the probability value of the data point belonging to each component with respect to each group of component point cloud data sets according to the similarity between the point cloud features and the component features;

[0092] Step S3-5, counting the probability values ​​of the data points relative to the point cloud data groups of each component, and determining the average probability value of the data points belonging to each component;

[0093] Step S3-6: Select the component corresponding to the maximum average probability value as the semantic label corresponding to the data point.

[0094] Specifically, when determining the semantic labels corresponding to each data point at the same mapping angle, first, n groups of component point cloud data sets can be obtained, each group of component point cloud data sets includes component point cloud data of k components. The component point cloud data in each group of component point cloud data sets are different. When obtaining the component point cloud data set, some representative components can be manually selected as component point cloud data according to the component type of the building.

[0095] Then, all the obtained component point cloud data can be input into the above CrossPoint model respectively, so as to obtain the component features corresponding to different components in each set of component point cloud data. After that, the similarity between the point cloud features of each data point in the point cloud data of the building and the component features of different components in each set of component point cloud data can be calculated according to the similarity calculation formula.

[0096] Then, the probability value of each data point belonging to a different component type relative to each group of component point cloud data groups can be calculated based on the similarity between the point cloud features corresponding to each data point at the same mapping angle and the component features of different components in each group of component point cloud data groups. The specific calculation formula is as follows:

[0097]

[0098]

[0099] Among them, i is the number of data points, j is the number of component features, sim() is the similarity calculation formula, and f q , i is the point cloud feature, f sp , j For component features.

[0100] Afterwards, the average probability value of each data point belonging to different component types can be calculated based on the probability value of each data point relative to each group of component point data groups. Finally, the average probability values ​​of the data points relative to each component type are compared to determine the component type corresponding to the maximum average probability value. The semantic label corresponding to the component type is the semantic label of the data point at the mapping angle. Repeat the calculation to obtain the average probability value corresponding to each data point at different mapping angles, and you can get the semantic label corresponding to each data point at different mapping angles.

[0101] In this embodiment, optionally, in step S4, the final semantic label of the data point can be determined according to the number of mapping perspectives corresponding to the same semantic label. Specifically, the above method can be used to obtain the semantic labels corresponding to each data point at different mapping perspectives, that is, each data point can obtain N semantic labels, and the semantic label with the largest number of occurrences among the N semantic labels can be used as the final semantic label of the data point, thereby realizing semantic segmentation of point cloud data.

[0102] Example 3 Figure 4 The system block diagram of the building point cloud data segmentation system shown in the figure includes: an acquisition module configured to acquire point cloud data corresponding to the building;

[0103] A mapping module configured to map the point cloud data into a plurality of RGB images at different mapping angles, and record a mapping grid position corresponding to each data point in the point cloud data;

[0104] A segmentation module is configured to perform image segmentation on each RGB image using a visual segmentation model to obtain segmentation masks corresponding to buildings at different mapping angles;

[0105] The backtracking module is configured to map each segmentation mask back to the three-dimensional space according to the mapping grid position of the corresponding data point, so as to obtain the point cloud segmentation data corresponding to the building at different mapping angles.

[0106] Specifically, the segmentation system is composed of an acquisition module, a mapping module, a segmentation module and a backtracking module. Among them, the acquisition module can use the existing point cloud data acquisition method to obtain the point cloud data of the building. The mapping module can use the existing mapping method to map the point cloud data into corresponding RGB images from different perspectives. During the mapping process, the mapping module can also record the mapping grid position corresponding to each data point in the point cloud data to provide a basis for subsequent point cloud data backtracking. The segmentation module can use the trained visual segmentation model to perform image segmentation on each RGB image respectively to obtain the segmentation masks corresponding to different RGB images. The backtracking module can map the segmentation mask back to the three-dimensional space based on the mapping grid positions of each data point previously recorded, and obtain the point cloud segmentation data of the building at different perspectives. In this way, the point cloud data of the building can be segmented without the need for point cloud data with semantic labels, thereby effectively solving the problem that the current point cloud data segmentation of the building needs to rely on a large amount of labeled point cloud data.

[0107] In this embodiment, optionally, the acquisition module includes:

[0108] The division unit is configured to obtain the overall point cloud data corresponding to the building, and divide the overall point cloud data into multiple points along the main axis of the building.

[0109] Specifically, the segmentation unit can use the principal component analysis algorithm to determine the main axis of the building, and can segment the acquired overall point cloud data of the building into multiple point cloud data along the main axis of the building, and then segment each point cloud data through the segmentation module.

[0110] Embodiment 4

[0111] like Figure 5 The system block diagram of the building point cloud data semantic segmentation system shown in FIG. 1 includes:

[0112] The above-mentioned building point cloud data segmentation system;

[0113] A feature extraction module is configured to extract features from each point cloud segmentation data to obtain point cloud features corresponding to each data point at different mapping angles;

[0114] A semantic determination module configured to determine the semantic label corresponding to each data point at different mapping angles according to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building;

[0115] The final semantic determination module is configured to determine the final semantic label of each data point through the semantic labels corresponding to different mapping angles.

[0116] Specifically, the semantic segmentation system is composed of the segmentation system described in Example 3, a feature extraction module, a semantic determination module and a final semantic determination module. The segmentation system can segment the point cloud data of the building into point cloud segmentation data at different mapping angles.

[0117] The feature extraction module can use the feature extraction model trained based on the self-supervised learning method to extract features from the point cloud segmentation data to obtain the point cloud features corresponding to each data point under different mapping angles. Since the self-supervised learning method can be trained using unlabeled data, the feature extraction model trained based on the self-supervised learning method can further avoid the need for semantically labeled point cloud data for model training.

[0118] The semantic determination module can calculate the similarity between the point cloud features of each data point and the component features of each component of the building, and determine the component type to which each data point belongs at different mapping angles based on the calculated similarity, and determine the semantic label corresponding to the data point based on the component type. The final semantic determination module can determine the final semantic label of the data point based on the semantic label corresponding to the data point at all mapping angles.

[0119] In this embodiment, optionally, Figure 5 As shown, the semantic determination module includes:

[0120] A data acquisition unit is configured to acquire multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building;

[0121] A feature extraction unit is configured to extract features from each component point cloud data respectively, and determine the component features corresponding to each component point cloud data in each group of component point cloud data;

[0122] A similarity calculation unit configured to respectively calculate the similarity between the point cloud features of the data points and the component features of the point cloud data of each component;

[0123] A probability value calculation unit is configured to calculate the probability value of the data point belonging to each component with respect to each group of component point cloud data sets according to the similarity between the point cloud features and the component features;

[0124] A probability value statistical unit is configured to calculate the probability value of the data point relative to each component point cloud data group, and determine the average probability value of the data point belonging to each component;

[0125] The semantic label determination unit is configured to select the component corresponding to the maximum average probability value as the semantic label corresponding to the data point.

[0126] Specifically, the semantic determination module is composed of a data acquisition unit, a feature extraction unit, a similarity calculation unit, a probability value calculation unit, a probability value statistics unit and a semantic label determination unit. The data acquisition unit can acquire n groups of component point cloud data groups, each group of component point cloud data groups includes component point cloud data of k components.

[0127] The feature extraction unit can input all the acquired component point cloud data into the above-mentioned CrossPoint model respectively, so as to obtain the component features corresponding to different components in each group of component point cloud data. The similarity calculation unit can calculate the similarity between the point cloud features of each data point in the point cloud data of the building and the component features of different components in each group of component point cloud data according to the existing similarity calculation formula.

[0128] The probability value calculation unit can calculate the probability value of each data point belonging to a different component type relative to each group of component point cloud data groups based on the similarity between the point cloud features corresponding to each data point at the same mapping angle and the component features of different components in each group of component point cloud data groups.

[0129] The probability value statistics unit can calculate the average probability value of each data point belonging to different component types based on the probability value of each data point relative to each group of component point data groups. The semantic label determination unit can compare the average probability values ​​of the data points relative to each component type, and determine the component type corresponding to the maximum average probability value. The semantic label corresponding to the component type is the semantic label of the data point at the mapping angle. The semantic determination module repeatedly calculates the average probability value corresponding to each data point at different mapping angles, and can obtain the semantic labels corresponding to each data point at different mapping angles.

[0130] In this embodiment, optionally, the final semantic determination module can determine the final semantic label of the data point according to the number of mapping perspectives corresponding to the same semantic label. Specifically, the final semantic determination module can obtain the semantic labels corresponding to each data point at different mapping angles through the semantic determination module, that is, each data point can obtain N semantic labels. The final semantic determination module can use the semantic label with the largest number of occurrences among the N semantic labels as the final semantic label of the data point, thereby realizing semantic segmentation of point cloud data.

[0131] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A semantic segmentation method for building point cloud data, characterized in that: include: Get the point cloud data corresponding to the building; Mapping the point cloud data into multiple RGB images at different mapping angles, and recording the mapping grid position corresponding to each data point in the point cloud data; Each RGB image is segmented by a visual segmentation model to obtain the segmentation mask corresponding to the building at different mapping angles; Map each segmentation mask back to three-dimensional space according to the mapping grid position of the corresponding data point, and obtain the point cloud segmentation data corresponding to the building at different mapping angles; Feature extraction is performed on each point cloud segmentation data to obtain the point cloud features corresponding to each data point at different mapping angles; According to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building, the semantic label corresponding to each data point at different mapping angles is determined; The final semantic label of each data point is determined by the corresponding semantic labels at different mapping angles.

2. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: Get the point cloud data corresponding to the building, including: The overall point cloud data corresponding to the building is obtained, and the overall point cloud data is divided into multiple points along the main axis of the building.

3. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: The multi-view mapping method is used to map the point cloud data into multiple RGB images with different mapping angles.

4. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: The SegmentAnything model is used to perform image segmentation on RGB images.

5. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: The CrossPoint model is used to extract features from the point cloud segmentation data.

6. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: Determining the semantic label corresponding to the data point includes: Acquire multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building; Extract features from each component point cloud data respectively, and determine the component features corresponding to each component point cloud data in each group of component point cloud data; Calculate the similarity between the point cloud features of the data points and the component features of the point cloud data of each component respectively; According to the similarity between the point cloud features and the component features, respectively calculating the probability value of the data point belonging to each component with respect to each group of component point cloud data sets; Calculate the probability value of the data point relative to each component point cloud data group to determine the average probability value of the data point belonging to each component; The component corresponding to the maximum average probability value is selected as the semantic label corresponding to the data point.

7. The method for semantic segmentation of building point cloud data according to claim 1, characterized in that: The final semantic label of the data point is determined according to the number of mapping perspectives corresponding to the same semantic label.

8. A building point cloud data semantic segmentation system, characterized in that: include: An acquisition module, configured to acquire point cloud data corresponding to the building; A mapping module configured to map the point cloud data into a plurality of RGB images at different mapping angles, and record a mapping grid position corresponding to each data point in the point cloud data; A segmentation module is configured to perform image segmentation on each RGB image using a visual segmentation model to obtain segmentation masks corresponding to buildings at different mapping angles; A backtracking module is configured to map each segmentation mask back to the three-dimensional space according to the mapping grid position of the corresponding data point, so as to obtain the point cloud segmentation data corresponding to the building at different mapping angles; A feature extraction module is configured to extract features from each point cloud segmentation data to obtain point cloud features corresponding to each data point at different mapping angles; A semantic determination module configured to determine the semantic label corresponding to each data point at different mapping angles according to the similarity between the corresponding point cloud features and the component features corresponding to each component of the building; The final semantic determination module is configured to determine the final semantic label of each data point through the semantic labels corresponding to different mapping angles.

9. The building point cloud data semantic segmentation system according to claim 8, characterized in that: The acquisition module comprises: The division unit is configured to obtain the overall point cloud data corresponding to the building, and divide the overall point cloud data into multiple points along the main axis of the building.

10. The building point cloud data semantic segmentation system according to claim 8, characterized in that: The semantic determination module comprises: A data acquisition unit is configured to acquire multiple groups of component point cloud data sets, each group of component point cloud data sets including component point cloud data corresponding to each component of the building; A feature extraction unit is configured to extract features from each component point cloud data respectively, and determine the component features corresponding to each component point cloud data in each group of component point cloud data; A similarity calculation unit configured to respectively calculate the similarity between the point cloud features of the data points and the component features of the point cloud data of each component; A probability value calculation unit is configured to calculate the probability value of the data point belonging to each component with respect to each group of component point cloud data sets according to the similarity between the point cloud features and the component features; A probability value statistical unit is configured to calculate the probability value of the data point relative to each component point cloud data group, and determine the average probability value of the data point belonging to each component; The semantic label determination unit is configured to select the component corresponding to the maximum average probability value as the semantic label corresponding to the data point.

11. The building point cloud data semantic segmentation system according to claim 8, characterized in that: The final semantic determination module determines the final semantic label of the data point according to the number of mapping perspectives corresponding to the same semantic label.