3D Point Cloud Segmentation Method
By using two projection centers to project the 3D point cloud into multiple two-dimensional images, and combining the classification and recognition results of the neural network, the problem of inaccurate 3D point cloud segmentation in the existing technology is solved, and the classification and recognition of the 3D point cloud is improved. and segmentation accuracy.
Patent Information
- Application Number
- CN202411011974.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-26
AI Technical Summary
Existing 3D point cloud segmentation methods cause distortion when converted to 2D images, causing the neural network to be unable to accurately identify and segment features in 3D point clouds, such as power towers.
Use two different projection centers to project the 3D point cloud into two two-dimensional images, and use neural networks to perform classification and recognition respectively. The union of the two recognition results is taken as the final classification result to segment the 3D point cloud. points of the same category.
Through the complementation of multiple projections and recognition results, recognition errors caused by the distortion of a single two-dimensional image are avoided, and the accuracy of classification, recognition and segmentation of 3D point clouds is improved.
Smart Images

Figure CN118537566B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of point cloud image processing, and in particular to a 3D point cloud segmentation method. Background Art
[0002] The existing processing of 3D point cloud image data usually converts the 3D laser point cloud into a two-dimensional image (Range Images) through spherical projection (SphericalProjection), and then inputs it into a convolutional neural network to achieve classification, recognition, segmentation and other tasks. However, when the 3D point cloud is converted into a two-dimensional image, the two-dimensional image may be distorted. For example, during the projection process, the point in the 3D point cloud power tower is projected as the center of the sphere. The power tower will not be a complete power tower shape in the field of view. When the neural network performs classification and recognition, the power tower cannot be recognized, resulting in inaccurate 3D point cloud segmentation. Summary of the invention
[0003] The technical problem solved by the present invention is to provide a 3D point cloud segmentation method to solve the problem of inaccurate existing 3D point cloud segmentation.
[0004] The present invention solves the above technical problems by adopting a technical solution: a 3D point cloud segmentation method, comprising the following steps:
[0005] S1, projecting the 3D point cloud into a first two-dimensional image with a first projection center;
[0006] S2, projecting the 3D point cloud into a second two-dimensional image with a second projection center;
[0007] S3. Use a neural network model to classify and identify the points in the first two-dimensional image and the points in the second two-dimensional image respectively, use the union of the results of the two classifications and identifications as the 3D point cloud classification and identification result, and segment points belonging to the same category in the 3D point cloud.
[0008] Furthermore, the coordinates of the first projection center are ,in is the average value of all points along the X-axis. is the minimum value of all points on the Y axis. It is the maximum value of all points along the Z axis.
[0009] Furthermore, the coordinates of the second projection center are ,in is the maximum value of all points along the X-axis. is the minimum value of all points in the X-axis direction, is the maximum value of all points along the Y axis. It is the maximum value in the Z-axis direction.
[0010] Furthermore, the categories in the classification and identification include ground, power towers, power lines and vegetation.
[0011] Furthermore, S3 also includes distinguishing and marking points corresponding to the two classification and recognition results in the 3D point cloud.
[0012] Furthermore, the projection formula is: ,in,( x, y, z ) represents the coordinates of a point in a 3D point cloud, ( ) indicates a point ( x, y, z ) is projected onto the two-dimensional image, d represents the coordinates of the point ( x, y, z ) to the projection center, represents the upward angle, represents the downward elevation angle, Indicates the radar's field of view. H is the height of the two-dimensional image, W is the width of the 2D image.
[0013] Furthermore, the height of the two-dimensional image is 64 and the width is 512.
[0014] Beneficial effects of the present invention: The present invention provides a 3D point cloud segmentation method, which projects 3D point clouds into two-dimensional images through two projection centers, classifies and recognizes the two two-dimensional images using a neural network model, takes the union of the results of the two classification and recognitions as the 3D point cloud classification and recognition result, and segments points of the same category in the 3D point cloud by category. In this way, the two recognition results complement each other, avoiding the distortion of a single two-dimensional image that causes the neural network model to be unable to recognize, thereby causing inaccurate 3D point cloud segmentation, and solving the problem of inaccurate 3D point cloud segmentation in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of a 3D point cloud segmentation method provided by the present invention. DETAILED DESCRIPTION
[0016] The present invention aims to solve the problem of inaccurate 3D point cloud segmentation in the prior art and provides a 3D point cloud segmentation method. Figure 1 As shown, the following steps are included:
[0017] S1, projecting the 3D point cloud into a first two-dimensional image with a first projection center;
[0018] Specifically, the coordinates of the first projection center are ,in is the average value of all points along the X-axis. is the minimum value of all points on the Y axis. It is the maximum value of all points along the Z axis.
[0019] S2, projecting the 3D point cloud into a second two-dimensional image with a second projection center;
[0020] Specifically, the coordinates of the second projection center are ,in is the maximum value of all points along the X-axis. is the minimum value of all points in the X-axis direction, is the maximum value of all points along the Y axis. It is the maximum value in the Z-axis direction.
[0021] In S1 and S2, the projection formula is: ,in,( x, y, z ) represents the coordinates of a point in a 3D point cloud, ( ) indicates a point ( x, y, z ) is projected onto the two-dimensional image, d represents the coordinates of the point ( x, y, z ) to the projection center, represents the upward angle, represents the downward elevation angle, Indicates the radar's field of view. H is the height of the two-dimensional image, W is the width of the two-dimensional image. Usually, the height of the two-dimensional image is 64 and the width is 512. The deflection angle range corresponding to the projection formula is 0-180, so as to reduce the torque.
[0022] S3. Use a neural network model to classify and identify the points in the first two-dimensional image and the points in the second two-dimensional image respectively, use the union of the results of the two classifications and identifications as the 3D point cloud classification and identification result, and segment points belonging to the same category in the 3D point cloud.
[0023] Specifically, the categories in the classification and identification include ground, power towers, power lines and vegetation.
[0024] For example, in the first projection, the projection center is a point in the three-dimensional power tower. When projected into a two-dimensional image, the three-dimensional power tower will be distorted. When the neural network model is classified and recognized, the power tower cannot be recognized. However, in the second projection, due to the change in the projection center, the three-dimensional power tower will not be distorted. The distortion may be other buildings. When the neural network model is classified and recognized, the power tower can be recognized. Thus, the union of the two classification and recognition results is used as the 3D point cloud classification and recognition result. Compared with only using the two-dimensional image projected for the first time for classification and recognition, the result has an additional power tower, which can avoid the problem of the neural network model being unable to recognize due to distorted projection, thereby improving the classification and recognition accuracy of the 3D point cloud, thereby improving the accuracy of 3D point cloud segmentation.
[0025] In particular, S3 also includes distinguishing and labeling points corresponding to the two classification and recognition results in the 3D point cloud, such as distinguishing by color, so that the classification results can be seen in the 3D point cloud and classification and recognition error points can be effectively checked.
Claims
1. 3D point cloud segmentation method, characterized in that: The following steps are involved: S1, projecting the 3D point cloud into a first two-dimensional image with a first projection center; S2, projecting the 3D point cloud into a second two-dimensional image with the second projection center; the projection formula is: Among them, (x, y, z) represents the coordinates of the point in the 3D point cloud, (pitch, yawl) represents the coordinates of the point (x, y, z) projected on the two-dimensional image, d represents the distance from the point (x, y, z) to the projection center, and f u represents the upward angle, f d represents the downward elevation angle, f u +f d represents the field of view of the radar, H is the height of the two-dimensional image, W is the width of the two-dimensional image, and the deflection angle range corresponding to the projection formula is 0-180; S3. Use a neural network model to classify and identify the points in the first two-dimensional image and the points in the second two-dimensional image respectively, use the union of the results of the two classifications and identifications as the 3D point cloud classification and identification result, and segment points belonging to the same category in the 3D point cloud.
2. The 3D point cloud segmentation method according to claim 1, characterized in that: The coordinates of the first projection center are in is the average value of all points in the X-axis direction, minY is the minimum value of all points in the Y-axis direction, and maxZ is the maximum value of all points in the Z-axis direction.
3. The 3D point cloud segmentation method according to claim 1, characterized in that: The coordinates of the second projection center are Among them, maxX is the maximum value of all points in the X-axis direction, minX is the minimum value of all points in the X-axis direction, maxY is the maximum value of all points in the Y-axis direction, and maxZ is the maximum value in the Z-axis direction.
4. The 3D point cloud segmentation method according to claim 1, characterized in that: The categories in the classification recognition include ground, power towers, power lines and vegetation.
5. The 3D point cloud segmentation method according to claim 1, characterized in that: S3 also includes distinguishing and marking points corresponding to the two classification and recognition results in the 3D point cloud.
6. The 3D point cloud segmentation method according to any one of claims 1 to 5, characterized in that: The height of the 2D image is 64 and the width is 512.
Citation Information
Cited By
Image segmentation-assisted 3D point cloud segmentation method
CN121074389A
