Transmission line icing warning method and system based on image gray-level co-occurrence matrix

Through image grayscale co-occurrence matrix and dual-channel neural network processing fusion features, the problem of low efficiency and poor accuracy in icing monitoring of transmission lines is solved, achieving more efficient icing status judgment and early warning, and ensuring the stable operation of the power system. .

CN118247283BActive Publication Date: 2024-09-27JIANGSU HAOHAN INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410676830.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-29
Publication Date
2024-09-27
Estimated Expiration
2044-05-29

AI Technical Summary

Technical Problem

The existing technology is inefficient in monitoring ice coating on transmission lines and the accuracy of judgment is difficult to guarantee, resulting in false alarms or missed alarms, affecting the operation of the power system.

Method used

A method based on the image gray level co-occurrence matrix is ​​used to process the fusion features through a dual-channel neural network to improve the accuracy and efficiency of icing status judgment.

Benefits of technology

It improves the accuracy and processing efficiency of icing judgment on transmission lines, reduces false alarms and omissions in early warning, and ensures the stable operation of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118247283B
    Figure CN118247283B
Patent Text Reader

Abstract

The present invention discloses a transmission line icing warning method and system based on an image grayscale co-occurrence matrix, and relates to the field of intelligent alarm. The method includes: collecting a transmission line image set for grayscale co-occurrence matrix preprocessing, generating a first image feature set and a second image feature set, constructing an image feature set to be analyzed, and generating a transmission line icing recognition model by training a dual-channel neural network. Based on the feature set of non-icing images, the image feature set to be analyzed is analyzed to generate icing identification information. When the icing identification information is 1 and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an icing warning signal is generated and sent to the user end. The technical problem that the existing transmission line cannot accurately judge icing, resulting in false alarms or omissions of warnings affecting the operation of the power system is solved. By extracting and analyzing the grayscale co-occurrence matrix of the transmission line image to judge the degree of icing, the accuracy of icing state judgment is improved, and the processing efficiency is less affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent alarm, and in particular to a method and system for early warning of icing of power transmission lines based on an image grayscale co-occurrence matrix. Background Art

[0002] Transmission line icing poses a serious threat to the safe and stable operation of the power system. Icing will increase the weight of the conductors and increase the sag, which may cause flashover tripping. In severe cases, icing may also cause line breakage and collapse, causing widespread damage to the power grid system and huge economic losses.

[0003] There are two main ways to monitor icing in the existing technology. One is to determine the icing status by manually observing images. The other is to determine whether there is icing on the transmission line by selecting features of a dimension to ensure computational efficiency.

[0004] The above two methods have the following defects: the first method is less efficient, and the second method has fewer reference feature dimensions, which makes it difficult to ensure the accuracy of judgment. Therefore, there is a technical problem that it is difficult to balance the processing efficiency and the accuracy of judging the ice situation in the transmission line. Summary of the invention

[0005] The present application solves the technical problem that the existing transmission lines cannot accurately judge the icing situation, resulting in false alarms or missed alarms, and affecting the operation of the power system by providing a transmission line icing warning method and system based on an image grayscale co-occurrence matrix. The image grayscale co-occurrence matrix is ​​used to pre-process and fit the global features of the collected image of the transmission line to obtain a fused feature quantity, instead of judging the state of the transmission line through local or single features. Moreover, due to the quantization effect of the image grayscale co-occurrence matrix, the dual-channel neural network processes the fused overall features instead of directly processing multi-dimensional features, which has little impact on the processing efficiency, thereby achieving the technical effect of improving the accuracy of icing status judgment and having little impact on the processing efficiency.

[0006] The present application provides a power transmission line icing warning method based on an image grayscale co-occurrence matrix, the method being applied to a power transmission line icing warning system based on an image grayscale co-occurrence matrix, comprising: collecting a power transmission line image set, wherein the power transmission line image set comprises a first power transmission line icing image set and a first power transmission line non-icing image set, the first power transmission line icing image set and the first power transmission line non-icing image set being in one-to-one correspondence with the same power transmission line;

[0007] Performing gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set;

[0008] Training a dual-channel neural network based on the first image feature set and the second image feature set to generate a transmission line ice recognition model;

[0009] Through the camera device, the transmission line site images are collected for gray level co-occurrence matrix preprocessing to construct the image feature set to be analyzed;

[0010] The sag characteristic value of the transmission line is collected through the radar detection device;

[0011] By using the transmission line icing recognition model, based on the non-icing image feature set, the image feature set to be analyzed is analyzed to generate icing identification information;

[0012] When the icing identification information is 1, and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an icing warning signal is generated and sent to the user end.

[0013] In a possible implementation, gray level co-occurrence matrix preprocessing is performed on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set, and the following processing is performed: background removal is performed on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a second transmission line ice-covered image set and a second transmission line non-ice-covered image set;

[0014] Performing gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first gray level co-occurrence matrix set and a second gray level co-occurrence matrix set;

[0015] Based on the first gray level co-occurrence matrix set and the second gray level co-occurrence matrix set, feature extraction is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate the first image feature set and the second image feature set.

[0016] In a possible implementation, gray-level co-occurrence matrix processing is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first gray-level co-occurrence matrix set and a second gray-level co-occurrence matrix set, and the following processing is performed: 0° gray-level co-occurrence matrix processing is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 0° gray-level co-occurrence matrix set and a second 0° gray-level co-occurrence matrix set;

[0017] Performing 45° gray-level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 45° gray-level co-occurrence matrix set and a second 45° gray-level co-occurrence matrix set;

[0018] Performing 90° gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 90° gray level co-occurrence matrix set and a second 90° gray level co-occurrence matrix set;

[0019] Performing 135° gray-level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 135° gray-level co-occurrence matrix set and a second 135° gray-level co-occurrence matrix set;

[0020] Adding the first 0° gray-level co-occurrence matrix set, the first 45° gray-level co-occurrence matrix set, the first 90° gray-level co-occurrence matrix set, and the first 135° gray-level co-occurrence matrix set into the first gray-level co-occurrence matrix set;

[0021] The second 0° gray-level co-occurrence matrix set, the second 45° gray-level co-occurrence matrix set, the second 90° gray-level co-occurrence matrix set and the second 135° gray-level co-occurrence matrix set are added into the second gray-level co-occurrence matrix set.

[0022] In a possible implementation, the following processing is performed: the image feature set includes: a texture feature set, a color feature set, and a shape feature set;

[0023] Among them, the texture feature set includes at least energy, contrast, uniformity, inverse moment, difference variance, diagonal variance, entropy, and autocorrelation; the color feature set includes at least hue, saturation, and brightness; and the shape feature set includes at least dispersion and contour curvature variance.

[0024] In a possible implementation, a dual-channel neural network is trained based on the first image feature set and the second image feature set to generate a transmission line icing recognition model, and the following processing is performed: the dual-channel neural network includes a feature comparison channel and a feature classification channel;

