CN113327206B - Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence - Google Patents

Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence Download PDF

Info

Publication number
CN113327206B
CN113327206B CN202110618991.XA CN202110618991A CN113327206B CN 113327206 B CN113327206 B CN 113327206B CN 202110618991 A CN202110618991 A CN 202110618991A CN 113327206 B CN113327206 B CN 113327206B
Authority
CN
China
Prior art keywords
image
gradient
average gray
difference
calculating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110618991.XA
Other languages
Chinese (zh)
Other versions
CN113327206A (en
Inventor
姜平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Dianbaida Intelligent Technology Co ltd
Original Assignee
Jiangsu Dianbaida Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Dianbaida Intelligent Technology Co ltd filed Critical Jiangsu Dianbaida Intelligent Technology Co ltd
Priority to CN202110618991.XA priority Critical patent/CN113327206B/en
Publication of CN113327206A publication Critical patent/CN113327206A/en
Application granted granted Critical
Publication of CN113327206B publication Critical patent/CN113327206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • G06T5/73
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques

Abstract

The invention relates to an image fuzzy processing method of an intelligent power transmission line inspection system based on artificial intelligence, which comprises the steps of obtaining the gradient distribution of a standard image and a fuzzy image, calculating the fuzziness of the image according to the difference of the gradient distribution of the standard image and the fuzzy image, and carrying out image enhancement processing on the fuzzy image to obtain a semi-clear image; then clustering the gray difference data of each pixel in the calculated blurred image and the semi-sharp image to obtain the average gray difference and weight of each type, calculating the sum of the average gray differences of the whole image, calculating the block size of the blurred image by combining the average gray difference of each type to obtain a sliding window, performing sliding window operation on the semi-sharp image to obtain an image block corresponding to a window equal to the sum of the average gray differences as a final Patch block, calculating a blur kernel, and deblurring the semi-sharp image to obtain the sharp image. Namely, the invention reserves the image information of the blurred image when deblurring is carried out, and can effectively avoid the subsequent over-processing of the partial area of the semi-clear image.

Description

Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence
Technical Field
The invention relates to the technical field of image processing, in particular to an image fuzzy processing method of an intelligent power transmission line inspection system based on artificial intelligence.
Background
With the development of the artificial intelligence technology era, people have stronger dependence on power resources, so that the stability of voltage is particularly important to maintain. Under traditional operation mode, the power worker need regularly patrol high-voltage line, and this kind of mode has not only brought a series of safety risks for the power worker, and needs a large amount of workman to accomplish, and efficiency is also comparatively low when consuming great cost of labor.
At present, although a professional high-voltage wire inspection robot is used for replacing workers to carry out all-weather uninterrupted inspection, the labor cost is correspondingly saved while the efficiency is improved, but the environment influence is great when the robot runs. The robot is loaded with an industrial camera, and can travel along the high-voltage wire and shoot the video of the high-voltage wire after being fixed on the high-voltage wire. However, the high-voltage wire is generally located at a high position, and particularly when the wind force is strong, the machine is disturbed by the wind force during the traveling process to shake, so that the imaging picture is blurred, and the judgment is affected.
The commonly used technology for blurred images is to use wiener filtering or Richardson-Lucy algorithm, and perform inverse convolution operation by using the imaging of an actual lens and the diffraction limit PSF of the lens to obtain the imaging of an ideal lens. Although the method has ideal effect, the PSF parameters (fuzzy length and scale) of the lens need to be known in advance, and the PSF parameters cannot be measured in advance in many cases. Although there are a series of methods for estimating camera blur kernel to obtain PSF parameters laterally, the method still has the problems of large calculation amount, unsatisfactory result and the like, and because of the randomness of shaking, the blur degree of each part in the image is not the same, and the uniform parameter recovery of the image sometimes obtains a poor recovery effect.
Disclosure of Invention
The invention aims to provide an image blurring processing method of an artificial intelligence-based intelligent inspection system for a power transmission line, which is used for solving the problem that the effect is poor when the unified processing of images is carried out because the difference of blurring degrees of all parts in the images is not considered in the prior art.
The invention provides an image fuzzy processing method of an intelligent power transmission line inspection system based on artificial intelligence, which comprises the following steps:
acquiring a blurred image to be processed and a standard image, wherein the standard image is a clear image similar to the blurred image;
secondly, performing image enhancement processing on the blurred image to obtain an enhanced semi-sharp image;
thirdly, calculating gray difference data of each pixel in the blurred image and the semi-sharp image, clustering the gray difference data to obtain average gray differences of various types after clustering, setting corresponding weights for different types, and calculating the sum of the average gray differences of the whole image according to the average gray differences of various types and the set weights
Figure GDA0003191456690000021
Wherein the sum of the average gray differences of the whole image
Figure GDA0003191456690000022
Comprises the following steps:
Figure GDA0003191456690000023
wherein, deltaTIs the sum of the average gray differences of the F types;
Figure GDA0003191456690000024
representing the weight, wherein the smaller the average gray difference is, the larger the weight occupied correspondingly;
step four, calculating the size of the fuzzy image block according to the sum of the average gray difference of the whole image and the average gray difference of each type;
the calculation formula of the block size of the blurred image is as follows:
Figure GDA0003191456690000025
wherein G isjSynthesizing the sum of the average gray difference to the average gray difference for each cluster
Figure GDA0003191456690000027
The contribution value of (c).
Step five, the block size of the blurred image is processed to be used as the size of a sliding window of the semi-clear image, the sliding window operation is carried out on the semi-clear image, the average gray difference of the image in the window is calculated, after the semi-clear image is traversed, the length and the width of the sliding window are changed, the average gray difference of the image in the window is continuously calculated, and the average gray difference of the image in the window is compared with the average gray difference of the image in the window
Figure GDA0003191456690000026
When the difference value between the two is smaller than a set value, the image block of the semi-clear image corresponding to the average gray difference of the image in the window is used as a final Patch block;
and step six, calculating a fuzzy core of the obtained Patch block, and performing deblurring processing on the semi-clear image according to the fuzzy core to obtain a clear image.
Further, the image enhancement processing process includes:
1) respectively calculating the gradient distribution of the blurred image and the standard image, acquiring gradient distribution curves of corresponding images, calculating the curvature of pixel points corresponding to the same gradient on each curve, and calculating the curvature difference of points corresponding to the same gradient on the two curves; calculating the variance of all the curvature differences according to the curvature differences to determine the similarity of the gradient distribution curves of the two images;
the similarity is A ═ eWherein δ is the variance of the calculated curvature difference;
2) respectively acquiring the number of pixel points of the fuzzy image and the standard image when the gradient is 0, and calculating the gradient curve similarity of the two images;
the gradient curve similarity B is as follows:
Figure GDA0003191456690000031
wherein N is the total gradient value corresponding to the image with the largest gradient range in the two gradient images; n isc,iThe number of pixel points corresponding to the ith gradient on the current real-time gradient image is determined; n iss,iExpressing the number of pixel points corresponding to the ith gradient on the standard gradient image; n isTThe total number of the pixel points on the current real-time gradient image is obtained;
3) calculating the image fuzziness according to the obtained similarity and the gradient curve similarity;
wherein the image blur degree is:
Z=1-A·B
wherein A is similarity, B is gradient curve similarity; (ii) a
4) Optimizing pixels of the blurred image according to the calculated image blur degree to obtain pixel values of the optimized image; wherein the pixel values of the optimized image are:
Figure GDA0003191456690000032
wherein M isi(x, y) represents the gray value finally updated after the ith pixel integrates the horizontal direction and the vertical direction; gix,Giy is the pixel value G updated by the degree of blur Z corresponding to the horizontal and vertical directions, respectivelyix:
Gix=gix+∈ix(1+Z)
Wherein, giRepresents the gray value of the ith pixel, ∈iIs the gradient between the ith pixel and its neighboring pixels
Further, in step three, the calculation of the sum of the average gray differences is also performed according to the areas of the different classes:
Figure GDA0003191456690000033
wherein S is the total area of the image, SjIs the area of the clustered jth class.
Further, the calculation formula of the block size of the blurred image is as follows:
Figure GDA0003191456690000034
wherein the content of the first and second substances,
Figure GDA0003191456690000041
then G isjSynthesizing the average gray scale difference and the corresponding area-to-average gray scale difference for each cluster
Figure GDA0003191456690000043
The contribution value of (c).
Further, the size of the sliding window for performing the sliding window operation is:
Figure GDA0003191456690000042
wherein x and y are the length and width of the sliding window respectively.
The invention has the beneficial effects that:
the scheme of the image blurring processing method of the invention reserves the image information of the blurred image when deblurring is carried out, and can effectively avoid the subsequent over processing of the partial area of the semi-clear image.
Meanwhile, the method and the device utilize the characteristics of gradient distribution and the aggregation of pixel points during image blurring to obtain the blurring degree of the image, thereby optimizing and adjusting the blurred image and enhancing the definition of the blurred image.
According to the method, the final patch block is determined by introducing the factor of the area occupied by each type, so that the deblurring accuracy can be improved to a certain extent.
Drawings
In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings needed to be used in the embodiment will be briefly described as follows:
fig. 1 is a flow chart of the method of the image fuzzy processing method of the intelligent power transmission line inspection system based on artificial intelligence.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
The invention provides an image fuzzy processing method of an intelligent power transmission line inspection system based on artificial intelligence, which comprises the following steps as shown in figure 1:
acquiring a blurred image to be processed and a standard image, wherein the standard image is a clear image similar to the blurred image;
in this embodiment, the standard image is a clear image close to the blurred image, and the close clear image is a multi-frame image taken when the robot is stable in a good weather condition and in a windless environment, and 20 frames may be selected.
Secondly, performing image enhancement processing on the blurred image to obtain an enhanced semi-sharp image;
the image enhancement processing in the above steps comprises:
1) respectively calculating the gradient distribution of the blurred image and the standard image, acquiring gradient distribution curves of corresponding images, calculating the curvature of pixel points corresponding to the same gradient on each curve, and calculating the curvature difference of points corresponding to the same gradient on the two curves; calculating the variance of all the curvature differences according to the curvature differences to determine the similarity of the gradient distribution curves of the two images;
the similarity is A ═ eWhere δ is the variance of the calculated curvature difference.
In the above step, the obtained gradient distribution of the blurred image and the standard image is normalized to make the two distribution curves in the same range.
In this embodiment, the blurred image and the standard image are further processed, that is, after the captured image is converted into a grayscale image, a gradient corresponding to the image is calculated, where the gradient is a difference between two adjacent pixels in each image.
It should be noted that a clear image contains many smooth regions and is low in noise, so that pixels with a gradient close to zero occupy most of the clear image, and therefore, the gradient of the clear natural image conforms to a heavy tail distribution form. The image is clear, so the object boundary is obvious, the gradient of a plurality of pixels is large, the distribution diagram is approximately as shown in figure 1 and is the gradient distribution of the standard image acquired when the robot is stable; whereas blurred images tend to have more pixel gradients towards zero as the edges are blurred out.
2) Respectively acquiring the number of pixel points of the fuzzy image and the standard image when the gradient is 0, and calculating the gradient curve similarity of the two images;
the gradient curve similarity B is:
Figure GDA0003191456690000051
wherein N is the total gradient value corresponding to the image with the largest gradient range in the two gradient images;nc,ithe number of pixel points corresponding to the ith gradient on the current real-time gradient image is determined; n iss,iExpressing the number of pixel points corresponding to the ith gradient on the standard gradient image; n isTThe total number of the pixel points on the current real-time gradient image is obtained.
3) Calculating the image ambiguity according to the obtained first similarity and the gradient curve similarity;
wherein the image blur degree is:
Z=1-A·B
wherein A is similarity, B is gradient curve similarity;
the higher the degree of blur of the images in the above embodiments is, the lower the similarity between the two images is, and accordingly the blurred image is more blurred, otherwise the blurred image is clearer.
4) Optimizing pixels of the blurred image according to the calculated image blur degree to obtain pixel values of the optimized image; wherein the pixel values of the optimized image are:
Figure GDA0003191456690000061
wherein M isi(x, y) represents the gray value finally updated after the ith pixel integrates the horizontal direction and the vertical direction; gix,Giy is the pixel value after the update of the degree of blur Z corresponding to the horizontal and vertical directions, Gix is:
Gix=gix+∈ix(1+Z)
wherein, giRepresents the gray value of the ith pixel, ∈iIs the gradient between the ith pixel and its neighboring pixels.
Since the pixel values are integers, G calculated in the above formula is usediThe value of x is rounded down and when GiWhen x exceeds 255, let Gix=255。
The ambiguity Z obtained by the method comprehensively reflects the ambiguity of the original blurred image, and the problem that the ambiguity is not accurately calculated from single factors such as curve similarity and corresponding gradient density is solved; and not only on the basis of the method, compared with the conventional image enhancement process, the method effectively improves the definition of the original image in the subsequent image enhancement process, but also further improves the definition of the image for obtaining the most ideal patch block subsequently.
A specific embodiment is given below, taking an image as an example, to perform a detailed description of image enhancement:
1) if a certain pixel value in the horizontal direction in the image is 90 and the adjacent pixels in the horizontal direction are 80,80 and 80 respectively, the corresponding gradients in the horizontal direction are 10,0 and 0 respectively;
the gradient in the above is calculated only by taking the absolute value of the change, indicating the magnitude of the change.
2) The gray value of the pixel in the new image after optimization is as follows: gix is 90+10(1+0.6) is 106, wherein the blurring degree Z of the image where the pixel is located in the first step is 0.6; then the updated horizontal direction corresponding pixel gray values are 106, 80,80, 80.
According to the optimization mode, the contrast of the image is enhanced, particularly the outline and the edge of an object in the image are greatly distinguished from the background, and the purpose of enhancing the definition of the image is achieved.
Because only the horizontal direction is calculated in the steps, the vertical direction can be obtained in the same way; since the square sum is open in practical application and results in large calculation amount, the operation of approximating the square and square root according to the absolute value in the conventional approximation method in the invention reduces the calculation amount, and the calculation formula is as follows:
Mi(x,y)=|Gix|+|Giy for the above embodiment, it should be noted that the difference in gray scale value between the gray scale values of the pixels 90 and 80 is 10, which is not obvious, and the contour is necessarily blurred with a large group of consecutive pixels having a gray scale value of 90. Because the gray value of the adjacent pixel is changed, the corresponding gradient has a value, if the gray value of the adjacent pixel is not changed, the gradient is zero, therefore, the gradient value and the corresponding gray value of the pixel pass through the characteristic valueAdding the optimized Z values, wherein the gray value is unchanged, the pixel value is unchanged, and the gray value is increased when the gray value has a gradient value;
thirdly, calculating gray difference data of each pixel in the blurred image and the semi-sharp image, clustering the gray difference data to obtain average gray differences of various types after clustering, setting corresponding weights for different types, and calculating the sum of the average gray differences of the whole image according to the average gray differences of various types and the set weights
Figure GDA0003191456690000071
Wherein the sum of the average gray differences of the whole image
Figure GDA0003191456690000075
Comprises the following steps:
Figure GDA0003191456690000072
wherein, deltaTIs the sum of the average gray differences of the F types;
Figure GDA0003191456690000073
the smaller the representation weight, i.e., the average gray-scale difference, the greater the corresponding weight.
For example, if F is five types, the average gray scale difference is 1, 2, 3, 4, 5 from small to large, and then delta isT15, each corresponding weight is
Figure GDA0003191456690000074
It should be noted that, because the gray level difference between the blurred image and the semi-sharp image is used instead of being calculated by the semi-sharp image and the standard image, the original blurred image is subjected to image enhancement processing, the contrast of the contour in the processed image is clearer and more obvious, and then the corresponding pixel gray level value is changed differently. At this time, if the processed semi-sharp image is compared with the standard image, even if a partial region of the image is already enhanced to be very sharp and even exceeds the definition of a corresponding region of the standard image, because the pixel gray values of the semi-sharp image and the standard image are not the same, a person may misunderstand that the enhanced region is still different from the standard region and still has a certain degree of blur, thereby affecting the subsequent determination result.
Therefore, by calculating the average gray level difference between the blurred image and the semi-sharp image, according to the principle that the more blurred the image is, the smaller the pixel gradient of the corresponding region is, and the smaller the gray level difference after compensation is, the smaller the gray level difference between the blurred image and the semi-sharp image is, the more blurred the region is, that is, the region is not effectively enhanced, so that in the subsequent calculation, the weight ratio corresponding to the average gray level difference of the region is larger, that is, when deblurring is performed, the image information of the blurred image is retained, and the subsequent over-processing of partial regions of the semi-sharp image can be effectively avoided; the average gray difference corresponding region reflects a region which can represent the most enhanced image blurring degree; it should be emphasized that the average gray level in the present invention is only used to find the area index with a larger degree of corresponding blur.
As other implementation modes, the invention also introduces the factor of area, namely, the difference of the areas of various types of clustered images occupying the total blurred image is considered, and further the corresponding influence is generated on the weight, namely, the sum of the average gray differences of the whole image
Figure GDA0003191456690000086
Comprises the following steps:
Figure GDA0003191456690000081
wherein S is the total area of the image, SjIs the area of the clustered jth class.
Step four, calculating the size of the fuzzy image block according to the sum of the average gray difference of the whole image and the average gray difference of each type;
the calculation formula of the block size of the blurred image is as follows:
Figure GDA0003191456690000082
wherein the content of the first and second substances,
Figure GDA0003191456690000083
then G isjThe sum of the average gray level difference and the corresponding area factor influenced average gray level difference is integrated for each cluster
Figure GDA0003191456690000087
The contribution value of (c).
The step is to determine the sliding window size W of the selected Patch block according to the contribution value of each cluster, namely to determine the size of the sliding window size area, and the sliding window area comprehensively considers the influence of each cluster on the average gray value, so that the obtained sliding window area and the corresponding average gray difference sum
Figure GDA0003191456690000088
And the close combination can determine a more accurate and effective Patch block.
As another embodiment, when the area factor is introduced, the calculation formula of the block size of the blurred image is as follows:
Figure GDA0003191456690000084
wherein the content of the first and second substances,
Figure GDA0003191456690000085
then G isjThe sum of the average gray level difference and the corresponding area factor influenced average gray level difference is integrated for each cluster
Figure GDA0003191456690000089
The contribution value of (c).
Step five, the block size of the fuzzy image is processed to be used as the size of a sliding window of the semi-clear image, the sliding window operation is carried out on the semi-clear image, and the average gray level of the image in the window is calculatedAfter traversing the semi-clear image, changing the length and width of the sliding window, continuously calculating the average gray difference of the image in the window, and comparing the average gray difference of the image in the window with the average gray difference of the image in the window
Figure GDA00031914566900000810
When the difference value between the two is smaller than the set per unit value range, taking the image block of the semi-clear image corresponding to the average gray level difference of the image in the window as a final Patch block;
specifically, the blurred image block size W is converted into a common sliding window shape by previously setting the maximum length of the long side of the sliding window to twice the length of the short side of the sliding window
Figure GDA0003191456690000091
Wherein x and y are the length and width of the sliding window respectively.
It should be noted that, in the present invention, the window sliding operation with the step length of 1 is performed every time one window shape size is started from the first pixel on the enhanced image, the average gray level difference in the window is calculated, the size of the window is changed after the entire image is traversed, the step length is still one pixel for continuous traversal, and the finally obtained average gray level difference under each window is selected to be closest to the size of the window
Figure GDA0003191456690000092
The window (the difference between the two is within the range of the set per unit value, and the specific value of the per unit value can be set according to the actual situation) of (1) is used as the final Patch block.
And step six, calculating a fuzzy core of the obtained Patch block, and performing deblurring processing on the semi-clear image according to the fuzzy core to obtain a clear image.
In this embodiment, the estimation of the blur kernel is to estimate the convolution kernel by using a MAP method and a variational bayes method, and further calculate the blur kernel of the image.
The method specifically comprises the following steps:
1) considering the problem as a maximum a posteriori probability problem, a standard MAP objective function is used to solve the convolution kernel k, argmaxkp(k | p), where p is the blurred image block represented by the Patch block.
Where p (k | p) is the marginal probability with respect to the unknown resultant image L, i.e.
p(k|p)=∫p(k,L|p)dL
2) Since the posterior probabilities are required for every possible k in the above steps and are added up to obtain p (k | p), the calculation amount for the marginal probability is very large.
The expression and the solution of the posterior probability are approximated according to the most general variational Bayes method in the invention, and the process is not described in detail because it is a known technology and is not the focus of the invention.
In the embodiment, the sharp image L can be reconstructed according to a standard deconvolution algorithm according to the obtained blur kernel and a known blurred image, and the final sharp image is obtained in an iterative manner by using the most classical Richardson-Lucy algorithm in the invention.
It should be noted that while the preferred embodiments of the present invention have been described, additional variations and modifications to these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.

