A semantic segmentation method for point clouds of large complex surface parts

The hybrid clustering method is used to perform point cloud semantic segmentation on large complex curved surface parts, which solves the problem of insufficient point cloud samples in industrial environments, achieves fast, accurate and interpretable semantic segmentation effects, and is suitable for various types of parts perception. .

CN115063787BActive Publication Date: 2024-10-22SHANGHAI UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210148485.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-18
Publication Date
2024-10-22
Estimated Expiration
2042-02-18

AI Technical Summary

Technical Problem

In an industrial environment, there are many product varieties, small batches, and fast iterative updates. Due to the small number of effective point cloud samples, it is difficult or impossible to use machine learning artificial intelligence methods for point cloud semantic segmentation, especially for large and complex curved surface parts. Difficulty in perception and recognition.

Method used

Using a hybrid clustering method, the surface parts are roughly classified and finely classified by fusing the geometric information of the point cloud family, deconstructed into the smallest feature elements, and combined into the required structure according to the topological information, thereby achieving semantic segmentation of the point cloud and forming a feature matrix. .

Benefits of technology

It achieves fast, accurate and stable semantic segmentation of large and complex curved surface parts. It has good interpretability and scalability. It can be modified according to the real situation of different parts and is suitable for a wide range of application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115063787B_ABST
    Figure CN115063787B_ABST
Patent Text Reader

Abstract

The present invention relates to a semantic segmentation method for point clouds of large and complex curved surface parts. The key to this method is to discretize the curved surface part point cloud into minimum feature elements according to its geometric information, and then combine it into required feature elements according to topological information, so as to achieve semantic segmentation of point cloud. The present invention uses a hybrid clustering method that integrates three-dimensional geometric information rules, and respectively undergoes a coarse classification process using direction as the K-Means clustering standard and a fine classification process based on the DBSCAN clustering algorithm. The large and complex part point cloud is deconstructed into different feature elements according to three-dimensional geometric position and direction information, and then combined into required feature structures according to geometric topological relationships, thereby completing the semantic segmentation of the part point cloud and forming a feature matrix. The method adopted by the present invention has a wide range of applications and few restrictions. The classification and combination rules can be quickly modified according to the part object being processed without changing the framework, so as to facilitate rapid transplantation to other large and complex curved surface parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a point cloud semantic segmentation method, and in particular to a semantic segmentation method for point clouds of large complex curved surface parts. Background Art

[0002] At the critical stage of the current industrial transformation and upgrading, the multi-variety, small-batch production model has gradually become a new demand in the market. Intelligent manufacturing will be the trend of future industrial development, especially with the emergence of artificial intelligence technologies such as machine learning and neural networks. Manufacturing equipment that integrates advanced technologies enables companies to gain certain advantages in the fierce competition environment. However, before these emerging advanced technologies operate on parts, they are inseparable from the key step of sensing parts. Therefore, the results of perception will have a direct impact on subsequent operations.

[0003] At present, the perception of three-dimensional parts usually uses laser sensors or depth cameras to collect part point clouds and perform semantic segmentation on them. The purpose is to let the computer understand the structural characteristics of the parts and the semantic information of different areas. Generally, many methods use neural networks as the first choice for point cloud semantic segmentation. For example, patent CN111914480A discloses a method for intelligent recognition of processing features based on point cloud semantic segmentation, which converts the intelligent recognition problem of processing features of part CAD models into the semantic segmentation problem of three-dimensional point cloud models. A training data set is obtained by establishing a three-dimensional part CAD model library and preprocessing it. The data set is further input into the improved PointNet semantic segmentation network. This network uses the PointNet semantic segmentation network as the basic framework and improves the segmentation accuracy by introducing the residual block structure of the ResNet network. Finally, various types of processing features are input into the detection module, and the processing feature categories and the number of processing features are verified through outlier detection and DBSCAN clustering algorithm.

