Pole tower point cloud semantic segmentation method, system, equipment and medium
By segmenting, centralizing and physically constraining the transmission line point cloud data, combined with the pre-training of the mask autoencoder, a self-supervised learning model is established, which solves the problem of point cloud data scarcity and difficulty in labeling, and improves semantic segmentation. accuracy and generalization ability.
Patent Information
- Application Number
- CN202410663175.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-23
AI Technical Summary
Existing point cloud semantic segmentation models based on deep learning are difficult to cope with in application scenarios with insufficient samples and sparse annotations, and the supervised learning algorithm has poor generalization and transferability, making it difficult to transfer knowledge between different data domains. Efficiently applied to new landing scenarios.
By collecting point cloud data of transmission lines, performing segment centralization and manual semantic segmentation, combining physical constraints to generate a new point cloud data set, and constructing a self-built data set through point jitter, rotation around the z-axis, and telescopic transformation processing. A pre-trained mask autoencoder is used for semantic segmentation transfer learning, and a pole point cloud semantic segmentation model based on self-supervised learning is established.
It improves the accuracy of point cloud semantic segmentation, enhances the generalization ability of the model, reduces the demand for point cloud data and labeling costs, and solves the problems of point cloud data scarcity and labeling difficulties.
Smart Images

Figure CN118537860A
Abstract
Description
Technical Field
[0001] This application relates to the field of computer vision technology, and in particular to a method, system, device and medium for semantic segmentation of pole point clouds. Background Technology
[0002] To achieve automated and intelligent lightning protection, digital modeling of transmission lines and towers is essential. This process typically requires significant manpower and resources, significantly reducing the efficiency of lightning protection analysis. On one hand, existing lightning protection analysis programs are mostly standalone software, often requiring manual input of numerous line parameters to conduct performance assessments, placing a heavy workload on staff. To address this issue, researchers are attempting to utilize airborne lidar to acquire point cloud data of transmission lines, and then use artificial intelligence algorithms to automatically extract line and tower structural parameters from the lidar point cloud data, thereby achieving automated digital modeling of transmission lines.
[0003] Automatically segmenting the main body of transmission towers, conductors, insulator strings, and ground points from 3D point cloud data is a crucial step in automated modeling of transmission towers. Currently, apart from manual segmentation of the tower body, traditional segmentation algorithms applicable to towers generally suffer from low accuracy. Moreover, with a large amount of unlabeled datasets, manual segmentation of towers is too labor-intensive and relies heavily on software and hardware support.
[0004] In recent years, with the development of deep learning, several deep learning-based point cloud semantic segmentation methods have been proposed, such as Point and DGCNN. These methods utilize deep neural networks to achieve tasks such as semantic segmentation and point cloud classification. However, although the aforementioned deep learning-based point cloud semantic segmentation models have achieved satisfactory progress in terms of accuracy and other metrics, they belong to the supervised learning paradigm and require training on large-scale 3D point cloud datasets to fully demonstrate their performance advantages. However, these supervised recognition algorithms often struggle to cope with many application scenarios where samples are insufficient and annotations are sparse. Furthermore, the poor generalization and transferability of supervised learning algorithms restrict the transfer of prior knowledge between different data domains, making it impossible to flexibly and efficiently transfer models trained on other point cloud datasets to new application scenarios. Summary of the Invention
[0005] This application provides a method, system, device, and medium for semantic segmentation of pole point clouds, which addresses the problems of scarce point cloud data and difficulty in labeling point cloud data.
[0006] In view of this, the first aspect of this application provides a semantic segmentation method for pole point clouds, the method comprising:
[0007] Point cloud data of transmission lines is collected, the point cloud data is segmented and then centered, and the point cloud data is manually semantically segmented. The centered point cloud data and the manually semantically segmented labels are combined to form two-dimensional data and used as the original dataset S0.
[0008] Based on the point cloud data of the transmission line, the tower, conductor, ground and insulator string are freely combined into point clouds using a data synthesis method based on physical constraints to generate a new point cloud dataset S1. The original dataset S0 and the point cloud dataset S1 are merged to obtain the point cloud dataset S2 for training.
[0009] The point cloud data of the point cloud dataset S2 is processed by one or any combination of point jitter, rotation around the z-axis, and scaling transformation, and the processed point cloud dataset S2 is downsampled to obtain a self-built dataset.
[0010] After pre-training the point cloud mask autoencoder, semantic segmentation transfer learning is performed on the network based on the self-built dataset to obtain a self-supervised learning model for semantic segmentation of transmission line point clouds based on the mask autoencoder.
[0011] Optionally, the step of centralizing the point cloud data after segmentation, and simultaneously performing manual semantic segmentation on the point cloud data, specifically includes:
[0012] Using the tower location as the center and a radius of four times the tower width, the point cloud data is segmented, and each segment is centered. The formula for calculating the centered coordinates is as follows:
[0013] ;
[0014] Where, coordinates This represents the average coordinates of each segment of point cloud data.
[0015] The point cloud data was manually semantically segmented to separate several types of point cloud data, including: towers, conductors, ground wires, insulator strings, tension strings, and ground points.
[0016] Optionally, the step of freely combining the point clouds of towers, conductors, ground, and insulator strings based on the point cloud data of the transmission line and using a data synthesis method based on physical constraints to generate a new point cloud dataset S1 specifically includes:
[0017] S21. Generate conductors using a catenary method; in the visualization software, annotate the movable areas in the tower point cloud and represent the movement range of the insulator string as a straight line along the cross-section of the tower;
[0018] S22. Randomly select a range from the set of ground points and then perform a random rotation operation on it; randomly select a point from the selected ground points as the tower position, and then merge the tower with the ground point;
[0019] S23. Classify the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replace the insulator strings of the same type; then, move them randomly according to the insulator string movement range extracted in step S22.
[0020] S24. Randomly combine transmission towers and generate conductors / ground wires connecting in-phase insulator strings of adjacent towers using the catenary equation;
[0021] S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
[0022] Optionally, the processing of the point cloud data in the point cloud dataset S2 by one or any combination of point dithering, rotation around the z-axis, and scaling transformation specifically includes:
[0023] The point cloud data of point cloud dataset S2 is used as a Two-dimensional array ,in ,express Spatial location information of each point;
[0024] The point cloud data of the point cloud dataset S2 is processed by one or any combination of point dithering, rotation around the z-axis, and scaling transformation.
[0025] A second aspect of this application provides a semantic segmentation system for pole point clouds, the system comprising:
[0026] The first generation unit is used to collect point cloud data of transmission lines, segment and center the point cloud data, and perform manual semantic segmentation on the point cloud data. The centralized point cloud data and the manually semantically segmented labels are combined to form two-dimensional data and serve as the original dataset S0.
[0027] The second generation unit is used to freely combine the point clouds of towers, conductors, ground and insulator strings according to the point cloud data of the transmission line based on the data synthesis method of physical constraints, to generate a new point cloud dataset S1, and merge the original dataset S0 with the point cloud dataset S1 to obtain the point cloud dataset S2 for training.
[0028] The data processing unit is used to process the point cloud data of the point cloud dataset S2 by one or any combination of point dithering, rotation around the z-axis, and scaling transformation, and to downsample the processed point cloud dataset S2 to obtain a self-built dataset.
[0029] The training unit is used to pre-train the point cloud mask autoencoder and then perform semantic segmentation transfer learning on the network based on the self-built dataset to obtain a self-supervised learning model for semantic segmentation of transmission line point clouds based on the mask autoencoder.
[0030] Optionally, the point cloud data is segmented and then centralized, and the point cloud data is also manually semantically segmented, specifically including:
[0031] Using the tower location as the center and a radius of four times the tower width, the point cloud data is segmented, and each segment is centered. The formula for calculating the centered coordinates is as follows:
[0032] ;
[0033] Where, coordinates This represents the average coordinates of each segment of point cloud data.
[0034] The point cloud data was manually semantically segmented to separate several types of point cloud data, including: towers, conductors, ground wires, insulator strings, tension strings, and ground points.
[0035] Optionally, the step of freely combining the point clouds of towers, conductors, ground, and insulator strings based on the point cloud data of the transmission line and using a data synthesis method based on physical constraints to generate a new point cloud dataset S1 specifically includes:
[0036] S21. Generate conductors using a catenary method; in the visualization software, annotate the movable areas in the tower point cloud and represent the movement range of the insulator string as a straight line along the cross-section of the tower;
[0037] S22. Randomly select a range from the set of ground points and then perform a random rotation operation on it; randomly select a point from the selected ground points as the tower position, and then merge the tower with the ground point;
[0038] S23. Classify the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replace the insulator strings of the same type; then, move them randomly according to the insulator string movement range extracted in step S22.
[0039] S24. Randomly combine transmission towers and generate conductors / ground wires connecting in-phase insulator strings of adjacent towers using the catenary equation;
[0040] S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
[0041] Optionally, the processing of the point cloud data in the point cloud dataset S2 by one or any combination of point dithering, rotation around the z-axis, and scaling transformation specifically includes:
[0042] The point cloud data of point cloud dataset S2 is used as a Two-dimensional array ,in ,express Spatial location information of each point;
[0043] The point cloud data of the point cloud dataset S2 is processed by one or any combination of point dithering, rotation around the z-axis, and scaling transformation.
[0044] A third aspect of this application provides a semantic segmentation device for pole point clouds, the device comprising a processor and a memory:
[0045] The memory is used to store program code and transmit the program code to the processor;
[0046] The processor is configured to execute the steps of the pole point cloud semantic segmentation method as described in the first aspect above, according to the instructions in the program code.
[0047] A fourth aspect of this application provides a computer-readable storage medium for storing program code for executing the pole point cloud semantic segmentation method described in the first aspect above.
[0048] As can be seen from the above technical solutions, this application has the following advantages:
[0049] This application provides a semantic segmentation method for power transmission line point clouds, and offers a novel data augmentation approach. By combining and arranging manually segmented power transmission line point cloud datasets, the diversity of point cloud data is increased, further improving the accuracy of power transmission line semantic segmentation. Then, combining the principle of MAE (Mask Autoencoder), a self-supervised learning model for power transmission line point cloud semantic segmentation based on MAE is proposed. Compared with supervised learning methods, the self-supervised learning method has strong generalization ability, can be pre-trained on large-scale point cloud datasets, and then achieves good generalization performance with only a small number of samples. This significantly reduces the data requirements and annotation costs for point cloud data, thus solving the problems of point cloud data scarcity and difficulty in point cloud data annotation. Attached Figure Description
[0050] Figure 1 This is a flowchart illustrating a semantic segmentation method for pole point clouds provided in an embodiment of this application;
[0051] Figure 2This is a schematic diagram of the structure of a pole point cloud semantic segmentation system provided in the embodiments of this application. Detailed Implementation
[0052] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0053] Please see Figure 1 The present application provides a method for semantic segmentation of pole point clouds, including:
[0054] Step 101: Collect point cloud data of the transmission line, segment the point cloud data and then center it. At the same time, perform manual semantic segmentation on the point cloud data. Combine the centralized point cloud data and the labels of the manual semantic segmentation to form two-dimensional data and use it as the original dataset S0.
[0055] In one embodiment, step 101 involves segmenting and centralizing the point cloud data, while simultaneously performing manual semantic segmentation of the point cloud data, specifically including:
[0056] Using the tower location as the center and a radius of four times the tower width, the point cloud data is segmented, and each segment is centered. The formula for calculating the centered coordinates is as follows:
[0057] ;
[0058] Where, coordinates This represents the average coordinates of each segment of point cloud data.
[0059] Manual semantic segmentation was performed on the point cloud data to segment it into several categories, including: towers, conductors, ground wires, insulator strings, tension strings, and ground points.
[0060] For step 101, it should be noted that, firstly, airborne lidar is used to collect point cloud data of the transmission line, and the collected point cloud data is stored in the LAS data format. The data structure of this LAS file can be described as a two-dimensional array of n rows and m (m≥3) columns, where n is the number of points in the point cloud. The amount of point cloud data in real-world scenarios can reach millions. Each row represents a point, and each row contains at least three spatial coordinates: X, Y, and Z. It also contains relevant information such as GPS information, reflection intensity information, and category label (semantic) information.
[0061] Next, the point cloud data is segmented with the tower location as the center and a radius of 4 times the tower width as the radius.
[0062] Then, since the spatial coordinates collected by the airborne lidar also contain GPS coordinates, each data segment is centered to remove sensitive information and facilitate subsequent deep neural network training. The centered coordinates can be calculated using this formula. , where coordinates This represents the average coordinates of each segment of point cloud data.
[0063] Next, Lidar360 and other software were used to manually perform semantic segmentation on the original point cloud data, resulting in six types of data: towers, conductors, ground wires, insulator strings, tension strings, and ground points.
[0064] Finally, because the original LAS file is binary data with a complex data structure, and contains a lot of redundant data that is not needed in the semantic segmentation task, such as GPS time and reflection intensity, only the centered coordinate data in the LAS file is extracted, and combined with the point cloud semantic segmentation labels from the above steps, to form an n x 4 column two-dimensional dataset, i.e. The data is then processed in the format of a NumPy array and stored as an npy file. Through this process, the original dataset S0 is obtained.
[0065] Step 102: Based on the point cloud data of the transmission line, the towers, conductors, ground, and insulator strings are freely combined using a data synthesis method based on physical constraints to generate a new point cloud dataset S1. The original dataset S0 is then merged with the point cloud dataset S1 to obtain the point cloud dataset S2 for training.
[0066] In one embodiment, step 102 involves using the point cloud data of the transmission line and a data synthesis method based on physical constraints to freely combine the point clouds of towers, conductors, ground, and insulator strings to generate a new point cloud dataset S1, specifically including:
[0067] S21. Generate conductors using a catenary method; in the visualization software, annotate the movable areas in the tower point cloud and represent the movement range of the insulator string as a straight line along the cross-section of the tower.
[0068] S22. Randomly select a range from the set of ground points and then perform a random rotation operation on it; randomly select a point from the selected ground points as the tower position, and then merge the tower with the ground point;
[0069] S23. Classify the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replace the insulator strings of the same type; then, move them randomly according to the insulator string movement range extracted in step S22.
[0070] S24. Randomly combine transmission towers and generate conductors / ground wires connecting in-phase insulator strings of adjacent towers using the catenary equation;
[0071] S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
[0072] Regarding step 102, it should be noted that, firstly, this application proposes a data synthesis method based on physical constraints. Since the coupling method between towers, conductors, insulator strings, and the ground in transmission lines is relatively simple, and conductors can be generated using a catenary method, the tower point cloud, ground point cloud, and insulator string point cloud can be freely combined to achieve data augmentation. Since the insulator string mainly moves within a limited area of the tower, the movable area in the tower point cloud is labeled using point cloud visualization software such as Lidar360. The movement range of the insulator string can be represented as a straight line along the cross-section of the tower, with both endpoints labeled and recorded as... Then store it as a k×6 matrix.
[0073] Next, a certain range is randomly selected from the set of ground points, and then a separate random rotation operation is performed on it. A point is randomly selected from the chosen ground points as the tower position, and then the tower is combined with the ground point.
[0074] Then, the insulator strings are classified into I-type, L-type, and V-type strings. Insulator strings of the same type are then randomly replaced. Finally, the insulator strings are randomly moved according to the movement range extracted in the previous steps.
[0075] Next, by randomly combining transmission towers, conductors / ground wires connecting the insulator strings of adjacent towers of the same phase are generated using the catenary equation. The ground wire is typically a single-strand conductor, while the conductors are typically split conductors, obtained by translating the single-strand conductors.
[0076] Finally, new transmission line point cloud data is obtained through the above steps, and the above steps are repeated to obtain a new point cloud dataset S1. The original dataset S0 and the synthetic dataset S1 are merged to obtain the training dataset S2.
[0077] Step 103: Process the point cloud data of point cloud dataset S2 by one or any combination of point jitter, rotation around the z-axis, and scaling transformation, and downsample the processed point cloud dataset S2 to obtain the self-built dataset.
[0078] In one embodiment, step 102, which involves processing the point cloud data of the point cloud dataset S2 using one or any combination of point dithering, rotation around the z-axis, and scaling transformation, specifically includes:
[0079] The point cloud data of point cloud dataset S2 is used as a Two-dimensional array ,in ,express Spatial location information of each point;
[0080] The point cloud data of the point cloud dataset S2 is processed by one or any combination of point dithering, rotation around the z-axis, and scaling transformation.
[0081] Regarding step 103, it should be noted that, firstly, point dithering, rotation around the z-axis, and scaling transformations are applied to the point cloud data; these three methods can be used individually or in combination. The point cloud is considered as a... Two-dimensional array ,in Let represent the spatial location information of i points. The point dithering algorithm adds a certain degree of Gaussian noise to the three-dimensional coordinate information of each point, and its calculation process can be expressed as follows: ,in , It is an adjustable parameter. The algorithm for rotating the point cloud around the z-axis can be expressed as: Where θ is the angle of rotation of the point cloud about the z-axis, and is an adjustable parameter of the function. The scaling transformation can be expressed as... .
[0082] Next, since neural network inputs often require a fixed data size, while point clouds exhibit significant uncertainty, it is necessary to downsample the dataset to make n equal to 2048. Here, the farthest point sampling method is used. The process of farthest point sampling is as follows:
[0083] ① The input point cloud has N points. Select a point P0 from the point cloud as the starting point to obtain the sampling point set S={P0};
[0084] ② Calculate the distance from all points to P0, form an N-dimensional array L, select the point corresponding to the maximum value as P1, and update the sampling point set S={P0, P1};
[0085] ③ Calculate the distance from all points to P1. For each point Pi, if its distance to P1 is less than L[i], then update L[i]=d(Pi,P1). Therefore, the array L always stores the shortest distance from each point to the set of sampling points S.
[0086] ④ Select the point corresponding to the maximum value in L as P2, and update the sampling point set S={P0, P1, P2};
[0087] ⑤ Repeat steps ②-④ until N' target sampling points are reached.
[0088] Step 104: After pre-training the point cloud mask autoencoder, perform semantic segmentation transfer learning on the network based on the self-built dataset to obtain a self-supervised learning model for semantic segmentation of transmission line point clouds based on the mask autoencoder.
[0089] Regarding step 104, it should be noted that this application first pre-trains the point cloud mask autoencoder on ShapeNet, enabling the network to learn better data priors on a larger dataset. Then, semantic segmentation transfer learning is performed on a self-built dataset, ultimately achieving an mIoU of over 86%. This demonstrates better performance compared to the PointNet-based semantic segmentation model, which achieves an mIoU of 80.79% in this task.
[0090] This application provides a novel data augmentation method for semantic segmentation of transmission line point clouds. By combining and arranging manually segmented transmission line point cloud datasets, the diversity of point cloud data is increased, further improving the accuracy of transmission line semantic segmentation. Then, combining the principle of MAE (Mask Autoencoder), a self-supervised learning model for transmission line point cloud semantic segmentation based on MAE is proposed. Compared with supervised learning methods, the self-supervised learning method has stronger generalization ability. It can be pre-trained on large-scale point cloud datasets and then achieves good generalization performance with only a few samples. This significantly reduces the data requirements and annotation costs of point cloud data, solving the problems of point cloud data scarcity and difficulty in point cloud data annotation.
[0091] The above is a semantic segmentation method for pole point clouds provided in the embodiments of this application. The following is a semantic segmentation system for pole point clouds provided in the embodiments of this application.
[0092] Please see Figure 2 The present application provides a semantic segmentation system for pole point clouds, comprising:
[0093] The first generation unit 201 is used to collect point cloud data of transmission lines, segment and center the point cloud data, and perform manual semantic segmentation on the point cloud data. The centralized point cloud data and the manually semantically segmented labels are combined to form two-dimensional data and serve as the original dataset S0.
[0094] The second generation unit 202 is used to freely combine the point clouds of towers, conductors, ground and insulator strings according to the point cloud data of the transmission line and the data synthesis method based on physical constraints to generate a new point cloud dataset S1. The original dataset S0 is merged with the point cloud dataset S1 to obtain the point cloud dataset S2 for training.
[0095] The data processing unit 203 is used to process the point cloud data of the point cloud dataset S2 by one or any combination of point jitter, rotation around the z-axis, and scaling transformation, and to downsample the processed point cloud dataset S2 to obtain a self-built dataset.
[0096] Training unit 204 is used to pre-train the point cloud mask autoencoder and then perform semantic segmentation transfer learning on the network based on a self-built dataset to obtain a self-supervised learning model for semantic segmentation of transmission line point clouds based on the mask autoencoder.
[0097] In one embodiment, in the first generation unit 201, the point cloud data is segmented and then centered, and simultaneously, the point cloud data is manually semantically segmented, specifically including:
[0098] Using the tower location as the center and a radius of four times the tower width, the point cloud data is segmented, and each segment is centered. The formula for calculating the centered coordinates is as follows:
[0099] ;
[0100] Where, coordinates This represents the average coordinates of each segment of point cloud data.
[0101] Manual semantic segmentation was performed on the point cloud data to segment it into several categories, including: towers, conductors, ground wires, insulator strings, tension strings, and ground points.
[0102] In one embodiment, the second generation unit 202, based on the point cloud data of the transmission line, uses a data synthesis method based on physical constraints to freely combine the point clouds of towers, conductors, ground, and insulator strings to generate a new point cloud dataset S1, specifically including:
[0103] S21. Generate conductors using a catenary method; in the visualization software, annotate the movable areas in the tower point cloud and represent the movement range of the insulator string as a straight line along the cross-section of the tower;
[0104] S22. Randomly select a range from the set of ground points and then perform a random rotation operation on it; randomly select a point from the selected ground points as the tower position, and then merge the tower with the ground point;
[0105] S23. Classify the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replace the insulator strings of the same type; then, move them randomly according to the insulator string movement range extracted in step S22.
[0106] S24. Randomly combine transmission towers and generate conductors / ground wires connecting in-phase insulator strings of adjacent towers using the catenary equation;
[0107] S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
[0108] In one embodiment, the data processing unit 203 processes the point cloud data of the point cloud dataset S2 using one or any combination of point dithering, rotation around the z-axis, and scaling transformation, specifically including:
[0109] The point cloud data of point cloud dataset S2 is used as a Two-dimensional array ,in ,express Spatial location information of each point;
[0110] The point cloud data of the point cloud dataset S2 is processed by one or any combination of point dithering, rotation around the z-axis, and scaling transformation.
[0111] Furthermore, this application embodiment also provides a pole point cloud semantic segmentation device, the device including a processor and a memory:
[0112] The memory is used to store program code and transmit the program code to the processor;
[0113] The processor is used to execute the steps of the pole point cloud semantic segmentation method as described in the above method embodiments, according to the instructions in the program code.
[0114] Furthermore, this application embodiment also provides a computer-readable storage medium for storing program code, which is used to execute the pole point cloud semantic segmentation method described in the above method embodiment.
[0115] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the system and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0116] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0117] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent three cases: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0118] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between apparatuses or units through some interfaces, and may be electrical, mechanical, or other forms.
[0119] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0120] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0121] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes: USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media capable of storing program code.
[0122] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A tower point cloud semantic segmentation method, characterized in that: include: Collect point cloud data of the transmission line, segment the point cloud data and then centralize it, perform manual semantic segmentation on the point cloud data, combine the centralized point cloud data and the manual semantic segmentation labels to form two-dimensional data as the original data set S0; According to the point cloud data of the transmission line, the tower, conductor, ground, and insulator string are freely combined in point cloud based on the data synthesis method of physical constraints to generate a new point cloud data set S1, and the original data set S0 is merged with the point cloud data set S1 to obtain the training point cloud data set S2; The point cloud data of the point cloud data set S2 is processed by one of point jittering, rotation around the z-axis, and scaling transformation, or any combination thereof, and the processed point cloud data set S2 is downsampled to obtain a self-built data set; After pre-training the point cloud mask autoencoder, semantic segmentation transfer learning is performed on the network based on the self-built data set to obtain a power transmission line point cloud semantic segmentation self-supervised learning model based on the mask autoencoder.
2. The tower point cloud semantic segmentation method according to claim 1, characterized in that: The point cloud data is segmented and then centralized, and the point cloud data is manually semantically segmented, specifically including: Taking the tower position as the center and the length of 4 times the tower width as the radius, the point cloud data is segmented and each segment of data is centered respectively. The calculation formula of the centered coordinates is: ; Among them, the coordinates is the average value of the coordinates of each segment of point cloud data; Manual semantic segmentation is performed on the point cloud data to segment several types of point cloud data including: pole towers, conductors, ground wires, insulator strings, tension strings, and ground points.
3. The tower point cloud semantic segmentation method according to claim 1, characterized in that: According to the point cloud data of the transmission line, the tower, the conductor, the ground, and the insulator string are freely combined into point clouds in a data synthesis method based on physical constraints to generate a new point cloud data set S1, which specifically includes: S21. Generate a conductor by a catenary method; in the visualization software, annotate the movable area in the tower point cloud, and represent the moving range of the insulator string as a straight line along the cross section of the tower; S22, randomly cutting out a number of ranges from the ground point set, and then performing a separate random rotation operation on them; randomly selecting a point from the selected ground points as the tower position, and then merging the tower with the ground point; S23, classifying the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replacing the insulator strings of the same type; then, randomly moving the insulator strings according to the moving range of the insulator strings extracted in step S22; S24, randomly combining transmission towers, and generating conductors / ground wires connecting insulator strings of the same phase of adjacent towers through a catenary equation; S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
4. The tower point cloud semantic segmentation method according to claim 1, characterized in that: The processing of the point cloud data of the point cloud data set S2 by one of point jittering, rotation around the z-axis, and scaling transformation, or any combination thereof, specifically includes: The point cloud data of point cloud dataset S2 is used as a Two-dimensional array of ,in ,express The spatial location information of each point; The point cloud data of the point cloud data set S2 is processed by one of point jittering, rotation around the z-axis, and scaling transformation, or any combination thereof.
5. A tower point cloud semantic segmentation system, characterized in that: include: A first generating unit is used to collect point cloud data of the transmission line, segment the point cloud data and then centralize it, and perform manual semantic segmentation on the point cloud data, and combine the centralized point cloud data and the manual semantic segmentation labels to form two-dimensional data as the original data set S0; The second generating unit is used to freely combine the point clouds of the tower, the conductor, the ground, and the insulator string according to the point cloud data of the transmission line in a data synthesis method based on physical constraints to generate a new point cloud data set S1, and merge the original data set S0 with the point cloud data set S1 to obtain a training point cloud data set S2; A data processing unit, used to process the point cloud data of the point cloud data set S2 by one of point jitter, rotation around the z-axis, and scaling transformation, or any combination thereof, and downsample the processed point cloud data set S2 to obtain a self-built data set; The training unit is used to perform semantic segmentation transfer learning on the network based on the self-built data set after pre-training the point cloud mask autoencoder, so as to obtain a power transmission line point cloud semantic segmentation self-supervised learning model based on the mask autoencoder.
6. The tower point cloud semantic segmentation system according to claim 5, characterized in that: The point cloud data is segmented and then centralized, and the point cloud data is manually semantically segmented, specifically including: Taking the tower position as the center and the length of 4 times the tower width as the radius, the point cloud data is segmented and each segment of data is centered respectively. The calculation formula of the centered coordinates is: ; Among them, the coordinates is the average value of the coordinates of each segment of point cloud data; Manual semantic segmentation is performed on the point cloud data to segment several types of point cloud data including: pole towers, conductors, ground wires, insulator strings, tension strings, and ground points.
7. The tower point cloud semantic segmentation system according to claim 5, characterized in that: According to the point cloud data of the transmission line, the tower, the conductor, the ground, and the insulator string are freely combined into point clouds in a data synthesis method based on physical constraints to generate a new point cloud data set S1, which specifically includes: S21. Generate a conductor by a catenary method; in the visualization software, annotate the movable area in the tower point cloud, and represent the moving range of the insulator string as a straight line along the cross section of the tower; S22, randomly cutting out a number of ranges from the ground point set, and then performing a separate random rotation operation on them; randomly selecting a point from the selected ground points as the tower position, and then merging the tower with the ground point; S23, classifying the insulator strings into I-type strings, L-type strings, and V-type strings; then randomly replacing the insulator strings of the same type; then, randomly moving the insulator strings according to the moving range of the insulator strings extracted in step S22; S24, randomly combining transmission towers, and generating conductors / ground wires connecting insulator strings of the same phase of adjacent towers through a catenary equation; S25. Repeat steps S21-S24 to obtain a new point cloud dataset S1.
8. The tower point cloud semantic segmentation system according to claim 5, characterized in that: The processing of the point cloud data of the point cloud data set S2 by one of point jittering, rotation around the z-axis, and scaling transformation, or any combination thereof, specifically includes: The point cloud data of point cloud dataset S2 is used as a Two-dimensional array of ,in ,express The spatial location information of each point; The point cloud data of the point cloud data set S2 is processed by one of point jittering, rotation around the z-axis, and scaling transformation, or any combination thereof.
9. A tower point cloud semantic segmentation device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the tower point cloud semantic segmentation method according to any one of claims 1-4 according to the instructions in the program code.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program codes, and the program codes are used to execute the tower point cloud semantic segmentation method according to any one of claims 1 to 4.