[0025] Wherein, the feature comparison channel construction step includes:

[0026] Configure the feature comparison function:

[0027]

[0028] in, Any image feature vector representing the first image feature set, The i-th dimension feature vector representing any image feature vector of the first image feature set, Any image feature vector representing the second image feature set, The i-th dimension feature vector representing any image feature vector of the second image feature set, The i-th dimension feature vector deviation value representing the one-to-one correspondence between the first image feature and the second image feature, a feature deviation value characterizing the first image feature and the second image feature, Represents the weight of the eigenvector of dimension i, represents the normalized adjustment coefficient, and N represents the dimension of the feature vector;

[0029] According to the feature comparison function, the feature comparison channel is constructed, and when the output value of the feature comparison function is greater than or equal to the feature deviation threshold, the process of the feature classification channel is executed, otherwise, the ice cover identification information is set to 0;

[0030] The feature classification channel construction step includes:

[0031] Calculate a one-to-one corresponding feature deviation vector set of the first image feature set and the second image feature set, and set it as a first input training data set;

[0032] Collecting a second transmission line non-icing image set and a third transmission line non-icing image set, wherein the second transmission line non-icing image set and the third transmission line non-icing image set correspond one-to-one to the same transmission line;

[0033] Extracting a feature deviation vector set of the second transmission line non-icing image set and the third transmission line non-icing image set, and setting the set as a second input training data set;

[0034] Output identification is performed on the first input training data set and the second input training data set to generate an output supervision truth value set, wherein any output supervision truth value is 0 or 1, 1 represents an ice-covered state, and 0 represents a non-ice-covered state;

[0035] The feature classification channel is trained according to the output supervision truth set and the input training data set.

[0036] In a possible implementation, a feature deviation vector set of the first image feature set and the second image feature set corresponding to each other is calculated, and the following processing is performed: a feature deviation vector calculation function is constructed:

[0037]

[0038] in, Characterize the feature deviation vector of the i-th dimension;

[0039] According to the feature deviation vector calculation function, processing is performed on the one-to-one corresponding first image feature set and the second image feature set to generate the feature deviation vector set.

[0040] In a possible implementation, when the ice coating identification information is 1, and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an ice coating warning signal is generated and sent to the user end to perform the following processing: according to the sag characteristic value of the transmission line, the historical ice coating record data of the transmission line is traced back, wherein the historical ice coating record data of the transmission line includes a plurality of ice coating thickness record data;

[0041] Performing a central trend analysis on the plurality of ice thickness record data to generate an ice thickness characteristic value;

[0042] An ice cover warning signal is generated according to the ice cover thickness characteristic value and sent to a user end.

[0043] The present application also provides a power transmission line icing warning system based on an image grayscale co-occurrence matrix, comprising: an image acquisition module, the image acquisition module being used to acquire a power transmission line image set, wherein the power transmission line image set comprises a first power transmission line icing image set and a first power transmission line non-icing image set, the first power transmission line icing image set and the first power transmission line non-icing image set being in one-to-one correspondence with the same power transmission line;

[0044] A first preprocessing module, the first preprocessing module is used to perform gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set;

[0045] A first training module, the first training module is used to train a dual-channel neural network according to the first image feature set and the second image feature set to generate a transmission line icing recognition model;

[0046] A second preprocessing module, the second preprocessing module is used to collect the transmission line site image through the camera device, perform gray level co-occurrence matrix preprocessing, and construct the image feature set to be analyzed;

[0047] A characteristic value acquisition module, wherein the characteristic value acquisition module is used to collect sag characteristic values ​​of the transmission line through a radar detection device;

[0048] A first analysis module, the first analysis module is used to analyze the image feature set to be analyzed based on the non-icing image feature set through the transmission line icing recognition model to generate icing identification information;

[0049] A signal sending module, wherein the signal sending module is used to generate an ice warning signal and send it to a user end when the ice identification information is 1 and the sag characteristic value of the transmission line is greater than or equal to a sag threshold.

[0050] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0051] The power transmission line icing warning method and system based on the image grayscale co-occurrence matrix provided in the present application relate to the field of intelligent alarm technology, and solve the technical problem that the existing transmission lines cannot accurately judge the icing situation, resulting in false alarms or missed alarms of warnings, and affecting the operation of the power system. The global features of the collected images of the transmission lines are fitted by the image grayscale co-occurrence matrix in the pre-processing to obtain the fused feature quantity, instead of judging the state of the transmission line by local or single features. Moreover, due to the quantization effect of the image grayscale co-occurrence matrix, the dual-channel neural network processes the fused overall features instead of directly processing multi-dimensional features, which has little impact on the processing efficiency, thereby achieving the technical effect of improving the accuracy of icing status judgment and having little impact on the processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the accompanying drawings of the embodiment of the present invention will be briefly introduced below. A flow chart is used in the present application to illustrate the operations performed by the system according to the embodiment of the present application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. On the contrary, various steps can be processed in reverse order or simultaneously as needed. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.

[0053] Figure 1 A schematic diagram of a flow chart of a method for early warning of icing of power transmission lines based on an image gray-level co-occurrence matrix provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of the structure of a power transmission line icing warning system based on an image gray-level co-occurrence matrix provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below.

[0056] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0057] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict, and the terms "first\second" involved are merely to distinguish similar objects and do not represent a specific ordering of objects. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or modules that are not clearly listed or inherent to these processes, methods, products, or devices. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field of this application. The terms used herein are for the purpose of describing the embodiments of the present application only.

[0058] The embodiment of the present application provides a transmission line icing warning method based on an image grayscale co-occurrence matrix, and the method is applied to a transmission line icing warning system based on an image grayscale co-occurrence matrix, such as Figure 1 As shown, the method includes:

[0059] Step A100, collecting a transmission line image set, wherein the transmission line image set includes a first transmission line ice-covered image set and a first transmission line non-ice-covered image set, and the first transmission line ice-covered image set and the first transmission line non-ice-covered image set correspond to the same transmission line one by one;

[0060] First, based on the layout area of ​​the transmission line, the transmission line is imaged. For example, a drone or other high-altitude shooting equipment can be selected. Ensure that the equipment has a high-definition camera and stable flight performance to obtain high-quality transmission line images. Then, according to the distribution of the transmission line and weather conditions, a reasonable collection route and time are planned. When it is in the icing season, it is necessary to pay close attention to weather changes, and then select the transmission line when the ice is obvious and the weather conditions are good to collect images.

[0061] Furthermore, in the icing season, images of the transmission lines are collected from different angles and distances according to the planned routes and times to ensure that the images can fully reflect the icing conditions. In the non-icing season or after the ice melts, images of the same transmission lines are collected at the same shooting angle and distance for comparison with the icing images. Finally, the collected images are classified according to the transmission lines and icing conditions, which means that each group of icing and non-icing images is matched to ensure that they are taken under the same or similar conditions for subsequent analysis and comparison.

