Defogging method for icing image of power transmission line and application

By combining image enhancement and restoration algorithms, combined with manual and automatic modes, the optimal defogging algorithm is selected to process ice-covered images of transmission lines, which solves the problem of blur and improves the accuracy of identification and detection and the efficiency of inspection.

CN118657689APending Publication Date: 2024-09-17KUNMING UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410763073.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Photos of lines in ice and fog areas of Yunnan Power Grid are blurry and dim, resulting in low accuracy in identifying ice type and thickness detection of transmission lines. A defogging method is needed to improve image quality and accuracy of subsequent work.

Method used

Two types of defogging algorithms are used: image enhancement-based defogging algorithms and image restoration-based defogging algorithms, combined with manual and automatic modes, through evaluation indicators such as mean square error, peak signal-to-noise ratio, structural similarity, image information entropy and algorithm Run time, select the optimal defogging algorithm for processing, and build a visualization software platform for image defogging and data management.

Benefits of technology

It significantly improves the clarity and accuracy of ice-covered images of transmission lines, improves the accuracy of ice-covered type identification and thickness detection, and enhances inspection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657689A
    Figure CN118657689A
Patent Text Reader

Abstract

The invention discloses a defogging method and application for an icing image of a power transmission line, and the method comprises the steps: obtaining the icing image of the power transmission line, and taking the icing image as a to-be-defogged image; processing the to-be-defogged image by adopting two types of defogging algorithms to obtain a defogged image; wherein the two types of defogging algorithms comprise a defogging algorithm based on image enhancement and a defogging algorithm based on image restoration. According to the power transmission line icing image defogging method provided by the invention, a power transmission line icing image defogging visual platform is further constructed according to the power transmission line icing image defogging method, man-machine interaction is realized, the design is novel, the problem that the power transmission line icing image is blurred and dim due to weather can be solved, and the power transmission line icing image defogging effect is improved. The accuracy of subsequent icing type identification and thickness detection is improved, and the inspection efficiency of power transmission line inspection personnel is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for defogging an ice-covered image of a power transmission line and an application thereof, belonging to the technical field of image defogging. Background Art

[0002] Transmission line icing disasters can easily lead to power grid failures, reduce the reliability of transmission equipment operation, and even cause permanent failures of transmission equipment, resulting in power safety accidents. When the surface of transmission equipment is covered with a large amount of ice and snow, the transmission line is subjected to excessive gravity, which can easily induce problems such as short circuit tripping or line breakage, insulator flashing, and tower (pole) collapse. Therefore, line icing monitoring is particularly important.

[0003] There are many lines in the ice and foggy areas of the Yunnan power grid, which makes the photos taken blurry and dim. If we directly carry out tasks such as ice type identification and thickness detection of transmission lines, there will be a problem of low accuracy. Defogging and enhancing the ice-covered images of transmission lines can greatly improve the accuracy of subsequent tasks such as ice type identification and thickness detection. Based on this, it is necessary to design a defogging method for ice-covered images of transmission lines to solve the above shortcomings.

[0004] This research was supported by the Yunnan Provincial Key R&D Program (202303AA080002); the Yunnan Provincial Basic Research Program Key Project (202301AS070055); and the Yunnan Provincial Basic Research Program Youth Project (202201AU070086). Summary of the invention

[0005] The present invention provides a method and application for defogging images of ice-covered power lines, which are used to defog and enhance images of ice-covered power lines, thereby improving image quality, image parameter indicators, image clarity, etc., so that subsequent work such as ice type identification and thickness detection can be better carried out.

[0006] The technical solution of the present invention is:

[0007] According to a first aspect of the present invention, a method for defogging an image of ice-covered power lines is provided, comprising: acquiring an image of ice-covered power lines as an image to be defogged; using two types of defogging algorithms to process the image to be defogged to obtain a defogged image; wherein the two types of defogging algorithms include a defogging algorithm based on image enhancement and a defogging algorithm based on image restoration.

[0008] The method of using two types of defogging algorithms to process the defogged image to obtain the defogged image specifically comprises: using a manual / automatic defogging mode to determine one of the two types of defogging algorithms to process the defogged image to obtain the defogged image.

