CN106846304B - Electrical equipment detection method and device based on infrared detection - Google Patents

Electrical equipment detection method and device based on infrared detection Download PDF

Info

Publication number
CN106846304B
CN106846304B CN201710002290.7A CN201710002290A CN106846304B CN 106846304 B CN106846304 B CN 106846304B CN 201710002290 A CN201710002290 A CN 201710002290A CN 106846304 B CN106846304 B CN 106846304B
Authority
CN
China
Prior art keywords
image
gray scale
thermal image
gray
electrical equipment
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
CN201710002290.7A
Other languages
Chinese (zh)
Other versions
CN106846304A (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.)
China Special Equipment Inspection and Research Institute
Original Assignee
China Special Equipment Inspection and Research Institute
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 China Special Equipment Inspection and Research Institute filed Critical China Special Equipment Inspection and Research Institute
Priority to CN201710002290.7A priority Critical patent/CN106846304B/en
Publication of CN106846304A publication Critical patent/CN106846304A/en
Application granted granted Critical
Publication of CN106846304B publication Critical patent/CN106846304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10048Infrared image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20224Image subtraction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection
    • G06T2207/30164Workpiece; Machine component

Abstract

The embodiment of the invention provides an electrical equipment detection method and device based on infrared detection. The method comprises the following steps: acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result; and determining whether the electrical equipment is abnormal or not according to the comparison and analysis result. According to the method and the device for detecting the electrical equipment based on the infrared detection, provided by the embodiment of the invention, the target thermal image of the electrical equipment is obtained according to the standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result; according to the comparison and analysis result, whether the electrical equipment is abnormal or not is determined, the target thermal image and the standard thermal image are automatically compared and analyzed, and the workload of detection personnel is reduced.

Description