[0062] On this basis, a high-quality and representative transmission line image set can be collected, and the transmission line image set includes a first transmission line ice-covered image set and a first transmission line non-ice-covered image set, and the first transmission line ice-covered image set and the first transmission line non-ice-covered image set correspond one-to-one to the same transmission line.

[0063] Execute step A200, perform gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set, and generate a first image feature set and a second image feature set; in a possible implementation, step A200 further includes step A210, de-backgrounding the first transmission line ice-covered image set and the first transmission line non-ice-covered image set, and generate a second transmission line ice-covered image set and a second transmission line non-ice-covered image set;

[0064] De-backgrounding based on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set means that the first transmission line ice-covered image set and the first transmission line non-ice-covered image set can be automatically segmented by using an image segmentation algorithm based on color, texture and other features in the image, and the background area obtained by segmentation is extracted, and the extracted background area is further replaced with black or other single color to eliminate background information. At the same time, a mask image with the same size as the original image can be created, and the background area is set to 0 (transparent) and other areas are set to 1 (opaque). Then, the original image and the mask image are multiplied pixel by pixel to obtain an image after background removal, thereby generating a second transmission line ice-covered image set and a second transmission line non-ice-covered image set.

[0065] Execute step A220, perform grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set, and generate a first grayscale co-occurrence matrix set and a second grayscale co-occurrence matrix set; in a possible implementation, step A200 further includes step A221, perform 0° grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set, and generate a first 0° grayscale co-occurrence matrix set and a second 0° grayscale co-occurrence matrix set;

[0066] The second transmission line ice-covered image set and the second transmission line non-ice-covered image set are gray-scaled, which means that the weighted sum of the red, green and blue color components of each pixel in the second transmission line ice-covered image set and the second transmission line non-ice-covered image set are calculated to complete the grayscale image conversion. Further, the spatial distance between the pixel pairs when calculating the co-occurrence matrix is ​​obtained, and the 0° direction (i.e., the horizontal direction) is selected as the calculation direction of the co-occurrence matrix. The adjacent pixel points in the horizontal direction of each pixel point in the image are traversed, and the distance between the adjacent pixel points is the distance parameter set above, and the frequency of pixel pairs with different grayscale combinations is counted. According to the statistical results, a grayscale co-occurrence matrix is ​​constructed, in which the rows and columns of the grayscale co-occurrence matrix correspond to different grayscales, and the matrix element values ​​represent the frequency of pixel pairs with corresponding grayscale combinations.

[0067] Finally, the above grayscale co-occurrence matrix calculation process is performed on each image in the second transmission line ice-covered image set to generate a set of multiple 0° grayscale co-occurrence matrices, namely the first 0° grayscale co-occurrence matrix set, and the grayscale co-occurrence matrix calculation is performed on each image in the second transmission line non-iced image set to generate a second 0° grayscale co-occurrence matrix set.

[0068] Execute step A222, perform 45° gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 45° gray level co-occurrence matrix set and a second 45° gray level co-occurrence matrix set;

[0069] First, each pixel point in the second transmission line ice-covered image set and the second transmission line non-ice-covered image set is traversed, and the grayscale of the adjacent pixels according to the distance parameter in the 45° direction (i.e., northwest-southeast direction) is calculated at the same time, and the count is increased at the corresponding position in the co-occurrence matrix according to the grayscale combination. After all pixels are traversed, a matrix reflecting the grayscale symbiosis relationship in the 45° direction will be obtained, and the rows and columns of the matrix correspond to different grayscales, and the element value represents the frequency of occurrence of a specific grayscale combination in the 45° direction. The above 45° grayscale symbiosis matrix calculation process is performed on each image in the second transmission line ice-covered image set to obtain a set containing multiple matrices, i.e., the first 45° grayscale symbiosis matrix set. The 45° grayscale symbiosis matrix calculation is also performed on each image in the second transmission line non-ice-covered image set to generate a second 45° grayscale symbiosis matrix set.

[0070] Execute step A223, perform 90° gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 90° gray level co-occurrence matrix set and a second 90° gray level co-occurrence matrix set;

[0071] Firstly, according to the resolution and detail requirements of the image, appropriate grayscale and distance parameters are selected, and all pixel points of each image in the second transmission line ice-covered image set and the second transmission line non-ice-covered image set are traversed.

[0072] Then, the grayscale of the adjacent pixels with distance parameters in the 90° direction (i.e., vertical direction) of each pixel is calculated, and the count is increased at the corresponding co-occurrence matrix position according to the grayscale combination. After all pixels are traversed, a matrix reflecting the grayscale co-occurrence relationship in the 90° direction is obtained. The rows and columns of the matrix correspond to different grayscales, and the element value represents the frequency of occurrence of a specific grayscale combination in the 90° direction. The above 90° grayscale co-occurrence matrix calculation process is performed on each image in the second transmission line ice-covered image set to obtain a set containing multiple matrices, i.e., the first 90° grayscale co-occurrence matrix set. The 90° grayscale co-occurrence matrix calculation is also performed on each image in the second transmission line non-ice-covered image set to generate a second 90° grayscale co-occurrence matrix set.

[0073] Execute step A224, perform 135° gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 135° gray level co-occurrence matrix set and a second 135° gray level co-occurrence matrix set;

[0074] The resolution of the second transmission line ice-covered image set and the second transmission line non-ice-covered image set and the grayscale and distance parameters of the extracted image texture are determined, and all pixels in each image of the second transmission line ice-covered image set and the second transmission line non-ice-covered image set are traversed at the same time, and the grayscale symbiosis relationship of each pixel in the 135° direction is calculated, which means that the adjacent pixels with distance parameters in the 135° direction (i.e., southwest-northeast direction) of each pixel are calculated, and the count is increased at the corresponding symbiosis matrix position according to the grayscale combination. After completing the traversal of all pixels, a matrix reflecting the grayscale symbiosis relationship in the 135° direction is obtained. The rows and columns of the matrix correspond to different grayscale levels, and the element value represents the frequency of occurrence of a specific grayscale combination in the 135° direction.

[0075] The above-mentioned 135° grayscale co-occurrence matrix calculation process is performed on each image in the second transmission line ice-covered image set to obtain a set containing multiple matrices, namely, the first 135° grayscale co-occurrence matrix set. The 135° grayscale co-occurrence matrix calculation is also performed on each image in the second transmission line non-iced image set to generate a second 135° grayscale co-occurrence matrix set.