[0009] The automatic defogging mode is used to determine one of the two types of defogging algorithms to process the image to be defogged, and obtain the defogged image, including: taking mean square error, peak signal-to-noise ratio, structural similarity, image information entropy and algorithm running time as evaluation indicators; sorting all evaluation indicators according to preset priorities to obtain priority sorting; traversing the two pre-set defogging algorithms according to the selected image to be defogged to obtain indicator values; determining the optimal defogging algorithm according to the priority sorting and the indicator values ​​under the corresponding priority; and outputting all indicator values ​​corresponding to the optimal defogging algorithm and the defogged image.

[0010] The defogging algorithm based on image enhancement includes: a defogging algorithm based on gamma transformation; a defogging algorithm based on histogram equalization; a single-scale defogging algorithm; a multi-scale defogging algorithm; a defogging algorithm based on color restoration; and a multi-scale defogging algorithm with color protection.

[0011] The defogging algorithm based on image restoration includes: a defogging algorithm based on a dark channel; and a defogging algorithm based on a non-local priori.

[0012] According to a second aspect of the present invention, there is provided an application of a method for defogging images of ice-covered transmission lines, which is used to construct a visualization software platform for defogging images of ice-covered transmission lines, including: an image defogging results display module, which is used to display basic information, the current image to be defogged, the image after defogging, image defogging evaluation indicators, image histograms and image information statistics; a module for selecting the image to be defogged, selecting the defogging mode, and selecting the defogging algorithm in the manual defogging mode; a module for exporting the image after defogging; an algorithm management module, which is used to set two preset defogging algorithm parameters; a module for obtaining all index values ​​and the defogged image corresponding to the current image to be defogged according to the method for defogging images of ice-covered transmission lines; an image management module, which is used to add, delete and query the image to be defogged, and save the defogged image and all index values ​​obtained by the algorithm management module according to each defogging algorithm for the defogged image to a storage unit for historical data management during execution.

[0013] The image dehazing evaluation indicators include: algorithm running time, full reference evaluation indicators and no reference evaluation indicators, wherein the full reference evaluation indicators include mean square error, peak signal-to-noise ratio and structural similarity, and the no reference evaluation indicators include image information entropy.

[0014] The image histogram includes a histogram of a current image to be defogged and a histogram of an image after defogging.

[0015] The image information statistics are used to count the number of images to be defogged and the number of images after defogging in the database.

[0016] The beneficial effects of the present invention are as follows: the present invention provides a method for defogging images of ice-covered transmission lines, and further constructs a visualization platform for defogging images of ice-covered transmission lines based on the method for defogging images of ice-covered transmission lines to achieve human-computer interaction. The design is novel and can solve the problem of blurred and dim images of ice-covered transmission lines caused by weather, improve the subsequent accuracy of ice type recognition and thickness detection, and greatly improve the inspection efficiency of transmission line inspection personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is the layout diagram of each functional module of the software platform;

[0018] Figure 2 The main interface for visualizing defogging of ice-covered images of power transmission lines provided according to an embodiment of the present invention;

[0019] Figure 3 An optional data analysis achievement display module layout diagram provided in an embodiment of the present invention;

[0020] Figure 4 This is a flow chart of the defogging algorithm of the present invention;

[0021] Figure 5 Provide a defogging effect diagram based on MSRCP in manual defogging mode for an embodiment of the present invention;

[0022] Figure 6 Provides a defogging effect diagram based on a dark channel in a manual defogging mode for an embodiment of the present invention;

[0023] Figure 7 A group of images to be defogged and images defogged by the optimal algorithm in the automatic defogging mode provided by an embodiment of the present invention; wherein the optimal algorithm selected according to the priority and value of the index is MSRCP;

[0024] Figure 8 Another group of images to be defogged and images after being defogged by the optimal algorithm in the automatic defogging mode are provided in an embodiment of the present invention; wherein the optimal algorithm selected according to the priority and index value of the index is MSRCP. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. It should be noted that the embodiments in this application and the features in the embodiments can be combined with each other arbitrarily without conflict.