[0004] Although the neural network method can achieve a high accuracy rate, it is difficult to have enough effective samples to support network training in actual industrial scenarios, especially for some large and complex curved parts, whose varied shapes and varieties bring considerable difficulties to data sample collection. And when the part category changes, it is necessary to retrain or even modify the network structure, which makes agile development difficult and has poor interpretability. Therefore, it is imperative to propose a fast, stable, widely applicable and well interpretable point cloud semantic segmentation method for large and complex curved parts. Summary of the invention

[0005] The technical problem to be solved by the present invention is: in view of the current situation in industrial environments where there are many product varieties, small batches, and fast iterative update speeds, and the number of effective point cloud samples is small, it is difficult or impossible to use machine learning and artificial intelligence methods to perform semantic segmentation of point clouds, and a semantic segmentation method for large and complex curved surface part point clouds is provided. The method of the present invention uses a hybrid clustering method to quickly, accurately, and stably perform semantic segmentation on curved surface part point clouds, and the segmentation results have good interpretability, and can make targeted modifications according to the actual conditions of different parts.

[0006] To achieve the above object, the present invention adopts the following concept:

[0007] A semantic segmentation method for point clouds of large and complex surface parts. For the point cloud data of surface parts collected in industrial scenes, a hybrid clustering method that integrates the geometric information of the point cloud family is used to deconstruct it into separate minimum feature elements. Then, based on the topological information of the feature structure, the feature elements are combined into the required structure to complete the semantic segmentation of the point cloud.

[0008] Based on the above-mentioned inventive concept, the present invention adopts the following technical solutions:

[0009] A semantic segmentation method for point clouds of large complex surface parts, characterized by the following operating steps:

[0010] 1) Rough classification of point cloud of surface parts:

[0011] According to the normal direction information of the surface where the point cloud of the surface part is located, the point cloud is roughly classified;

[0012] 2) Surface parts point cloud subclassification:

[0013] According to the result of the rough classification of the point cloud, each category of the point cloud family is subjected to fine classification, and the point cloud family is further decomposed into smaller point cloud families, which are called minimum feature elements.

[0014] 3) Combination of characteristic elements:

[0015] According to the topological information of the part structure, some of the minimum characteristic elements are combined into the required part structure point cloud; if a certain structure of the part does not require element combination, the elements can be classified according to the position information.

[0016] Preferably, the rough classification process of step 1) specifically includes the following steps:

[0017] Step a. Select the cluster center according to the surface normal information of the part. The basic normal directions include but are not limited to (1,0,0), (-1,0,0), (0,1,0), (0,-1,0), (0,0,1) and (0,0,-1).

[0018] Step b. Use the K-Means clustering algorithm or other distance-based clustering algorithms to roughly classify the part point cloud using the basic normal orientation as the initial cluster center point.

[0019] Preferably, the sub-classification process of step 2) specifically includes the following steps:

[0020] Step a. Use the DBSCAN clustering algorithm or other density-based clustering algorithms to further subdivide each category of results after rough classification and refine them into the smallest feature elements.

[0021] Step b. According to the geometric position information such as the distribution position of the centroid of the minimum feature element in the overall part point cloud, a classification rule library is established and classified.

[0022] Preferably, the combination process of step 3) specifically includes the following steps:

[0023] Step a. Determine the topological information of each feature structure of the part, that is, the minimum feature elements contained in the feature structure and the connection relationship between them.

[0024] Step b. Find the required elements from the minimum feature element set, and combine them into the required part feature structure according to the connection relationship between the elements.

[0025] Preferably, after completing the above steps, a feature matrix is ​​generated and stored in the case library. The specific form of the feature matrix is ​​[F n Fp nm ], where F n It is a feature identifier, and its value is 1 or 0, indicating whether the feature structure is included. pnm It is the shape information of the mth part of the nth feature. The shape information of the part can be geometric dimensions, size difference of coordinate components at a certain structure, average normal, surface roughness, etc., which can be defined according to actual conditions.