[0076] Execute step A225 to add the first 0° grayscale co-occurrence matrix set, the first 45° grayscale co-occurrence matrix set, the first 90° grayscale co-occurrence matrix set and the first 135° grayscale co-occurrence matrix set into the first grayscale co-occurrence matrix set; execute step A226 to add the second 0° grayscale co-occurrence matrix set, the second 45° grayscale co-occurrence matrix set, the second 90° grayscale co-occurrence matrix set and the second 135° grayscale co-occurrence matrix set into the second grayscale co-occurrence matrix set.

[0077] In order to integrate the gray-level co-occurrence matrix information in multiple directions, we can merge the gray-level co-occurrence matrix sets of different angles (0°, 45°, 90°, 135°) into two total sets: the first gray-level co-occurrence matrix set (corresponding to ice-covered images) and the second gray-level co-occurrence matrix set (corresponding to non-ice-covered images).

[0078] Create a grayscale co-occurrence matrix for storing all angles, and add all matrices in the first 0° grayscale co-occurrence matrix set, the first 45° grayscale co-occurrence matrix set, the first 90° grayscale co-occurrence matrix set, and the first 135° grayscale co-occurrence matrix set in turn to obtain the first grayscale co-occurrence matrix set. At this time, the first grayscale co-occurrence matrix set contains the grayscale co-occurrence matrix information of all ice-covered images at different angles.

[0079] Further, a grayscale co-occurrence matrix is ​​created to store all angles of the non-iced images, and then all matrices in the second 0° grayscale co-occurrence matrix set, the second 45° grayscale co-occurrence matrix set, the second 90° grayscale co-occurrence matrix set and the second 135° grayscale co-occurrence matrix set are added in sequence to obtain the second grayscale co-occurrence matrix combination. The second grayscale co-occurrence matrix set contains the grayscale co-occurrence matrix information of all non-iced images at different angles.

[0080] Execute step A230, and extract features from the second transmission line ice-covered image set and the second transmission line non-ice-covered image set based on the first gray-level co-occurrence matrix set and the second gray-level co-occurrence matrix set to generate the first image feature set and the second image feature set.

[0081] The image feature set includes: texture feature set, color feature set, and shape feature set;

[0082] Among them, the texture feature set includes at least energy, contrast, uniformity, inverse moment, difference variance, diagonal variance, entropy, and autocorrelation; the color feature set includes at least hue, saturation, and brightness; and the shape feature set includes at least dispersion and contour curvature variance.

[0083] Based on the first gray level co-occurrence matrix set and the second gray level co-occurrence matrix set, feature extraction is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set. Texture features can be extracted first, which means extracting statistics from the first gray level co-occurrence matrix set and the second gray level co-occurrence matrix set, that is, calculating statistics for each matrix in the first gray level co-occurrence matrix set and each matrix in the second gray level co-occurrence matrix set, such as energy, contrast, uniformity, inverse moment, etc. The calculated statistics can reflect the texture features of the image in different directions, and then integrate the statistics extracted from the gray level co-occurrence matrix at each angle (0°, 45°, 90°, 135°) to form a texture feature vector for each image. This vector will contain multiple texture features and can fully describe the texture information of the image.

[0084] Secondly, the color features are extracted, which means converting each image in the second transmission line ice-covered image set and the second transmission line non-ice-covered image set from the RGB color space to other color spaces (such as HSV, Lab, etc.), and calculating the color statistics of each image, such as the mean and standard deviation of hue, saturation, and brightness. These statistics can reflect the overall color distribution and changes of the image.

[0085] Shape features can also be extracted, which means that an edge detection algorithm (such as Canny edge detection) can be used to process each image in the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to extract edge information, and the contour of the image can be extracted based on the edge information, and shape statistics can be calculated based on the extracted contour, such as dispersion, contour curvature variance, etc., which are used to describe the shape characteristics and contour changes of the image.

[0086] Among them, the texture feature set includes at least energy, contrast, uniformity, inverse moment, difference variance, diagonal variance, entropy, and autocorrelation; the color feature set includes at least hue, saturation, and brightness, which are used to convert the original image into HSV space and extract the corresponding values; the shape feature set includes at least dispersion, that is, the square of the outer contour circumference / image area, and contour curvature variance, that is, the changing curvature of the outer contour of the line distribution. Ice may have many ice chips, so the curvature difference is relatively large.

[0087] Finally, the extracted texture feature vector, color feature vector and shape feature vector are combined to form a comprehensive feature vector for each image, the comprehensive feature vectors of all images in the second transmission line ice-covered image set are combined into a first image feature set, and the comprehensive feature vectors of all images in the second transmission line non-ice-covered image set are combined into a second image feature set.

[0088] Execute step A300, train a dual-channel neural network according to the first image feature set and the second image feature set, and generate a transmission line ice recognition model;

[0089] In a possible implementation, step A300 further includes step A310, wherein the dual-channel neural network includes a feature comparison channel and a feature classification channel;

[0090] Wherein, the feature comparison channel construction step includes:

[0091] Configure the feature comparison function:

[0092]

[0093] in, Any image feature vector representing the first image feature set, The i-th dimension feature vector representing any image feature vector of the first image feature set, Any image feature vector representing the second image feature set, The i-th dimension feature vector representing any image feature vector of the second image feature set, The i-th dimension feature vector deviation value representing the one-to-one correspondence between the first image feature and the second image feature, a feature deviation value characterizing the first image feature and the second image feature, Represents the weight of the eigenvector of dimension i, represents the normalized adjustment coefficient, and N represents the dimension of the feature vector; executing step A320, constructing the feature comparison channel according to the feature comparison function, and executing the process of the feature classification channel when the output value of the feature comparison function is greater than or equal to the feature deviation threshold, otherwise, setting the ice cover identification information to 0;

[0094] Training a dual-channel neural network according to the first image feature set and the second image feature set, wherein the dual-channel neural network includes a feature comparison channel and a feature classification channel;

[0095] The steps for building a feature comparison channel include: first, configuring the feature comparison function as shown below:

[0096] ;

[0097] in, Any image feature vector representing the first image feature set, The i-th dimension feature vector representing any image feature vector of the first image feature set, Any image feature vector representing the second image feature set, The i-th dimension feature vector representing any image feature vector of the second image feature set, The i-th dimension feature vector deviation value representing the one-to-one correspondence between the first image feature and the second image feature, a feature deviation value characterizing the first image feature and the second image feature, Represents the weight of the eigenvector of dimension i, represents the normalized adjustment coefficient, and N represents the dimension of the feature vector;

[0098] The feature comparison function is used to calculate the similarity or difference between the extracted image features and the known ice-covered image features, and further determine the feature deviation threshold based on actual data and experiments. The feature deviation threshold is used to determine whether the output value of the feature comparison function meets the standard for ice-covered recognition, so as to ensure that ice-covered images and non-ice-covered images can be accurately distinguished, and the feature vector obtained after feature extraction of the power transmission line image to be detected based on the second power transmission line image set is input into the feature comparison channel to determine whether the output value of the feature comparison function is greater than or equal to the feature deviation threshold. If so, it is considered that the input image has a high similarity with the ice-covered image, and it is likely to be an ice-covered image. The process of the feature classification channel is executed for further classification and recognition. Otherwise, that is, when the feature comparison value is less than the feature deviation threshold, it is considered that the input image has a low similarity with the ice-covered image, and it is unlikely to be an ice-covered image. At this time, the ice-covered identification information is set to 0, indicating that the image is not recognized as an ice-covered image.