[0026] Example 1: Figure 1-8As shown, according to the first aspect of an embodiment of the present invention, a method for defogging an image of ice-covered power lines is provided, comprising: obtaining an image of ice-covered power lines as an image to be defogged; using two types of defogging algorithms to process the image to be defogged to obtain a defogged image; wherein the two types of defogging algorithms include a defogging algorithm based on image enhancement and a defogging algorithm based on image restoration.

[0027] Furthermore, the two types of defogging algorithms are used to process the image to be defogged to obtain the defogged image, specifically comprising: using a manual / automatic defogging mode to determine one of the two types of defogging algorithms to process the image to be defogged to obtain the defogged image.

[0028] Furthermore, the automatic defogging mode is used to determine one of the two types of defogging algorithms to process the image to be defogged to obtain the defogged image, including: taking mean square error, peak signal-to-noise ratio, structural similarity, image information entropy and algorithm running time as evaluation indicators; sorting all evaluation indicators according to preset priorities to obtain priority ranking; traversing the two pre-set defogging algorithms according to the selected image to be defogged to obtain indicator values; determining the optimal defogging algorithm according to the priority ranking and the indicator values ​​under the corresponding priority; and outputting all indicator values ​​and the defogged image corresponding to the optimal defogging algorithm.

[0029] Furthermore, the defogging algorithm based on image enhancement includes: a defogging algorithm based on gamma transform; a defogging algorithm based on histogram equalization (HE); a defogging algorithm based on a single-scale Retinex (SSR); a defogging algorithm based on a multi-scale Retinex (MSR); a defogging algorithm based on MSR (multi-scale retinex with color restoration, MSRCR); a defogging algorithm based on a multi-scale Retinex with chromaticity preservation (MSRCP) with color protection.

[0030] Furthermore, the defogging algorithm based on image restoration includes: a defogging algorithm based on a dark channel; and a defogging algorithm based on a non-local prior.

[0031] Furthermore, the gamma transform-based defogging algorithm corrects pixel values ​​that are too high or too low in grayscale, and the transformation formula is as follows:

[0032] s=cr γ , r∈[0,1];

[0033] Where s is the grayscale output value; r is the grayscale image input value; c is the grayscale scaling factor, which is 1; γ is the correction factor, which is 0.5.

[0034] The expression of the defogging algorithm based on histogram equalization is as follows:

[0035]

[0036] In the formula, S k is the cumulative value of the histogram probability; p r is to calculate the probability of each pixel in the gray shade in the original image; k is the total number of pixels in the image; n i is the number of gray levels in the image.

[0037] The SSR defogging algorithm formula is as follows:

[0038] lgR(x,y)=lgI(x,y)-lgL(x,y)=lgI(x,y)-lg[G(x,y)*I(x,y)];

[0039] Where (x, y) represents the image coordinates; I represents the original image; R represents the reflection component; L represents the incident component; λ is the normalization factor of the Gaussian function; δ is the scale factor, which determines the degree of detail preservation of the image to be enhanced.

[0040] The MSR defogging algorithm expression is:

[0041]

[0042] In the formula, ω j is the jth scale weight, generally 1 / 3; G j (x,y) is a Gaussian surround function.

[0043] The MSRCR-based defogging algorithm expression:

[0044]

[0045] In the formula, C i represents the color restoration function; ω j Represents the Gaussian function weight, which is 1 / 3.

[0046] The MSRCP-based defogging algorithm expression:

[0047] R(x,y)=AI (R,G,B) (x,y);

[0048]

[0049] I nt=(I R +I G +I B ) / 3;

[0050] Where A is the amplification factor; I (R,G,B) is the RGB feature map of the image at (x, y); B is the maximum value of the pixel values ​​of the three channels of the i-th pixel in the original image; I nt is the intensity image; I R ,I G ,I B It is the RGB channel component of the original image.

[0051] The calculation formula of the atmospheric scattering model used by the dehazing algorithm based on image restoration is as follows:

[0052] I(x)=J(x)t(x)+A(1-t(x));

[0053] In the formula, the first term represents the direct attenuation part, the second term represents the atmospheric light attenuation part; I(x) represents the obtained transmission line ice-covered image with fog; J(x) represents the fog-free image; t(x) represents the transmittance of light in the air medium; x represents the pixel position in the image. The fog-free image J(x) can be obtained by estimating the values ​​of t(x) and A.