[0026] Compared with the prior art, the present invention has the following obvious outstanding substantial features and significant advantages:

[0027] 1. The present invention adopts a hybrid clustering method that combines part geometry information and topological relationships to extract the structural features of parts. Compared with the traditional unsupervised clustering method, the clustering results have good interpretability, and the sub-classification and combination rules of characteristic elements can be modified according to the actual situation of the parts, which improves the scalability of the method to other parts and has a wide range of applications;

[0028] 2. The key to the present invention is to discretize the point cloud of the surface part into the smallest feature elements according to its geometric information, and then combine them into the required feature elements according to the topological information, so as to realize the semantic segmentation of the point cloud;

[0029] 3. The present invention uses a hybrid clustering method that integrates three-dimensional geometric information rules. Through a coarse classification process using direction as the K-Means clustering standard and a fine classification process based on the DBSCAN clustering algorithm, large and complex part point clouds are decomposed into different feature elements according to three-dimensional geometric position and direction information, and then combined into the required feature structure according to geometric topological relationships, thereby completing the semantic segmentation of the part point cloud and forming a feature matrix;

[0030] 4. The method adopted by the present invention has a wide range of applications and few limitations. The classification and combination rules can be quickly modified according to the part objects being processed without changing the framework, which facilitates rapid transplantation to other large and complex curved surface parts. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 It is a flowchart of the point cloud semantic segmentation method of large complex curved surface parts of the present invention.

[0032] Figure 2 It is a schematic diagram of type 1 parts of a preferred embodiment of the present invention.

[0033] Figure 3 It is a schematic diagram of type 2 parts of a preferred embodiment of the present invention.

[0034] Figure 4 It is a schematic diagram of a point cloud with the normal line of a type 1 part facing right in a preferred embodiment of the present invention.

[0035] Figure 5 It is a schematic diagram of a point cloud of a type 2 part with its normal pointing upwards in a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0036] The above scheme is further described below in conjunction with the accompanying drawings and specific embodiments. The preferred embodiments of the present invention are described in detail as follows:

[0037] Embodiment 1:

[0038] See also Figure 1 , a semantic segmentation method for point clouds of large complex surface parts, the operation steps are as follows:

[0039] 1) Rough classification of point cloud of surface parts:

[0040] According to the normal direction information of the surface where the point cloud of the surface part is located, the point cloud is roughly classified;

[0041] 2) Surface parts point cloud subclassification:

[0042] According to the result of the rough classification of the point cloud, each category of the point cloud family is subjected to fine classification, and the point cloud family is further decomposed into smaller point cloud families, which are called minimum feature elements.

[0043] 3) Combination of characteristic elements:

[0044] According to the topological information of the part structure, some of the minimum characteristic elements are combined into the required part structure point cloud; if a certain structure of the part does not require element combination, the elements can be classified according to the position information.

[0045] The method of the present invention can quickly, accurately and stably perform semantic segmentation on the point cloud of surface parts through a hybrid clustering method, and the segmentation result has good interpretability and can make targeted modifications according to the actual conditions of different parts.

[0046] Embodiment 2:

[0047] This embodiment is basically the same as the first embodiment, with the following special features:

[0048] In this embodiment, the step 1) specifically includes the following steps:

[0049] (1-1) According to the surface normal information of the part, the cluster center is selected. The basic normal directions include but are not limited to (1,0,0), (-1,0,0), (0,1,0), (0,-1,0), (0,0,1) and (0,0,-1);

[0050] (1-2) Use the K-Means clustering algorithm or other distance-based clustering algorithms, with the basic normal orientation as the initial cluster center point, to roughly classify the part point cloud.

[0051] In this embodiment, the step 2) specifically includes the following steps:

[0052] (2-1) Using the DBSCAN clustering algorithm or other density-based clustering algorithms, each category of results after rough classification is further subdivided into the smallest feature elements;