[0099] Execute step A330, wherein the feature classification channel construction step includes:

[0100] Calculate a one-to-one corresponding feature deviation vector set of the first image feature set and the second image feature set, and set it as a first input training data set; in a possible implementation, step A330 further includes step A331, constructing a feature deviation vector calculation function:

[0101] ;

[0102] in, Characterize the feature deviation vector of the i-th dimension;

[0103] Execute step A332, perform processing on the one-to-one corresponding first image feature set and the second image feature set according to the feature deviation vector calculation function, and generate the feature deviation vector set.

[0104] To ensure that the feature vectors in the first image feature set (corresponding to ice-covered images) and the second image feature set (corresponding to non-ice-covered images) are in one-to-one correspondence, this usually means that the feature vectors in both feature sets are arranged in the same image order, that is, the first feature vector comes from the first image in the first image set, the second feature vector comes from the second image in the first image set, and so on.

[0105] The function is calculated based on the characteristic deviation vector as shown below:

[0106] ;

[0107] in, Characterizes the feature deviation vector of the i-th dimension

[0108] Execute the feature deviation vector calculation function to calculate the deviation of the first image feature set and the second image feature set, repeat the above calculation process until all corresponding feature vector pairs have been processed, output the feature deviation vectors of the first image feature set and the second image feature set, and thus perform lake analysis on the feature deviation vector set, wherein each deviation vector corresponds to a feature deviation of a pair of ice-covered images and non-ice-covered images, and output the generated feature deviation vector set as the first input training data set.

[0109] Collecting a second transmission line non-icing image set and a third transmission line non-icing image set, wherein the second transmission line non-icing image set and the third transmission line non-icing image set correspond one-to-one to the same transmission line;

[0110] Extracting a feature deviation vector set of the second transmission line non-icing image set and the third transmission line non-icing image set, and setting the set as a second input training data set;

[0111] Output identification is performed on the first input training data set and the second input training data set to generate an output supervision truth value set, wherein any output supervision truth value is 0 or 1, 1 represents an ice-covered state, and 0 represents a non-ice-covered state;

[0112] The feature classification channel is trained according to the output supervision truth set and the input training data set.

[0113] Continuous image acquisition is performed on the same transmission line at different times, different climatic conditions, and different viewing angles to obtain a second transmission line non-icing image and a third transmission line non-icing image set, wherein the second transmission line non-icing image set and the third transmission line non-icing image set correspond to the same transmission line one by one, and feature extraction is performed on the second transmission line non-icing image set and the third transmission line non-icing image set, respectively, and a feature deviation vector set between the second transmission line non-icing image set and the third transmission line non-icing image set is calculated by a feature deviation vector calculation function. The deviation vector set can be used to reflect the difference in the non-icing state of the same transmission line under different conditions, and the calculated feature deviation vector set between the second transmission line non-icing image set and the third transmission line non-icing image set is set as the second input training data set.

[0114] Furthermore, for the first input training data set, i.e., the feature deviation vector set of ice-covered and non-ice-covered, and the second input training data set, i.e., the feature deviation vector set in the non-ice-covered state, output identification is performed respectively to generate an output supervision truth set, and the feature deviation vector of the ice-covered state is identified as 1, and the feature deviation vector of the non-ice-covered state is identified as 0.

[0115] Finally, the feature classification channel is trained according to the output supervision truth set and the input training data set, which means using the input training data set with the output supervision truth set, including the first input training data set and the second input training data set to train the feature classification channel. The training process can be to enable the feature classification channel to learn the ability to identify the ice cover state from the feature deviation vector through a deep learning algorithm. Since the traditional feature classification channel only considers the characteristic attributes of the ice cover itself, and does not consider the impact of the characteristics of the transmission line, resulting in insufficient accuracy, the deviation vector of the fitting input feature and the baseline feature is implemented in this application to improve the scene integration.

[0116] The training process of training a dual-channel neural network to generate a transmission line icing recognition model can be: merging the first input training data set and the second input training data set as the training data of the transmission line icing recognition model, and using a back-propagation algorithm and a gradient descent optimizer (such as Adam, SGD, etc.) to train the transmission line icing recognition model, calculating a loss function (such as a cross entropy loss) based on the output supervision truth set, and updating the transmission line icing recognition model weights through the optimizer. During the training process, a validation set can also be used to monitor the performance of the transmission line icing recognition model, and hyperparameters can be adjusted to optimize the performance of the transmission line icing recognition model, thereby outputting the transmission line icing recognition model.

[0117] Execute step A400, collect the transmission line site image through the camera device, perform gray level co-occurrence matrix preprocessing, and construct the image feature set to be analyzed;

[0118] Use a camera device (such as a high-definition camera, a camera mounted on a drone, etc.) to collect images on the transmission line site. To ensure that the position and angle of the camera device can clearly capture the details of the transmission line, including key components such as conductors, insulators, and towers. At the same time, synchronously collect images under different weather and lighting conditions to obtain on-site images of the transmission line to increase the diversity and generalization ability of the data set, and convert the collected color images into grayscale images. Grayscale processing can eliminate the influence of color information on feature extraction and reduce computational complexity. Furthermore, the texture features of the image can be extracted by calculating the grayscale co-occurrence matrix at different directions and distances in the image, which means selecting appropriate direction and distance parameters to calculate the grayscale co-occurrence matrix of the image. The selectable directions can include 0 degrees, 45 degrees, 90 degrees, and 135 degrees. The distance parameter can be set according to actual needs, and meaningful texture features such as energy, contrast, correlation, entropy, etc. can be extracted from the grayscale co-occurrence matrix to reflect the texture coarseness, density, and other information of the image.

[0119] Finally, the image features preprocessed by the gray-level co-occurrence matrix are sorted out to construct an image feature set to be analyzed. The image feature set to be analyzed may include transmission line images under different degrees of ice coverage and different weather conditions.

[0120] Next, step A500 is executed to collect the sag characteristic value of the transmission line through a radar detection device;

[0121] In order to accurately and efficiently measure the sag of the transmission line, the radar detection device can be used for detection and collection. The radar detection device includes a laser radar and a millimeter-wave radar. The laser radar (LiDAR) determines the distance and position of the target object by emitting a laser beam and measuring the time it takes for it to reflect back. Start the laser radar and scan the transmission line. The laser beam will be emitted along the line and the reflected data will be collected. This data includes the three-dimensional coordinates (X, Y, Z) of each point, and the trajectory of the transmission line is extracted. By calculating the distance and height difference between adjacent points, the sag characteristic value can be estimated.