Electrical equipment detection method and device based on infrared detection
Technical Field
The embodiment of the invention relates to the field of equipment fault detection, in particular to an electrical equipment detection method and device based on infrared detection.
Background
The electrical equipment is the core of mechatronic equipment, electrical equipment, electronic systems and the like, plays the functions of electric energy transmission and electric signal conduction, and the operation state of the electrical equipment has great influence on the whole system.
The damage of the electrical equipment can be caused by unreasonable design of the electrical equipment, aging or abrasion of devices, poor connection, accidental damage and the like. The cause of failure in most electrical equipment is the aging of the insulation, the failure which manifests itself as a significant increase in the amount of heat generated hours before failure occurs over that generated during normal operation.
At present, a tester acquires a thermal image of an electrical device to be tested by using an infrared detection technology, analyzes the thermal image, and judges whether the electrical device is abnormal or not according to experience. When the electrical equipment needs to be subjected to discontinuous detection for multiple times, the electrical equipment needs to be shot for multiple times usually, thermal images shot for multiple times are manually analyzed, the analysis difficulty is high, and the working strength of detection personnel is high.
Disclosure of Invention
The embodiment of the invention provides an electrical equipment detection method and device based on infrared detection, and aims to solve the problems that when multiple discontinuous detections are carried out on electrical equipment at present, thermal images shot for multiple times need to be manually analyzed, the analysis difficulty is high, and the working strength of detection personnel is high.
One aspect of the embodiments of the present invention provides an electrical device detection method based on infrared detection, including:
acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment;
comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result;
and determining whether the electrical equipment is abnormal or not according to the comparison and analysis result.
Another aspect of the embodiments of the present invention is to provide an apparatus for electrical device detection based on infrared detection, including:
the acquisition module is used for acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment;
the comparison analysis module is used for comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison analysis result;
and the abnormity determining module is used for determining whether the electrical equipment is abnormal or not according to the comparison and analysis result.
According to the method and the device for detecting the electrical equipment based on the infrared detection, provided by the embodiment of the invention, the target thermal image of the electrical equipment is obtained according to the standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result; according to the comparison and analysis result, whether the electrical equipment is abnormal or not is determined, so that the automatic comparison and analysis of the acquired target thermal image and the standard thermal image is realized, whether the electrical equipment is abnormal or not can be determined according to the comparison and analysis result, and the workload of detection personnel is reduced.
Drawings
Fig. 1 is a schematic flowchart of an electrical device detection method based on infrared detection according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an infrared detection-based electrical device detection method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an infrared detection-based electrical device detection method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an infrared detection-based electrical device detection apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an infrared detection-based electrical device detection apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electrical device detection apparatus based on infrared detection according to a sixth embodiment of the present invention.
Detailed Description
In order to make the technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic flow chart of an electrical device detection method based on infrared detection according to an embodiment of the present invention. The embodiment of the invention provides an infrared detection-based electrical equipment detection method aiming at the problems that when the electrical equipment is detected for multiple times continuously, thermal images shot for multiple times need to be manually analyzed, the analysis difficulty is high, and the working strength of detection personnel is high. As shown in fig. 1, the method comprises the following specific steps:
and S101, acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment.
In this embodiment, according to the need of detecting the electrical device, the electrical device to be detected may be photographed periodically, aperiodically, or continuously for multiple times, and a latest target thermal image may be acquired, so as to determine whether the electrical device is abnormal or not according to the latest target thermal image. The detection frequency of the electrical device may be set by a technician according to actual detection needs, and this is not specifically limited in the embodiment of the present invention. For example: the frequency of detection of the electrical device may be once a year, once a month, once a day, or the like.
In this embodiment, the electrical device, or one or more electrical components in the electrical device, may be detected. Optionally, before the step, a standard thermal image corresponding to the electrical device is acquired, and a shooting range of the standard thermal image covers the whole electrical device to be detected or covers a part to be detected of the electrical device.
Specifically, an infrared optical acquisition system may be used to acquire a thermal imaging diagram of the electrical device in the starting state, as a standard thermal image corresponding to the electrical device. For example, a thermal image of the electrical device at the time may be acquired as a standard thermal image of the electrical device when the state of the electrical device at each registration record is taken as a start state. The infrared optical acquisition system can be an infrared camera, an infrared detector, a thermal infrared imager and the like.
In addition, after acquiring the standard thermal image of the electrical device to be detected, the corresponding standard thermal image does not need to be acquired again before each detection of the same electrical device or the electrical component in the same electrical device.
And S102, comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result.
Because the gray scale range of the thermal image acquired by using the infrared optical acquisition system is usually small, in the step, the standard thermal image and the target thermal image are subjected to image enhancement, the characteristic values of the two images are extracted, the characteristic points of the two images obtained after the image enhancement are respectively extracted, the difference image of the standard thermal image and the target image in the preset target area is calculated, and the abnormal pixel points with large temperature difference in the difference image are marked to obtain the difference marked image.
The preset target area on the standard thermal image is an interested area which is pre-demarcated on the standard thermal image by a technician, and the preset target area on the target thermal image is an area on the target thermal image corresponding to the target area on the standard thermal image.
In this embodiment, the standard thermal image and the target thermal image are subjected to image enhancement, so that gray values of all pixel points in the standard thermal image and the target thermal image completely cover 0 to 255, and completely identical image enhancement is performed on the standard thermal image and the target thermal image, so that the pixel points with the same gray value in the standard thermal image and the target thermal image before image enhancement are equal in gray value after image enhancement.
And step S103, determining whether the electrical equipment is abnormal or not according to the comparison and analysis result.
In the step, according to the comparison and analysis result, abnormal pixel points in a preset target area are determined, the proportion of the abnormal pixel points in the preset target area is calculated, and when the proportion of the abnormal pixel points in the preset target area is larger than or equal to a preset abnormal threshold value, whether the electrical equipment is abnormal or not is determined.
According to the embodiment of the invention, the target thermal image of the electrical equipment is obtained according to the standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result; according to the comparison and analysis result, whether the electrical equipment is abnormal or not is determined, so that the automatic comparison and analysis of the target thermal image and the standard thermal image which are acquired each time is realized, whether the electrical equipment is abnormal or not can be determined according to the comparison and analysis result, and the workload of detection personnel is reduced.
Example two
Fig. 2 is a schematic flow chart of an electrical device detection method based on infrared detection according to a second embodiment of the present invention. On the basis of the above embodiment, as shown in fig. 2, the target thermal image of the electrical device is acquired according to the standard thermal image corresponding to the electrical device, and the method specifically includes the following steps:
step S201, the standard thermal image is used as a background, and the current thermal image of the electrical equipment is collected.
In this embodiment, when the current thermal image of the electrical device is acquired, the angle and range of the current thermal image captured at this time are adjusted, so that the capturing angle and range of the current thermal image captured at this time are consistent with those of the standard thermal image; or the coverage rates of the two reach a preset coverage threshold, and the shooting angles and the ranges of the two are considered to be basically consistent.
Specifically, the visual angle and the range of the current shooting can be adjusted to be consistent or basically consistent with the standard thermal image in the modes of adjusting the shooting angle of the camera, adjusting the distance between the camera and the electrical equipment, adjusting the height of the camera, adjusting the focal length of the camera and the like.
Optionally, the thermal image may be used as a background, and in the shooting, the view angle of the view in the shooting and the background are completely overlapped or substantially overlapped, so that consistency of the content covered by the two shots can be ensured.
Step S202, converting the standard thermal image into a first gray scale image, and performing gray scale linear transformation on the first gray scale image to enable the gray scale value range of all pixel points in the first gray scale image to be between 0 and 255.
The gray values of all the pixel points in the first gray map obtained after the processing in the step range from 0 to 255, the minimum value of the gray values of all the pixel points in the first gray map is 0, and the maximum value of the gray values is 255. That is, the gray scale value of the pixel point in the first gray scale map completely covers the gray scale range of 0-255.
In this embodiment, any method in the prior art for converting a thermal image into a grayscale image may be used to convert a standard thermal image into a first grayscale image, and any method in the prior art for linearly converting a grayscale may be used to linearly convert the grayscale of the first grayscale image.
Step S203, converting the current thermal image into a second gray scale map, and performing gray scale linear transformation on the second gray scale map so as to enable the gray scale value range of all pixel points in the second gray scale map to be between 0 and 255.
The gray values of all the pixel points in the second gray map obtained after the processing in the step range from 0 to 255, and the minimum value and the maximum value of the gray values of all the pixel points in the second gray map are 0 and 255 respectively. That is, the gray value of the pixel point in the second gray scale map completely covers the gray scale range of 0-255.
In this step, the method used to convert the current thermal image into the second grayscale map is the same as the method used to convert the standard thermal image into the first grayscale map in step S202; and the method for performing linear gray scale conversion on the second gray scale image is the same as the linear gray scale conversion method adopted in the step S202, so that the gray scale values of the pixels corresponding to the first gray scale image and the second gray scale image obtained after the processing in the steps S202-S203 are still the same in the standard thermal image and the current thermal image.
The above steps S202 to S203 are processes of image enhancement for the standard thermal image and the current thermal image, and the gray scale coverage of the pixel points in the finally obtained first gray scale image and second gray scale image is maximized by converting the two images into gray scale images and performing gray scale linear transformation on the obtained gray scale images, and the gray scale values of the pixel points with the same gray scale value in the standard thermal image and the current thermal image before the image enhancement are still the same after the image enhancement.
And step S204, calculating the coverage rate of the second gray scale map relative to the first gray scale map.
In this embodiment, the coverage rate of the second grayscale map relative to the first grayscale map refers to the coverage rate of the pixel points in the target region in the first grayscale map, which are matched with the second grayscale map, in the first grayscale map.
Specifically, the step may be specifically implemented as follows:
and extracting the characteristic points of the first gray scale image and the characteristic points of the second gray scale image, matching the characteristic points of the first gray scale image and the characteristic points of the second gray scale image, and calculating a projection mapping matrix according to a matching result. And calculating the coverage rate of pixel points matched with the second gray scale map in the target area in the first gray scale map according to the projection mapping matrix and a preset target area to obtain the coverage rate of the second gray scale map relative to the first gray scale map.
Preferably, since the Speeded Up Robust Features feature extraction method has scale invariance and rotation invariance, and can effectively cope with the difference between the shooting distance and the shooting angle when two images are acquired, in this embodiment, the SURF feature extraction method is adopted to extract the feature point of the first grayscale image and the SURF feature of the second grayscale image, and obtain the feature point. In addition, any feature extraction method in the prior art may also be adopted, and the embodiment of the present invention is not described in detail.
Optionally, F L ANN (Fast L object for adaptive Nearest Neighbors) algorithm is used to match the feature points of the first and second gray scale maps.
And S205, if the coverage rate is greater than or equal to the preset coverage threshold, determining that the current thermal image is the target thermal image.
In this embodiment, if the coverage rate is greater than or equal to the preset coverage threshold, it may be determined that the current thermal image and the electrical device captured by the standard thermal image are the same type of electrical device or the same type of electrical component, and the current thermal image captured this time may be used as a thermal image of the electrical device to be detected, and the current thermal image is determined to be the target thermal image.
The preset coverage rate can be set by a technician according to actual needs. For example, the preset coverage threshold may be 80%.
And S206, if the coverage rate is smaller than the preset coverage threshold, the standard thermal image is used as the background again, and the thermal image of the electrical equipment at the next moment is collected until the target thermal image is determined.
In this embodiment, if the coverage rate is smaller than the preset coverage threshold, it may be determined that the current thermal image and the electrical device captured by the standard thermal image are not the same type of electrical device or the same type of electrical component, and the current thermal image cannot be used as the target thermal image, in the preset target area, and the matching degree of the feature points in the second grayscale map and the first grayscale map is very low. At this time, steps S201-S206 need to be re-executed until the target thermal image is determined.
Optionally, when it is determined that the coverage rate is smaller than the preset coverage threshold and the thermal image of the electrical equipment at the next moment needs to be collected again by taking the standard thermal image as a background, a preset alarm signal is sent out, so that a technician can collect the thermal image of the electrical equipment at the next moment again according to the alarm signal. The preset alarm signal may be implemented by giving an alarm prompt tone, flashing an alarm indicator light, and the like, and the embodiment of the present invention is not particularly limited thereto.
The embodiment of the invention provides a detailed process for acquiring a target thermal image of electrical equipment according to a standard thermal image corresponding to the electrical equipment.
EXAMPLE III
Fig. 3 is a schematic flow chart of an electrical device detection method based on infrared detection according to a third embodiment of the present invention. On the basis of the above embodiments, in the embodiments of the present invention, the comparison analysis is performed on the current thermal image and the standard thermal image to obtain the result of the comparison analysis, and the process of determining whether the electrical device is abnormal or not is described in detail according to the result of the comparison analysis. As shown in fig. 3, the method provided by this embodiment includes the following steps:
step S301, acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment.
In this embodiment, this step is specifically implemented by the method in the second embodiment, and details are not described here.
Step S302, according to a preset target area, a first gray scale image corresponding to the standard thermal image and a second gray scale image corresponding to the target thermal image, performing image difference processing on the first gray scale image and the second gray scale image to obtain a difference image.
The preset target area is an area of interest which is pre-demarcated on the standard thermal image by a technician, and the preset target area on the target thermal image is an area on the target thermal image corresponding to the target area on the standard thermal image.
In this embodiment, the first grayscale map corresponding to the standard thermal image and the second grayscale map corresponding to the target thermal image can be obtained in the process of acquiring the target thermal image of the electrical device in step S301.
In the step, the first grayscale image and the second grayscale image are subjected to image difference processing, specifically, the first grayscale image and the second grayscale image are subjected to image difference processing in a preset target region, so as to obtain a difference image corresponding to the preset target region.
Step S303, calculating the temperature difference of the gray value identification of each pixel point in the differential image.
In this embodiment, the gray value of any pixel in the differential image is actually the difference between the gray values of two pixels corresponding to the pixel in the first gray map and the second gray map, for the thermal image, the gray value of the pixel can be used to identify the temperature value of the portion corresponding to the pixel in the electrical device, and the gray value of any pixel in the differential image can be used to identify: the temperature difference between the temperature value of the portion corresponding to the pixel point in the electrical device at the shooting time of the target thermal image and the shooting time of the standard thermal image. According to the gray value of each pixel point in the differential image, the temperature difference corresponding to the gray value can be calculated.
In the step, the temperature difference of the gray value identification of each pixel point in the differential image is calculated according to a preset corresponding rule. Wherein the corresponding rule is preset by a technician according to the actual situation.
Step S304, according to the temperature difference of the gray value identification of each pixel point in the difference image, setting the gray value of the pixel point with the temperature difference larger than the temperature difference threshold value as a first preset value, and setting the gray value of the pixel point with the temperature difference smaller than or equal to the temperature difference threshold value as a second preset value to obtain a first difference marking image.
Alternatively, the first preset value may be 255, and the second preset value may be 0. The first preset value and the second preset value may be set to two different values by a technician, and may be visually distinguished, which is not specifically limited in the embodiment of the present invention.
In this embodiment, the pixel points in the differential image with the temperature difference larger than the temperature difference threshold are pixel points with abnormal temperature, and the gray value of the pixel points is set as a first preset value and is marked as abnormal pixel points; and setting the gray value of the pixel points of the type as a second preset value and marking the pixel points as normal pixel points, wherein the temperature difference in the differential image is less than or equal to the temperature difference threshold value.
Step S305, performing denoising processing on the first differential tagged image to obtain a second differential tagged image, where the second differential tagged image is a result of comparison analysis.
In the step, denoising processing is carried out on the first difference mark image, and isolated miscellaneous points in the first difference mark image are removed to obtain a second difference mark image.
In this embodiment, the denoising method used for denoising the first differential marked image may be implemented by any denoising method in the prior art, which is not specifically limited in this embodiment.
The above steps S302-S305 are processes of comparing and analyzing the current thermal image and the standard thermal image to obtain a comparison and analysis result.
And S306, calculating the proportion of the pixel points with the gray values of the first preset values in the difference image according to the second difference marking image.
In this embodiment, the pixel point with the gray value of the first preset value in the second difference marking image is the abnormal pixel point marked as the temperature abnormality, and the proportion of the abnormal pixel point in the difference image can be obtained by calculating the proportion of the pixel point with the gray value of the first preset value in the difference image.
Specifically, the ratio of the area occupied by the pixels with the first preset value to the total area of the preset target region, or the ratio of the number of the pixels with the first preset value to the total number of the pixels in the preset target region, may be calculated to calculate the proportion of the pixels with the gray value of the first preset value in the difference image.
Step S307, if the proportion of the pixel points with the gray values being the first preset values in the difference image is larger than or equal to a preset abnormal threshold value, determining that the electrical equipment is abnormal.
In this embodiment, if the proportion of the pixel points with the first preset value in the difference image is smaller than the preset abnormal threshold, it is determined that the electrical device is not abnormal.
Optionally, after it is determined that the electrical device is abnormal, the second gray scale map may be displayed, and a warning mark may be performed on a pixel point corresponding to a pixel point of which the gray scale value is the first preset value in the second gray scale map. For example, a pixel point corresponding to a pixel point with a gray value of the first preset value in the second gray scale map is displayed as red.
Optionally, after it is determined that no abnormality occurs in the electrical device, the second grayscale map may be displayed, and the preset target area in the second grayscale map may be marked normally. For example, the pixel points in the preset target area in the second gray scale map are displayed as green.
The above steps S205 to S307 are processes of determining whether the electrical device is abnormal according to the result of the comparison analysis.
According to the embodiment of the invention, according to a preset target area, a first gray-scale image corresponding to a standard thermal image and a second gray-scale image corresponding to the target thermal image, image difference processing is carried out on the first gray-scale image and the second gray-scale image to obtain a difference image, the temperature difference of gray-scale value identification of each pixel point in the difference image is calculated, abnormal pixel points and normal pixel points are marked according to the temperature difference of gray-scale value identification of each pixel point in the difference image, noise removal processing is carried out to obtain a second difference marked image which is used as a comparison analysis result; whether the electrical equipment is abnormal or not is determined by calculating the proportion of abnormal pixel points in the second differential marking image, the target thermal image and the standard thermal image can be automatically compared and analyzed, and whether the electrical equipment is abnormal or not is determined according to the comparison and analysis result.
Example four
Fig. 4 is a schematic structural diagram of an electrical device detection apparatus based on infrared detection according to a fourth embodiment of the present invention. The apparatus for detecting electrical equipment based on infrared detection provided in the embodiment of the present invention may execute the processing procedure provided in the embodiment of the method for detecting electrical equipment based on infrared detection, as shown in fig. 4, the apparatus includes: an acquisition module 401, an alignment analysis module 402 and an anomaly determination module 403.
The acquiring module 401 is configured to acquire a target thermal image of the electrical device according to a standard thermal image corresponding to the electrical device;
the comparison analysis module 402 is configured to perform comparison analysis on the target thermal image and the standard thermal image to obtain a comparison analysis result;
the abnormality determining module 403 is configured to determine whether an abnormality occurs in the electrical device according to a result of the comparison analysis.
The apparatus provided in the embodiment of the present invention may be specifically configured to execute the method provided in the first embodiment, and specific functions are not described herein again.
According to the embodiment of the invention, the target thermal image of the electrical equipment is obtained according to the standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result; according to the comparison and analysis result, whether the electrical equipment is abnormal or not is determined, so that the automatic comparison and analysis of the target thermal image and the standard thermal image which are acquired each time is realized, whether the electrical equipment is abnormal or not can be determined according to the comparison and analysis result, and the workload of detection personnel is reduced.
EXAMPLE five
Fig. 5 is a schematic structural diagram of an electrical device detection apparatus based on infrared detection according to a fifth embodiment of the present invention. As shown in fig. 5, on the basis of the fourth embodiment, the obtaining module 401 includes: an acquisition sub-module 4011, a conversion sub-module 4012, a first calculation sub-module 4013, and a first determination sub-module 4014.
The collecting sub-module 4011 is configured to collect a current thermal image of the electrical device using the standard thermal image as a background.
The conversion sub-module 4012 is configured to convert the standard thermal image into a first gray scale map, and perform gray scale linear transformation on the first gray scale map, so that gray scale values of all pixel points in the first gray scale map range from 0 to 255.
The converting sub-module 4012 is further configured to convert the current thermal image into a second gray scale map, and perform gray scale linear transformation on the second gray scale map, so that the gray scale values of all the pixels in the second gray scale map range from 0 to 255.
The first calculating sub-module 4013 is configured to calculate a coverage ratio of the second gray scale map with respect to the first gray scale map.
Specifically, the first computing submodule 4013 is further configured to: extracting characteristic points of the first gray scale map and characteristic points of the second gray scale map; matching the characteristic points of the first gray scale map and the characteristic points of the second gray scale map, and calculating a projection mapping matrix according to a matching result; and calculating the coverage rate of pixel points matched with the second gray scale map in the target area in the first gray scale map according to the projection mapping matrix and a preset target area to obtain the coverage rate of the second gray scale map relative to the first gray scale map.
The first determining sub-module 4014 is configured to determine the current thermal image as the target thermal image if the coverage rate is greater than or equal to a preset coverage threshold.
The first determining sub-module 4014 is further configured to, if the coverage rate is smaller than the preset coverage threshold, capture a thermal image of the electrical device at a next time with the standard thermal image as a background until the target thermal image is determined.
The apparatus provided in the embodiment of the present invention may be specifically configured to execute the method provided in the second embodiment, and specific functions are not described herein again.
The embodiment of the invention provides a detailed process for acquiring a target thermal image of electrical equipment according to a standard thermal image corresponding to the electrical equipment.
EXAMPLE six
Fig. 6 is a schematic structural diagram of an electrical device detection apparatus based on infrared detection according to a sixth embodiment of the present invention. As shown in fig. 6, on the basis of the fifth embodiment, the alignment analysis module 402 includes: a difference sub-module 4021, a second calculation sub-module 4022, a difference labeling sub-module 4023, and a denoising sub-module 4024.
The difference sub-module 4021 is configured to perform image difference processing on the first grayscale image and the second grayscale image according to a preset target region, the first grayscale image corresponding to the standard thermal image, and the second grayscale image corresponding to the target thermal image, so as to obtain a difference image.
The second calculating submodule 4022 is configured to calculate a temperature difference of the gray value identifier of each pixel in the difference image.
The difference marking submodule 4023 is configured to set, according to the temperature difference of the gray value identifier of each pixel in the difference image, the gray value of the pixel having the temperature difference greater than the temperature difference threshold as a first preset value, and set the gray value of the pixel having the temperature difference less than or equal to the temperature difference threshold as a second preset value, so as to obtain a first difference marking image.
The denoising processing sub-module 4024 is configured to perform denoising processing on the first difference labeling image to obtain a second difference labeling image, where the second difference labeling image is a result of the comparison analysis.
In this embodiment, the abnormality determining module 403 includes: a third calculation sub-module 4031 and a second determination sub-module 4032.
The third calculation sub-module 4031 is configured to calculate, according to the second difference marker image, a proportion of a pixel point with a gray value equal to the first preset value in the difference image;
the second determining submodule 4032 is configured to determine that the electrical device is abnormal if the proportion of the pixel points whose gray values are the first preset values in the difference image is greater than or equal to a preset abnormal threshold.
The apparatus provided in the embodiment of the present invention may be specifically configured to execute the method provided in the third embodiment, and specific functions are not described herein again.
According to the embodiment of the invention, according to a preset target area, a first gray-scale image corresponding to a standard thermal image and a second gray-scale image corresponding to the target thermal image, image difference processing is carried out on the first gray-scale image and the second gray-scale image to obtain a difference image, the temperature difference of gray-scale value identification of each pixel point in the difference image is calculated, abnormal pixel points and normal pixel points are marked according to the temperature difference of gray-scale value identification of each pixel point in the difference image, noise removal processing is carried out to obtain a second difference marked image which is used as a comparison analysis result; whether the electrical equipment is abnormal or not is determined by calculating the proportion of abnormal pixel points in the second differential marking image, the target thermal image and the standard thermal image can be automatically compared and analyzed, and whether the electrical equipment is abnormal or not is determined according to the comparison and analysis result.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (4)