[0053] (2-2) Based on the geometric position information such as the distribution position of the center of mass of the smallest feature element in the overall part point cloud, a classification rule library is established and classified.

[0054] In this embodiment, the step 3) specifically includes the following steps:

[0055] (3-1) Determine the topological information of each feature structure of the part, that is, the minimum feature elements contained in the feature structure and the connection relationship between them;

[0056] (3-2) Find the required elements from the minimum set of characteristic elements, and combine them into the required part feature structure based on the connection relationship between the elements.

[0057] The key to the present invention is to discretize the point cloud of the surface part into the smallest feature elements according to its geometric information, and then combine them into the required feature elements according to the topological information, so as to realize the semantic segmentation of the point cloud; the present invention adopts a hybrid clustering method combining the part geometric information and topological relationship to extract the structural features of the part. Compared with the traditional unsupervised clustering method, the clustering result has good interpretability, and the feature element subclassification and combination rules can be modified according to the actual situation of the part, which improves the scalability of the method to other parts and has a wide range of applications.

[0058] Embodiment three:

[0059] In this embodiment, see Figures 1 to 5 ,by Figure 2 Taking the type 1 part in the example, a semantic segmentation method for point clouds of large complex surface parts is proposed. For the surface part point cloud data collected in industrial scenes, a hybrid clustering method integrating the geometric information of the point cloud family is used to deconstruct it into separate feature elements. Then, according to the topological information of the feature structure, the feature elements are combined into the required structure to complete the semantic segmentation of the point cloud. The specific steps are as follows:

[0060] 1) Rough classification of point cloud of surface parts:

[0061] According to the normal direction information of the surface where the point cloud of the surface part is located, the point cloud is roughly classified;

[0062] 2) Surface parts point cloud subclassification:

[0063] According to the result of the rough classification of the point cloud, each category of the point cloud family is finely classified and further decomposed into smaller point cloud families, which are called minimum feature elements.

[0064] 3) Combination of characteristic elements:

[0065] According to the topological information of the surface part structure, some of the minimum characteristic elements are combined into the required part structure point cloud; if a certain structure of the part does not require element combination, the elements can be classified according to the position information.

[0066] In this embodiment, the step 1) specifically includes the following steps:

[0067] Step 1-1): According to the surface normal information of the part, the cluster center is selected. The basic normal directions include but are not limited to (1,0,0), (-1,0,0), (0,1,0), (0,-1,0), (0,0,1) and (0,0,-1);

[0068] Step 1-2): Use K-Means clustering algorithm or other distance-based clustering algorithm, take the basic normal direction as the initial cluster center point, and roughly classify the part point cloud.

[0069] In this embodiment, (1, 0, 0), (-1, 0, 0), (0, -1, 0) and (0, 0, 1) are used as cluster centers, and the K-Means clustering algorithm is used to perform the coarse classification operation in the feature element classification link.

[0070] In this embodiment, the step 2) specifically includes the following steps:

[0071] Step 2-1): Use the DBSCAN clustering algorithm or other density-based clustering algorithms to further subdivide each category of results after rough classification and refine them into the smallest feature elements;

[0072] Step 2-2): According to the geometric position information such as the distribution position of the centroid of the minimum feature element in the overall part point cloud, a classification rule library is established and classified.

[0073] In this embodiment, step 2-1) takes a single result with a cluster center of (1,0,0) as an example to illustrate the sub-classification process using the DBSCAN clustering algorithm, see Figure 4 , that is, the point cloud with the normal facing right. From the figure, we can conclude that there are two obvious structural features. In the absence of special requirements, the main structure of the part generally has obvious features, that is, the area enclosed is large, that is, the number of point clouds within a certain range is large. According to this feature, the density-based clustering method is used and the point cloud family with a large number of points is selected, and the required obvious features can be obtained, such as Figure 4 Point cloud family 1 and point cloud family 2 in .