[0122] Millimeter wave radar works in the millimeter wave frequency band and has the characteristics of strong penetration and good anti-interference ability. It transmits millimeter wave signals and receives reflected signals from transmission lines. The reflected signals contain the position and shape information of the transmission lines, and the trajectory and sag information of the transmission lines are extracted. On this basis, the sag characteristic value is calculated and output.

[0123] Execute step A600, analyze the image feature set to be analyzed based on the non-icing image feature set by using the transmission line icing recognition model, and generate icing identification information;

[0124] Load the previously trained transmission line ice recognition model, including feature comparison channel and feature classification channel, and compare each feature in the image feature set to be analyzed with the feature set of the non-icing image. The non-icing image feature set is an image feature set that contains a series of transmission line image features in the non-icing state. Calculate the feature deviation vector through the feature comparison channel and analyze the calculated feature deviation vector, which reflects the difference between the image to be analyzed and the image in the non-icing state.

[0125] Furthermore, the feature deviation vector is input into the feature classification channel, and the trained classifier is used to judge the ice-covered state of the feature set of the image to be analyzed. The feature classification channel will output the probability or classification label of each image to be analyzed belonging to the ice-covered state, and generate ice-covered identification information for each image to be analyzed. The ice-covered information can be a binary label, for example, 1 is an ice-covered identification and 0 is a non-ice-covered identification.

[0126] Finally, step A700 is executed. When the ice cover identification information is 1 and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an ice cover warning signal is generated and sent to the user end.

[0127] According to the output of the transmission line icing identification model, it is determined whether the icing identification information is 1. When the icing identification information is 1, it means that there is icing on the transmission line. At the same time, if the sag characteristic value of the transmission line is greater than or equal to the preset sag threshold, it is considered that the transmission line has a large sag due to icing, which may affect the safe operation of the line. In this case, the system should generate an icing warning signal and send it to the user end in a timely manner.

[0128] In a possible implementation, step A700 further includes step A710, tracing back historical icing record data of the transmission line according to the sag characteristic value of the transmission line, wherein the historical icing record data of the transmission line includes a plurality of icing thickness record data; executing step A720, performing central trend analysis on the plurality of icing thickness record data to generate an icing thickness characteristic value; executing step A730, generating an icing warning signal according to the icing thickness characteristic value and sending it to the user end.

[0129] Using the sag characteristic value obtained by the above calculation as the query condition, the historical ice cover record data of the transmission line is traced back, which means extracting a number of ice cover thickness record data related to the current sag characteristic value from the historical database, and the several ice cover thickness record data may include ice cover thickness measurement values ​​at different times and locations. Furthermore, according to the data distribution characteristics, the central trend analysis of a number of ice cover thickness record data can be performed by calculating the mean value, median, mode, etc., to obtain the overall situation of a number of ice cover thicknesses, which are recorded as ice cover thickness characteristic values. According to the ice cover thickness characteristic value and the preset ice cover warning threshold, it is determined whether the ice cover situation of the current transmission line reaches the warning level. If the ice cover thickness characteristic value exceeds the warning threshold, an ice cover warning signal is generated, and the generated ice cover warning signal is sent to the user end through communication methods such as SMS, email, APP push, etc., to warn the severity of the current ice cover and possible impacts, so that the user can take corresponding countermeasures, such as organizing inspections, adjusting operation strategies, starting de-icing equipment, etc.

[0130] The embodiment of the present application solves the technical problem that the existing transmission lines cannot accurately judge the icing situation, resulting in false alarms or missed alarms of early warnings, and affecting the operation of the power system. The global features of the collected images of the transmission lines are fitted by pre-processing with the image grayscale co-occurrence matrix to obtain a fused feature quantity, instead of judging the state of the transmission line through local or single features. Moreover, due to the quantization effect of the image grayscale co-occurrence matrix, the dual-channel neural network processes the overall features after fusion, instead of directly processing multi-dimensional features, which has little impact on the processing efficiency, thereby achieving the technical effect of improving the accuracy of icing situation judgment and having little impact on the processing efficiency.

[0131] In the above, refer to Figure 1 The present invention describes in detail a method for early warning of ice coverage of power transmission lines based on an image gray-level co-occurrence matrix according to an embodiment of the present invention. Figure 2 A power transmission line icing warning system based on an image gray-level co-occurrence matrix according to an embodiment of the present invention is described.

[0132] According to the embodiment of the present invention, the transmission line icing warning system based on the image grayscale co-occurrence matrix is ​​used to solve the technical problem that the existing transmission line cannot accurately judge the icing situation, resulting in false alarms or missed alarms of the warning, and affecting the operation of the power system. The image grayscale co-occurrence matrix is ​​used to pre-process and fit the global features of the transmission line acquisition image to obtain the fusion feature quantity, instead of judging the state of the transmission line through local or single features. Due to the quantization effect of the image grayscale co-occurrence matrix, the dual-channel neural network processes the overall features after fusion, instead of directly processing multi-dimensional features, which has little impact on the processing efficiency, thereby achieving the technical effect of improving the accuracy of icing state judgment and having little impact on the processing efficiency. The transmission line icing warning system based on the image grayscale co-occurrence matrix includes: an image acquisition module 10, a first preprocessing module 20, a first training module 30, a second preprocessing module 40, an eigenvalue acquisition module 50, a first analysis module 60, and a signal sending module 70.

[0133] An image acquisition module 10, wherein the image acquisition module 10 is used to acquire a transmission line image set, wherein the transmission line image set includes a first transmission line ice-covered image set and a first transmission line non-ice-covered image set, and the first transmission line ice-covered image set and the first transmission line non-ice-covered image set correspond to the same transmission line one by one;

[0134] A first preprocessing module 20, the first preprocessing module 20 is used to perform gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set;

[0135] A first training module 30, the first training module 30 is used to train a dual-channel neural network according to the first image feature set and the second image feature set to generate a transmission line ice recognition model;

[0136] A second preprocessing module 40, which is used to collect on-site images of the power transmission line through a camera device, perform gray-level co-occurrence matrix preprocessing, and construct a feature set of the image to be analyzed;

[0137] A characteristic value acquisition module 50, wherein the characteristic value acquisition module 50 is used to acquire a sag characteristic value of a power transmission line through a radar detection device;

[0138] A first analysis module 60, the first analysis module 60 is used to analyze the image feature set to be analyzed based on the non-icing image feature set through the transmission line icing recognition model to generate icing identification information;

[0139] The signal sending module 70 is used to generate an ice cover warning signal and send it to the user end when the ice cover identification information is 1 and the sag characteristic value of the transmission line is greater than or equal to the sag threshold.