Claims (5)

1. An image fuzzy processing method of an intelligent power transmission line inspection system based on artificial intelligence is characterized by comprising the following steps:
acquiring a blurred image to be processed and a standard image, wherein the standard image is a clear image similar to the blurred image;
calculating the gradient distribution of the standard image and the blurred image, calculating the blur degree of the image according to the difference of the gradient distribution of the standard image and the blurred image, and performing image enhancement processing on the blurred image according to the blur degree to obtain an enhanced semi-sharp image;
thirdly, calculating the gray difference data of each pixel in the blurred image and the semi-sharp image, and comparing the gray difference dataClustering is carried out, average gray level differences of various types after clustering are obtained, corresponding weights are set for different types, and the sum of the average gray level differences of the whole image is calculated according to the average gray level of various types and the set weights
Figure FDA0003098851230000011
Wherein the sum of the average gray differences of the whole image
Figure FDA0003098851230000012
Comprises the following steps:
Figure FDA0003098851230000013
wherein, deltaTIs the sum of the average gray differences of the F types;
Figure FDA0003098851230000014
representing the weight, wherein the smaller the average gray difference is, the larger the weight occupied correspondingly;
step four, calculating the size of the fuzzy image block according to the sum of the average gray difference of the whole image and the average gray difference of each type;
the calculation formula of the block size of the blurred image is as follows:
Figure FDA0003098851230000015
wherein G isjSynthesizing the sum of the average gray difference to the average gray difference for each cluster
Figure FDA0003098851230000016
The contribution value of (c).
Step five, the block size of the fuzzy image is processed to be used as the size of a sliding window of the semi-clear image, the sliding window operation is carried out on the semi-clear image, the average gray level difference of the image in the window is calculated, and the image is traversedAfter the semi-clear image is finished, the length and width of the sliding window are changed, the average gray difference of the image in the window is continuously calculated, and the average gray difference of the image in the window is compared with the average gray difference of the image in the window
Figure FDA0003098851230000017
When the difference value between the two is smaller than a set value, the image block of the semi-clear image corresponding to the average gray difference of the image in the window is used as a final Patch block;
and step six, calculating a fuzzy core of the obtained Patch block, and performing deblurring processing on the semi-clear image according to the fuzzy core to obtain a clear image.
2. The image blurring processing method for the intelligent power transmission line inspection system based on the artificial intelligence as claimed in claim 1, wherein the image enhancement processing procedure is as follows:
1) respectively calculating the gradient distribution of the blurred image and the standard image, acquiring gradient distribution curves of corresponding images, calculating the curvature of pixel points corresponding to the same gradient on each curve, and calculating the curvature difference of points corresponding to the same gradient on the two curves; calculating the variance of all the curvature differences according to the curvature differences to determine the similarity of the gradient distribution curves of the two images;
the similarity is A ═ eWherein δ is the variance of the calculated curvature difference;
2) respectively acquiring the number of pixel points of the fuzzy image and the standard image when the gradient is 0, and calculating the gradient curve similarity of the two images;
the gradient curve similarity B is as follows:
Figure FDA0003098851230000021
wherein N is the total gradient value corresponding to the image with the largest gradient range in the two gradient images; n isc,iThe number of pixel points corresponding to the ith gradient on the current real-time gradient image is determined; n iss,iRepresenting standard gradientsThe number of pixel points corresponding to the ith gradient on the image; n isTThe total number of the pixel points on the current real-time gradient image is determined;
3) calculating the image fuzziness according to the obtained similarity and the gradient curve similarity;
wherein the image blur degree is:
Z=1-A·B
wherein A is similarity, B is gradient curve similarity;
4) optimizing pixels of the blurred image according to the calculated image blur degree to obtain pixel values of the optimized image;
wherein the pixel values of the optimized image are:
Figure FDA0003098851230000022
wherein M isi(x, y) represents the gray value finally updated after the ith pixel integrates the horizontal direction and the vertical direction; gix,Giy is the pixel value G updated by the degree of blur Z corresponding to the horizontal and vertical directions, respectivelyix:
Gix=gix+∈ix(1+Z)
Wherein, giRepresents the gray value of the ith pixel, ∈iIs the gradient between the ith pixel and its neighboring pixels.
3. The image blurring processing method for the intelligent power transmission line inspection system based on the artificial intelligence as claimed in claim 1, wherein in step three, the calculation of the sum of the average gray level differences is further performed according to the areas of different classes:
Figure FDA0003098851230000031
wherein S is the total area of the image, SjIs the area of the clustered jth class.
4. The image blurring processing method for the intelligent inspection system for power transmission lines based on artificial intelligence as claimed in claim 3, wherein the calculation formula of the block size of the blurred image is as follows:
Figure FDA0003098851230000032
wherein the content of the first and second substances,
Figure FDA0003098851230000033
then G isjSynthesizing the average gray scale difference and the corresponding area-to-average gray scale difference for each cluster
Figure FDA0003098851230000034
The contribution value of (c).
5. The image blurring processing method for the intelligent power transmission line inspection system based on the artificial intelligence as claimed in claim 1 or 4, wherein the size of the sliding window for performing the sliding window operation is as follows:
Figure FDA0003098851230000035
wherein x and y are the length and width of the sliding window respectively.
CN202110618991.XA 2021-06-03 2021-06-03 Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence Active CN113327206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110618991.XA CN113327206B (en) 2021-06-03 2021-06-03 Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110618991.XA CN113327206B (en) 2021-06-03 2021-06-03 Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence

Publications (2)

Publication Number Publication Date
CN113327206A CN113327206A (en) 2021-08-31
CN113327206B true CN113327206B (en) 2022-03-22

Family

ID=77419628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110618991.XA Active CN113327206B (en) 2021-06-03 2021-06-03 Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN113327206B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115100304B (en) * 2022-04-24 2024-04-19 江苏中勤通信科技有限公司 Nuclear magnetic resonance image enhancement method based on image processing
CN115049662B (en) * 2022-08-16 2022-11-08 山东大拇指喷雾设备有限公司 Sprayer flow control method based on image processing
CN116630220B (en) * 2023-07-25 2023-11-21 江苏美克医学技术有限公司 Fluorescent image depth-of-field fusion imaging method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104282003A (en) * 2014-10-29 2015-01-14 哈尔滨工业大学 Digital blurred image blind restoration method based on gradient screening
CN107369134A (en) * 2017-06-12 2017-11-21 上海斐讯数据通信技术有限公司 A kind of image recovery method of blurred picture
CN108305230A (en) * 2018-01-31 2018-07-20 上海康斐信息技术有限公司 A kind of blurred picture integrated conduct method and system
CN108833770A (en) * 2018-05-23 2018-11-16 释码融和(上海)信息科技有限公司 Image definition calculation method, calculating equipment and focusing system for focusing
CN109242790A (en) * 2018-08-22 2019-01-18 大连理工大学 A kind of image deblurring appraisal procedure towards fields of measurement
CN111275626A (en) * 2018-12-05 2020-06-12 深圳市炜博科技有限公司 Video deblurring method, device and equipment based on ambiguity

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9208543B2 (en) * 2013-10-23 2015-12-08 Adobe Systems Incorporated Deblurring images having spatially varying blur

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104282003A (en) * 2014-10-29 2015-01-14 哈尔滨工业大学 Digital blurred image blind restoration method based on gradient screening
CN107369134A (en) * 2017-06-12 2017-11-21 上海斐讯数据通信技术有限公司 A kind of image recovery method of blurred picture
CN108305230A (en) * 2018-01-31 2018-07-20 上海康斐信息技术有限公司 A kind of blurred picture integrated conduct method and system
CN108833770A (en) * 2018-05-23 2018-11-16 释码融和(上海)信息科技有限公司 Image definition calculation method, calculating equipment and focusing system for focusing
CN109242790A (en) * 2018-08-22 2019-01-18 大连理工大学 A kind of image deblurring appraisal procedure towards fields of measurement
CN111275626A (en) * 2018-12-05 2020-06-12 深圳市炜博科技有限公司 Video deblurring method, device and equipment based on ambiguity