[0054] The principle of the dehazing algorithm based on the dark channel is to assume that in the non-sky local area of ​​the image without haze interference, at least one channel of the RGB space is severely attenuated, which can be described as:

[0055]

[0056] Where, Ω represents the center point of the local area with x as the center point; J c (y) represents the value of each channel of the haze-free image.

[0057] The transmittance t(x) can be estimated by the following prior knowledge:

[0058]

[0059] In the formula, I c (y) represents one of the RGB color channels of image I, and ω is 0.95 in the dark channel. A exists in the most foggy part of the image, and the dark channel represents the fog size of the image. Therefore, the original method determines the selection range of the atmospheric light value A to the pixel area with the pixel value in the top 0.1% in the dark channel image. By obtaining A, t(x) can be obtained, and the defogging image can be obtained according to the following formula:

[0060]

[0061] t0 is the threshold value set, which is 0.1.

[0062] In the non-local prior image defogging algorithm, the distance between a point in RGB space and atmospheric light is defined as:

[0063] I A (x) = I(x) - A;

[0064] Substituting it into I(x)=J(x)t(x)+A(1-t(x)) we get:

[0065] I(x) = t(x)[J(x) - A];

[0066] Convert it to a spherical coordinate system centered at the atmospheric light:

[0067]

[0068] Where r(x) represents the distance to the atmospheric light, θ(x) and Represents the zenith angle and azimuth angle of spherical coordinates.

[0069] The transmittance is only related to r, so zenith angles and azimuth angles of similar size can be considered to be in the same fog line, and then the fog line can be located using the k-means clustering algorithm. Combining r(x)=t(x)||I(x)-A|| and I(x)=J(x)t(x)+A(1-t(x)), we get r(x)=t(x)||I(x)-A||, the maximum transmittance is 1, and the corresponding maximum radius is r(x)=||I(x)-A||, and the transmittance is defined as:

[0070] The dehazed image is obtained according to the following formula:

[0071]

[0072] In the formula, t 0 is the threshold value set, which is 0.1.

[0073] Through experiments, when two types of defogging algorithms are used to process the defogging images, the following conclusions are obtained:

[0074]

[0075] By applying the above technical solution, it can be known that in automatic mode, the pre-set defogging algorithm can be traversed according to the selected image to be defogged, and each indicator of each algorithm can be calculated, and the priority is sorted in the order of mean square error, peak signal-to-noise ratio, structural similarity, image information entropy and algorithm running time. The optimal defogging image is selected and output according to the priority and value of the indicator. The defogging algorithm can also be manually selected to defog the image. The combination of the two modes can better adapt to the defogging processing of images to be defogged under different degrees of ice coverage. Figure 5-Figure 6 The comparison experiment results in manual defogging mode are shown in Figure 2. Figure 7-Figure 8 The comparison results of the automatic defogging mode are shown in Figure 2. Furthermore, the priority of the indicators can be adjusted as needed.

[0076] According to a second aspect of an embodiment of the present invention, there is provided an application of a method for defogging images of ice-covered transmission lines, which is used to construct a visualization software platform for defogging images of ice-covered transmission lines, including: an image defogging results display module, which is used to display basic information, the current image to be defogged, the image after defogging, image defogging evaluation indicators, image histograms and image information statistics; a module for selecting images to be defogged, selecting defogging modes, and selecting defogging algorithms in manual defogging modes; a module for exporting images after defogging; an algorithm management module, which is used to set two types of preset defogging algorithm parameters; a module for obtaining all index values ​​and defogged images corresponding to the current image to be defogged according to the method for defogging images of ice-covered transmission lines; an image management module, which is used to add, delete and query images to be defogged, and save the defogged images and all index values ​​obtained by the algorithm management module according to various defogging algorithms for the defogged images to a storage unit for historical data management during execution.

[0077] Furthermore, the basic information mainly displays real-time time, city, weather and other information; the image defogging evaluation indicators include: algorithm running time, full reference evaluation indicators and no-reference evaluation indicators, among which the full reference evaluation indicators include mean squared error (MSE), peak signal to noise ratio (PSNR) and structural similarity index measurement (SSIM), and the no-reference evaluation indicators include image information entropy; the image histogram includes the histogram of the current image to be defogged and the histogram of the image after defogging. The histogram describes the quantitative characteristics of the color in the image, which can reflect the statistical distribution and basic tone of the image color; the image information statistics are used to count the number of images to be defogged and the number of images after defogging in the database.

