CN111175618B - Local correlation filtering method suitable for simultaneously processing infrared and local discharge data - Google Patents
Local correlation filtering method suitable for simultaneously processing infrared and local discharge data Download PDFInfo
- Publication number
- CN111175618B CN111175618B CN201911425743.2A CN201911425743A CN111175618B CN 111175618 B CN111175618 B CN 111175618B CN 201911425743 A CN201911425743 A CN 201911425743A CN 111175618 B CN111175618 B CN 111175618B
- Authority
- CN
- China
- Prior art keywords
- frame
- point
- data
- infrared
- matrix
- 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
- 238000001914 filtration Methods 0.000 title claims abstract description 28
- 238000000034 method Methods 0.000 title claims abstract description 21
- 239000011159 matrix material Substances 0.000 claims abstract description 29
- 238000004364 calculation method Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 description 2
- 238000001931 thermography Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 238000012634 optical imaging Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/12—Testing dielectric strength or breakdown voltage ; Testing or monitoring effectiveness or level of insulation, e.g. of a cable or of an apparatus, for example using partial discharge measurements; Electrostatic testing
- G01R31/1227—Testing dielectric strength or breakdown voltage ; Testing or monitoring effectiveness or level of insulation, e.g. of a cable or of an apparatus, for example using partial discharge measurements; Electrostatic testing of components, parts or materials
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01J—MEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
- G01J5/00—Radiation pyrometry, e.g. infrared or optical thermometry
Abstract
The invention discloses a method for simultaneously processing infrared and partial dischargeA method of local correlation filtering of data, comprising: collecting partial discharge data, or collecting infrared data, or simultaneously collecting partial discharge data and infrared data; taking the first frame data as a key frame, marking as an I frame, and dividing the I frame into a plurality of matrixes M; obtaining a matrix by using a weighted mean filtering algorithm for each matrix M in the I frameFurther obtainA frame; marking the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frameA frame; computing each point in the P-frameThe variance of the difference value of each point in the frame, if the value of any variance is larger than the threshold value, the P frame is taken as an I frame; if either value is less than the threshold, then the next frame is processed. The method can effectively remove the noise of the infrared and partial discharge data at the same time, and provides effective data guarantee for subsequent infrared image processing and partial discharge data display. The invention can process the infrared or partial discharge data independently and can process the infrared and partial discharge data collected simultaneously.
Description
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a local correlation filtering method suitable for simultaneously processing infrared and partial discharge data.
Background
In the field of power equipment, partial discharge data refers to a discharge spectrum image formed by digital-to-analog conversion of electromagnetic wave signals around charged equipment acquired by various instruments. The infrared data is an infrared thermography image obtained by reflecting an infrared radiation energy distribution pattern of a detected target received by an infrared detector and an optical imaging objective on a photosensitive element of the infrared detector, and the thermography image corresponds to a thermal distribution field on the surface of an object. Conventionally, thermal infrared imagers convert the invisible infrared energy emitted by an object into visible thermal images, the different colors on the thermal images representing the different temperatures of the object being measured.
In the prior art, in the process of independent infrared data processing, inherent noise of an infrared focal plane array is effectively solved through a two-point correction algorithm and a single-point correction algorithm, and a better image effect is obtained through image processing methods such as edge detection and image blurring. In the process of processing the single partial discharge data, the noise of the data is effectively removed through conventional methods such as mean value filtering, median filtering and the like, and better data is obtained. However, when data processing is performed on infrared and partial discharge data simultaneously, because two signals are acquired simultaneously, interference to a certain extent may be generated, and if the two methods are continuously used, not only the implementation difficulty of the FPGA may be increased, but also the denoising effect for a newly generated interference signal is not very obvious.
In view of the above, it is necessary to develop a new method, which is applicable to both infrared and partial discharge data, and also applicable to infrared or partial discharge data alone, so as to reduce noise and improve data quality.
Disclosure of Invention
The invention provides a local correlation filtering method suitable for simultaneously processing infrared and partial discharge data, which can effectively remove noise of the infrared and partial discharge data simultaneously and provide effective data guarantee for subsequent infrared image processing and partial discharge data display.
The technical scheme of the invention is as follows: a local correlation filtering method suitable for simultaneous processing of infrared and partial discharge data, comprising the steps of:
s1, collecting partial discharge data, or collecting infrared data, or collecting partial discharge data and infrared data at the same time;
s2, taking the first frame data as a key frame, marking as an I frame, and dividing the I frame into a plurality of matrixes M;
s3, obtaining a matrix by each matrix M in the I frame through a weighted mean filtering algorithmFurther obtainA frame;
s4, recording the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frameA frame;
s5, calculating P (i, j) and each point in the P frameEach point in the frameVariance S of difference of (i, j)XIf any of the variances SXIs greater than a threshold value SthresholdTaking the P frame as an I frame; if any SXIs less than a threshold value SthresholdThen the next frame is processed.
Preferably, in step S3, selecting a filtering window W with each point M (I, j) of the matrix M as a center, calculating a weight of each point M (I, j) through formulas (1) to (3), and performing weighted calculation on each point in the matrix M and a corresponding weight thereof through formula (4), and using the result as an output value of the center point of the filtering window W, and similarly, calculating an output value of the center point of the filtering window W of each point M (I, j) in all the matrices M of the frame I to obtain an output value I (I, j);
Ak=|Mk-Mean(M[f(i,j)])| (1);
wherein Mean (M [ f (i, j) ]) is the Mean of each point M (i, j) in the matrix M;
k is the number of M inner points;
Mkvalues for each point in the matrix;
Akfor each point in the matrix M and Mean (M [ f (i, j))]) The absolute value of the difference;
t is all AkRepresents a threshold value;
qk (i, j) is the weight of each point M (i, j) in the matrix M;
Preferably, in step S4, the denoising process is performed according to the following formula (5) to obtainThe number of frames in a frame is,
preferably, the partial discharge data is 16-bit AD data.
Preferably, the size of the filter window W is 3 × 3.
Preferably, the I-frame is divided into several matrices at a resolution of 32 × 24.
Preferably, the I-frame is divided into 402 matrices at a resolution of 32 × 24.
Preferably, the threshold value Sthreshold640 x 480 x 64.
Compared with the prior art, the invention has the beneficial effects that:
according to the method, the key frame is selected by utilizing the unique characteristic of infrared and partial discharge data, namely the characteristic that the data is slowly changed, the common frame is calculated with the key frame to carry out interframe denoising processing, the common pixel jitter problem of the infrared and partial discharge data is effectively solved, the key frame is subjected to matrix processing, each matrix adopts a weighted filtering algorithm, noise is removed by modules, and the image blurring problem caused by integral data denoising is avoided. In addition, the invention has wider application range, can process infrared data or partial discharge data independently, and can process infrared and partial discharge data acquired simultaneously.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Detailed Description
Example 1
A local correlation filtering method suitable for simultaneous processing of infrared and partial discharge data, comprising the steps of:
s1, collecting partial discharge data and infrared data at the same time, wherein the infrared resolution is 640 multiplied by 480, and the partial discharge data is 1024 bytes as an example;
s2, taking the first frame data as a key frame, and recording as an I frame; dividing the I frame into 402 small matrixes M according to the resolution of 32 multiplied by 24, and respectively recording each small matrix M as M1、M2、…MN-2、MN-1、MNWherein M isNAnd MN-1Is partial discharge data; in this embodiment, the matrix is divided into 402 small matrices, denoted as M1、M2、…M400、M401、M402Wherein M is401And M402The data of each point in the matrix is marked as M (i, j);
s3, selecting a filtering window W with the size of 3 multiplied by 3 by taking each point M (I, j) of the matrix M as a center, calculating the weight of each point M (I, j) through formulas (1) to (3), performing weighted calculation on each point in the matrix M and the corresponding weight through a formula (4), taking the result as the output value of the center point of the filtering window W, and calculating the output value of the center point of the filtering window W of each point M (I, j) in all the matrixes M of the frame I in the same way to obtain an output value I (I, j);
Ak=|Mk-Mean(M[f(i,j)])| (1);
wherein Mean (M [ f (i, j) ]) is the Mean of each point M (i, j) in the matrix M;
k is the number of M inner points;
Mkvalues for each point in the matrix;
Akfor each point in the matrix M and Mean (M [ f (i, j))]) The absolute value of the difference;
t is all AkRepresents a threshold value;
Qk(i, j) is the weight of each point M (i, j) in the matrix M;
S4, marking the next frame as a P frame, carrying out denoising processing on the P frame, and calculating a point after filtering according to the following formula (5);
s5, calculating the variance S of the difference value between each point of the P frame and the I frameXIf S isXLess than threshold 640 x 480 x 64, then processing the next frame; otherwise, replacing the I frame with the P frame, and calculating the output value of each point of the P frame after weighted filtering according to formulas (1) to (4).
Example 2
The present embodiment is different from embodiment 1 in that only infrared data is collected in the present embodiment.
Example 3
The present embodiment is different from embodiment 1 in that only partial discharge data is collected in the present embodiment.
Claims (1)
1. A local correlation filtering method suitable for simultaneously processing infrared and local discharge data, comprising the steps of:
s1, collecting partial discharge data and infrared data at the same time;
s2, taking the first frame data as a key frame, marking as an I frame, and dividing the I frame into a plurality of matrixes M;
s3, obtaining a matrix by each matrix M in the I frame through a weighted mean filtering algorithmFurther obtainA frame;
s4, recording the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frameA frame;
s5, calculatingEach point in the frameAndeach point in the frameVariance S of the difference ofXIf any of the variances SXIs greater than a threshold value SthresholdTaking the P frame as an I frame; if any SXIs less than a threshold value SthresholdThen processing the next frame;
in step S3, selecting a filtering window W with each point M (I, j) of the matrix M as a center, calculating a weight of each point M (I, j) according to formulas (1) to (3), and performing weighted calculation on each point in the matrix M and a corresponding weight thereof according to formula (4), and using the result as an output value of the center point of the filtering window W;
Ak=|Mk-Mean(M[f(i,j)])| (1);
wherein Mean (M [ f (i, j) ]) is the Mean of each point M (i, j) in the matrix M;
k is the number of M inner points;
Mkvalues for each point in the matrix;
Akfor each point in the matrix M and Mean (M [ f (i, j))]) The absolute value of the difference;
t is all AkRepresents a threshold value;
Qk(i, j) is the weight of each point M (i, j) in the matrix M;
in the step S4, the denoising process is performed according to the following formula (5) to obtainThe number of frames in a frame is,
the partial discharge data adopts 16-bit AD data;
the size of the filtering window W is 3 x 3;
dividing the I frame into 402 matrixes according to the resolution of 32 x 24;
the threshold value Sthreshold640 x 480 x 64.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911425743.2A CN111175618B (en) | 2019-12-31 | 2019-12-31 | Local correlation filtering method suitable for simultaneously processing infrared and local discharge data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911425743.2A CN111175618B (en) | 2019-12-31 | 2019-12-31 | Local correlation filtering method suitable for simultaneously processing infrared and local discharge data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111175618A CN111175618A (en) | 2020-05-19 |
CN111175618B true CN111175618B (en) | 2022-06-24 |
Family
ID=70649141
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911425743.2A Active CN111175618B (en) | 2019-12-31 | 2019-12-31 | Local correlation filtering method suitable for simultaneously processing infrared and local discharge data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111175618B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5519790A (en) * | 1992-12-15 | 1996-05-21 | Viacom International | Method for reducing noise in digital video information |
CN105184791A (en) * | 2015-09-02 | 2015-12-23 | 国网吉林省电力有限公司电力科学研究院 | Power transmission line video image insulator positioning method |
CN106559714A (en) * | 2016-11-14 | 2017-04-05 | 上海工程技术大学 | A kind of extraction method of key frame towards digital video copyright protection |
CN107392864A (en) * | 2017-07-01 | 2017-11-24 | 南京理工大学 | A kind of mixed noise filtering method for removing Gaussian noise and impulsive noise |
CN109714501A (en) * | 2019-01-15 | 2019-05-03 | 武汉鸿瑞达信息技术有限公司 | A kind of frame is averaged noise-reduction method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6365253B2 (en) * | 2014-11-12 | 2018-08-01 | 富士通株式会社 | VIDEO DATA PROCESSING DEVICE, VIDEO DATA PROCESSING PROGRAM, AND VIDEO DATA PROCESSING METHOD |
-
2019
- 2019-12-31 CN CN201911425743.2A patent/CN111175618B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5519790A (en) * | 1992-12-15 | 1996-05-21 | Viacom International | Method for reducing noise in digital video information |
CN105184791A (en) * | 2015-09-02 | 2015-12-23 | 国网吉林省电力有限公司电力科学研究院 | Power transmission line video image insulator positioning method |
CN106559714A (en) * | 2016-11-14 | 2017-04-05 | 上海工程技术大学 | A kind of extraction method of key frame towards digital video copyright protection |
CN107392864A (en) * | 2017-07-01 | 2017-11-24 | 南京理工大学 | A kind of mixed noise filtering method for removing Gaussian noise and impulsive noise |
CN109714501A (en) * | 2019-01-15 | 2019-05-03 | 武汉鸿瑞达信息技术有限公司 | A kind of frame is averaged noise-reduction method and device |
Also Published As
Publication number | Publication date |
---|---|
CN111175618A (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020224518A1 (en) | Self-adaptive infrared image defringe algorithm based on local median histogram | |
KR100315897B1 (en) | Adaptive non-uniformity compensation algorithm | |
CN109272520B (en) | Self-adaptive infrared focal plane non-uniform correction method combining motion guidance and edge detection | |
Frakes et al. | Suppression of atmospheric turbulence in video using an adaptive control grid interpolation approach | |
WO2019127059A1 (en) | Infrared image non-uniformity correction method employing guided filtering and high-pass filtering | |
Liu et al. | FPN estimation based nonuniformity correction for infrared imaging system | |
CN109813442A (en) | A kind of internal stray radiation asymmetric correction method based on multi-frame processing | |
Fan et al. | A combined temporal and spatial deghosting technique in scene based nonuniformity correction | |
CN113432723B (en) | Image processing method, system and computer system for weakening stray radiation | |
CN114627011A (en) | Infrared sequence image noise reduction method with improved combination of bilateral filtering and multi-frame averaging | |
CN111175618B (en) | Local correlation filtering method suitable for simultaneously processing infrared and local discharge data | |
CN105279742B (en) | A kind of image de-noising method quickly based on piecemeal estimation of noise energy | |
CN110852963B (en) | Turbulence degradation image restoration method based on correlation maximum | |
WO2019183843A1 (en) | Interframe registration and adaptive step size-based non-uniformity correction method for infrared image | |
Lee et al. | Dual-branch structured de-striping convolution network using parametric noise model | |
CN111932478A (en) | Self-adaptive non-uniform correction method for uncooled infrared focal plane | |
CN111289848B (en) | Composite data filtering method applied to intelligent thermal partial discharge instrument based on safety production | |
CN108470325B (en) | Space-time three-dimensional noise identification and compensation method for area array staring infrared remote sensing image | |
CN105913394B (en) | A kind of method for blindly restoring image based on degeneration image sequence | |
Zhou et al. | Local spatial correlation-based stripe non-uniformity correction algorithm for single infrared images | |
CN109889694B (en) | SoC parallel optimization system and method based on scene infrared image nonlinear correction | |
CN111076815A (en) | Hyperspectral image non-uniformity correction method | |
CN112070680B (en) | Infrared image non-uniform correction method of wavelet decomposition and guided filtering | |
Liu et al. | Gradient sky scene based nonuniformity correction and local weighted filter based denoising | |
Bai et al. | Adaptive nonuniformity correction for IRFPA sensors based on neural network framework |
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 | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A Local Correlation Filtering Method Suitable for Simultaneously Processing Infrared and Partial Discharge Data Granted publication date: 20220624 Pledgee: Hangzhou High-tech Financing Guarantee Co.,Ltd. Pledgor: Zhejiang Heika Electric Co.,Ltd. Registration number: Y2024980003687 |