1. An electrical equipment detection method based on infrared detection is characterized by comprising the following steps:
acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment;
comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result;
determining whether the electrical equipment is abnormal or not according to the comparison and analysis result;
the acquiring of the target thermal image of the electrical device according to the standard thermal image corresponding to the electrical device includes:
collecting a current thermal image of the electrical equipment with the standard thermal image as a background;
converting the standard thermal image into a first gray scale image, and performing gray scale linear transformation on the first gray scale image to enable the gray scale value range of all pixel points in the first gray scale image to be between 0 and 255;
converting the current thermal image into a second gray scale map, and performing gray scale linear transformation on the second gray scale map so as to enable the gray scale value range of all pixel points in the second gray scale map to be between 0 and 255;
calculating the coverage rate of the second gray scale map relative to the first gray scale map;
if the coverage rate is greater than or equal to a preset coverage threshold, determining that the current thermal image is the target thermal image;
if the coverage rate is smaller than the preset coverage threshold, the standard thermal image is used as a background again, and the thermal image of the electrical equipment at the next moment is collected until the target thermal image is determined;
the comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison and analysis result, comprising:
performing image difference processing on the first gray scale image and the second gray scale image according to a preset target area, the first gray scale image corresponding to the standard thermal image and the second gray scale image corresponding to the target thermal image to obtain a difference image;
calculating the temperature difference of the gray value identification of each pixel point in the differential image;
setting the gray value of the pixel point with the temperature difference larger than the temperature difference threshold value as a first preset value and setting the gray value of the pixel point with the temperature difference smaller than or equal to the temperature difference threshold value as a second preset value according to the temperature difference of the gray value identification of each pixel point in the difference image to obtain a first difference marking image;
denoising the first differential marking image to obtain a second differential marking image, wherein the second differential marking image is the result of the comparison analysis;
the determining whether the electrical equipment is abnormal according to the comparison and analysis result comprises:
calculating the proportion of the pixel points with the gray values of the first preset values in the differential image according to the second differential marking image;
and if the proportion of the pixel points with the gray values being the first preset values in the difference image is larger than or equal to a preset abnormal threshold value, determining that the electrical equipment is abnormal.
2. The method of claim 1, wherein the calculating the coverage of the second grayscale map relative to the first grayscale map comprises:
extracting feature points of the first gray scale map and feature points of the second gray scale map;
matching the characteristic points of the first gray scale map and the characteristic points of the second gray scale map, and calculating a projection mapping matrix according to a matching result;
and calculating the coverage rate of pixel points matched with the second gray scale map in the target area in the first gray scale map according to the projection mapping matrix and a preset target area to obtain the coverage rate of the second gray scale map relative to the first gray scale map.
3. An apparatus for electrical equipment detection based on infrared detection, comprising:
the acquisition module is used for acquiring a target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment;
the comparison analysis module is used for comparing and analyzing the target thermal image and the standard thermal image to obtain a comparison analysis result;
the abnormity determining module is used for determining whether the electrical equipment is abnormal or not according to the comparison and analysis result;
the acquisition module includes:
the acquisition sub-module is used for acquiring a current thermal image of the electrical equipment by taking the standard thermal image as a background;
the conversion sub-module is used for converting the standard thermal image into a first gray scale image and carrying out gray scale linear transformation on the first gray scale image so as to enable the gray scale value range of all pixel points in the first gray scale image to be between 0 and 255;
the conversion sub-module is further used for converting the current thermal image into a second gray scale map, and performing gray scale linear transformation on the second gray scale map so as to enable the gray scale values of all pixel points in the second gray scale map to be in the range of 0-255;
the first calculation submodule is used for calculating the coverage rate of the second gray scale map relative to the first gray scale map;
a first determining sub-module, configured to determine that the current thermal image is the target thermal image if the coverage rate is greater than or equal to a preset coverage threshold;
the first determining sub-module is further used for collecting the thermal image of the electrical equipment at the next moment by taking the standard thermal image as a background again until the target thermal image is determined if the coverage rate is smaller than the preset coverage threshold;
the alignment analysis module comprises:
the difference sub-module is used for carrying out image difference processing on the first gray-scale image and the second gray-scale image according to a preset target area, the first gray-scale image corresponding to the standard thermal image and the second gray-scale image corresponding to the target thermal image to obtain a difference image;
the second calculation submodule is used for calculating the temperature difference of the gray value identification of each pixel point in the differential image;
the difference marking submodule is used for setting the gray value of the pixel point with the temperature difference larger than the temperature difference threshold value as a first preset value and setting the gray value of the pixel point with the temperature difference smaller than or equal to the temperature difference threshold value as a second preset value according to the temperature difference of the gray value identification of each pixel point in the difference image to obtain a first difference marking image;
the denoising processing submodule is used for denoising the first differential marking image to obtain a second differential marking image, and the second differential marking image is the result of the comparison analysis;
the anomaly determination module includes:
the third calculation submodule is used for calculating the proportion of the pixel points with the gray values being the first preset values in the difference image according to the second difference marking image;
and the second determining submodule is used for determining that the electrical equipment is abnormal if the proportion of the pixel points with the gray values being the first preset values in the difference image is greater than or equal to a preset abnormal threshold value.
4. The apparatus of claim 3, wherein the first computation sub-module is further configured to:
extracting feature points of the first gray scale map and feature points of the second gray scale map;
matching the characteristic points of the first gray scale map and the characteristic points of the second gray scale map, and calculating a projection mapping matrix according to a matching result;
and calculating the coverage rate of pixel points matched with the second gray scale map in the target area in the first gray scale map according to the projection mapping matrix and a preset target area to obtain the coverage rate of the second gray scale map relative to the first gray scale map.
CN201710002290.7A 2017-01-03 2017-01-03 Electrical equipment detection method and device based on infrared detection Active CN106846304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710002290.7A CN106846304B (en) 2017-01-03 2017-01-03 Electrical equipment detection method and device based on infrared detection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710002290.7A CN106846304B (en) 2017-01-03 2017-01-03 Electrical equipment detection method and device based on infrared detection

Publications (2)

Publication Number Publication Date
CN106846304A CN106846304A (en) 2017-06-13
CN106846304B true CN106846304B (en) 2020-08-04

Family

ID=59117656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710002290.7A Active CN106846304B (en) 2017-01-03 2017-01-03 Electrical equipment detection method and device based on infrared detection

Country Status (1)

Country Link
CN (1) CN106846304B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108961202A (en) * 2017-12-12 2018-12-07 北京视联动力国际信息技术有限公司 A kind of detection method and device regarding networked devices
CN108919373B (en) * 2018-06-29 2019-12-24 珠海格力电器股份有限公司 Target detection control equipment, target detection control method and device and storage medium
CN108960169A (en) * 2018-07-12 2018-12-07 杭州电子科技大学 Instrument and equipment state on_line monitoring method and system based on computer vision
CN111156655A (en) * 2019-12-24 2020-05-15 珠海格力电器股份有限公司 Air conditioner main control board fault self-detection method and air conditioner
CN112288747A (en) * 2020-12-28 2021-01-29 江苏金恒信息科技股份有限公司 Intelligent detection method and device for steel billets

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102175953A (en) * 2011-02-28 2011-09-07 长沙理工大学 Discharge online monitoring and fault positioning method for power transmission line insulator
CN102840918A (en) * 2012-08-17 2012-12-26 中国电力科学研究院 Method for managing and analyzing infrared spectrogram of electric transmission and transformation equipment
CN104331521A (en) * 2014-11-27 2015-02-04 国家电网公司 Automatic power transformation equipment abnormity identification method based on image processing
CN104361314A (en) * 2014-10-21 2015-02-18 华北电力大学(保定) Method and device for positioning power transformation equipment on basis of infrared and visible image fusion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102175953A (en) * 2011-02-28 2011-09-07 长沙理工大学 Discharge online monitoring and fault positioning method for power transmission line insulator
CN102840918A (en) * 2012-08-17 2012-12-26 中国电力科学研究院 Method for managing and analyzing infrared spectrogram of electric transmission and transformation equipment
CN104361314A (en) * 2014-10-21 2015-02-18 华北电力大学(保定) Method and device for positioning power transformation equipment on basis of infrared and visible image fusion
CN104331521A (en) * 2014-11-27 2015-02-04 国家电网公司 Automatic power transformation equipment abnormity identification method based on image processing

