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 PDF

Info

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
Application number
CN201911425743.2A
Other languages
Chinese (zh)
Other versions
CN111175618A (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.)
Zhejiang Heika Electric Co ltd
Original Assignee
Zhejiang Heika Electric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Heika Electric Co ltd filed Critical Zhejiang Heika Electric Co ltd
Priority to CN201911425743.2A priority Critical patent/CN111175618B/en
Publication of CN111175618A publication Critical patent/CN111175618A/en
Application granted granted Critical
Publication of CN111175618B publication Critical patent/CN111175618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/12Testing 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/1227Testing 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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01JMEASUREMENT OF INTENSITY, VELOCITY, SPECTRAL CONTENT, POLARISATION, PHASE OR PULSE CHARACTERISTICS OF INFRARED, VISIBLE OR ULTRAVIOLET LIGHT; COLORIMETRY; RADIATION PYROMETRY
    • G01J5/00Radiation 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 frame
Figure DDA0002349135940000011
Further obtain
Figure DDA0002349135940000012
A frame; marking the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frame
Figure DDA0002349135940000013
A frame; computing each point in the P-frame
Figure DDA0002349135940000014
The 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

Local correlation filtering method suitable for simultaneously processing infrared and local discharge data
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 algorithm
Figure BDA0002349135920000021
Further obtain
Figure BDA0002349135920000022
A frame;
s4, recording the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frame
Figure BDA0002349135920000023
A frame;
s5, calculating P (i, j) and each point in the P frame
Figure BDA0002349135920000024
Each point in the frame
Figure BDA0002349135920000025
Variance 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);
Figure BDA0002349135920000026
Figure BDA0002349135920000031
Figure BDA0002349135920000032
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;
Figure BDA0002349135920000033
is the output value of the central point of the filtering window W.
Preferably, in step S4, the denoising process is performed according to the following formula (5) to obtain
Figure BDA0002349135920000034
The number of frames in a frame is,
Figure BDA0002349135920000035
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);
Figure BDA0002349135920000041
Figure BDA0002349135920000051
Figure BDA0002349135920000052
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;
Figure BDA0002349135920000053
is the output value of the central point of the filtering window W.
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);
Figure BDA0002349135920000054
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 algorithm
Figure FDA0003552001100000011
Further obtain
Figure FDA0003552001100000012
A frame;
s4, recording the next frame as a P frame, and carrying out denoising processing on the P frame to obtain the P frame
Figure FDA0003552001100000013
A frame;
s5, calculating
Figure FDA0003552001100000014
Each point in the frame
Figure FDA0003552001100000015
And
Figure FDA0003552001100000016
each point in the frame
Figure FDA0003552001100000017
Variance 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);
Figure FDA0003552001100000018
Figure FDA0003552001100000019
Figure FDA00035520011000000110
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;
Figure FDA0003552001100000021
the output value is the central point of the filtering window W;
in the step S4, the denoising process is performed according to the following formula (5) to obtain
Figure FDA0003552001100000022
The number of frames in a frame is,
Figure FDA0003552001100000023
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.
CN201911425743.2A 2019-12-31 2019-12-31 Local correlation filtering method suitable for simultaneously processing infrared and local discharge data Active CN111175618B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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