[0140] The specific configuration of the first preprocessing module 20 will be described in detail below. As described above, the first transmission line ice-covered image set and the first transmission line non-ice-covered image set are preprocessed with a grayscale co-occurrence matrix to generate a first image feature set and a second image feature set. The first preprocessing module 20 may further include: a background removal unit for background removal of the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a second transmission line ice-covered image set and a second transmission line non-ice-covered image set; a matrix processing unit for grayscale co-occurrence matrix processing of the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first grayscale co-occurrence matrix set and a second grayscale co-occurrence matrix set; a first feature extraction unit for feature extraction of the second transmission line ice-covered image set and the second transmission line non-ice-covered image set based on the first grayscale co-occurrence matrix set and the second grayscale co-occurrence matrix set to generate the first image feature set and the second image feature set.

[0141] The specific configuration of the matrix processing unit will be described in detail below. As described above, grayscale co-occurrence matrix processing is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first grayscale co-occurrence matrix set and a second grayscale co-occurrence matrix set. The matrix processing unit may further include: a first processing unit for performing 0° grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 0° grayscale co-occurrence matrix set and a second 0° grayscale co-occurrence matrix set; a second processing unit for performing 45° grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 45° grayscale co-occurrence matrix set and a second 45° grayscale co-occurrence matrix set; a third processing unit for performing 90° grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set The fourth processing unit is used to perform 135° grayscale co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 135° grayscale co-occurrence matrix set and a second 135° grayscale co-occurrence matrix set; the first adding unit is used to add the first 0° grayscale co-occurrence matrix set, the first 45° grayscale co-occurrence matrix set, the first 90° grayscale co-occurrence matrix set and the first 135° grayscale co-occurrence matrix set into the first grayscale co-occurrence matrix set; the second adding unit is used to add the second 0° grayscale co-occurrence matrix set, the second 45° grayscale co-occurrence matrix set, the second 90° grayscale co-occurrence matrix set and the second 135° grayscale co-occurrence matrix set into the second grayscale co-occurrence matrix set.

[0142] The specific configuration of the first feature extraction unit will be described in detail below. As described above, the first feature extraction unit may further include: an image feature unit for an image feature set including: a texture feature set, a color feature set, and a shape feature set;

[0143] Among them, the texture feature set includes at least energy, contrast, uniformity, inverse moment, difference variance, diagonal variance, entropy, and autocorrelation; the color feature set includes at least hue, saturation, and brightness; and the shape feature set includes at least dispersion and contour curvature variance.

[0144] The specific configuration of the first training module 30 will be described in detail below. As described above, according to the first image feature set and the second image feature set, a dual-channel neural network is trained to generate a transmission line icing recognition model, and the first training module 30 may further include: a first channel construction unit for the dual-channel neural network to include a feature comparison channel and a feature classification channel;

[0145] Wherein, the feature comparison channel construction step includes:

[0146] Configure the feature comparison function:

[0147]

[0148] in, Any image feature vector representing the first image feature set, The i-th dimension feature vector representing any image feature vector of the first image feature set, Any image feature vector representing the second image feature set, The i-th dimension feature vector representing any image feature vector of the second image feature set, The i-th dimension feature vector deviation value representing the one-to-one correspondence between the first image feature and the second image feature, a feature deviation value characterizing the first image feature and the second image feature, Represents the weight of the eigenvector of dimension i, represents the normalized adjustment coefficient, and N represents the dimension of the feature vector;

[0149] The second channel construction unit is used to construct the feature comparison channel according to the feature comparison function, and when the output value of the feature comparison function is greater than or equal to the feature deviation threshold, the process of the feature classification channel is executed, otherwise, the ice cover identification information is set to 0; the third channel construction unit wherein the feature classification channel construction step includes:

[0150] Calculate a one-to-one corresponding feature deviation vector set of the first image feature set and the second image feature set, and set it as a first input training data set;

[0151] Collecting a second transmission line non-icing image set and a third transmission line non-icing image set, wherein the second transmission line non-icing image set and the third transmission line non-icing image set correspond one-to-one to the same transmission line;

[0152] Extracting a feature deviation vector set of the second transmission line non-icing image set and the third transmission line non-icing image set, and setting the set as a second input training data set;

[0153] Output identification is performed on the first input training data set and the second input training data set to generate an output supervision truth value set, wherein any output supervision truth value is 0 or 1, 1 represents an ice-covered state, and 0 represents a non-ice-covered state;

[0154] The feature classification channel is trained according to the output supervision truth set and the input training data set.

[0155] The specific configuration of the third channel construction unit will be described in detail below. As described above, the feature deviation vector set of the first image feature set and the second image feature set corresponding to each other is calculated, and the third channel construction unit may further include: a first calculation unit is used to construct a feature deviation vector calculation function:

[0156]

[0157] in, Characterize the feature deviation vector of the i-th dimension;

[0158] The second calculation unit is used to perform processing on the one-to-one corresponding first image feature set and the second image feature set according to the feature deviation vector calculation function to generate the feature deviation vector set.

[0159] The specific configuration of the signal sending module 70 will be described in detail below. As described above, when the ice identification information is 1, and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an ice warning signal is generated and sent to the user end, and the signal sending module 70 may further include: a tracing unit is used to trace back the historical ice record data of the transmission line according to the sag characteristic value of the transmission line, wherein the historical ice record data of the transmission line includes a plurality of ice thickness record data; a second analysis unit is used to perform a central trend analysis on the plurality of ice thickness record data to generate an ice thickness characteristic value; a sending unit is used to generate an ice warning signal according to the ice thickness characteristic value and send it to the user end.

[0160] The transmission line icing warning system based on image grayscale co-occurrence matrix provided in an embodiment of the present invention can execute the transmission line icing warning method based on image grayscale co-occurrence matrix provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0161] Although the present application makes various references to certain modules in the system according to the embodiments of the present application, any number of different modules may be used and run on the user terminal and / or server, and the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0162] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A power transmission line icing warning method based on image gray-level co-occurrence matrix, characterized in that: include: Collecting a transmission line image set, wherein the transmission line image set includes a first transmission line ice-covered image set and a first transmission line non-ice-covered image set, and the first transmission line ice-covered image set and the first transmission line non-ice-covered image set correspond to the same transmission line one by one; Performing gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set; Training a dual-channel neural network based on the first image feature set and the second image feature set to generate a transmission line ice recognition model; Through the camera device, the transmission line site images are collected for gray level co-occurrence matrix preprocessing to construct the image feature set to be analyzed; The sag characteristic value of the transmission line is collected through the radar detection device; By using the transmission line icing recognition model, based on the non-icing image feature set, the image feature set to be analyzed is analyzed to generate icing identification information; When the icing identification information is 1, and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an icing warning signal is generated and sent to the user end.