Also Published As

Publication number Publication date
CN106846304A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106846304B (en) Electrical equipment detection method and device based on infrared detection
US9135492B2 (en) Image based dial gauge reading
CN109753928B (en) Method and device for identifying illegal buildings
CN111127508B (en) Target tracking method and device based on video
CN109698906B (en) Image-based jitter processing method and device and video monitoring system
CN107092905B (en) Method for positioning instrument to be identified of power inspection robot
CN115294031A (en) Photovoltaic module fault image identification method based on infrared thermal imaging analysis
CN116797977A (en) Method and device for identifying dynamic target of inspection robot and measuring temperature and storage medium
CN112734698A (en) Cable terminal abnormity diagnosis method and device based on infrared image
CN109948629B (en) GIS equipment X-ray image fault detection method based on SIFT features
KR101395666B1 (en) Surveillance apparatus and method using change of video image
CN111626104B (en) Cable hidden trouble point detection method and device based on unmanned aerial vehicle infrared thermal image
CN111325731A (en) Installation detection method and device of remote control device
CN112489017A (en) Intelligent identification method and system for power equipment faults
CN111738259A (en) Tower state detection method and device
CN116977907A (en) Image recognition-based power inspection fault diagnosis method and system
CN111723656A (en) Smoke detection method and device based on YOLO v3 and self-optimization
CN115643471A (en) Infrared thermal imaging detection system for power equipment
CN113158773B (en) Training method and training device for living body detection model
CN114943720A (en) Electric power image processing method and device
CN112085724A (en) Cabinet temperature measuring method and device based on BIM and thermal image
CN117218162B (en) Panoramic tracking vision control system based on ai
Song et al. Bolt looseness detection based on Canny edge detection algorithm
KR102587679B1 (en) Solar panel abnormality detection device and method thereof
CN114264933B (en) Fault detection method and fault detection system for integrated circuit board

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