[0074] In step 2-2), it is still impossible to identify what structure the result of step 2-1) belongs to. Therefore, it is necessary to establish a distinction rule based on the topological relationship and positional relationship of the actual part features to impose constraints. In this embodiment, the following rules can be established: for point cloud family 1 and point cloud family 2, the point cloud family located to the right of the midpoint of the overall point cloud X is the right side structure point cloud, and the one located on the left is the left side partial point cloud of the U-shaped surface structure. For the remaining categories, corresponding rules are established according to the above steps to explain and restrict them, so that the final category corresponding to each point cloud can be distinguished.

[0075] The step 3) specifically comprises the following steps:

[0076] Step 3-1): Determine the topological information of each feature structure of the part, that is, the minimum feature elements contained in the feature structure and the connection relationship between them.

[0077] Step 3-2): Find the required elements from the minimum feature element set, and combine them into the required part feature structure based on the connection relationship between the elements.

[0078] In this embodiment, for a special structure like a U-shaped surface, its constituent elements are analyzed, which are composed of the left side, right side and horizontal plane of the U-shaped surface, and then according to the topological relationship between them, that is, the left side is adjacent to the horizontal plane, and the horizontal plane is adjacent to the right side, the classified point clouds are spliced ​​into a complete structure. The final feature matrix of the part is shown in the following table.

[0079] Feature Name <![CDATA[F n ]]> △X(mm) △Y(mm) △Z(mm) Right side 1 150 550 500 Front side 1 1600 0 500 Left side 1 150 550 500 U-shaped surface 1 1200 200 200 On the platform 0 0 0 0 Lower strip 0 0 0 0

[0080] This embodiment uses a hybrid clustering method that integrates three-dimensional geometric information rules. It undergoes a coarse classification process using direction as the K-Means clustering standard and a fine classification process based on the DBSCAN clustering algorithm. The point cloud of a large and complex part is decomposed into different feature elements according to the three-dimensional geometric position and direction information, and then combined into the required feature structure according to the geometric topological relationship, thereby completing the semantic segmentation of the part point cloud and forming a feature matrix. The method adopted in this embodiment has a wide range of applications and few limitations. The classification and combination rules can be quickly modified according to the part object being processed without changing the framework, so that it is easy to quickly transplant to other large and complex curved surface parts.

[0081] Embodiment 4:

[0082] This embodiment is basically the same as the above embodiment. Figure 3 Take the type 2 part in as an example, the special features are as follows:

[0083] In step 1), in this embodiment, (1,0,0), (-1,0,0), (0,-1,0), (0,0,1), and The cluster center is used to perform the rough classification operation in the feature element classification link. The rough classification process is basically the same as that in the first embodiment, and will not be described in detail.

[0084] In step 2), since the parts in this embodiment have a lower strip and an upper platform structure and no longer have a U-shaped surface structure, they are subdivided as follows: Figure 5 , is the point cloud area with the normal line pointing upward in the part point cloud. By analyzing its geometric characteristics, it can be concluded that the required upper platform and lower strip features are located at the top and bottom of the point cloud area respectively. Therefore, the centroid of each point cloud family is calculated, and the point cloud family with the centroid distributed at the top and bottom of the overall point cloud is the required feature.

[0085] In step 3), in the feature element combination link, the front side feature of the part needs to be clustered with the center being (0,-1,0). and The characteristic elements A, B and C are combined, and B is adjacent to A, and A is adjacent to C. The final characteristic matrix is ​​shown in the following table.

[0086] Feature Name <![CDATA[F n ]]> △X(mm) △Y(mm) △Z(mm) Right side 1 170 550 600 Front side 1 1550 0 600 Left side 1 170 550 600 U-shaped surface 0 0 0 0 On the platform 1 800 300 0 Lower strip 1 750 100 0

