Transmission line detection method, device, equipment and medium based on point cloud data
Through the detection method based on point cloud data, the problem of low safety of surveyors in on-site measurements is solved. Through the processing of point cloud data and multispectral data, tree felling information is generated, which improves survey safety and accuracy.
Patent Information
- Application Number
- CN202410650994.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-24
AI Technical Summary
In the existing technology, surveyors use on-site measurements to detect trees near transmission lines, which poses safety risks. In particular, they need to climb higher to measure taller trees and multiple climbs to measure tree species information, resulting in reduced survey safety.
Using a detection method based on point cloud data, by collecting the initial transmission point cloud data set and transmission multispectral data, elevation modeling, classification, single tree segmentation and tree species information processing are performed, and the pre-trained single tree height prediction model is used to generate trees. Cut down information and reduce the frequency of surveyors’ climbing.
The safety of surveyors is improved. Through accurate point cloud data and multi-spectral data processing, the risk of on-site measurement of surveyors is reduced, and the accuracy and efficiency of tree felling are improved.
Smart Images

Figure CN118230232B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, device, equipment, and medium for power transmission line detection based on point cloud data. Background Art
[0002] By inspecting the transmission lines, trees that are in the way of the transmission lines can be detected, so that the trees that affect the transmission lines can be cut down, which can improve the safety of the transmission lines. At present, the usual way to inspect the transmission lines is that surveyors measure the tree species information near the transmission lines through on-site measurements, so that the trees that grow too high can be cut down, so that the transmission lines and the trees keep a safe distance.
[0003] However, the above method usually has the following technical problems:
[0004] First, when surveyors conduct on-site measurements, they need to measure every tree. Since some trees to be measured are too high, surveyors need to climb high to measure the height of taller trees using a triangulator, which reduces the safety of surveyors' surveys.
[0005] Second, surveyors can only measure tree species information at the current time. In order to prevent trees from affecting power transmission lines, surveyors need to climb high several times to measure tree species information at different times, which reduces the safety of surveyors' surveys.
[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0008] Some embodiments of the present disclosure propose a method, apparatus, device and medium for power transmission line detection based on point cloud data to solve one or more of the technical problems mentioned in the above background technology section.
[0009] In a first aspect, some embodiments of the present disclosure provide a method for power transmission line detection based on point cloud data, the method comprising: collecting an initial power transmission point cloud data set and power transmission multispectral data; performing elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; performing classification processing on the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; performing single tree segmentation processing on the tree elevation model to generate a single tree segmentation result; performing correction classification processing on the power transmission multispectral data to generate a power transmission multispectral classification information set; The above-mentioned single tree segmentation results and the above-mentioned power transmission multi-spectral classification information set are associated with each other to generate a single tree species information set; each single tree species information in the above-mentioned single tree species information set is input into a pre-trained single tree height prediction model to generate single tree height prediction information, and obtain a single tree height prediction information set; the above-mentioned power transmission point cloud classification data set and the above-mentioned single tree height prediction information set are subjected to power transmission line detection processing to generate tree felling information; the above-mentioned tree felling information is sent to a management terminal to fell the trees corresponding to the above-mentioned tree felling information.
[0010] In a second aspect, some embodiments of the present disclosure provide a power transmission line detection device based on point cloud data, the device comprising: a collection unit, configured to collect an initial power transmission point cloud data set and power transmission multispectral data; a modeling unit, configured to perform elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; a classification unit, configured to perform classification processing on the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; a segmentation unit, configured to perform single tree segmentation processing on the tree elevation model to generate a single tree segmentation result; a correction classification unit, configured to perform correction classification processing on the power transmission multispectral data to generate a power transmission multispectral classification data set. class information set; an association unit, configured to associate the above-mentioned single tree segmentation result with the above-mentioned power transmission multi-spectral classification information set to generate a single tree species information set; an input unit, configured to input each single tree species information in the above-mentioned single tree species information set into a pre-trained single tree height prediction model to generate single tree height prediction information, and obtain a single tree height prediction information set; a detection unit, configured to perform power transmission line detection processing on the above-mentioned power transmission point cloud classification data set and the above-mentioned single tree height prediction information set to generate tree felling information; a sending unit, configured to send the above-mentioned tree felling information to a management terminal, so as to cut down the trees corresponding to the above-mentioned tree felling information.
[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0013] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the transmission line detection method based on point cloud data of some embodiments of the present disclosure, the safety of surveyors in conducting surveys can be improved. Specifically, the reason for the reduced safety of surveyors in conducting surveys is that: through the on-site measurement method of surveyors, surveyors need to measure each tree. Since some trees to be measured are too high, surveyors need to climb to measure the height of taller trees through triangulation. Based on this, the transmission line detection method based on point cloud data of some embodiments of the present disclosure first collects initial transmission point cloud data sets and transmission multispectral data. Thus, the method of collecting initial transmission point cloud data sets and transmission multispectral data can replace the method of on-site measurement by surveyors, and relatively accurate initial transmission point cloud data sets and transmission multispectral data can be collected. Secondly, the above-mentioned initial transmission point cloud data sets are subjected to elevation modeling processing to generate a tree elevation model. Thus, the tree elevation model can be obtained so as to generate a single tree segmentation result later. Then, the above-mentioned initial transmission point cloud data sets are classified to generate a transmission point cloud classification data set. Thus, a set of power transmission point cloud classification data can be obtained for subsequent power transmission line detection processing. Next, the above-mentioned tree elevation model is subjected to single tree segmentation processing to generate a single tree segmentation result. Thus, a single tree segmentation result can be obtained so that single tree species information can be generated subsequently. Then, the above-mentioned power transmission multispectral data is subjected to correction classification processing to generate a power transmission multispectral classification information set. Thus, a power transmission multispectral classification information set can be obtained so that single tree species information can be obtained subsequently. Then, the above-mentioned single tree segmentation result and the above-mentioned power transmission multispectral classification information set are associated to generate a single tree species information set. Thus, a more accurate single tree species information set that takes into account point cloud data and multispectral data can be obtained. Afterwards, each single tree species information in the above-mentioned single tree species information set is input into a pre-trained single tree height prediction model to generate single tree height prediction information and obtain a single tree height prediction information set. Thus, the single tree height prediction information can be predicted by the single tree height prediction model. After that, the above-mentioned transmission point cloud classification data set and the above-mentioned single tree height prediction information set are subjected to transmission line detection processing to generate tree felling information. Thus, transmission line detection processing can be performed to obtain tree felling information that needs to be felled. Finally, the above-mentioned tree felling information is sent to the management terminal to perform felling processing on the trees corresponding to the above-mentioned tree felling information. Thus, the corresponding trees can be felled through the management terminal. Thus, by collecting the initial transmission point cloud data set and transmission multi-spectral data, a relatively accurate initial transmission point cloud data set and transmission multi-spectral data can be collected instead of the survey personnel performing on-site measurements. Furthermore, the trees can be felled more accurately through the relatively accurate initial transmission point cloud data set and transmission multi-spectral data.Therefore, the safety of surveying by surveyors can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0015] Figure 1 is a flow chart of some embodiments of a power transmission line detection method based on point cloud data according to the present disclosure;
[0016] Figure 2 is a schematic structural diagram of some embodiments of a power transmission line detection device based on point cloud data according to the present disclosure;
[0017] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] refer to Figure 1 , shows a process 100 of some embodiments of the power transmission line detection method based on point cloud data according to the present disclosure. The power transmission line detection method based on point cloud data comprises the following steps:
[0025] Step 101: Collect initial power transmission point cloud data set and power transmission multispectral data.
[0026] In some embodiments, the execution subject (e.g., computing device) of the power transmission line detection method based on point cloud data may collect the initial power transmission point cloud data set and the power transmission multispectral data by wired connection or wireless connection. In practice, first, the execution subject may collect the initial power transmission point cloud data set by a preset point cloud acquisition device. Then, the execution subject may collect the power transmission multispectral data by a preset multispectral acquisition device. Among them, the initial power transmission point cloud data in the initial power transmission point cloud data set may represent the point cloud data of the power transmission line. The power transmission multispectral data may represent the multispectral of the power transmission line. For example, the preset point cloud acquisition device may be, but is not limited to: an RTK (Real-time kinematic) measuring instrument, a backpack radar, and a stand-mounted scanner. The preset multispectral acquisition device may be a multispectral sensor. Here, the initial power transmission point cloud data set may correspond to the curve of the power transmission line. The initial power transmission point cloud data in the initial power transmission point cloud data set may correspond to a point in the curve of the power transmission line.
[0027] Step 102: Perform elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model.
[0028] In some embodiments, the execution entity may perform elevation modeling processing on the initial power transmission point cloud dataset to generate a tree elevation model.
[0029] In practice, the execution entity may perform elevation modeling on the initial power transmission point cloud dataset to generate a tree elevation model by the following steps:
[0030] The first step is to perform noise reduction processing on the above-mentioned initial power transmission point cloud data set to generate a power transmission noise reduction point cloud data set. In practice, the above-mentioned execution subject can perform noise reduction processing on each initial power transmission point cloud data in the above-mentioned initial power transmission point cloud data set by using a preset noise reduction algorithm to generate power transmission noise reduction point cloud data and obtain a power transmission noise reduction point cloud data set. For example, the preset noise reduction algorithm can be but is not limited to: mean filtering, wavelet transform, adaptive Kalman filtering.
[0031] The second step is to extract and process the above-mentioned power transmission noise reduction point cloud dataset to generate a power transmission ground dataset. In practice, the above-mentioned execution subject can extract and process the above-mentioned power transmission noise reduction point cloud dataset through a preset extraction algorithm to generate a power transmission ground dataset. For example, the preset extraction algorithm can be but is not limited to: height threshold method, terrain feature method, segmentation and classification method, texture feature method.
[0032] The third step is to perform fitting processing on the above-mentioned power transmission ground data set to generate a power transmission elevation model. In practice, the above-mentioned execution subject can perform fitting processing on the above-mentioned power transmission ground data set through a preset fitting algorithm to generate a power transmission elevation model. For example, the preset fitting algorithm can be, but is not limited to: a triangulated network interpolation algorithm, a triangulated irregular network model algorithm.
[0033] The fourth step is to perform modeling processing on the power transmission ground data set to generate a power transmission surface model. In practice, the above-mentioned execution subject can perform modeling processing on the power transmission ground data set through a preset modeling algorithm to generate a power transmission surface model. For example, the preset modeling algorithm can be, but is not limited to: a stereo matching algorithm, a radar interferometry algorithm.
[0034] The fifth step is to perform subtraction calculation on the power transmission surface model and the power transmission elevation model to obtain a tree elevation model. Here, the tree elevation model can be a difference model obtained by subtracting the power transmission elevation model from the power transmission surface model.
[0035] Step 103: classify the initial power transmission point cloud data set to generate a power transmission point cloud classification data set.
[0036] In some embodiments, the execution entity may classify the initial power transmission point cloud data set to generate a power transmission point cloud classification data set.
[0037] In practice, the execution entity may classify the initial power transmission point cloud data set through the following steps to generate a power transmission point cloud classification data set:
[0038] The first step is to select initial power transmission point cloud data from the initial power transmission point cloud data set as the power transmission point cloud selection data. In practice, the execution entity may select initial power transmission point cloud data that meets a preset selection condition from the initial power transmission point cloud data set as the power transmission point cloud selection data. The preset selection condition may be: selecting the initial power transmission point cloud data corresponding to the starting point of the curve represented by the initial power transmission point cloud data set from the initial power transmission point cloud data set.
[0039] The second step is to connect the above-mentioned transmission point cloud selection data and the initial transmission point cloud data corresponding to the above-mentioned transmission point cloud selection data to generate transmission point cloud connection information. In practice, the above-mentioned execution entity can connect the points corresponding to the above-mentioned transmission point cloud selection data and the points corresponding to the initial transmission point cloud data corresponding to the above-mentioned transmission point cloud selection data to generate transmission point cloud connection information. Among them, the transmission point cloud connection information may include but is not limited to at least one of the following: transmission point cloud selection data, initial transmission point cloud data corresponding to the transmission point cloud selection data. Here, the initial transmission point cloud data corresponding to the transmission point cloud selection data can be: the initial transmission point cloud data corresponding to the end point of the curve represented by the initial transmission point cloud data set.
[0040] In a third step, an initial power transmission point cloud data set from which the power transmission point cloud selected data and the initial power transmission point cloud data corresponding to the power transmission point cloud selected data are removed is determined as the power transmission point cloud data set.
[0041] The fourth step is to determine the point cloud distance value corresponding to the transmission point cloud data and the transmission point cloud connection information for each transmission point cloud data in the transmission point cloud data set. In practice, for each transmission point cloud data in the transmission point cloud data set, the execution entity may determine the point cloud distance value corresponding to the transmission point cloud data and the transmission point cloud connection information by using a preset point cloud distance algorithm. For example, the preset point cloud distance algorithm may be: draw a perpendicular line from the point corresponding to the transmission point cloud data to the connection line corresponding to the transmission point cloud connection information, and determine the length of the perpendicular line as the point cloud distance value.
[0042] In the fifth step, in response to determining that the largest point cloud distance value among the obtained point cloud distance values is less than or equal to the preset point cloud distance value, the above-mentioned power transmission point cloud selection information and the initial power transmission point cloud data corresponding to the above-mentioned power transmission point cloud selection information are determined as the power transmission point cloud sparse data set.
[0043] In the sixth step, in response to determining that the largest point cloud distance value among the obtained point cloud distance values is greater than the above-mentioned preset point cloud distance value, the above-mentioned transmission point cloud data set is divided and processed to generate a transmission point cloud division data set. In practice, in response to determining that the largest point cloud distance value among the obtained point cloud distance values is greater than the above-mentioned preset point cloud distance value, the above-mentioned execution subject may divide and process the above-mentioned transmission point cloud data set through a preset division algorithm to generate a transmission point cloud division data set. For example, the preset division algorithm may be: first, the transmission point cloud data corresponding to the largest point cloud distance value among the obtained point cloud distance values is determined as the target transmission point cloud data. Then, each initial transmission point cloud data between the initial transmission point cloud data representing the starting point and the target transmission point cloud data in the initial transmission point cloud data set is determined as a transmission point cloud division data set in the transmission point cloud division data set. Among them, the transmission point cloud division data set is initially empty. Afterwards, each initial power transmission point cloud data between the target power transmission point cloud data and the initial power transmission point cloud data representing the end point in the initial power transmission point cloud data set is determined as a power transmission point cloud division data group in the power transmission point cloud division data group set.
[0044] Step 7: For each power transmission point cloud partition data group in the power transmission point cloud partition data group set, perform the following processing sub-steps:
[0045] The first sub-step is to select the transmission point cloud division data from the transmission point cloud division data group as the target transmission point cloud selection data. In practice, the above-mentioned execution subject can select the transmission point cloud division data from the transmission point cloud division data group as the target transmission point cloud selection data by using a preset selection algorithm. For example, the preset selection algorithm can be: selecting the transmission point cloud division data representing the starting point of the curve in the transmission point cloud division data group.
[0046] The second sub-step is to connect the target transmission point cloud selection data and the transmission point cloud division data corresponding to the target transmission point cloud selection data to generate the target transmission point cloud connection information. In practice, the above-mentioned execution subject can connect the points corresponding to the target transmission point cloud selection data and the points corresponding to the transmission point cloud division data corresponding to the target transmission point cloud selection data to generate the target transmission point cloud connection information. Among them, the target transmission point cloud connection information may include but is not limited to at least one of the following: target transmission point cloud selection data, transmission point cloud division data corresponding to the target transmission point cloud selection data. Here, the transmission point cloud division data corresponding to the target transmission point cloud selection data can be: the transmission point cloud division data representing the end point of the curve in the transmission point cloud division data group.
[0047] In a third sub-step, the transmission point cloud division data group from which the target transmission point cloud selection data and the transmission point cloud division data corresponding to the target transmission point cloud selection data are removed is determined as the transmission point cloud removal data group.
[0048] In a fourth sub-step, for each power transmission point cloud removed data in the power transmission point cloud removed data group, a target point cloud distance value corresponding to the power transmission point cloud removed data and the target power transmission point cloud connection information is determined. In practice, for each power transmission point cloud removed data in the power transmission point cloud removed data group, the execution subject may determine the target point cloud distance value corresponding to the power transmission point cloud removed data and the target power transmission point cloud connection information by using the preset point cloud distance algorithm.
[0049] In a fifth sub-step, in response to determining that the largest target point cloud distance value among the obtained target point cloud distance values is less than or equal to the preset point cloud distance value, the target power transmission point cloud selection data and the power transmission point cloud division data corresponding to the target power transmission point cloud selection data are added to the initial power transmission point cloud thinning data set. The initial power transmission point cloud thinning data set is initially empty.
[0050] In the eighth step, the initial power transmission point cloud sparse data set is determined as the power transmission point cloud sparse data set.
[0051] In the ninth step, each power transmission point cloud sparse data in the power transmission point cloud sparse data set is subjected to noise reduction processing to generate power transmission point cloud noise reduction data and obtain the power transmission point cloud noise reduction data set. In practice, the execution subject may perform noise reduction processing on each power transmission point cloud sparse data in the power transmission point cloud sparse data set by using the preset noise reduction algorithm to generate power transmission point cloud noise reduction data and obtain the power transmission point cloud noise reduction data set.
[0052] In the tenth step, the power transmission point cloud denoising data set is subjected to point cloud classification processing to generate a power transmission point cloud classification data set. In practice, the execution subject may perform point cloud classification processing on the power transmission point cloud denoising data set by using a preset point cloud classification algorithm to generate a power transmission point cloud classification data set. For example, the preset point cloud classification algorithm may be, but is not limited to, a K-means clustering algorithm, a convolutional neural network algorithm, or a random forest algorithm.
[0053] Optionally, the execution subject may further perform the following determination step in response to determining that the largest target point cloud distance value among the obtained target point cloud distance values is greater than the preset point cloud distance value:
[0054] The first step is to divide the power transmission point cloud removal data group to generate a target power transmission point cloud removal data group set. In practice, the above-mentioned execution subject can divide the power transmission point cloud removal data group through the above-mentioned preset division algorithm to generate a target power transmission point cloud removal data group set.
[0055] In the second step, for each target power transmission point cloud removed data group in the target power transmission point cloud removed data group set, the target power transmission point cloud removed data group is determined as a power transmission point cloud divided data group, so as to perform the above processing steps again.
[0056] Step 104, performing single tree segmentation processing on the tree elevation model to generate a single tree segmentation result.
[0057] In some embodiments, the execution entity may perform single tree segmentation processing on the tree elevation model to generate a single tree segmentation result. In practice, the execution entity may perform single tree segmentation processing on the tree elevation model using a preset single tree segmentation algorithm to generate a single tree segmentation result. For example, the preset single tree segmentation algorithm may be, but is not limited to, an ID3 (Iterative Dichotomiser 3, decision tree) algorithm, a CART (Classification and Regression Trees, classification and regression tree) algorithm, and a CHAID (Chi-squared Automatic Interaction Detection, Chi-squared automatic interaction detection) algorithm.
[0058] Step 105: perform correction and classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set.
[0059] In some embodiments, the execution entity may perform correction and classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set.
[0060] In practice, the execution subject may perform correction and classification processing on the power transmission multi-spectral data through the following steps to generate a power transmission multi-spectral classification information set:
[0061] The first step is to perform radiation calibration processing on the above-mentioned power transmission multi-spectral data to generate power transmission multi-spectral calibration data. In practice, the above-mentioned execution subject can perform radiation calibration processing on the above-mentioned power transmission multi-spectral data through a preset radiation calibration algorithm to generate power transmission multi-spectral calibration data. For example, the preset radiation calibration algorithm can be but is not limited to: reflectivity method, radiance method, irradiance method.
[0062] The second step is to perform a first correction process on the power transmission multi-spectral calibration data to generate first power transmission multi-spectral correction data. In practice, the execution subject may perform a first correction process on the power transmission multi-spectral calibration data through a first preset correction algorithm to generate first power transmission multi-spectral correction data. For example, the first preset correction algorithm may be a geometric correction algorithm (e.g., geometric transformation, image distortion correction, camera calibration and correction, etc.).
[0063] The third step is to perform a second correction process on the first power transmission multi-spectral correction data to generate second power transmission multi-spectral correction data. In practice, the execution subject may perform a second correction process on the first power transmission multi-spectral correction data through a second preset correction algorithm to generate second power transmission multi-spectral correction data. For example, the second preset correction algorithm may be an orthorectification algorithm (e.g., digital elevation model interpolation method, image registration method, terrain correction method).
[0064] In the fourth step, the second power transmission multi-spectral correction data is subjected to a third correction process to generate third power transmission multi-spectral correction data. In practice, the execution subject may perform a third correction process on the second power transmission multi-spectral correction data through a third preset correction algorithm to generate third power transmission multi-spectral correction data. For example, the third preset correction algorithm may be an atmospheric correction algorithm (e.g., an atmospheric transmittance model method, a histogram matching method, or a radiation transfer model method).
[0065] The fifth step is to perform noise reduction processing on the third power transmission multi-spectral correction data to generate power transmission multi-spectral correction data. In practice, the execution subject can perform noise reduction processing on the third power transmission multi-spectral correction data by the preset noise reduction algorithm to generate power transmission multi-spectral correction data.
[0066] The sixth step is to perform data classification processing on the above-mentioned power transmission multi-spectral correction data to generate a power transmission multi-spectral classification information set. In practice, the above-mentioned execution subject can perform data classification processing on the above-mentioned power transmission multi-spectral correction data through a preset data classification algorithm to generate a power transmission multi-spectral classification information set. For example, the preset data classification algorithm can be but is not limited to: maximum likelihood classification estimation algorithm, support vector machine algorithm, random forest algorithm.
[0067] Step 106: associate the single tree segmentation result with the power transmission multi-spectral classification information set to generate a single tree species information set.
[0068] In some embodiments, the execution entity may associate the single tree segmentation result with the power transmission multispectral classification information set to generate a single tree species information set. In practice, first, for each power transmission multispectral classification information in the power transmission multispectral classification information set, the execution entity may determine the power transmission multispectral classification information and the information corresponding to the power transmission multispectrum in the single tree segmentation result as single tree species information. Then, the execution entity may determine the determined individual single tree species information as a single tree species information set. Among them, the power transmission multispectral classification information in the power transmission multispectral classification information set may be multispectral information of a single tree (single tree). The single tree segmentation result may include point cloud data of each single tree.
[0069] Step 107: input each individual tree species information in the individual tree species information set into a pre-trained individual tree height prediction model to generate individual tree height prediction information, thereby obtaining an individual tree height prediction information set.
[0070] In some embodiments, the execution subject may input each tree species information in the tree species information set into a pre-trained tree height prediction model to generate tree height prediction information and obtain a tree height prediction information set. The tree height prediction model may be a pre-trained custom model that takes tree species information as input and tree height prediction information as output. The custom model may include three layers:
[0071] The first layer can be an input layer for passing individual tree species information to the second layer.
[0072] The second layer may include: a first sub-model and a second sub-model. The first sub-model may be a bidirectional long short-term memory network model that takes the tree species information as input and the first tree height prediction information as output. The second sub-model may be a differential integrated moving average autoregressive model that takes the tree species information as input and the second tree height prediction information as output.
[0073] The third layer may be an output layer, which is used to receive the outputs of the first sub-model and the second sub-model, respectively, and to use the weighted result of the outputs of the first sub-model and the second sub-model as the output of the entire predefined model. For example, first, the above-mentioned execution subject may determine the product of the numerical value corresponding to the first single tree height prediction information and the first weight as the first weighted single tree height prediction information. The first weight may be a preset weight corresponding to the first single tree height prediction information. For example, the first weight may be 0.5. Then, the above-mentioned execution subject may determine the product of the numerical value corresponding to the second single tree height prediction information and the second weight as the second weighted single tree height prediction information. The second weight may be a preset weight corresponding to the second single tree height prediction information. For example, the second weight may be 0.5. Afterwards, the above-mentioned execution subject may determine the sum of the first weighted single tree height prediction information and the second weighted single tree height prediction information as the single tree height prediction information. Finally, the above-mentioned execution subject may use the single tree height prediction information as the output of the entire custom model.
[0074] Optionally, the pre-trained single tree height prediction model can be obtained by training through the following steps:
[0075] The first step is to obtain the training sample set.
[0076] In some embodiments, the execution subject may obtain the training sample set from the terminal device via a wired connection or a wireless connection, wherein the training samples in the training sample set include: sample single tree species information and sample single tree height prediction information.
[0077] The second step is to select training samples from the above training sample set.
[0078] In some embodiments, the execution entity may select training samples from the training sample set. In practice, the execution entity may randomly select training samples from the training sample set.
[0079] The third step is to input the sample tree species information included in the selected training samples into the initial single tree height prediction model to obtain the initial single tree height prediction information.
[0080] In some embodiments, the execution entity may input the sample tree species information included in the selected training samples into the initial tree height prediction model to obtain initial tree height prediction information.
[0081] The fourth step is to determine the difference between the initial single tree height prediction information and the sample single tree height prediction information included in the selected training samples based on a preset loss function.
[0082] In some embodiments, based on a preset loss function, the execution subject may determine the difference between the initial single tree height prediction information and the sample single tree height prediction information included in the selected training sample. The preset loss function may be, but is not limited to, mean square error loss function (MSE), hinge loss function, cross entropy loss function (CrossEntropy), 0-1 loss function, absolute value loss function, log loss function, square loss function, exponential loss function, etc.
[0083] In a fifth step, in response to determining that the difference value is greater than or equal to a preset difference value, the network parameters of the initial single tree height prediction model are adjusted.
[0084] In some embodiments, in response to determining that the difference value is greater than or equal to a preset difference value, the execution entity may adjust the network parameters of the initial single tree height prediction model. For example, the difference between the difference value and the preset difference value may be calculated. On this basis, the error value is passed forward from the last layer of the model using back propagation, stochastic gradient descent and other methods to adjust the parameters of each layer. Of course, as needed, the network freezing (dropout) method may also be used to keep the network parameters of some layers unchanged and not adjust them, and no limitation is made to this. Among them, there is no limitation on the setting of the preset difference value, for example, the preset difference value may be 0.1.
[0085] Optionally, in response to determining that the difference value is less than the preset difference value, the initial single tree height prediction model is determined as the trained single tree height prediction model.
[0086] In some embodiments, the execution entity may determine the initial single tree height prediction model as a trained single tree height prediction model in response to determining that the difference value is less than the preset difference value.
[0087] The optional technical content in step 107, as an inventive point of an embodiment of the present disclosure, solves the second technical problem mentioned in the background technology, "reduced safety of surveyors in surveying". The factors that reduce the safety of surveyors in surveying are often as follows: surveyors can only measure the tree species information at the current time. In order to avoid the trees affecting the transmission lines, surveyors need to climb high several times to measure the tree species information at different times. If the above factors are solved, the effect of improving the safety of surveyors in surveying can be achieved. In order to achieve this effect, firstly, more accurate single tree height prediction information can be predicted through the three-layer model results included in the single tree height prediction model. Therefore, the single tree height prediction information can be predicted through the data of a surveyor's one-time climbing survey, so that trees that may affect the transmission lines can be cut down. Thereby, the frequency of surveyors climbing high can be reduced. Furthermore, the safety of surveyors in surveying can be improved.
[0088] Step 108, performing transmission line detection processing on the power transmission point cloud classification data set and the single tree height prediction information set to generate tree felling information.
[0089] In some embodiments, the execution entity may perform transmission line detection processing on the transmission point cloud classification data set and the single tree height prediction information set to generate tree felling information. In practice, the execution entity may perform transmission line detection processing on the transmission point cloud classification data set and the single tree height prediction information set by using a preset transmission line detection algorithm to generate tree felling information. The single tree height prediction information in the single tree height prediction information set may characterize the predicted height of a single tree. The transmission point cloud classification data set in the transmission point cloud classification data set may characterize the point cloud data of the transmission line within a preset range of a single tree (for example, the preset range may be a range with a single tree as the center and a radius of twenty meters). Here, the single tree height prediction information in the single tree height prediction information set may correspond to the transmission point cloud classification data set in the transmission point cloud classification data set. For example, the preset transmission line detection algorithm may be: for each transmission point cloud classification data group in the transmission point cloud classification data group set, first, the height of the lowest transmission line represented in the transmission point cloud classification data group is determined as the height threshold. Then, for each single tree height prediction information in the single tree height prediction information set, in response to determining that the value represented by the single tree height prediction information is greater than or equal to the height threshold, the single tree height prediction information is added to the tree felling information. The tree felling information is initially empty.
[0090] Step 109, sending the tree felling information to the management terminal, so as to fell the trees corresponding to the tree felling information.
[0091] In some embodiments, the execution subject may send the tree felling information to a management terminal to fell the trees corresponding to the tree felling information. The management terminal may be a terminal for controlling felling equipment to fell trees. For example, the felling equipment may be a fully automatic felling machine.
[0092] Optionally, the above execution entity may further perform the following steps:
[0093] The first step is to collect initial input image data. In practice, the execution subject can collect the initial input image data taken by the drone through a wired connection or a wireless connection. The initial input image data can represent the pictures taken by the drone.
[0094] The second step is to perform image correction and cropping processing on the above-mentioned initial film input image data to generate a film input image data set. In practice, the above-mentioned execution subject can perform image correction and cropping processing on the above-mentioned initial film input image data by using a preset image correction and cropping algorithm to generate a film input image data set. For example, the preset image correction and cropping algorithm may include but is not limited to at least one of the following: color adjustment algorithm (for example, histogram equalization, color balance, color mapping), image matching algorithm (for example, square difference matching algorithm, correlation coefficient matching algorithm, fast nearest neighbor matching algorithm, target detection algorithm), splicing algorithm (for example, fade-in and fade-out fusion algorithm, Poisson fusion algorithm, optimal seam line algorithm).
[0095] The third step is to perform 3D modeling processing on the above-mentioned power transmission point cloud classification data set to generate a power transmission 3D model. In practice, the above-mentioned execution subject can perform 3D modeling processing on the above-mentioned power transmission point cloud classification data set through a preset 3D modeling algorithm to generate a power transmission 3D model. For example, the preset 3D modeling algorithm can be a virtual texture LOD (Levels of Detail, detail level model) algorithm.
[0096] The fourth step is to fuse the above-mentioned transmission image data set, the above-mentioned power transmission three-dimensional model and the above-mentioned individual tree species information set to generate a three-dimensional model of power transmission trees, and send the above-mentioned three-dimensional model of power transmission trees to the above-mentioned management terminal. In practice, first, the above-mentioned execution subject can fuse the above-mentioned transmission image data set, the above-mentioned power transmission three-dimensional model and the above-mentioned individual tree species information set through a preset fusion algorithm to generate a three-dimensional model of power transmission trees. Then, the above-mentioned execution subject can send the above-mentioned three-dimensional model of power transmission trees to the above-mentioned management terminal. For example, the preset fusion algorithm can be: a space partitioning algorithm (for example, an octree, a KD (K-dimensional tree) tree).
[0097] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the transmission line detection method based on point cloud data of some embodiments of the present disclosure, the safety of surveyors in conducting surveys can be improved. Specifically, the reason for the reduced safety of surveyors in conducting surveys is that: through the on-site measurement method of surveyors, surveyors need to measure each tree. Since some trees to be measured are too high, surveyors need to climb to measure the height of taller trees through triangulation. Based on this, the transmission line detection method based on point cloud data of some embodiments of the present disclosure first collects initial transmission point cloud data sets and transmission multispectral data. Thus, the method of collecting initial transmission point cloud data sets and transmission multispectral data can replace the method of on-site measurement by surveyors, and relatively accurate initial transmission point cloud data sets and transmission multispectral data can be collected. Secondly, the above-mentioned initial transmission point cloud data sets are subjected to elevation modeling processing to generate a tree elevation model. Thus, the tree elevation model can be obtained so as to generate a single tree segmentation result later. Then, the above-mentioned initial transmission point cloud data sets are classified to generate a transmission point cloud classification data set. Thus, a set of power transmission point cloud classification data can be obtained for subsequent power transmission line detection processing. Next, the above-mentioned tree elevation model is subjected to single tree segmentation processing to generate a single tree segmentation result. Thus, a single tree segmentation result can be obtained so that single tree species information can be generated subsequently. Then, the above-mentioned power transmission multispectral data is subjected to correction classification processing to generate a power transmission multispectral classification information set. Thus, a power transmission multispectral classification information set can be obtained so that single tree species information can be obtained subsequently. Then, the above-mentioned single tree segmentation result and the above-mentioned power transmission multispectral classification information set are associated to generate a single tree species information set. Thus, a more accurate single tree species information set that takes into account point cloud data and multispectral data can be obtained. Afterwards, each single tree species information in the above-mentioned single tree species information set is input into a pre-trained single tree height prediction model to generate single tree height prediction information and obtain a single tree height prediction information set. Thus, the single tree height prediction information can be predicted by the single tree height prediction model. After that, the above-mentioned transmission point cloud classification data set and the above-mentioned single tree height prediction information set are subjected to transmission line detection processing to generate tree felling information. Thus, transmission line detection processing can be performed to obtain tree felling information that needs to be felled. Finally, the above-mentioned tree felling information is sent to the management terminal to perform felling processing on the trees corresponding to the above-mentioned tree felling information. Thus, the corresponding trees can be felled through the management terminal. Thus, by collecting the initial transmission point cloud data set and transmission multi-spectral data, a relatively accurate initial transmission point cloud data set and transmission multi-spectral data can be collected instead of the survey personnel performing on-site measurements. Furthermore, the trees can be felled more accurately through the relatively accurate initial transmission point cloud data set and transmission multi-spectral data.Therefore, the safety of surveying by surveyors can be improved.
[0098] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a power transmission line detection device based on point cloud data. These embodiments of the power transmission line detection device based on point cloud data are Figure 1 Corresponding to the method embodiments shown, the power transmission line detection device based on point cloud data can be specifically applied to various electronic devices.
[0099] like Figure 2 As shown, some embodiments of the power transmission line detection device 200 based on point cloud data include: a collection unit 201, a modeling unit 202, a classification unit 203, a segmentation unit 204, a correction classification unit 205, an association unit 206, an input unit 207, a detection unit 208 and a sending unit 209. Among them, the collection unit 201 is configured to collect an initial power transmission point cloud data set and a power transmission multi-spectral data; the modeling unit 202 is configured to perform elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; the classification unit 203 is configured to perform classification processing on the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; the segmentation unit 204 is configured to perform single tree segmentation processing on the tree elevation model to generate a single tree segmentation result; the correction classification unit 205 is configured to perform correction classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set; the association unit 206 is configured to The above-mentioned single tree segmentation result and the above-mentioned power transmission multi-spectral classification information set are associated with each other to generate a single tree species information set; the input unit 207 is configured to input each single tree species information in the above-mentioned single tree species information set into a pre-trained single tree height prediction model to generate single tree height prediction information and obtain a single tree height prediction information set; the detection unit 208 is configured to perform power transmission line detection processing on the above-mentioned power transmission point cloud classification data set and the above-mentioned single tree height prediction information set to generate tree felling information; the sending unit 209 is configured to send the above-mentioned tree felling information to the management terminal to cut down the trees corresponding to the above-mentioned tree felling information.
[0100] It can be understood that the units recorded in the power transmission line detection device 200 based on point cloud data are similar to those in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the power transmission line detection device 200 based on point cloud data and the units contained therein, and will not be described in detail here.
[0101] Reference below Figure 3, which shows a schematic diagram of the structure of an electronic device (such as a computing device) 300 suitable for implementing some embodiments of the present disclosure. The electronic devices in some embodiments of the present disclosure may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0102] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 to a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0103] Typically, the following devices may be connected to the I / O interface 305: an input device 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 308 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 309. The communication device 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0104] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0105] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0106] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0107] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device collects the initial power transmission point cloud data set and the power transmission multi-spectral data; performs elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; performs classification processing on the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; performs single tree segmentation processing on the tree elevation model to generate a single tree segmentation result; performs correction classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification data set. Information set; associate the above-mentioned single tree segmentation results with the above-mentioned power transmission multi-spectral classification information set to generate a single tree species information set; input each single tree species information in the above-mentioned single tree species information set into a pre-trained single tree height prediction model to generate single tree height prediction information, and obtain a single tree height prediction information set; perform power transmission line detection processing on the above-mentioned power transmission point cloud classification data set and the above-mentioned single tree height prediction information set to generate tree felling information; send the above-mentioned tree felling information to a management terminal to cut down the trees corresponding to the above-mentioned tree felling information.
[0108] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, a modeling unit, a classification unit, a segmentation unit, a correction classification unit, an association unit, an input unit, a detection unit and a sending unit. The names of these units do not constitute a limitation on the units themselves in some cases. For example, the acquisition unit may also be described as a "unit for collecting initial power transmission point cloud data sets and power transmission multispectral data".
[0111] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0112] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.
Claims
1. A transmission line detection method based on point cloud data, comprising: Collect initial power transmission point cloud data set and power transmission multispectral data; Performing elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; Classifying the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; Performing single tree segmentation processing on the tree elevation model to generate a single tree segmentation result; Performing correction and classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set; Associating the single tree segmentation result with the power transmission multi-spectral classification information set to generate a single tree species information set; Input each individual tree species information in the individual tree species information set into a pre-trained individual tree height prediction model to generate individual tree height prediction information, thereby obtaining an individual tree height prediction information set, wherein the individual tree height prediction model is a pre-trained custom model that takes individual tree species information as input and individual tree height prediction information as output, and the custom model includes three layers: The first layer is the input layer, which is used to pass the information of individual tree species to the second layer; The second layer includes: a first sub-model and a second sub-model, wherein the first sub-model is a bidirectional long short-term memory network model that takes the tree species information as input and the first tree height prediction information as output, and the second sub-model is a differential integrated moving average autoregressive model that takes the tree species information as input and the second tree height prediction information as output; The third layer is the output layer, which is used to receive the outputs of the first sub-model and the second sub-model respectively, and to use the weighted result of the outputs of the first sub-model and the second sub-model as the output of the entire predefined model, wherein the product of the numerical value corresponding to the first single tree height prediction information and the first weight is determined as the first weighted single tree height prediction information, and the first weight is a pre-set weight corresponding to the first single tree height prediction information; the product of the numerical value corresponding to the second single tree height prediction information and the second weight is determined as the second weighted single tree height prediction information, and the second weight is a pre-set weight corresponding to the second single tree height prediction information; the sum of the first weighted single tree height prediction information and the second weighted single tree height prediction information is determined as the single tree height prediction information; and the single tree height prediction information is used as the output of the entire custom model; The pre-trained single tree height prediction model is obtained by training through the following steps: Acquire a training sample set, wherein the training samples in the training sample set include: sample single tree species information and sample single tree height prediction information; Selecting training samples from the training sample set; Inputting the sample tree species information included in the selected training samples into the initial single tree height prediction model to obtain initial single tree height prediction information; Based on a preset loss function, determining a difference value between the initial single tree height prediction information and the sample single tree height prediction information included in the selected training sample; In response to determining that the difference value is greater than or equal to a preset difference value, adjusting a network parameter of the initial single tree height prediction model; In response to determining that the difference value is less than the preset difference value, determining the initial single tree height prediction model as a trained single tree height prediction model; Performing transmission line detection processing on the power transmission point cloud classification data set and the single tree height prediction information set to generate tree felling information; Sending the tree felling information to a management terminal so as to fell the trees corresponding to the tree felling information; The step of classifying the initial power transmission point cloud data set to generate a power transmission point cloud classification data set includes: Selecting initial power transmission point cloud data from the initial power transmission point cloud data set as power transmission point cloud selected data; Connecting the power transmission point cloud selected data and the initial power transmission point cloud data corresponding to the power transmission point cloud selected data to generate power transmission point cloud connection information; Determine an initial power transmission point cloud data set from which the power transmission point cloud selected data and the initial power transmission point cloud data corresponding to the power transmission point cloud selected data are removed as the power transmission point cloud data set; For each power transmission point cloud data in the power transmission point cloud data set, determining a point cloud distance value corresponding to the power transmission point cloud data and the power transmission point cloud connection information; In response to determining that the largest point cloud distance value among the obtained point cloud distance values is less than or equal to the preset point cloud distance value, determining the power transmission point cloud selection information and the initial power transmission point cloud data corresponding to the power transmission point cloud selection information as a power transmission point cloud thinning data set; In response to determining that the largest point cloud distance value among the obtained point cloud distance values is greater than the preset point cloud distance value, dividing the power transmission point cloud data set to generate a power transmission point cloud divided data set; For each power transmission point cloud partitioning data group in the power transmission point cloud partitioning data group set, the following processing steps are performed: Selecting power transmission point cloud division data from the power transmission point cloud division data group as target power transmission point cloud selection data; Connecting the target power transmission point cloud selection data and the power transmission point cloud division data corresponding to the target power transmission point cloud selection data to generate target power transmission point cloud connection information; Determine the transmission point cloud division data group from which the target transmission point cloud selection data and the transmission point cloud division data corresponding to the target transmission point cloud selection data are removed as the transmission point cloud removal data group; For each power transmission point cloud removed data in the power transmission point cloud removed data group, determining a target point cloud distance value corresponding to the power transmission point cloud removed data and the target power transmission point cloud connection information; In response to determining that the largest target point cloud distance value among the obtained target point cloud distance values is less than or equal to the preset point cloud distance value, adding the target power transmission point cloud selection data and the power transmission point cloud division data corresponding to the target power transmission point cloud selection data to the initial power transmission point cloud thinning data set, wherein the initial power transmission point cloud thinning data set is initially empty; Determine the initial power transmission point cloud thinning data set as the power transmission point cloud thinning data set; Performing denoising processing on each power transmission point cloud sparse data in the power transmission point cloud sparse data set to generate power transmission point cloud denoised data, thereby obtaining the power transmission point cloud denoised data set; Point cloud classification processing is performed on the power transmission point cloud denoising data set to generate a power transmission point cloud classification data set.
2. The method according to claim 1, wherein: The method further comprises: Collecting initial input image data; Performing image correction and cropping processing on the initial transmission image data to generate a transmission image data set; Performing three-dimensional modeling processing on the power transmission point cloud classification data set to generate a three-dimensional power transmission model; The transmission image data set, the transmission three-dimensional model and the individual tree species information set are fused to generate a transmission tree three-dimensional model, and the transmission tree three-dimensional model is sent to the management terminal.
3. The method according to claim 1, wherein: The performing elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model includes: Performing noise reduction processing on the initial power transmission point cloud dataset to generate a power transmission noise reduction point cloud dataset; Extracting and processing the power transmission noise reduction point cloud dataset to generate a power transmission ground dataset; Performing fitting processing on the power transmission ground data set to generate a power transmission elevation model; Modeling and processing the transmission ground data set to generate a transmission surface model; Subtraction calculation is performed on the power transmission surface model and the power transmission elevation model to obtain a tree elevation model.
4. The method according to claim 1, wherein: The correcting and classifying the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set includes: Performing radiation calibration processing on the power transmission multi-spectral data to generate power transmission multi-spectral calibration data; Performing a first correction process on the power transmission multi-spectrum calibration data to generate first power transmission multi-spectrum correction data; Performing a second correction process on the first power transmission multi-spectrum correction data to generate second power transmission multi-spectrum correction data; performing a third correction process on the second power transmission multi-spectrum correction data to generate third power transmission multi-spectrum correction data; Performing noise reduction processing on the third power transmission multi-spectrum correction data to generate power transmission multi-spectrum correction data; Data classification processing is performed on the power transmission multi-spectrum correction data to generate a power transmission multi-spectrum classification information set.
5. The method according to claim 4, wherein: The method further comprises: In response to determining that the largest target point cloud distance value among the obtained target point cloud distance values is greater than the preset point cloud distance value, the following determining steps are performed: The power transmission point cloud removal data group is divided and processed to generate a target power transmission point cloud removal data group set; For each target power transmission point cloud removed data group in the target power transmission point cloud removed data group set, the target power transmission point cloud removed data group is determined as a power transmission point cloud divided data group for performing the processing step again.
6. A power transmission line detection device based on point cloud data, comprising: A collection unit configured to collect an initial power transmission point cloud data set and power transmission multispectral data; A modeling unit configured to perform elevation modeling processing on the initial power transmission point cloud data set to generate a tree elevation model; A classification unit is configured to perform classification processing on the initial power transmission point cloud data set to generate a power transmission point cloud classification data set; A segmentation unit, configured to perform single-tree segmentation processing on the tree elevation model to generate a single-tree segmentation result; a correction and classification unit configured to perform correction and classification processing on the power transmission multi-spectral data to generate a power transmission multi-spectral classification information set; an associating unit configured to perform associative processing on the single tree segmentation result and the power transmission multi-spectral classification information set to generate a single tree species information set; The input unit is configured to input each individual tree species information in the individual tree species information set into a pre-trained individual tree height prediction model to generate individual tree height prediction information, thereby obtaining an individual tree height prediction information set, wherein the individual tree height prediction model is a pre-trained custom model that takes individual tree species information as input and takes individual tree height prediction information as output, and the custom model includes three layers: The first layer is the input layer, which is used to pass the information of individual tree species to the second layer; The second layer includes: a first sub-model and a second sub-model, wherein the first sub-model is a bidirectional long short-term memory network model that takes the tree species information as input and the first tree height prediction information as output, and the second sub-model is a differential integrated moving average autoregressive model that takes the tree species information as input and the second tree height prediction information as output; The third layer is the output layer, which is used to receive the outputs of the first sub-model and the second sub-model respectively, and to use the weighted result of the outputs of the first sub-model and the second sub-model as the output of the entire predefined model, wherein the product of the numerical value corresponding to the first single tree height prediction information and the first weight is determined as the first weighted single tree height prediction information, and the first weight is a pre-set weight corresponding to the first single tree height prediction information; the product of the numerical value corresponding to the second single tree height prediction information and the second weight is determined as the second weighted single tree height prediction information, and the second weight is a pre-set weight corresponding to the second single tree height prediction information; the sum of the first weighted single tree height prediction information and the second weighted single tree height prediction information is determined as the single tree height prediction information; and the single tree height prediction information is used as the output of the entire custom model; The pre-trained single tree height prediction model is obtained by training through the following steps: Acquire a training sample set, wherein the training samples in the training sample set include: sample single tree species information and sample single tree height prediction information; Selecting training samples from the training sample set; Inputting the sample tree species information included in the selected training samples into the initial single tree height prediction model to obtain initial single tree height prediction information; Based on a preset loss function, determining a difference value between the initial single tree height prediction information and the sample single tree height prediction information included in the selected training sample; In response to determining that the difference value is greater than or equal to a preset difference value, adjusting a network parameter of the initial single tree height prediction model; In response to determining that the difference value is less than the preset difference value, determining the initial single tree height prediction model as a trained single tree height prediction model; A detection unit configured to perform transmission line detection processing on the transmission point cloud classification data set and the single tree height prediction information set to generate tree felling information; a sending unit configured to send the tree felling information to a management terminal so as to fell the trees corresponding to the tree felling information; Wherein, the classification unit is further configured to: Selecting initial power transmission point cloud data from the initial power transmission point cloud data set as power transmission point cloud selected data; Connecting the power transmission point cloud selected data and the initial power transmission point cloud data corresponding to the power transmission point cloud selected data to generate power transmission point cloud connection information; Determine an initial power transmission point cloud data set from which the power transmission point cloud selected data and the initial power transmission point cloud data corresponding to the power transmission point cloud selected data are removed as the power transmission point cloud data set; For each power transmission point cloud data in the power transmission point cloud data set, determining a point cloud distance value corresponding to the power transmission point cloud data and the power transmission point cloud connection information; In response to determining that the largest point cloud distance value among the obtained point cloud distance values is less than or equal to the preset point cloud distance value, determining the power transmission point cloud selection information and the initial power transmission point cloud data corresponding to the power transmission point cloud selection information as a power transmission point cloud thinning data set; In response to determining that the largest point cloud distance value among the obtained point cloud distance values is greater than the preset point cloud distance value, dividing the power transmission point cloud data set to generate a power transmission point cloud divided data set; For each power transmission point cloud partitioning data group in the power transmission point cloud partitioning data group set, the following processing steps are performed: Selecting power transmission point cloud division data from the power transmission point cloud division data group as target power transmission point cloud selection data; Connecting the target power transmission point cloud selection data and the power transmission point cloud division data corresponding to the target power transmission point cloud selection data to generate target power transmission point cloud connection information; Determine the transmission point cloud division data group from which the target transmission point cloud selection data and the transmission point cloud division data corresponding to the target transmission point cloud selection data are removed as the transmission point cloud removal data group; For each power transmission point cloud removed data in the power transmission point cloud removed data group, determining a target point cloud distance value corresponding to the power transmission point cloud removed data and the target power transmission point cloud connection information; In response to determining that the largest target point cloud distance value among the obtained target point cloud distance values is less than or equal to the preset point cloud distance value, adding the target power transmission point cloud selection data and the power transmission point cloud division data corresponding to the target power transmission point cloud selection data to the initial power transmission point cloud thinning data set, wherein the initial power transmission point cloud thinning data set is initially empty; Determine the initial power transmission point cloud thinning data set as the power transmission point cloud thinning data set; Performing denoising processing on each power transmission point cloud sparse data in the power transmission point cloud sparse data set to generate power transmission point cloud denoised data, thereby obtaining the power transmission point cloud denoised data set; Point cloud classification processing is performed on the power transmission point cloud denoising data set to generate a power transmission point cloud classification data set.
7. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as claimed in any one of claims 1 to 5.
8. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Distance prediction method and device, equipment and medium
CN113223155A