[0078] Furthermore, it also includes a system management module, including notifications, interface management, log management, menu management, and system interface; among them, notifications are used to publish notifications; interface management can set the functional modules and background styles used for the main interface display of the power line de-icing image visualization software platform; log management can be operation logs, login logs, etc. (the software platform is only for line inspection personnel with management authority to log in, and any operation of the software platform administrator can leave an unchangeable operation log); menu management is used to configure operation permissions and button permissions; the system interface module facilitates the expansion and interaction of system functions through the system interface.

[0079] The specific implementation modes of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above implementation modes, and various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention.

Claims

1. A method for defogging ice-covered images of power transmission lines, characterized in that: include: Acquire an ice-covered image of a transmission line as the image to be defogged; Two types of defogging algorithms are used to process the defogging image to obtain the defogging image; wherein the two types of defogging algorithms include a defogging algorithm based on image enhancement and a defogging algorithm based on image restoration.

2. The method for defogging ice-covered images of power transmission lines according to claim 1, characterized in that: The method of using two types of defogging algorithms to process the defogged image to obtain the defogged image specifically comprises: using a manual / automatic defogging mode to determine one of the two types of defogging algorithms to process the defogged image to obtain the defogged image.

3. The method for defogging ice-covered images of power transmission lines according to claim 2, characterized in that: The automatic defogging mode is used to determine one of two types of defogging algorithms to process the image to be defogged to obtain the defogged image, including: The mean square error, peak signal-to-noise ratio, structural similarity, image information entropy and algorithm running time were used as evaluation indicators; Sort all evaluation indicators according to the preset priorities to obtain priority ranking; According to the selected image to be defogged, two pre-set defogging algorithms are traversed to obtain the index value; Determine the optimal defogging algorithm based on the priority sorting and the index values ​​under the corresponding priority; output all index values ​​and defogging images corresponding to the optimal defogging algorithm.

4. The method for defogging ice-covered images of power transmission lines according to claim 1, characterized in that: The defogging algorithm based on image enhancement includes: a defogging algorithm based on gamma transformation; a defogging algorithm based on histogram equalization; a single-scale defogging algorithm; a multi-scale defogging algorithm; a defogging algorithm based on color restoration; and a multi-scale defogging algorithm with color protection.

5. The method for defogging ice-covered images of power transmission lines according to claim 1, characterized in that: The defogging algorithm based on image restoration includes: a defogging algorithm based on a dark channel; and a defogging algorithm based on a non-local priori.

6. An application of a method for defogging ice-covered images of power transmission lines, characterized in that: Used to build a software platform for defogging and visualization of ice-covered images of power transmission lines, characterized by including: Image defogging results display module, used to display basic information, current image to be defogged, defogged image, image defogging evaluation index, image histogram and image information statistics; used to select the image to be defogged, the defogging mode, the defogging algorithm in the manual defogging mode; used to export the defogged image; The algorithm management module is used to set the parameters of the two preset defogging algorithms; it is used to obtain all index values ​​corresponding to the current defogging image and the defogging image according to the defogging method of the ice-covered image of the transmission line; The image management module is used for adding, deleting and querying the images to be defogged, and saves the defogged images and all index values ​​obtained by the algorithm management module according to each defogging algorithm to the storage unit for historical data management.

7. The application of the method for defogging ice-covered images of power transmission lines according to claim 6, characterized in that: The image dehazing evaluation indicators include: algorithm running time, full reference evaluation indicators and no reference evaluation indicators, wherein the full reference evaluation indicators include mean square error, peak signal-to-noise ratio and structural similarity, and the no reference evaluation indicators include image information entropy.

8. The application of the method for defogging ice-covered images of power transmission lines according to claim 6, characterized in that: The image histogram includes a histogram of a current image to be defogged and a histogram of an image after defogging.

9. The application of the method for defogging ice-covered images of power transmission lines according to claim 6, characterized in that: The image information statistics are used to count the number of images to be defogged and the number of images after defogging in the database.