Also Published As

Publication number Publication date
CN113327206A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN113327206B (en) Image fuzzy processing method of intelligent power transmission line inspection system based on artificial intelligence
US10339643B2 (en) Algorithm and device for image processing
CN107507173B (en) No-reference definition evaluation method and system for full-slice image
CN109064418B (en) Non-local mean value-based non-uniform noise image denoising method
CN107292842B (en) Image deblurring method based on prior constraint and outlier suppression
CN110147816B (en) Method and device for acquiring color depth image and computer storage medium
CN108664839B (en) Image processing method and device
CN111598918B (en) Video image stabilizing motion estimation method based on reference frame optimization and foreground and background separation
CN112734650A (en) Virtual multi-exposure fusion based uneven illumination image enhancement method
CN115496692B (en) Lubricating oil abrasive particle image enhancement method
CN115731146B (en) Multi-exposure image fusion method based on color gradient histogram feature optical flow estimation
Srinivas et al. Remote sensing image segmentation using OTSU algorithm
Feng et al. Low-light image enhancement algorithm based on an atmospheric physical model
CN113421210B (en) Surface point Yun Chong construction method based on binocular stereoscopic vision
US11625886B2 (en) Storage medium storing program, training method of machine learning model, and image generating apparatus
TWI313136B (en)
Yadav et al. Robust multi-scale weighting-based edge-smoothing filter for single image dehazing
CN108230276B (en) Natural scene image deblurring method fusing non-parameter image quality evaluation
Xie et al. DHD-Net: A novel deep-learning-based dehazing network
CN112258434A (en) Detail-preserving multi-exposure image fusion algorithm in static scene
CN112541859A (en) Illumination self-adaptive face image enhancement method
Cui et al. Unsupervised Barcode Image Reconstruction Based on Knowledge Distillation
Chen et al. GADO-Net: an improved AOD-Net single image dehazing algorithm
CN112541913B (en) Image local fuzzy detection and extraction method based on column rate spectral analysis and noise robustness
CN112581411B (en) Image defogging method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant