Summary of the invention
It detects the method, apparatus of arrester temperature anomaly point, equipment the purpose of the present invention is to provide a kind of and readable deposits
Storage media, to improve the detection efficiency and accuracy rate of arrester temperature anomaly point.
To achieve the above object, the embodiment of the invention provides following technical solutions:
A method of detection arrester temperature anomaly point, comprising:
The arrester infrared image for being labeled with detection zone is obtained, and obtains the detection zone in the arrester infrared image
The corresponding temperature value of all pixels point in domain forms temperature value set;
The temperature value set is traversed, the corresponding pixel of temperature value that average value is higher than in the temperature value set is true
It is set to target pixel points, obtains object pixel point set;Wherein, the average value is all temperature in the temperature value set
The average value of value;
According to the Euclidean distance between the different target pixel in the object pixel point set, by the object pixel
Target pixel points in point set are divided into multiple pixel groups;
The pixel number in each pixel group is calculated separately, and the pixel group that pixel number is more than preset threshold is covered
The zone marker of lid is temperature anomaly point.
Wherein, further includes:
It is suspicious temperature anomaly point by the zone marker that pixel number is less than the pixel group covering of the preset threshold.
Wherein, described that the corresponding pixel of temperature value for being higher than average value in the temperature value set is determined as target picture
Vegetarian refreshments, comprising:
The temperature value for being higher than the average value in the temperature value set is determined as effective temperature value, obtains effective temperature
Value set;
The effective temperature value set is traversed, the effective temperature of effective average value will be higher than in the effective temperature value set
It is worth corresponding pixel and is determined as the target pixel points;Wherein, effective average value is in the effective temperature value set
All effective temperature values average value.
Wherein, the Euclidean distance between the different target pixel according in the object pixel point set, by institute
It states the target pixel points in object pixel point set and is divided into multiple pixel groups, comprising:
From point centered on a target pixel points optional in the object pixel point set, by the Europe with the central point
Family name's distance is that the target pixel points of default value and the central point are divided to object pixel group;
It regard each target pixel points in the object pixel group in addition to the central point as the central point, and holds
Row is described to be divided to target picture with the Euclidean distance of the central point for the target pixel points of default value and the central point
The step of element group, until there is no the Euclideans with the target pixel points in the object pixel group in the object pixel point set
Distance is the target pixel points of the numerical value;
The target pixel points for being divided to the object pixel group are deleted from the object pixel point set, and execute institute
The step of putting centered on a target pixel points optional in the object pixel point set is stated, until the target pixel points
Unallocated target pixel points are not present in set.
Wherein, it is described by pixel number be more than preset threshold pixel group cover zone marker be temperature anomaly point it
Afterwards, further includes:
The temperature anomaly point is marked in the arrester infrared image, obtains infrared mark image.
Wherein, it is described obtain infrared mark image after, further includes:
The identification information correspondence of arrester in the infrared mark image and the infrared mark image is stored to pre-
If file destination.
Wherein, the identification information by the arrester in the infrared mark image and the infrared mark image is corresponding
It stores to preset file destination, further includes:
The file destination is shown by preset visualization tool.
A kind of device detecting arrester temperature anomaly point, comprising:
Module is obtained, for obtaining the arrester infrared image for being labeled with detection zone, and it is infrared to obtain the arrester
The corresponding temperature value of all pixels point in detection zone in image forms temperature value set;
Computing module will be higher than the temperature value of average value for traversing the temperature value set in the temperature value set
Corresponding pixel is determined as target pixel points, obtains object pixel point set;Wherein, the average value is the temperature value collection
The average value of all temperature values in conjunction;
Division module, for according to the Euclidean distance between the different target pixel in the object pixel point set,
Target pixel points in the object pixel point set are divided into multiple pixel groups;
Mark module is more than default for calculating separately the pixel number in each pixel group, and by pixel number
The zone marker of the pixel group covering of threshold value is temperature anomaly point.
A kind of equipment detecting arrester temperature anomaly point, comprising:
Memory, for storing computer program;
Processor realizes that detection arrester temperature described in above-mentioned any one is different when for executing the computer program
The step of method often put.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
Processor realizes the step of method that arrester temperature anomaly point is detected described in above-mentioned any one when executing.
By above scheme it is found that a kind of method for detecting arrester temperature anomaly point provided in an embodiment of the present invention, packet
It includes: obtaining the arrester infrared image for being labeled with detection zone, and obtain the institute in the detection zone in arrester infrared image
There is the corresponding temperature value of pixel, forms temperature value set;Temperature value set is traversed, average value will be higher than in temperature value set
The corresponding pixel of temperature value is determined as target pixel points, obtains object pixel point set;Average value is in temperature value set
The average value of all temperature values;According to the Euclidean distance between the different target pixel in object pixel point set, by target
Target pixel points in pixel collection are divided into multiple pixel groups;The pixel number in each pixel group is calculated separately, and
The zone marker that the pixel group that pixel number is more than preset threshold is covered is temperature anomaly point.
As it can be seen that the method can be calculated automatically from detection zone based on the arrester infrared image for being labeled with detection zone
The interior pixel with abnormal temperature, so that the automatic detection of arrester temperature anomaly point is realized, instead of artificial detection
Process, to improve detection efficiency and accuracy rate.Wherein, due to improving detection efficiency, so can detect exist in time
Abnormal arrester, to a certain extent can be to avoid the generation of electric power accident.
Correspondingly, provided in an embodiment of the present invention a kind of to detect the device of arrester temperature anomaly point, equipment and readable deposit
Storage media similarly has above-mentioned technique effect.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of method, apparatus, equipment and readable storages for detecting arrester temperature anomaly point
Medium, to improve the detection efficiency and accuracy rate of arrester temperature anomaly point.
Referring to Fig. 1, a kind of method detecting arrester temperature anomaly point provided in an embodiment of the present invention, comprising:
S101, acquisition are labeled with the arrester infrared image of detection zone, and obtain the detection in arrester infrared image
The corresponding temperature value of all pixels point in region forms temperature value set;
It should be noted that the mode for obtaining arrester infrared image can be with are as follows: obtained from database by software interface
It takes, is obtained from storage medium by hardware interface, or the arrester that reception image transmitting terminal is sent by network line is infrared
Image etc..
Wherein, the arrester infrared image for being labeled with detection zone refers to Fig. 5, and the rectangle frame in Fig. 5 indicates detection zone
Domain.It should be noted that each pixel in detection zone corresponds to a temperature value, temperature value is higher, and arrester exists
Abnormal probability is higher.
S102, traversal temperature value set determine the corresponding pixel of temperature value for being higher than average value in temperature value set
For target pixel points, object pixel point set is obtained;
Specifically, ergodic algorithm progress can be used when traversal temperature value set.Average value is all in temperature value set
The average value of temperature value.
S103, according to the Euclidean distance between the different target pixel in object pixel point set, by target pixel points
Target pixel points in set are divided into multiple pixel groups;
Wherein, the Euclidean distance in the present embodiment is the distance between two target pixel points.
S104, pixel number in each pixel group is calculated separately, and is more than the picture of preset threshold by pixel number
The zone marker of element group covering is temperature anomaly point.
Wherein, further includes: being by the zone marker that pixel number is less than the pixel group covering of the preset threshold can
Doubt temperature anomaly point.It should be noted that arrester infrared image is after treatment, wherein there may be the pixel of distortion,
Therefore the zone marker for pixel number being less than to the pixel group covering of the preset threshold is suspicious temperature anomaly point.Also
It is to say, suspicious temperature anomaly point may be temperature anomaly point, it is also possible to as caused by the distortion of arrester infrared image.
As it can be seen that present embodiments providing a kind of method for detecting arrester temperature anomaly point, the method is based on being labeled with
The arrester infrared image of detection zone can be calculated automatically from the pixel with abnormal temperature in detection zone, thus real
The automatic detection for having showed arrester temperature anomaly point, instead of artificial detection process, to improve detection efficiency and accuracy rate.
It wherein,, to a certain extent can be to avoid so can detect in time in the presence of abnormal arrester due to improving detection efficiency
The generation of electric power accident.
The embodiment of the invention discloses the method for another detection arrester temperature anomaly point, relative to a upper embodiment,
The present embodiment has made further instruction and optimization to technical solution.
Referring to fig. 2, the method for another detection arrester temperature anomaly point provided in an embodiment of the present invention, comprising:
S201, acquisition are labeled with the arrester infrared image of detection zone, and obtain the detection in arrester infrared image
The corresponding temperature value of all pixels point in region forms temperature value set;
The temperature value for being higher than average value in temperature value set is determined as effective temperature value by S202, traversal temperature value set,
Obtain effective temperature value set;
Wherein, average value is the average value of all temperature values in temperature value set;
S203, traversal effective temperature value set will be higher than the effective temperature value of effective average value in effective temperature value set
Corresponding pixel is determined as target pixel points;
Wherein, effective average value is the average value of all effective temperature values in effective temperature value set;
S204, according to the Euclidean distance between the different target pixel in object pixel point set, by target pixel points
Target pixel points in set are divided into multiple pixel groups;
S205, pixel number in each pixel group is calculated separately, and is more than the picture of preset threshold by pixel number
The zone marker of element group covering is temperature anomaly point.
In the present embodiment, in order to filter out the higher extraordinary image vegetarian refreshments of temperature out of detection zone, and it is multiple to reduce calculating
Miscellaneous degree has carried out the secondary target pixel points in object pixel point set deleted, obtained to the corresponding temperature value of pixel
Quantity has certain reduction.
If in temperature value set including 3 temperature values, respectively 80 DEG C, 98 DEG C, 100 DEG C, 110 DEG C, then its average value
Are as follows: 97 DEG C, then delete 80 DEG C, remaining 98 DEG C, 100 DEG C, 110 DEG C of corresponding pixels be target pixel points, composition
Object pixel point set.If desired secondary to delete, then it regard 98 DEG C, 100 DEG C, 110 DEG C as effective temperature value, what is be calculated has
Imitating average value is 102.67 DEG C, then deletes 98 DEG C and 100 DEG C, 110 DEG C of corresponding pixels are target pixel points.
As it can be seen that the method for present embodiments providing another detection arrester temperature anomaly point, the method are based on mark
There is the arrester infrared image of detection zone that can be calculated automatically from the pixel with abnormal temperature in detection zone, thus
The automatic detection for realizing arrester temperature anomaly point, instead of artificial detection process, to improve detection efficiency and accurate
Rate.It wherein,, to a certain extent can be with so can detect in time in the presence of abnormal arrester due to improving detection efficiency
Avoid the generation of electric power accident.
Based on above-mentioned any embodiment, it should be noted that according to the different target pixel in object pixel point set
Between Euclidean distance, the target pixel points in object pixel point set are divided into multiple pixel groups, comprising:
From point centered on a target pixel points optional in object pixel point set, it is by the Euclidean distance with central point
The target pixel points and central point of default value are divided to object pixel group;
By each target pixel points in object pixel group in addition to central point it is equal centered on point, and execute will be with central point
Euclidean distance be default value target pixel points and central point the step of being divided to object pixel group, until target pixel points
There is no the target pixel points for the Euclidean distance of the target pixel points in object pixel group being numerical value in set;
The target pixel points for being divided to object pixel group are deleted from object pixel point set, and are executed from object pixel
The step of being put centered on an optional target pixel points in point set, until there is no unallocated in object pixel point set
Target pixel points.
Above-mentioned partition process specifically:
4 target pixel points if it exists: A, B, C, D, and A is 1 at a distance from B, C, D, 1,5, C is at a distance from B, D are as follows: 2,
2, B be 5 at a distance from D;And default value is 1, then an optional target pixel points A, will be 1 target picture at a distance from A
Vegetarian refreshments and A are divided to a pixel group, then have pixel group 1:A, B, C.By B and C it is equal centered on point, but there is no eligible
Target pixel points, therefore A, B, C are deleted from object pixel point set, only residue D in object pixel point set, and do not deposit
In qualified target pixel points, so dividing terminates, pixel group 1:A, B, C can be respectively as follows: to two pixel groups;Pixel
Group 2:D.
Based on above-mentioned any embodiment, it should be noted that cover the pixel group that pixel number is more than preset threshold
Zone marker be temperature anomaly point after, further includes: in arrester infrared image mark temperature anomaly point, obtain infrared mark
Infuse image.
Wherein, after obtaining infrared mark image, further includes: will be lightning-arrest in infrared mark image and infrared mark image
The identification information correspondence of device is stored to preset file destination.
Wherein, the identification information correspondence of the arrester in infrared mark image and infrared mark image is stored to preset
After file destination, further includes: show file destination by preset visualization tool.
Can know it is which arrester according to the identification information of arrester, therefore by infrared mark image and infrared mark figure
The identification information correspondence of arrester as in is stored to preset file destination, can be convenient for O&M technical staff by searching for target
Which arrester file knows, and there are what kind of temperature anomaly points.Corresponding storage is to be stored with one-to-one relationship,
Such as corresponding deposit has the table of prescribed form, records these information, in a unified format in order to follow-up management and analysis.
Based on above-mentioned any embodiment, it should be noted that the arrester infrared image for being labeled with detection zone can pass through
Deep learning model obtains.That is: the collected arrester infrared image of infrared terminal is inputted into deep learning model, output is lightning-arrest
Location information (i.e. detection zone) of the device in infrared image, and then location information is labeled in former infrared image, to obtain
It is labeled with the arrester of detection zone.Wherein, deep learning model can be obtained by the training of SSD algorithm.Deep learning model
Training process can refer to the prior art (convolutional neural networks model etc.), and TensorFlow can be used in training frame.
Below to it is provided in an embodiment of the present invention it is a kind of detect arrester temperature anomaly point device be introduced, hereafter retouch
A kind of device for the detection arrester temperature anomaly point stated and a kind of above-described method for detecting arrester temperature anomaly point
It can be cross-referenced.
Referring to Fig. 3, a kind of device detecting arrester temperature anomaly point provided in an embodiment of the present invention, comprising:
Module 301 is obtained, for obtaining the arrester infrared image for being labeled with detection zone, and obtains the infrared figure of arrester
The corresponding temperature value of all pixels point in detection zone as in, forms temperature value set;
Computing module 302, it is for traversing temperature value set, the temperature value that average value is higher than in temperature value set is corresponding
Pixel is determined as target pixel points, obtains object pixel point set;Wherein, average value is all temperature in temperature value set
The average value of value;
Division module 303, for inciting somebody to action according to the Euclidean distance between the different target pixel in object pixel point set
Target pixel points in object pixel point set are divided into multiple pixel groups;
Mark module 304 is more than pre- for calculating separately the pixel number in each pixel group, and by pixel number
If the zone marker that the pixel group of threshold value covers is temperature anomaly point.
Wherein, computing module includes:
Determination unit is had for the temperature value for being higher than average value in temperature value set to be determined as effective temperature value
Imitate temperature value set;
Computing unit will be higher than having for effective average value for traversing effective temperature value set in effective temperature value set
The corresponding pixel of effect temperature value is determined as target pixel points;Wherein, effective average value is all in effective temperature value set
The average value of effective temperature value.
Wherein, division unit is specifically used for:
From point centered on a target pixel points optional in object pixel point set, it is by the Euclidean distance with central point
The target pixel points and central point of default value are divided to object pixel group;By each mesh in object pixel group in addition to central point
Point centered on mark pixel is equal, and execute the target pixel points and central point with the Euclidean distance of central point for default value
The step of being divided to object pixel group, until being not present and the target pixel points in object pixel group in object pixel point set
Euclidean distance is the target pixel points of numerical value;The target pixel points for being divided to object pixel group are deleted from object pixel point set
It removes, and executes the step of putting centered on a target pixel points optional in object pixel point set, until target pixel points
Unallocated target pixel points are not present in set.
Wherein, further includes:
Labeling module obtains infrared mark image for marking temperature anomaly point in arrester infrared image.
Wherein, further includes:
Memory module, for the identification information of the arrester in infrared mark image and infrared mark image to be corresponded to storage
To preset file destination.
Wherein, further includes:
Display module, for showing file destination by preset visualization tool.
Wherein, further includes:
Suspicious temperature anomaly point mark module, the area that the pixel group for pixel number to be less than to preset threshold covers
Field mark is suspicious temperature anomaly point.
As it can be seen that present embodiments providing a kind of device for detecting arrester temperature anomaly point, comprising: obtain module, calculate
Module, division module and mark module.The arrester infrared image for being labeled with detection zone is obtained by acquisition module first, and
The corresponding temperature value of all pixels point in the detection zone in arrester infrared image is obtained, temperature value set is formed;Then
Computing module traverses temperature value set, and the corresponding pixel of temperature value that average value is higher than in temperature value set is determined as target
Pixel obtains object pixel point set;Average value is the average value of all temperature values in temperature value set;And then divide mould
Root tuber is according to the Euclidean distance between the different target pixel in object pixel point set, by the target in object pixel point set
Pixel is divided into multiple pixel groups;Last mark module calculates separately the pixel number in each pixel group, and by pixel
Point number is more than that the zone marker of the pixel group covering of preset threshold is temperature anomaly point.Divide the work between such modules and closes
Make, Each performs its own functions, to realize the automatic detection of arrester temperature anomaly point, improves detection efficiency and accuracy rate.
Below to it is provided in an embodiment of the present invention it is a kind of detect arrester temperature anomaly point equipment be introduced, hereafter retouch
A kind of equipment for the detection arrester temperature anomaly point stated and a kind of above-described method for detecting arrester temperature anomaly point
And device can be cross-referenced.
Referring to fig. 4, a kind of equipment detecting arrester temperature anomaly point provided in an embodiment of the present invention, comprising:
Memory 401, for storing computer program;
Processor 402 realizes detection arrester described in above-mentioned any embodiment when for executing the computer program
The step of method of temperature anomaly point.
A kind of readable storage medium storing program for executing provided in an embodiment of the present invention is introduced below, one kind described below is readable to deposit
Storage media with it is above-described it is a kind of detect arrester temperature anomaly point method, device and equipment can be cross-referenced.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing
The step of method of the detection arrester temperature anomaly point as described in above-mentioned any embodiment is realized when processor executes.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor
The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.