CN106846304B - Electrical equipment detection method and device based on infrared detection - Google Patents
Electrical equipment detection method and device based on infrared detection Download PDFInfo
- 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
- grayscale
- thermal image
- electrical equipment
- grayscale image
- 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
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 40
- 238000004458 analytical method Methods 0.000 claims abstract description 44
- 230000002159 abnormal effect Effects 0.000 claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000010835 comparative analysis Methods 0.000 claims abstract description 19
- 238000012545 processing Methods 0.000 claims description 17
- 230000005856 abnormality Effects 0.000 claims description 12
- 230000009466 transformation Effects 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 11
- 239000003550 marker Substances 0.000 claims description 11
- 238000013507 mapping Methods 0.000 claims description 8
- 239000011159 matrix material Substances 0.000 claims description 8
- 238000006243 chemical reaction Methods 0.000 claims description 5
- 241001270131 Agaricus moelleri Species 0.000 claims 1
- 238000007689 inspection Methods 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 230000032683 aging Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
- G06T7/001—Industrial image inspection using an image reference approach
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10048—Infrared image
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20224—Image subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30164—Workpiece; Machine component
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Radiation Pyrometers (AREA)
- Investigating Or Analyzing Materials Using Thermal Means (AREA)
Abstract
本发明实施例提供一种基于红外检测的电气设备检测方法及装置。该方法包括:根据电气设备对应的标准热图像,获取电气设备的目标热图像;对目标热图像与标准热图像进行比对分析,得到比对分析的结果;根据比对分析的结果,确定电气设备是否发生异常。本发明实施例提供的基于红外检测的电气设备检测方法及装置,通过根据电气设备对应的标准热图像,获取电气设备的目标热图像;对目标热图像与标准热图像进行比对分析,得到比对分析的结果;根据比对分析的结果,确定电气设备是否发生异常,实现了自动将目标热像图与标准热像图进行比对分析,减少了检测人员的工作量。
Embodiments of the present invention provide a method and device for detecting electrical equipment based on infrared detection. The method includes: acquiring a target thermal image of the electrical equipment according to a standard thermal image corresponding to the electrical equipment; comparing and analyzing the target thermal image and the standard thermal image to obtain a result of the comparative analysis; determining the electrical equipment according to the result of the comparative analysis Whether the device is abnormal. In the method and device for detecting electrical equipment based on infrared detection provided by the embodiments of the present invention, a target thermal image of the electrical equipment is obtained according to a standard thermal image corresponding to the electrical equipment; According to the results of the analysis; according to the results of the comparison and analysis, it is determined whether the electrical equipment is abnormal, and the automatic comparison and analysis of the target thermal image and the standard thermal image is realized, which reduces the workload of the inspection personnel.
Description
技术领域technical field
本发明实施例涉及设备故障检测领域,尤其涉及一种基于红外检测的电气设备检测方法及装置。Embodiments of the present invention relate to the field of equipment fault detection, and in particular, to a method and device for detecting electrical equipment based on infrared detection.
背景技术Background technique
电气设备是机电一体化设备、电力设备、电子系统等的核心,起到电力能量传输、电信号传导的功能,其运行状态将对整个系统影响重大。Electrical equipment is the core of mechatronics equipment, power equipment, electronic systems, etc. It plays the functions of power energy transmission and electrical signal conduction, and its operating status will have a significant impact on the entire system.
电气设备的设计不合理、器件老化或磨损、连接不良、意外损伤等都可能会造成电气设备的损毁。绝大多数电气设备发生故障的原因是绝缘老化、失效产生的,其外在表现为在故障出现之前数小时都比正常工作时产生的热量明显增加。Unreasonable design of electrical equipment, aging or wear of components, poor connection, accidental damage, etc. may cause damage to electrical equipment. The failure of most electrical equipment is caused by insulation aging and failure, and its external manifestation is that the heat generated during normal operation increases significantly several hours before the failure occurs.
目前,检测人员利用红外检测技术获取待检测电气设备的热图像,通过对热图像进行分析,根据经验判断电气设备是否发生异常。当需要对电气设备进行多次非连续的检测时,通常需要进行多次拍摄,对多次拍摄的热图像进行人工分析,分析难度高,检测人员工作强度大。At present, inspectors use infrared detection technology to obtain thermal images of the electrical equipment to be tested, and analyze the thermal images to determine whether the electrical equipment is abnormal based on experience. When it is necessary to perform multiple non-continuous inspections of electrical equipment, it is usually necessary to perform multiple shots and manually analyze the thermal images shot for multiple times. The analysis is difficult and the work intensity of the inspectors is high.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种基于红外检测的电气设备检测方法及装置,以解决目前对电气设备进行多次非连续的检测时,需对多次拍摄的热图像进行人工分析,分析难度高,检测人员工作强度大的问题。Embodiments of the present invention provide a method and device for detecting electrical equipment based on infrared detection, so as to solve the problem that when multiple non-continuous detections of electrical equipment are currently performed, manual analysis of thermal images taken for multiple times is required, which is difficult to analyze and difficult to detect. The problem of high workload of personnel.
本发明实施例的一个方面是提供一种基于红外检测的电气设备检测方法,包括:One aspect of the embodiments of the present invention is to provide a method for detecting electrical equipment based on infrared detection, including:
根据电气设备对应的标准热图像,获取所述电气设备的目标热图像;Obtain a target thermal image of the electrical device according to the standard thermal image corresponding to the electrical device;
对所述目标热图像与标准热图像进行比对分析,得到比对分析的结果;performing comparative analysis on the target thermal image and the standard thermal image to obtain a comparative analysis result;
根据所述比对分析的结果,确定所述电气设备是否发生异常。According to the result of the comparison analysis, it is determined whether the electrical equipment is abnormal.
本发明实施例的另一个方面是提供一种基于红外检测的电气设备检测的装置,包括:Another aspect of the embodiments of the present invention is to provide an apparatus for detecting electrical equipment based on infrared detection, including:
获取模块,用于根据电气设备对应的标准热图像,获取所述电气设备的目标热图像;an acquisition module, configured to acquire the target thermal image of the electrical equipment according to the standard thermal image corresponding to the electrical equipment;
比对分析模块,用于对所述目标热图像与标准热图像进行比对分析,得到比对分析的结果;a comparison analysis module, configured to perform a comparison analysis on the target thermal image and the standard thermal image to obtain a comparison analysis result;
异常确定模块,用于根据所述比对分析的结果,确定所述电气设备是否发生异常。An abnormality determination module, configured to determine whether the electrical equipment is abnormal according to the result of the comparison and analysis.
本发明实施例提供的基于红外检测的电气设备检测方法及装置,通过根据电气设备对应的标准热图像,获取所述电气设备的目标热图像;对所述目标热图像与标准热图像进行比对分析,得到比对分析的结果;根据所述比对分析的结果,确定所述电气设备是否发生异常,实现了自动对获取的目标热图像与标准热图像的比对分析,并可以根据比对分析结果确定所述电气设备是否发生异常,减少了检测人员的工作量。In the method and device for detecting electrical equipment based on infrared detection provided by the embodiments of the present invention, a target thermal image of the electrical equipment is acquired according to a standard thermal image corresponding to the electrical equipment; and the target thermal image is compared with the standard thermal image. According to the result of the comparison and analysis, it is determined whether the electrical equipment is abnormal, which realizes the comparison and analysis of the acquired target thermal image and the standard thermal image automatically, and can be based on the comparison and analysis. The analysis result determines whether the electrical equipment is abnormal, which reduces the workload of inspection personnel.
附图说明Description of drawings
图1为本发明实施例一提供的基于红外检测的电气设备检测方法的流程示意图;1 is a schematic flowchart of an infrared detection-based electrical device detection method provided in Embodiment 1 of the present invention;
图2为本发明实施例二提供的基于红外检测的电气设备检测方法的流程示意图;2 is a schematic flowchart of an infrared detection-based electrical device detection method provided in Embodiment 2 of the present invention;
图3为本发明实施例三提供的基于红外检测的电气设备检测方法的流程示意图;3 is a schematic flowchart of an infrared detection-based electrical device detection method provided in Embodiment 3 of the present invention;
图4为本发明实施例四提供的基于红外检测的电气设备检测装置的结构示意图;4 is a schematic structural diagram of an electrical equipment detection device based on infrared detection provided in Embodiment 4 of the present invention;
图5为本发明实施例五提供的基于红外检测的电气设备检测装置的结构示意图;5 is a schematic structural diagram of an electrical equipment detection device based on infrared detection provided in Embodiment 5 of the present invention;
图6为本发明实施例六提供的基于红外检测的电气设备检测装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for detecting electrical equipment based on infrared detection according to Embodiment 6 of the present invention.
具体实施方式Detailed ways
为使本发明的技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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. Obviously, the described embodiments are part of the embodiments of the present invention, not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
实施例一Example 1
图1为本发明实施例一提供的基于红外检测的电气设备检测方法的流程示意图。本发明实施例针对目前对电气设备进行多次非连续的检测时,需对多次拍摄的热图像进行人工分析,分析难度高,检测人员工作强度大的问题,提供了基于红外检测的电气设备检测方法。如图1所示,该方法具体步骤如下:FIG. 1 is a schematic flowchart of a method for detecting electrical equipment based on infrared detection according to Embodiment 1 of the present invention. The embodiments of the present invention provide electrical equipment based on infrared detection, aiming at the problems of high difficulty in analysis and high workload of inspectors, which require manual analysis of thermal images taken for many times when multiple non-continuous inspections are performed on electrical equipment. Detection method. As shown in Figure 1, the specific steps of the method are as follows:
步骤S101、根据电气设备对应的标准热图像,获取电气设备的目标热图像。Step S101 , acquiring a target thermal image of the electrical device according to the standard thermal image corresponding to the electrical device.
本实施例中,根据对电气设备检测的需要,可以定期、不定期、或者连续多次对待检测的电气设备进行拍摄,获取最近的目标热图像,以根据该最近的目标热图像确定该电气设备是否发生异常。对电气设备的检测频率可以由技术人员根据实际检测需要进行设定,本发明实施例对此不做具体限定。例如:对电气设备的检测频率可以为每年一次、每个月一次、或者每日一次等。In this embodiment, according to the needs of electrical equipment detection, the electrical equipment to be detected can be photographed regularly, irregularly, or several times in a row to obtain the latest thermal image of the target, so as to determine the electrical equipment according to the latest thermal image of the target Whether an exception occurs. The detection frequency of the electrical equipment may be set by a technician according to actual detection needs, which is not specifically limited in this embodiment of the present invention. For example, the detection frequency of electrical equipment may be once a year, once a month, or once a day.
本实施例中,可以对电气设备、或者电气设备中的一个或多个电气部件做检测。可选地,在该步骤之前,还包括获取电气设备对应的标准热图像,该标准热图像的拍摄范围覆盖了待检测的电气设备整体,或者覆盖了该电气设备的待检测部件。In this embodiment, the electrical equipment or one or more electrical components in the electrical equipment can be detected. Optionally, before this step, it also includes acquiring a standard thermal image corresponding to the electrical equipment, and the shooting range of the standard thermal image covers the entire electrical equipment to be detected, or covers the components to be detected of the electrical equipment.
具体地,可以使用红外光学采集系统,获取电气设备开始状态下的热成像图,作为该电气设备对应的标准热图像。例如,可以在电气设备每次登记备案时的状态作为开始状态,采集此时电气设备的热成像图,作为该电气设备对于的标准热图像。其中,红外光学采集系统可以是红外相机、红外探测器、红外热像仪等设备。Specifically, an infrared optical acquisition system can be used to obtain a thermal image in the starting state of the electrical device as a standard thermal image corresponding to the electrical device. For example, the state of the electrical equipment each time it is registered and filed can be used as the starting state, and the thermal image of the electrical equipment at this time can be collected as the standard thermal image of the electrical equipment. Wherein, the infrared optical acquisition system may be an infrared camera, an infrared detector, an infrared thermal imager and other equipment.
另外,在获取待检测的电气设备的标准热图像之后,在对同一电气设备或者同一电气设备中的电气部件的每次检测前,无需再次获取其对应的标准热图像。In addition, after acquiring the standard thermal image of the electrical device to be inspected, it is not necessary to acquire the corresponding standard thermal image again before each inspection of the same electrical device or an electrical component in the same electrical device.
步骤S102、对目标热图像与标准热图像进行比对分析,得到比对分析的结果。Step S102 , compare and analyze the target thermal image and the standard thermal image, and obtain a result of the comparison and analysis.
由于使用红外光学采集系统至今采集到的热图像的灰度范围通常较小,该步骤中对标准热图像和目标热图像进行图像增强,并提取这两个图像的特征值,并分别提取图像增强后得到的两个图像的特征点,计算预设的目标区域内标准热图像与目标图像的差分图像,并对差分图中温差较大的异常的像素点进行标记,得到差分标记图像。Since the grayscale range of the thermal images collected so far using the infrared optical acquisition system is usually small, in this step, image enhancement is performed on the standard thermal image and the target thermal image, and the eigenvalues of the two images are extracted, and the image enhancements are extracted respectively. After obtaining the feature points of the two images, the difference image between 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.
其中,标准热图像上预设的目标区域为由技术人员在标准热图像上预先划定的感兴趣区域,目标热图像上预设的目标区域为目标热图像上与标准热图像上的目标区域对应的区域。Among them, the preset target area on the standard thermal image is the area of interest pre-defined by the technician on the standard thermal image, and the preset target area on the target thermal image is the target area on the target thermal image and the standard thermal image. corresponding area.
本实施例中,通过对标准热图像和目标热图像进行图像增强,使得标准热图像和目标热图像中所有像素点的灰度值完全覆盖0-255,并且保证对标准热图像和目标热图像进行完全相同的图像增强,使得图像增强之前标准热图像和目标热图像中具有相等灰度值的像素点,在图像增强之后的灰度值相等。In this embodiment, by performing image enhancement on the standard thermal image and the target thermal image, the gray values of all pixels in the standard thermal image and the target thermal image completely cover 0-255, and the standard thermal image and the target thermal image are guaranteed to be Perform exactly the same image enhancement, so that the pixels with the same gray value in the standard thermal image and the target thermal image before image enhancement have the same gray value after image enhancement.
步骤S103、根据比对分析的结果,确定电气设备是否发生异常。Step S103 , according to the result of the comparison and analysis, determine whether the electrical equipment is abnormal.
该步骤中,根据上述的比对分析结果,确定预设的目标区域内异常的像素点,计算预设的目标区域内异常的像素点所占的比例,预设的目标区域内异常的像素点所占的比例大于或者等于预设异常阈值的时候,确定电气设备是否发生异常。In this step, according to the above comparison and analysis results, determine the abnormal pixel points in the preset target area, calculate the proportion of the abnormal pixel points in the preset target area, and calculate the abnormal pixel points in the preset target area. When the proportion is greater than or equal to the preset abnormality threshold, it is determined whether the electrical equipment is abnormal.
本发明实施例通过根据电气设备对应的标准热图像,获取电气设备的目标热图像;对目标热图像与标准热图像进行比对分析,得到比对分析的结果;根据比对分析的结果,确定电气设备是否发生异常,实现了自动对每次获取的目标热图像与标准热图像的比对分析,并可以根据比对分析结果确定电气设备是否发生异常,减少了检测人员的工作量。In the embodiment of the present invention, the target thermal image of the electrical equipment is acquired according to the standard thermal image corresponding to the electrical equipment; the comparison and analysis of the target thermal image and the standard thermal image are performed to obtain the result of the comparison and analysis; according to the result of the comparison and analysis, the determination of Whether the electrical equipment is abnormal, the automatic comparison and analysis of the target thermal image obtained each time and the standard thermal image can be realized, and whether the electrical equipment is abnormal can be determined according to the comparison and analysis results, which reduces the workload of the inspection personnel.
实施例二Embodiment 2
图2为本发明实施例二提供的基于红外检测的电气设备检测方法的流程示意图。在上述实施例基础上,如图2所示,根据电气设备对应的标准热图像,获取电气设备的目标热图像,具体可以采用如下步骤实现:FIG. 2 is a schematic flowchart of a method for detecting electrical equipment based on infrared detection according to Embodiment 2 of the present invention. On the basis of the above-mentioned embodiment, as shown in FIG. 2 , according to the standard thermal image corresponding to the electrical equipment, the target thermal image of the electrical equipment is obtained. Specifically, the following steps can be used to achieve:
步骤S201、以标准热图像为背景,采集电气设备的当前热图像。Step S201 , taking the standard thermal image as the background, collect the current thermal image of the electrical device.
本实施例中,在获取电气设备的当前热图像时,对本次拍摄的视角和范围进行调整,使得本次拍摄得到的当前热图像与标准热图像的拍摄角度和范围一致;或者这两者的覆盖率达到预设覆盖阈值,此时可以认为两者的拍摄角度和范围基本一致。In this embodiment, when the current thermal image of the electrical equipment is acquired, the viewing angle and range of this shooting are adjusted so that the current thermal image obtained this time is consistent with the shooting angle and range of the standard thermal image; or both The coverage rate reaches the preset coverage threshold. At this time, it can be considered that the shooting angles and ranges of the two are basically the same.
具体地,可以通过调整摄像头的拍摄角度、调整摄像头和电气设备之间的距离、调整摄像头高度、调整摄像头焦距等方式,将本次拍摄的视角和范围调整至与标准热图像一致或者基本一致。Specifically, by adjusting the shooting angle of the camera, adjusting the distance between the camera and the electrical equipment, adjusting the height of the camera, and adjusting the focal length of the camera, etc., the viewing angle and range of this shooting can be adjusted to be consistent or basically consistent with the standard thermal image.
可选地,可以以热图像为背景,在本次拍摄时,使得本次拍摄时取景的视角和背景完全重合,或者大体重叠,从而可以保证两次拍摄覆盖的内容的一致。Optionally, the thermal image may be used as the background, and during the current shooting, the viewing angle and the background of the current shooting can be completely overlapped, or substantially overlapped, so that the content covered by the two shootings can be consistent.
步骤S202、将标准热图像转换为第一灰度图,对第一灰度图进行灰度线性变换,以使第一灰度图中所有像素点的灰度值的范围在0-255之间。Step S202: Convert the standard thermal image into a first grayscale image, and perform linear grayscale transformation on the first grayscale image, so that the grayscale values of all pixels in the first grayscale image are in the range of 0-255 .
其中,经过该步骤的处理后得到的第一灰度图中所有像素点的灰度值的范围在0-255之间,并且第一灰度图中的各像素点的灰度值中最小值为0,最大值为255。即第一灰度图中像素点的灰度值完全覆盖0-255的灰度范围。The range of the grayscale values of all pixels in the first grayscale image obtained after this step is between 0 and 255, and the minimum value among the grayscale values of each pixel in the first grayscale image is 0 and the maximum value is 255. That is, the grayscale values of the pixel points in the first grayscale image completely cover the grayscale range of 0-255.
本实施例中,可以采用现有技术中任意一种将热图像转换为灰度图的方法将标准热图像转换为第一灰度图,可以采用现有技术中任意一种灰度线性变换方法对该第一灰度图进行灰度线性变换,本发明实施例对此不做具体限定。In this embodiment, any method of converting a thermal image into a grayscale image in the prior art can be used to convert the standard thermal image into the first grayscale image, and any method of linear grayscale transformation in the prior art can be used. The grayscale linear transformation is performed on the first grayscale image, which is not specifically limited in this embodiment of the present invention.
步骤S203、将当前热图像转换为第二灰度图,对第二灰度图进行灰度线性变换,以使第二灰度图中所有像素点的灰度值的范围在0-255之间。Step S203, converting the current thermal image into a second grayscale image, and performing linear grayscale transformation on the second grayscale image, so that the grayscale values of all pixels in the second grayscale image are in the range of 0-255 .
其中,经过该步骤的处理后得到的第二灰度图中所有像素点的灰度值的范围在0-255之间,并且第二灰度图中的各像素点的灰度值中最小值为0,最大值为255。即第二灰度图中像素点的灰度值完全覆盖0-255的灰度范围。The range of the grayscale values of all the pixels in the second grayscale image obtained after this step is between 0 and 255, and the minimum value among the grayscale values of each pixel in the second grayscale image is 0 and the maximum value is 255. That is, the grayscale values of the pixel points in the second grayscale image completely cover the grayscale range of 0-255.
该步骤中,将当前热图像转换为第二灰度图所采用的方法,与上述步骤S202中将标准热图像转换为第一灰度图的方法一致;并且对第二灰度图进行灰度线性变换所采用的方法,与上述步骤S202中所采用的灰度线性变换方法一致,以使标准热图像和当前热图像中具有相等灰度值的像素点,在进行上述步骤S202-S203的处理之后,得到的第一灰度图和第二灰度图中对应的像素点的灰度值仍然相等。In this step, the method used to convert the current thermal image into the second grayscale image is consistent with the method of converting the standard thermal image into the first grayscale image in the above step S202; and the second grayscale image is grayscaled The method used in the linear transformation is consistent with the grayscale linear transformation method adopted in the above step S202, so that the pixel points with the same gray value in the standard thermal image and the current thermal image are processed in the above steps S202-S203. Afterwards, the gray values of the corresponding pixels in the obtained first grayscale image and the second grayscale image are still equal.
上述步骤S202-S203是对标准热图像和当前热图像进行图像增强的过程,通过将这两个图像转换为灰度图,并对得到的灰度图进行灰度线性变换,使得最终得到的第一灰度图像和第二灰度图像中像素点的灰度值覆盖范围最大,且图像增强之前标准热图像和当前热图像中具有相等灰度值的像素点,在图像增强之后的灰度值仍然相等。The above steps S202-S203 are the process of image enhancement for the standard thermal image and the current thermal image. By converting these two images into grayscale images, and performing grayscale linear transformation on the obtained grayscale images, the final obtained No. The gray value coverage of the pixels in the first grayscale image and the second grayscale image is the largest, and the pixel points with the same gray value in the standard thermal image and the current thermal image before image enhancement, the gray value after image enhancement still equal.
步骤S204、计算第二灰度图相对于第一灰度图的覆盖率。Step S204: Calculate the coverage ratio of the second grayscale image relative to the first grayscale image.
本实施例中,第二灰度图相对于第一灰度图的覆盖率,是指第一灰度图中的目标区域内、与第二灰度图匹配的像素点在第一灰度图中的覆盖率。In this embodiment, the coverage ratio of the second grayscale image relative to the first grayscale image refers to the pixels in the target area in the first grayscale image that match the second grayscale image in the first grayscale image. coverage in .
具体地,该步骤具体可以采用如下方式实现:Specifically, this step can be implemented in the following manner:
提取第一灰度图的特征点和第二灰度图的特征点,对第一灰度图的特征点和第二灰度图的特征点进行匹配,并根据匹配结果计算投影映射矩阵。根据投影映射矩阵以及预设的目标区域,计算第一灰度图中的目标区域内、与第二灰度图匹配的像素点在第一灰度图中的覆盖率,得到第二灰度图相对于第一灰度图的覆盖率。The feature points of the first grayscale image and the feature points of the second grayscale image are extracted, the feature points of the first grayscale image and the feature points of the second grayscale image are matched, and a projection mapping matrix is calculated according to the matching result. According to the projection mapping matrix and the preset target area, calculate the coverage ratio of the pixels in the target area in the first grayscale image that match the second grayscale image in the first grayscale image, and obtain the second grayscale image Coverage relative to the first grayscale image.
优选地,由于SURF(Speeded Up Robust Features,加速稳健特征)的特征提取方法具有尺度不变性和旋转不变性,能够有效应对获取两个图像时的拍摄距离和角度的差异,本实施例中采用SURF特征提取方法,提取第一灰度图的特征点和第二灰度图的SURF特征,并得到特征点。另外,也可以采用现有技术中任意一种特征提取的方法,本发明实施例不再赘述。Preferably, since the feature extraction method of SURF (Speeded Up Robust Features) has scale invariance and rotation invariance, it can effectively deal with the difference in shooting distance and angle when two images are acquired. In this embodiment, SURF is used. The feature extraction method extracts the feature points of the first grayscale image and the SURF feature of the second grayscale image, and obtains the feature points. In addition, any feature extraction method in the prior art may also be used, which is not repeated in this embodiment of the present invention.
可选地,使用FLANN(Fast Library for Approximate Nearest Neighbors)算法对第一灰度图的特征点和第二灰度图的特征点进行匹配。Optionally, the FLANN (Fast Library for Approximate Nearest Neighbors) algorithm is used to match the feature points of the first grayscale image with the feature points of the second grayscale image.
步骤S205、如果覆盖率大于或者等于预设覆盖阈值,确定当前热图像为目标热图像。Step S205, if the coverage ratio is greater than or equal to the preset coverage threshold, determine that the current thermal image is the target thermal image.
本实施例中,如果覆盖率大于或者等于预设覆盖阈值,则可以确定在预设的目标区域内,第二灰度图与第一灰度图中特征点的匹配度较高,则可以确定当前热图像与标准热图像所拍摄的电气设备为同一类电气设备,或者是同一类电气部件,可以将本次拍摄的该当前热图像可以作为待检测的电气设备的热图像,确定该当前热图像为目标热图像。In this embodiment, if the coverage ratio is greater than or equal to the preset coverage threshold, it can be determined that within the preset target area, the matching degree of the feature points between the second grayscale image and the first grayscale image is relatively high, and it can be determined that The electrical equipment captured by the current thermal image and the standard thermal image are of the same type of electrical equipment or electrical components. The current thermal image taken this time can be used as the thermal image of the electrical equipment to be detected to determine the current thermal image The image is a thermal image of the target.
其中,预设覆盖率可以由技术人员根据实际需要进行设定。例如,预设覆盖阈值可以为80%。The preset coverage rate can be set by a technician according to actual needs. For example, the preset coverage threshold may be 80%.
步骤S206、如果覆盖率小于预设覆盖阈值,重新以标准热图像为背景,采集下一时刻电气设备的热图像,直至确定出目标热图像。Step S206 , if the coverage rate is less than the preset coverage threshold, take the standard thermal image as the background again, and collect the thermal image of the electrical equipment at the next moment until the target thermal image is determined.
本实施例中,如果覆盖率小于预设覆盖阈值,则可以确定在预设的目标区域内,第二灰度图与第一灰度图中特征点的匹配度很低,则可以确定当前热图像与标准热图像所拍摄的电气设备不是同一类电气设备,也不是同一类电气部件,该当前热图像无法作为目标热图像。此时,需要重新执行步骤S201-S206,直至确定出目标热图像。In this embodiment, if the coverage rate is less than the preset coverage threshold, it can be determined that in the preset target area, the matching degree of the feature points between the second grayscale image and the first grayscale image is very low, and it can be determined that the current thermal The image and the electrical equipment captured by the standard thermal image are not the same type of electrical equipment, nor the same type of electrical components, and the current thermal image cannot be used as the target thermal image. At this time, steps S201-S206 need to be performed again until the target thermal image is determined.
可选地,当确定覆盖率小于预设覆盖阈值,需要重新以标准热图像为背景采集下一时刻电气设备的热图像时,发出预设的报警信号,使得技术人员根据该报警信号重新采集下一时刻电气设备的热图像。该预设的报警信号可以为发出报警提示音、报警指示灯闪烁等方式实现,本发明实施例对此不做具体限定。Optionally, when it is determined that the coverage rate is less than the preset coverage threshold, and the thermal image of the electrical equipment at the next moment needs to be collected again with the standard thermal image as the background, a preset alarm signal is issued, so that the technician can re-collect the next time according to the alarm signal. Thermal image of electrical equipment at one moment. The preset alarm signal may be implemented by sending out an alarm prompt sound, flashing an alarm indicator light, etc., which is not specifically limited in this embodiment of the present invention.
本发明实施例提供了根据电气设备对应的标准热图像获取电气设备的目标热图像的详细过程。The embodiments of the present invention provide a detailed process of acquiring a target thermal image of an electrical device according to a standard thermal image corresponding to the electrical device.
实施例三Embodiment 3
图3为本发明实施例三提供的基于红外检测的电气设备检测方法的流程示意图。在上述实施例基础上,本发明实施例中,对对当前热图像与标准热图像进行比对分析,得到比对分析的结果,根据比对分析的结果,确定电气设备是否发生异常的过程进行详细的说明。如图3所示,本实施例提供的方法包括以下步骤:FIG. 3 is a schematic flowchart of a method for detecting electrical equipment based on infrared detection according to Embodiment 3 of the present invention. On the basis of the above embodiment, in the embodiment of the present invention, the current thermal image and the standard thermal image are compared and analyzed to obtain the result of the comparison and analysis. According to the result of the comparison and analysis, the process of determining whether the electrical equipment is abnormal is carried out. Detailed explanation. As shown in Figure 3, the method provided by this embodiment includes the following steps:
步骤S301、根据电气设备对应的标准热图像,获取电气设备的目标热图像。Step S301: Acquire a target thermal image of the electrical device according to the standard thermal image corresponding to the electrical device.
本实施例中,该步骤具体采用上述实施例二中的方法实现,此处不再赘述。In this embodiment, this step is specifically implemented by the method in the above-mentioned Embodiment 2, and details are not repeated here.
步骤S302、根据预设的目标区域、标准热图像对应的第一灰度图、以及目标热图像对应的第二灰度图,将第一灰度图和第二灰度图进行图像差分处理,得到差分图像。Step S302, performing image difference processing on the first grayscale image and the second grayscale image according to the preset target area, the first grayscale image corresponding to the standard thermal image, and the second grayscale image corresponding to the target thermal image, Get the difference image.
其中,预设的目标区域为由技术人员在标准热图像上预先划定的感兴趣区域,目标热图像上的预设的目标区域为目标热图像上与标准热图像上的目标区域对应的区域。The preset target area is the area of interest pre-defined by the technician on the standard thermal image, and the preset target area on the target thermal image is the area on the target thermal image corresponding to the target area on the standard thermal image .
本实施例中,标准热图像对应的第一灰度图、以及目标热图像对应的第二灰度图,可以在上述步骤S301中获取电气设备的目标热图像过程中得到。In this embodiment, the first grayscale image corresponding to the standard thermal image and the second grayscale image corresponding to the target thermal image may be obtained in the process of acquiring the target thermal image of the electrical device in the above step S301.
该步骤中,将第一灰度图和第二灰度图进行图像差分处理,具体为将第一灰度图和第二灰度图在预设目标区域内进行图像差分处理,得到对应于预设目标区域对应的差分图像。In this step, image differential processing is performed on the first grayscale image and the second grayscale image. Set the difference image corresponding to the target area.
步骤S303、计算差分图像中各像素点的灰度值标识的温差。Step S303: Calculate the temperature difference identified by the grayscale value of each pixel 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 the two pixels corresponding to the pixel in the first gray image and the second gray image. In terms of images, the gray value of a pixel can be used to identify the temperature value of the corresponding part of the pixel in the electrical equipment, and the gray value of any pixel in the differential image can be used to identify: the pixel in the electrical equipment The temperature value of the corresponding part is the temperature difference between 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 in the differential image, the temperature difference corresponding to the gray value can be calculated.
该步骤中,根据预先设定的对应规则,计算差分图像中各像素点的灰度值标识的温差。其中对应规则有技术人员根据实际情况预先设定。In this step, the temperature difference identified by the gray value of each pixel in the differential image is calculated according to a preset corresponding rule. The corresponding rules are preset by technicians according to the actual situation.
步骤S304、根据差分图像中各像素点的灰度值标识的温差,将温差大于温差阈值的像素点的灰度值设置为第一预设值,将温差小于或者等于温差阈值的像素点的灰度值设置为第二预设值,得到第一差分标记图像。Step S304: According to the temperature difference identified by the grayscale value of each pixel in the differential image, set the grayscale value of the pixel whose temperature difference is greater than the temperature difference threshold as the first preset value, and set the grayscale value of the pixel whose temperature difference is less than or equal to the temperature difference threshold as the first preset value. The degree value is set to a second preset value to obtain a first differential marker image.
可选地,第一预设值可以为255,第二预设值可以为0。第一预设值和第二预设值可以由技术人员设定为两个不同的值,能够从视觉上明显区分即可,本发明实施例对此不做具体限定。Optionally, 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 by a technician as two different values, which can be clearly distinguished visually, which is not specifically limited in this embodiment of the present invention.
本实施例中,差分图像中温差大于温差阈值的像素点为有温度异常的像素点,将这一类的像素点的灰度值设置为第一预设值,标记为异常像素点;差分图像中温差小于或者等于温差阈值的像素点为正常的像素点,将这一类的像素点的灰度值设置为第二预设值,标记为正常像素点。In this embodiment, the pixels whose temperature difference is greater than the temperature difference threshold in the differential image are pixels with abnormal temperature, and the gray value of this type of pixels is set as the first preset value, which is marked as abnormal pixels; the differential image Pixels whose intermediate temperature difference is less than or equal to the temperature difference threshold are normal pixels, and the gray value of this type of pixel is set to a second preset value, and is marked as a normal pixel.
步骤S305、对第一差分标记图像进行去噪声处理,得到第二差分标记图像,第二差分标记图像为比对分析的结果。Step S305 , perform denoising processing on the first differential marker image to obtain a second differential marker image, which is the result of the comparison and analysis.
该步骤中,对第一差分标记图像进行去噪声处理,去除第一差分标记图像中的孤立杂点,得到第二差分标记图像。In this step, denoising processing is performed on the first differential marker image to remove isolated noise points in the first differential marker image to obtain a second differential marker image.
本实施例中,对第一差分标记图像进行去噪声处理所采用的去噪声方法可以采用现有技术中任意一种去噪声的方法实现,本实施例对此不做具体限定。In this embodiment, the denoising method used to perform denoising processing on the first differential marker image may be implemented by any denoising method in the prior art, which is not specifically limited in this embodiment.
上述步骤S302-S305为对当前热图像与标准热图像进行比对分析,得到比对分析的结果的过程。The above steps S302-S305 are the process of comparing and analyzing the current thermal image and the standard thermal image to obtain the result of the comparing and analyzing.
步骤S306、根据第二差分标记图像,计算灰度值为第一预设值的像素点在差分图像中所占的比例。Step S306 , according to the second differential marker image, calculate the proportion of the pixels whose grayscale value is the first preset value in the differential image.
本实施例中,第二差分标记图像中灰度值为第一预设值的像素点即为被标记为温度异常的异常像素点,通过计算灰度值为第一预设值的像素点在差分图像中所占的比例,可以得到异常像素点在差分图像中所占的比例。In this embodiment, the pixels with the grayscale value of the first preset value in the second differentially marked image are the abnormal pixels marked as abnormal temperature. By calculating the grayscale value of the pixels with the first preset value in The proportion of the difference image, the proportion of abnormal pixels in the difference image can be obtained.
具体地,可以通过计算第一预设值的像素点所占的面积与预设目标区域的总面积的比值,或者计算第一预设值的像素点的个数与预设目标区域中像素点总数的比值,来计算灰度值为第一预设值的像素点在差分图像中所占的比例。Specifically, the ratio of the area occupied by the pixels of the first preset value to the total area of the preset target area can be calculated, or the number of pixels of the first preset value and the pixels in the preset target area can be calculated. The ratio of the total number to calculate the proportion of the pixels whose gray value is the first preset value in the differential image.
步骤S307、如果灰度值为第一预设值的像素点在差分图像中所占的比例大于或者等于预设异常阈值,则确定电气设备发生异常。Step S307 , if the proportion of the pixels with the grayscale value of the first preset value in the differential image is greater than or equal to the preset abnormality threshold, it is determined that the electrical equipment is abnormal.
本实施例中,如果第一预设值的像素点在差分图像中所占的比例小于预设异常阈值,则确定电气设备没有发生异常。In this embodiment, if the proportion of the pixel points of the first preset value in the differential image is smaller than the preset abnormality threshold, it is determined that the electrical device is not abnormal.
可选地,在确定电气设备发生异常之后,可以将第二灰度图进行显示,并对第二灰度图中,与灰度值为第一预设值的像素点对应的像素点进行警示标记。例如,将第二灰度图中与灰度值为第一预设值的像素点对应的像素点显示为红色。Optionally, after it is determined that an abnormality occurs in the electrical equipment, the second grayscale image can be displayed, and a warning is given to the pixels corresponding to the pixels whose grayscale value is the first preset value in the second grayscale image. mark. For example, the pixels in the second grayscale image corresponding to the pixels whose grayscale values are the first preset value are displayed in red.
可选地,在确定电气设备未发生异常之后,可以将第二灰度图进行显示,并对第二灰度图中预设目标区域进行正常标记。例如,将第二灰度图中预设目标区域中的像素点显示为绿色。Optionally, after it is determined that the electrical equipment is not abnormal, the second grayscale image may be displayed, and the preset target area in the second grayscale image is normally marked. For example, the pixels in the preset target area in the second grayscale image are displayed in green.
上述步骤S205-S307为根据比对分析的结果,确定电气设备是否发生异常的过程。The above steps S205-S307 are the process of determining whether the electrical equipment is abnormal according to the result of the comparison and analysis.
本发明实施例根据预设的目标区域、标准热图像对应的第一灰度图、以及目标热图像对应的第二灰度图,通过将第一灰度图和第二灰度图进行图像差分处理,得到差分图像,计算差分图像中各像素点的灰度值标识的温差,根据差分图像中各像素点的灰度值标识的温差,标记出异常像素点和正常像素点,并进行去噪声处理,得到第二差分标记图像,作为比对分析的结果;通过计算第二差分标记图像中异常像素点所占的比例,确定电气设备是否发生异常,能够自动对对目标热图像与标准热图像进行比对分析,并根据比对分析的结果,确定电气设备是否发生异常。In the embodiment of the present invention, the first grayscale image and the second grayscale image are subjected to image difference according to the preset target area, the first grayscale image corresponding to the standard thermal image, and the second grayscale image corresponding to the target thermal image. Process to obtain a differential image, calculate the temperature difference identified by the gray value of each pixel in the differential image, mark abnormal pixels and normal pixels according to the temperature difference identified by the gray value of each pixel in the differential image, and perform noise removal processing to obtain a second differentially marked image as the result of the comparative analysis; by calculating the proportion of abnormal pixels in the second differentially marked image to determine whether the electrical equipment is abnormal, it can automatically compare the target thermal image with the standard thermal image Carry out a comparative analysis, and determine whether the electrical equipment is abnormal according to the results of the comparative analysis.
实施例四Embodiment 4
图4为本发明实施例四提供的基于红外检测的电气设备检测装置的结构示意图。本发明实施例提供的基于红外检测的电气设备检测的装置可以执行基于红外检测的电气设备检测方法实施例提供的处理流程,如图4所示,该装置包括:获取模块401、比对分析模块402和异常确定模块403。FIG. 4 is a schematic structural diagram of an apparatus for detecting electrical equipment based on infrared detection according to Embodiment 4 of the present invention. The apparatus for detecting electrical equipment based on infrared detection provided by the embodiment of the present invention can execute the processing flow provided by the embodiment of the method for detecting electrical equipment based on infrared detection. As shown in FIG. 4 , the apparatus includes: an
其中,获取模块401用于根据电气设备对应的标准热图像,获取电气设备的目标热图像;Wherein, the
比对分析模块402用于对目标热图像与标准热图像进行比对分析,得到比对分析的结果;The comparison and
异常确定模块403用于根据比对分析的结果,确定电气设备是否发生异常。The
本发明实施例提供的装置可以具体用于执行上述实施例一所提供的方法,具体功能此处不再赘述。The apparatus provided in this embodiment of the present invention may be specifically used to execute the method provided in the above-mentioned Embodiment 1, and the specific functions will not be repeated here.
本发明实施例通过根据电气设备对应的标准热图像,获取电气设备的目标热图像;对目标热图像与标准热图像进行比对分析,得到比对分析的结果;根据比对分析的结果,确定电气设备是否发生异常,实现了自动对每次获取的目标热图像与标准热图像的比对分析,并可以根据比对分析结果确定电气设备是否发生异常,减少了检测人员的工作量。In the embodiment of the present invention, the target thermal image of the electrical equipment is acquired according to the standard thermal image corresponding to the electrical equipment; the comparison and analysis of the target thermal image and the standard thermal image are performed to obtain the result of the comparison and analysis; according to the result of the comparison and analysis, the determination of Whether the electrical equipment is abnormal, the automatic comparison and analysis of the target thermal image obtained each time and the standard thermal image can be realized, and whether the electrical equipment is abnormal can be determined according to the comparison and analysis results, which reduces the workload of the inspection personnel.
实施例五Embodiment 5
图5为本发明实施例五提供的基于红外检测的电气设备检测装置的结构示意图。如图5所示,在上述实施例四的基础上,获取模块401包括:采集子模块4011、转换子模块4012、第一计算子模块4013和第一确定子模块4014。FIG. 5 is a schematic structural diagram of an apparatus for detecting electrical equipment based on infrared detection according to Embodiment 5 of the present invention. As shown in FIG. 5 , on the basis of the fourth embodiment above, the
其中,采集子模块4011用于以标准热图像为背景,采集电气设备的当前热图像。Among them, the acquisition sub-module 4011 is used to acquire the current thermal image of the electrical equipment with the standard thermal image as the background.
转换子模块4012用于将标准热图像转换为第一灰度图,对第一灰度图进行灰度线性变换,以使第一灰度图中所有像素点的灰度值的范围在0-255之间。The
转换子模块4012还用于将当前热图像转换为第二灰度图,对第二灰度图进行灰度线性变换,以使第二灰度图中所有像素点的灰度值的范围在0-255之间。The
第一计算子模块4013用于计算第二灰度图相对于第一灰度图的覆盖率。The
具体地,第一计算子模块4013还用于:提取第一灰度图的特征点和第二灰度图的特征点;对第一灰度图的特征点和第二灰度图的特征点进行匹配,并根据匹配结果计算投影映射矩阵;根据投影映射矩阵以及预设的目标区域,计算第一灰度图中的目标区域内、与第二灰度图匹配的像素点在第一灰度图中的覆盖率,得到第二灰度图相对于第一灰度图的覆盖率。Specifically, the
第一确定子模块4014用于如果覆盖率大于或者等于预设覆盖阈值,确定当前热图像为目标热图像。The
第一确定子模块4014还用于如果覆盖率小于预设覆盖阈值,重新以标准热图像为背景,采集下一时刻电气设备的热图像,直至确定出目标热图像。The
本发明实施例提供的装置可以具体用于执行上述实施例二所提供的方法,具体功能此处不再赘述。The apparatus provided in this embodiment of the present invention may be specifically used to execute the method provided in the foregoing Embodiment 2, and specific functions will not be repeated here.
本发明实施例提供了根据电气设备对应的标准热图像获取电气设备的目标热图像的详细过程。The embodiments of the present invention provide a detailed process of acquiring a target thermal image of an electrical device according to a standard thermal image corresponding to the electrical device.
实施例六Embodiment 6
图6为本发明实施例六提供的基于红外检测的电气设备检测装置的结构示意图。如图6所示,在上述实施例五的基础上,比对分析模块402包括:差分子模块4021、第二计算子模块4022、差分标记子模块4023和去噪处理子模块4024。FIG. 6 is a schematic structural diagram of an apparatus for detecting electrical equipment based on infrared detection according to Embodiment 6 of the present invention. As shown in FIG. 6 , on the basis of the fifth embodiment, the comparison and
其中,差分子模块4021用于根据预设的目标区域、标准热图像对应的第一灰度图、以及目标热图像对应的第二灰度图,将第一灰度图和第二灰度图进行图像差分处理,得到差分图像。The difference sub-module 4021 is used to convert the first grayscale image and the second grayscale image according to the preset target area, the first grayscale image corresponding to the standard thermal image, and the second grayscale image corresponding to the target thermal image. Perform image difference processing to obtain a difference image.
第二计算子模块4022用于计算差分图像中各像素点的灰度值标识的温差。The
差分标记子模块4023用于根据差分图像中各像素点的灰度值标识的温差,将温差大于温差阈值的像素点的灰度值设置为第一预设值,将温差小于或者等于温差阈值的像素点的灰度值设置为第二预设值,得到第一差分标记图像。The
去噪处理子模块4024用于对第一差分标记图像进行去噪声处理,得到第二差分标记图像,第二差分标记图像为比对分析的结果。The
本实施例中,异常确定模块403包括:第三计算子模块4031和第二确定子模块4032。In this embodiment, the
其中,第三计算子模块4031用于根据第二差分标记图像,计算灰度值为第一预设值的像素点在差分图像中所占的比例;Wherein, the
第二确定子模块4032用于如果灰度值为第一预设值的像素点在差分图像中所占的比例大于或者等于预设异常阈值,则确定电气设备发生异常。The
本发明实施例提供的装置可以具体用于执行上述实施例三所提供的方法,具体功能此处不再赘述。The apparatus provided in this embodiment of the present invention may be specifically used to execute the method provided in the third embodiment above, and specific functions will not be repeated here.
本发明实施例根据预设的目标区域、标准热图像对应的第一灰度图、以及目标热图像对应的第二灰度图,通过将第一灰度图和第二灰度图进行图像差分处理,得到差分图像,计算差分图像中各像素点的灰度值标识的温差,根据差分图像中各像素点的灰度值标识的温差,标记出异常像素点和正常像素点,并进行去噪声处理,得到第二差分标记图像,作为比对分析的结果;通过计算第二差分标记图像中异常像素点所占的比例,确定电气设备是否发生异常,能够自动对对目标热图像与标准热图像进行比对分析,并根据比对分析的结果,确定电气设备是否发生异常。In the embodiment of the present invention, the first grayscale image and the second grayscale image are subjected to image difference according to the preset target area, the first grayscale image corresponding to the standard thermal image, and the second grayscale image corresponding to the target thermal image. Process to obtain a differential image, calculate the temperature difference identified by the gray value of each pixel in the differential image, mark abnormal pixels and normal pixels according to the temperature difference identified by the gray value of each pixel in the differential image, and perform noise removal processing to obtain a second differentially marked image as the result of the comparative analysis; by calculating the proportion of abnormal pixels in the second differentially marked image to determine whether the electrical equipment is abnormal, it can automatically compare the target thermal image with the standard thermal image Carry out a comparative analysis, and determine whether the electrical equipment is abnormal according to the results of the comparative analysis.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present invention. some steps. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
本领域技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the division of the above functional modules is used for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the apparatus described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present invention. scope.
Claims (4)
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 (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108037384B (en) * | 2017-11-30 | 2024-12-27 | 国网河北省电力公司经济技术研究院 | On-site monitoring method and device for electric power facilities |
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)
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 |
-
2017
- 2017-01-03 CN CN201710002290.7A patent/CN106846304B/en active Active
Patent Citations (4)
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 | |
Jadin et al. | Gas leakage detection using thermal imaging technique | |
EP2776816B1 (en) | System and method for data-driven automated defect detection | |
US8792705B2 (en) | System and method for automated defect detection utilizing prior data | |
CN111340787B (en) | Method and device for detecting and identifying wire defects of power transmission line and computer equipment | |
CN111127508B (en) | Target tracking method and device based on video | |
CN110726725A (en) | Transmission line hardware corrosion detection method and device | |
CN109698906B (en) | Image-based jitter processing method and device and video monitoring system | |
CN112734698A (en) | Cable terminal abnormity diagnosis method and device based on infrared image | |
CN116563283B (en) | Steam boiler gas leakage detection method and detection device based on image processing | |
CN113361420B (en) | Mine fire monitoring method, device, equipment and storage medium based on robot | |
CN111626104A (en) | A method and device for detecting hidden danger points of cables based on UAV infrared thermal image | |
CN117934897A (en) | Equipment abnormality detection method, device, equipment and storage medium | |
CN109948629B (en) | GIS equipment X-ray image fault detection method based on SIFT features | |
CN115802027A (en) | Online monitoring equipment operation abnormity detection method based on image processing | |
CN105163076B (en) | The substation breakers state video intelligent parser mapped using transversal scanning | |
Lin et al. | Automatic display temperature range adjustment for electrical equipment infrared thermal images | |
JP5302926B2 (en) | Smoke detector | |
CN119087145A (en) | Partial discharge detection method, device, electronic equipment and computer program product | |
KR101395666B1 (en) | Surveillance apparatus and method using change of video image | |
KR102587679B1 (en) | Solar panel abnormality detection device and method thereof | |
CN113340352A (en) | Valve hall monitoring method, device and system | |
CN115641534A (en) | Image identification method for equipment leakage | |
KR101402738B1 (en) | Inspection method and apparatus for detection of line abnormality based on image and system using the method | |
TWI599222B (en) | Photographic device anomaly detection method |
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 |