[0087] The present embodiment is a method for semantic segmentation of point clouds of large and complex surface parts. The key to the method of the present embodiment is to discretize the surface part point cloud into the smallest feature elements according to its geometric information, and then combine it into the required feature elements according to the topological information, so as to achieve semantic segmentation of the point cloud. The method of the present embodiment uses a hybrid clustering method that integrates three-dimensional geometric information rules, and respectively undergoes a coarse classification process with direction as the K-Means clustering standard and a fine classification process based on the DBSCAN clustering algorithm. The large and complex part point cloud is deconstructed into different feature elements according to the three-dimensional geometric position and direction information, and then combined into the required feature structure according to the geometric topological relationship, thereby completing the semantic segmentation of the part point cloud and forming a feature matrix. The method adopted in the present embodiment has a wide range of applications and few restrictions. The classification and combination rules can be quickly modified according to the part object being processed without changing the framework, so as to facilitate rapid transplantation to other large and complex surface parts.

[0088] In summary, the present invention is a semantic segmentation method for large complex curved surface part point clouds. The core is to deconstruct the part point cloud into a single minimum feature element through a coarse classification and fine classification process, and then combine these minimum feature elements into a structural point cloud according to the topological information of the required structure. The method adopted by the present invention is not limited by the number of effective samples and can be used well in industrial scenarios. Moreover, according to the actual situation of different parts, there is no need to change the entire method framework. Only the clustering center and the fine classification rules need to be modified to adapt to the new part point cloud for semantic segmentation. It has a wide range of applications and good interpretability.

[0089] The above describes the embodiments of the present invention in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments. Various changes can be made according to the purpose of the invention of the present invention. Any changes, modifications, substitutions, combinations or simplifications made according to the spirit and principles of the technical solution of the present invention should be equivalent replacement methods. As long as they meet the purpose of the invention of the present invention and do not deviate from the technical principles and inventive concepts of the intelligent path planning method of the spray robot for large and complex curved parts of the present invention, they all fall within the protection scope of the present invention.

Claims

1. A semantic segmentation method for point clouds of large complex surface parts, characterized in that: The steps are as follows: 1) Rough classification of point cloud of surface parts: According to the normal direction information of the surface where the point cloud of the surface part is located, the point cloud is roughly classified; 2) Surface parts point cloud subclassification: According to the result of the rough classification of the point cloud, each category of the point cloud family is subjected to fine classification, and the point cloud family is further decomposed into smaller point cloud families, which are called minimum feature elements. 3) Combination of characteristic elements: According to the topological information of the part structure, some of the smallest characteristic elements are combined into the required part structure point cloud; if a certain structure of the part does not require element combination, the elements can be classified according to the position information; The step 1) comprises the following steps: (1-1) According to the surface normal information of the part, the cluster center is selected. The basic normal directions include but are not limited to (1,0,0), (-1,0,0), (0,1,0), (0,-1,0), (0,0,1) and (0,0,-1); (1-2) Use K-Means clustering algorithm or other distance-based clustering algorithm, with basic normal orientation as the initial cluster center point, to roughly classify the part point cloud; The step 2) comprises the following steps: (2-1) Use the DBSCAN clustering algorithm or other density-based clustering algorithms to further subdivide each category of results after rough classification and refine them into the smallest feature elements; (2-2) Based on the geometric position information of the distribution position of the centroid of the smallest feature element in the point cloud of the overall part, a classification rule library is established and classified.

2. The point cloud semantic segmentation method for large complex curved surface parts according to claim 1, characterized in that: The step 3) includes the following steps: (3-1) Determine the topological information of each feature structure of the part, that is, the smallest feature elements contained in the feature structure and the connection relationship between them; (3-2) Find the required elements from the minimum set of characteristic elements, and combine them into the required part feature structure based on the connection relationship between the elements.

Citation Information

Patent Citations

  • Intelligent processing feature identification method based on point cloud semantic segmentation

    CN111914480A

  • Railway contact network extraction and classification method based on vehicle-mounted LiDAR

    CN112529044A

  • Point cloud segmentation method, computer-readable storage medium, and computer device

    US20210350183A1