2. The method for early warning of icing of power transmission lines based on image gray-level co-occurrence matrix according to claim 1, characterized in that: The first transmission line ice-covered image set and the first transmission line non-ice-covered image set are preprocessed using a gray level co-occurrence matrix to generate a first image feature set and a second image feature set, including: De-backgrounding the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a second transmission line ice-covered image set and a second transmission line non-ice-covered image set; Performing gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first gray level co-occurrence matrix set and a second gray level co-occurrence matrix set; Based on the first gray level co-occurrence matrix set and the second gray level co-occurrence matrix set, feature extraction is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate the first image feature set and the second image feature set.

3. The power transmission line icing early warning method based on image gray level co-occurrence matrix according to claim 2, characterized in that: The gray level co-occurrence matrix processing is performed on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first gray level co-occurrence matrix set and a second gray level co-occurrence matrix set, including: Performing 0° gray-level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 0° gray-level co-occurrence matrix set and a second 0° gray-level co-occurrence matrix set; Performing 45° gray-level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 45° gray-level co-occurrence matrix set and a second 45° gray-level co-occurrence matrix set; Performing 90° gray level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 90° gray level co-occurrence matrix set and a second 90° gray level co-occurrence matrix set; Performing 135° gray-level co-occurrence matrix processing on the second transmission line ice-covered image set and the second transmission line non-ice-covered image set to generate a first 135° gray-level co-occurrence matrix set and a second 135° gray-level co-occurrence matrix set; Adding the first 0° gray-level co-occurrence matrix set, the first 45° gray-level co-occurrence matrix set, the first 90° gray-level co-occurrence matrix set, and the first 135° gray-level co-occurrence matrix set into the first gray-level co-occurrence matrix set; The second 0° gray-level co-occurrence matrix set, the second 45° gray-level co-occurrence matrix set, the second 90° gray-level co-occurrence matrix set and the second 135° gray-level co-occurrence matrix set are added into the second gray-level co-occurrence matrix set.

4. The method for early warning of icing of power transmission lines based on image gray-level co-occurrence matrix according to claim 2, characterized in that: The image feature set includes: texture feature set, color feature set, and shape feature set; Among them, the texture feature set includes at least energy, contrast, uniformity, inverse moment, difference variance, diagonal variance, entropy, and autocorrelation; the color feature set includes at least hue, saturation, and brightness; and the shape feature set includes at least dispersion and contour curvature variance.

5. The method for early warning of icing of power transmission lines based on image gray-level co-occurrence matrix according to claim 2, characterized in that: According to the first image feature set and the second image feature set, a dual-channel neural network is trained to generate a transmission line ice recognition model, including: The dual-channel neural network includes a feature comparison channel and a feature classification channel; Wherein, the feature comparison channel construction step includes: Configure the feature comparison function: ; in, Any image feature vector representing the first image feature set, The i-th dimension feature vector representing any image feature vector of the first image feature set, Any image feature vector representing the second image feature set, The i-th dimension feature vector representing any image feature vector of the second image feature set, The i-th dimension feature vector deviation value representing the one-to-one correspondence between the first image feature and the second image feature, a feature deviation value characterizing the first image feature and the second image feature, Represents the weight of the eigenvector of dimension i, represents the normalized adjustment coefficient, and N represents the dimension of the feature vector; According to the feature comparison function, the feature comparison channel is constructed, and when the output value of the feature comparison function is greater than or equal to the feature deviation threshold, the process of the feature classification channel is executed, otherwise, the ice cover identification information is set to 0; The feature classification channel construction step includes: Calculate a one-to-one corresponding feature deviation vector set of the first image feature set and the second image feature set, and set it as a first input training data set; Collecting a second transmission line non-icing image set and a third transmission line non-icing image set, wherein the second transmission line non-icing image set and the third transmission line non-icing image set correspond one-to-one to the same transmission line; Extracting a feature deviation vector set of the second transmission line non-icing image set and the third transmission line non-icing image set, and setting the set as a second input training data set; Output identification is performed on the first input training data set and the second input training data set to generate an output supervision truth value set, wherein any output supervision truth value is 0 or 1, 1 represents an ice-covered state, and 0 represents a non-ice-covered state; The feature classification channel is trained according to the output supervision truth set and the input training data set.

6. The method for early warning of icing of power transmission lines based on image gray-level co-occurrence matrix according to claim 5, characterized in that: Calculating a one-to-one corresponding feature deviation vector set of the first image feature set and the second image feature set includes: Construct the feature deviation vector calculation function: ; in, Characterize the feature deviation vector of the i-th dimension; According to the feature deviation vector calculation function, processing is performed on the one-to-one corresponding first image feature set and the second image feature set to generate the feature deviation vector set.

7. The method for early warning of icing of power transmission lines based on image gray-level co-occurrence matrix according to claim 1, characterized in that: When the ice covering identification information is 1, and the sag characteristic value of the transmission line is greater than or equal to the sag threshold, an ice covering warning signal is generated and sent to the user end, further comprising: According to the sag characteristic value of the transmission line, tracing back the historical ice-covering record data of the transmission line, wherein the historical ice-covering record data of the transmission line includes a plurality of ice-covering thickness record data; Performing a central trend analysis on the plurality of ice thickness record data to generate an ice thickness characteristic value; An ice cover warning signal is generated according to the ice cover thickness characteristic value and sent to a user end.

8. The transmission line icing warning system based on image gray-level co-occurrence matrix is ​​characterized by: The system is used to implement the transmission line icing early warning method based on the image gray level co-occurrence matrix according to any one of claims 1 to 7, comprising: An image acquisition module, wherein the image acquisition module is used to acquire a transmission line image set, wherein the transmission line image set includes a first transmission line ice-covered image set and a first transmission line non-ice-covered image set, and the first transmission line ice-covered image set and the first transmission line non-ice-covered image set correspond to the same transmission line one by one; A first preprocessing module, the first preprocessing module is used to perform gray level co-occurrence matrix preprocessing on the first transmission line ice-covered image set and the first transmission line non-ice-covered image set to generate a first image feature set and a second image feature set; A first training module, the first training module is used to train a dual-channel neural network according to the first image feature set and the second image feature set to generate a transmission line icing recognition model; A second preprocessing module, the second preprocessing module is used to collect the transmission line site image through the camera device, perform gray level co-occurrence matrix preprocessing, and construct the image feature set to be analyzed; A characteristic value acquisition module, wherein the characteristic value acquisition module is used to collect sag characteristic values ​​of the transmission line through a radar detection device; A first analysis module, the first analysis module is used to analyze the image feature set to be analyzed based on the non-icing image feature set through the transmission line icing recognition model to generate icing identification information; A signal sending module, wherein the signal sending module is used to generate an ice warning signal and send it to a user end when the ice identification information is 1 and the sag characteristic value of the transmission line is greater than or equal to a sag threshold.