CN104463813B - Infrared image noise reduction method based on noise recognition - Google Patents

Infrared image noise reduction method based on noise recognition Download PDF

Info

Publication number
CN104463813B
CN104463813B CN201510004744.5A CN201510004744A CN104463813B CN 104463813 B CN104463813 B CN 104463813B CN 201510004744 A CN201510004744 A CN 201510004744A CN 104463813 B CN104463813 B CN 104463813B
Authority
CN
China
Prior art keywords
noise
pixel
membership
current pixel
degree
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
CN201510004744.5A
Other languages
Chinese (zh)
Other versions
CN104463813A (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.)
Wuhan University WHU
Original Assignee
Wuhan University WHU
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 Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201510004744.5A priority Critical patent/CN104463813B/en
Publication of CN104463813A publication Critical patent/CN104463813A/en
Application granted granted Critical
Publication of CN104463813B publication Critical patent/CN104463813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

本发明公开了一种基于噪声识别的红外图像降噪方法,本方法引入了噪声识别的基本思想,分别计算了当前像素基于截尾均值的和基于梯度的隶属度,考察当前像素受噪声干扰的程度,采用联合判据判断当前像素是否为噪声像素,最后根据判断结果进行降噪,实现对红外图像的降噪。本发明计算量小,易于实时实现;相对传统算法能更有效的保护图像边缘与细节;在对噪声点进行降噪的过程中也考虑了图像的纹理梯度信息,更为准确的对原有信号进行估计。

The invention discloses an infrared image noise reduction method based on noise recognition. The method introduces the basic idea of noise recognition, respectively calculates the membership degree of the current pixel based on the censored mean value and gradient based, and investigates the influence of the current pixel on noise interference. The joint criterion is used to judge whether the current pixel is a noise pixel, and finally the noise reduction is performed according to the judgment result to realize the noise reduction of the infrared image. The invention has a small amount of calculation and is easy to implement in real time; compared with traditional algorithms, it can more effectively protect image edges and details; in the process of denoising noise points, the texture gradient information of the image is also considered, and the original signal is more accurately Make an estimate.

Description

一种基于噪声识别的红外图像降噪方法A Noise Reduction Method for Infrared Image Based on Noise Recognition

技术领域technical field

本发明属于红外图像处理技术领域,具体涉及一种基于噪声识别的红外图像降噪方法。The invention belongs to the technical field of infrared image processing, and in particular relates to an infrared image noise reduction method based on noise recognition.

背景技术Background technique

红外成像系统抗干扰能力强,隐蔽性能好,大气穿透能力强,适应多种特殊场合,在科研、军事、医学、工业、民用等许多方面有着越来越广泛的应用。但是由于红外探测器生产工艺、灵敏度以及目标与环境辐射特性等因素影响,红外热图像相比可见光图像对比对不高,呈现出高背景,低反差的特点,噪声比较明显,不利于后期使用。为了充分利用捕捉到信息,抑制噪声,改善图像质量,便于更高层次的处理,必须对红外图像进行降噪处理。The infrared imaging system has strong anti-interference ability, good concealment performance, strong atmospheric penetration ability, and is suitable for a variety of special occasions. It has more and more applications in scientific research, military, medical, industrial, and civil applications. However, due to factors such as the production process, sensitivity of the infrared detector, and the radiation characteristics of the target and the environment, the contrast of the infrared thermal image is not high compared with the visible light image, showing the characteristics of high background, low contrast, and obvious noise, which is not conducive to later use. In order to make full use of captured information, suppress noise, improve image quality, and facilitate higher-level processing, noise reduction must be performed on infrared images.

传统的图像降噪方法主要分为3类:时域降噪、空域降噪、频域降噪。时域降噪利用信号采集过程中,信号具有较强的相关性,而噪声具有随机分布的特性,对帧间同一个像素的信号进行平均来取到降噪的效果,但在高速运动的场景会引起图像模糊和拖影;空域降噪是利用相邻像素在空间上具有的相关性来进行降噪,典型的方法均值滤波、中值滤波、维纳滤波等,算法实现简单,运算速度快,缺点是在降噪的同时会使图像模糊,尤其在物体边缘和细节处;频域降噪是通过图像变换把图像从空域变换到频域,用滤波的方法滤除代表噪声的高频部分,但对一些频率成分与信号相近的噪声无法去除,滤波阈值选择不好对降噪效果影响很大。此外,还有一些结合了以上降噪的原理,从多个方面对图像进行降噪,如小波降噪就是结合了空域与频域降噪的原理,具有良好的局部化性质和多尺度分析的特点,能比较有效的把信号和噪声分离开,但运算量大。Traditional image denoising methods are mainly divided into three categories: temporal denoising, spatial denoising, and frequency domain denoising. Time-domain noise reduction makes use of the signal acquisition process, the signal has a strong correlation, and the noise has the characteristics of random distribution, the signal of the same pixel between frames is averaged to obtain the effect of noise reduction, but in the scene of high-speed motion It will cause image blur and smear; spatial noise reduction is to use the spatial correlation of adjacent pixels to perform noise reduction. Typical methods are mean filtering, median filtering, Wiener filtering, etc. The algorithm is simple to implement and the operation speed is fast. , the disadvantage is that the image will be blurred while reducing the noise, especially at the edge and details of the object; the frequency domain noise reduction is to transform the image from the spatial domain to the frequency domain through image transformation, and use the filtering method to filter out the high frequency part representing the noise , but some noise whose frequency components are similar to the signal cannot be removed, and poor selection of the filtering threshold has a great impact on the noise reduction effect. In addition, there are some methods that combine the above noise reduction principles to denoise images from multiple aspects. For example, wavelet denoising combines the principles of spatial domain and frequency domain denoising, and has good localization properties and multi-scale analysis. It can effectively separate the signal from the noise, but it has a large amount of computation.

随着红外成像系统的发展,系统成像分辨率越来越高,这就使得需要实时处理的图像数据越来越多。由于系统资源有限,一些计算量大、占用存储资源多的降噪算法并不适用。为了实现红外图像的实时处理,需要研究一种计算量小,易于实时实现的红外图像降噪算法。With the development of infrared imaging system, the imaging resolution of the system is getting higher and higher, which makes more and more image data need to be processed in real time. Due to limited system resources, some noise reduction algorithms that require a lot of calculation and occupy a lot of storage resources are not applicable. In order to realize the real-time processing of infrared images, it is necessary to study an infrared image denoising algorithm which has a small amount of calculation and is easy to implement in real time.

发明内容Contents of the invention

为了解决上述的技术问题,本发明提供了一种基于噪声识别的红外图像降噪方法。In order to solve the above-mentioned technical problems, the present invention provides a noise-recognition-based infrared image noise reduction method.

本发明所采用的技术方案是:一种基于噪声识别的红外图像降噪方法,其特征在于,包括以下步骤:The technical scheme adopted in the present invention is: a noise-recognition-based infrared image noise reduction method, characterized in that it comprises the following steps:

步骤1:计算当前像素基于截尾均值的隶属度,包括基于截尾均值的噪声隶属度μn(i,j)以及基于截尾均值的信号隶属度μs(i,j),其中i和j为当前像素所在坐标;Step 1: Calculate the membership degree of the current pixel based on the truncated mean value, including the noise membership degree μ n (i,j) based on the truncated mean value and the signal membership degree μ s (i,j) based on the truncated mean value, where i and j is the coordinate of the current pixel;

步骤2:计算当前像素基于梯度的隶属度,包括基于梯度的噪声隶属度Sn(i,j)以及基于梯度的信号隶属度Ss(i,j);Step 2: Calculate the gradient-based membership of the current pixel, including the gradient-based noise membership S n (i,j) and the gradient-based signal membership S s (i,j);

步骤3:根据步骤1、步骤2计算得到的基于截尾均值的隶属度和基于梯度的隶属度,判断当前像素是否为噪声像素;Step 3: According to the membership degree based on the truncated mean value and the membership degree based on the gradient calculated in step 1 and step 2, determine whether the current pixel is a noise pixel;

步骤4:如果当前像素为噪声像素,则对该像素进行降噪处理,处理完后回到步骤1直到遍历完整幅图像;如果当前像素为正常信号像素,则直接回到步骤1直到遍历完整幅图像。Step 4: If the current pixel is a noise pixel, perform noise reduction processing on the pixel, and return to step 1 until the entire image is traversed after processing; if the current pixel is a normal signal pixel, directly return to step 1 until the entire image is traversed image.

作为优选,步骤1中所述的基于截尾均值的噪声隶属度μn(i,j)的计算公式为:As a preference, the calculation formula of the noise membership μ n (i, j) based on the censored mean value described in step 1 is:

其中,f(i,j)为坐标(i,j)的像素灰度值,a、b为可变参数,根据实验取经验值,T(i,j)为以当前像素为中心的3×3窗口的截尾均值,计算公式为:Among them, f(i,j) is the pixel gray value of coordinates (i,j), a and b are variable parameters, and empirical values are obtained according to experiments, T(i,j) is a 3× pixel centered on the current pixel The censored mean of the 3 windows, the calculation formula is:

其中,Ai,j表示以当前像素为中心的3×3窗口内所有像素灰度的集合,pMax为集合Ai,j中的最大灰度,pMin为集合Ai,j中的最小灰度;Among them, A i,j represents the set of all pixel gray levels in the 3×3 window centered on the current pixel, pMax is the maximum gray level in the set A i,j , and pMin is the minimum gray level in the set A i,j ;

步骤1中所述的基于截尾均值的信号隶属度μs(i,j)的计算公式为:The calculation formula of the signal membership μ s (i,j) based on the censored mean in step 1 is:

μs(i,j)=1-μn(i,j)。μ s (i,j)=1−μ n (i,j).

作为优选,步骤2中所述的基于梯度的噪声隶属度Sn(i,j)的计算公式为:As a preference, the calculation formula of the gradient-based noise membership degree S n (i, j) described in step 2 is:

其中,d表示方向,共8个方向,分别是上U、左上LU、右上RU、左L、右R、左下LD、下D、右下RD,Fn d(i,j)为坐标(i,j)的像素基于d方向上梯度的噪声隶属度,计算公式为:Among them, d represents the direction, and there are 8 directions in total, which are upper U, upper left LU, upper right RU, left L, right R, lower left LD, lower D, and lower right RD. F n d (i, j) is the coordinate (i , j) based on the noise membership of the gradient in the d direction, the calculation formula is:

其中:in:

当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j)–f(i,j)|、|f(i–1,j–1)–f(i,j)|、|f(i–1,j+1)–f(i,j)|、|f(i,j–1)–f(i,j)|、|f(i,j+1)–f(i,j)|、|f(i+1,j–1)–f(i,j)|、|f(i+1,j)–f(i,j)|、|f(i+1,j+1)–f(i,j)|;When d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j)–f(i,j)|, |f(i–1,j–1)–f(i,j)|, |f(i–1,j+1 )–f(i,j)|, |f(i,j–1)–f(i,j)|, |f(i,j+1)–f(i,j)|, |f(i +1,j–1)–f(i,j)|, |f(i+1,j)–f(i,j)|, |f(i+1,j+1)–f(i, j)|;

当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j–1)–f(i,j–1)|、|f(i,j–1)–f(i+1,j)|、|f(i–1,j)–f(i,j–1)|、|f(i+1,j–1)–f(i+1,j)|、|f(i–1,j+1)–f(i–1,j)|、|f(i+1,j)–f(i,j+1)|、|f(i+1,j+1)–f(i,j+1)|、|f(i,j+1)–f(i–1,j)|;When d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j–1)–f(i,j–1)|, |f(i,j–1)–f(i+1,j)|, |f(i–1 ,j)–f(i,j–1)|, |f(i+1,j–1)–f(i+1,j)|, |f(i–1,j+1)–f( i–1,j)|, |f(i+1,j)–f(i,j+1)|, |f(i+1,j+1)–f(i,j+1)|, |f(i,j+1)–f(i–1,j)|;

当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j+1)–f(i,j+1)|、|f(i–1,j–1)–f(i,j)|、|f(i,j+1)–f(i+1,j)|、|f(i–1,j–1)–f(i–1,j)|、|f(i+1,j+1)–f(i+1,j)|、|f(i,j–1)–f(i–1,j)|、|f(i+1,j–1)–f(i,j–1)|、|f(i+1,j)–f(i,j–1)|;When d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j+1)–f(i,j+1)|, |f(i–1,j–1)–f(i,j)|, |f(i,j +1)–f(i+1,j)|, |f(i–1,j–1)–f(i–1,j)|, |f(i+1,j+1)–f( i+1,j)|, |f(i,j–1)–f(i–1,j)|, |f(i+1,j–1)–f(i,j–1)|, |f(i+1,j)–f(i,j–1)|;

函数β(·)定义如下:The function β( ) is defined as follows:

其中,c、d为可变参数,根据实验取经验值;Among them, c and d are variable parameters, and empirical values are obtained according to experiments;

步骤2中所述的基于梯度的信号隶属度Ss(i,j)的计算公式为:The calculation formula of the gradient-based signal membership degree S s (i,j) described in step 2 is:

其中,Fs d(i,j)为当前像素基于d方向上梯度的信号隶属度,计算公式为:Among them, F s d (i,j) is the signal membership degree of the current pixel based on the gradient in the d direction, and the calculation formula is:

作为优选,步骤3中所述的判断当前像素是否为噪声像素,其方法为:当μn(i,j)·Sn(i,j)大于等于μs(i,j)·Ss(i,j)时,判定当前像素为噪声像素;当μn(i,j)·Sn(i,j)小于μs(i,j)·Ss(i,j)时,判定当前像素为正常信号像素。Preferably, the method for judging whether the current pixel is a noise pixel in step 3 is: when μ n (i,j)·S n (i,j) is greater than or equal to μ s (i,j)·S s ( i,j), the current pixel is determined to be a noise pixel; when μ n (i,j) S n (i,j) is less than μ s (i,j) S s (i,j), the current pixel is determined is a normal signal pixel.

作为优选,步骤4中所述的对该像素进行降噪处理,其具体实现方法为在U、LU、RU、L、R、LD、D、RD这8个方向中寻找令最小的方向,记这个方向为dmin,则当前像素灰度用如下公式计算的灰度替换:As a preference, the noise reduction processing for the pixel described in step 4 is implemented by searching for the order The smallest direction, denote this direction as d min , then the gray level of the current pixel is replaced by the gray level calculated by the following formula:

本方法引入了噪声识别的基本思想,分别计算了当前像素基于截尾均值的和基于梯度的隶属度,考察当前像素受噪声干扰的程度,采用联合判据判断当前像素是否为噪声像素,最后根据判断结果进行降噪,实现对红外图像的降噪。本发明具有以下优点:This method introduces the basic idea of noise recognition, calculates the membership degree of the current pixel based on the censored mean value and gradient based respectively, examines the degree of noise interference of the current pixel, and uses the joint criterion to judge whether the current pixel is a noise pixel, and finally according to The judgment result is denoised to realize the denoising of the infrared image. The present invention has the following advantages:

1、计算量小,易于实时实现。由于算法只对单个像素及其8邻域进行统计计算,算法复杂度低,不需要占用大量存储资源用于缓存频域数据,因此计算量小,易于实时实现;1. The amount of calculation is small, and it is easy to implement in real time. Since the algorithm only performs statistical calculations on a single pixel and its 8 neighbors, the algorithm has low complexity and does not need to occupy a large amount of storage resources for caching frequency domain data, so the amount of calculation is small and it is easy to implement in real time;

2、相对传统算法能更有效的保护图像边缘与细节。由于在降噪过程中首先考察了当前像素受噪声干扰的程度,采用联合判据判断当前像素是否为噪声像素,提高了噪声判断的科学性与准确性,避免了对非噪声点的多余降噪后引入的图像模糊;2. Compared with traditional algorithms, it can protect image edges and details more effectively. Since the degree of noise interference of the current pixel is first investigated in the noise reduction process, the joint criterion is used to judge whether the current pixel is a noise pixel, which improves the scientificity and accuracy of noise judgment and avoids unnecessary noise reduction for non-noise points The image blur introduced after;

3、在对噪声点进行降噪的过程中也考虑了图像的纹理梯度信息,更为准确的对原有信号进行估计。3. In the process of denoising the noise point, the texture gradient information of the image is also considered, and the original signal is estimated more accurately.

附图说明Description of drawings

图1:是本发明的方法流程图。Fig. 1: is the method flowchart of the present invention.

图2:是本发明实施例的一幅512×640分辨率的原始红外图像。Fig. 2: is an original infrared image with a resolution of 512×640 of the embodiment of the present invention.

图3:是本发明实施例的在512×640分辨率的原始红外图像上人为添加随机噪声后的红外图像。Fig. 3 is an infrared image artificially added with random noise on the original infrared image with a resolution of 512×640 according to an embodiment of the present invention.

图4:是本发明实施例的3×3窗口及八方向示意图。Fig. 4 is a schematic diagram of a 3×3 window and eight directions according to an embodiment of the present invention.

图5:是本发明实施例的经过本方法处理后的图像。Fig. 5: is the image processed by this method according to the embodiment of the present invention.

图6:是本发明实施例的经过经典中值滤波方法处理后的图像。Fig. 6: is the image processed by the classical median filtering method according to the embodiment of the present invention.

具体实施方式detailed description

为了便于本领域普通技术人员理解和实施本发明,下面结合附图及实施例对本发明作进一步的详细描述,应当理解,此处所描述的实施示例仅用于说明和解释本发明,并不用于限定本发明。In order to facilitate those of ordinary skill in the art to understand and implement the present invention, the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described here are only used to illustrate and explain the present invention, and are not intended to limit this invention.

请见图1,本发明主要由4个步骤组成:计算当前像素基于截尾均值的隶属度、计算当前像素基于梯度的隶属度、根据计算得到的隶属度判断当前像素是否为噪声像素、如果判断当前像素为噪声像素,则对该像素进行降噪处理。Please see Fig. 1, the present invention mainly consists of 4 steps: calculating the membership degree of the current pixel based on the censored mean, calculating the membership degree of the current pixel based on the gradient, judging whether the current pixel is a noise pixel according to the calculated membership degree, if judging If the current pixel is a noise pixel, noise reduction processing is performed on the pixel.

请见图2和图3,是本发明实施例的一幅512×640分辨率的原始红外图像。及在512×640分辨率的原始红外图像上人为添加随机噪声后的红外图像。下面以此原始红外图像为例,对本发明的各步骤进行详细说明:Please refer to FIG. 2 and FIG. 3 , which are an original infrared image with a resolution of 512×640 according to the embodiment of the present invention. And the infrared image after artificially adding random noise on the original infrared image with a resolution of 512×640. Taking the original infrared image as an example below, each step of the present invention is described in detail:

步骤(1)以3×3的窗口开始遍历整幅图像。计算当前窗口中心像素基于截尾均值的隶属度,包括基于截尾均值的噪声隶属度μn(i,j)以及基于截尾均值的信号隶属度μs(i,j),其中i和j为当前像素所在坐标,如附图4所示;Step (1) starts to traverse the entire image with a 3×3 window. Calculate the membership degree of the center pixel of the current window based on the truncated mean value, including the noise membership degree μ n (i,j) based on the truncated mean value and the signal membership degree μ s (i,j) based on the truncated mean value, where i and j is the coordinates where the current pixel is located, as shown in Figure 4;

基于截尾均值的噪声隶属度μn(i,j)采用以下公式计算:The noise membership μ n (i,j) based on the censored mean is calculated by the following formula:

其中,f(i,j)为坐标(i,j)的像素灰度值,a、b为可变参数,根据实验取经验值,若系统噪声水平较低,为了尽可能的保留细节,噪声判断应该宽松,所以a、b可适当取大值(大于最大灰度的1%),在本实例中a、b为分别根据实验取经验值20、80(最大灰度为16384),T(i,j)为以当前像素为中心的3×3窗口的截尾均值,计算公式如下:Among them, f(i,j) is the pixel gray value of coordinates (i,j), a and b are variable parameters, and the empirical values are taken according to the experiment. If the system noise level is low, in order to preserve the details as much as possible, the noise The judgment should be loose, so a and b can take a large value (greater than 1% of the maximum gray scale). In this example, a and b are the empirical values of 20 and 80 respectively according to the experiment (the maximum gray scale is 16384), and T( i, j) is the truncated mean value of the 3×3 window centered on the current pixel, and the calculation formula is as follows:

其中,Ai,j表示以当前像素为中心的3×3窗口内所有像素灰度的集合,pMax为集合Ai,j中的最大灰度,pMin为集合Ai,j中的最小灰度;Among them, A i,j represents the set of all pixel gray levels in the 3×3 window centered on the current pixel, pMax is the maximum gray level in the set A i,j , and pMin is the minimum gray level in the set A i,j ;

基于截尾均值的信号隶属度μs(i,j)采用以下公式计算:The signal membership μ s (i,j) based on the censored mean is calculated by the following formula:

μs(i,j)=1-μn(i,j);μ s (i, j) = 1-μ n (i, j);

步骤(2)计算当前像素基于梯度的隶属度,包括基于梯度的噪声隶属度Sn(i,j)以及基于梯度的信号隶属度Ss(i,j);Step (2) Calculate the gradient-based membership of the current pixel, including the gradient-based noise membership S n (i, j) and the gradient-based signal membership S s (i, j);

基于梯度的噪声隶属度Sn(i,j)采用以下公式计算:Gradient-based noise membership S n (i, j) is calculated using the following formula:

其中,d表示方向,共8个方向,分别是上U、左上LU、右上RU、左L、右R、左下LD、下D、右下RD,Fn d(i,j)为当前像素基于d方向上梯度的噪声隶属度,计算公式如下:Among them, d represents the direction, a total of 8 directions, namely upper U, upper left LU, upper right RU, left L, right R, lower left LD, lower D, lower right RD, F n d (i, j) is the current pixel based on The noise membership degree of the gradient in the d direction, the calculation formula is as follows:

其中,当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j)–f(i,j)|、|f(i–1,j–1)–f(i,j)|、|f(i–1,j+1)–f(i,j)|、|f(i,j–1)–f(i,j)|、|f(i,j+1)–f(i,j)|、|f(i+1,j–1)–f(i,j)|、|f(i+1,j)–f(i,j)|、|f(i+1,j+1)–f(i,j)|;当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j–1)–f(i,j–1)|、|f(i,j–1)–f(i+1,j)|、|f(i–1,j)–f(i,j–1)|、|f(i+1,j–1)–f(i+1,j)|、|f(i–1,j+1)–f(i–1,j)|、|f(i+1,j)–f(i,j+1)|、|f(i+1,j+1)–f(i,j+1)|、|f(i,j+1)–f(i–1,j)|;当d=U、LU、RU、L、R、LD、D、RD时,分别等于|f(i–1,j+1)–f(i,j+1)|、|f(i–1,j–1)–f(i,j)|、|f(i,j+1)–f(i+1,j)|、|f(i–1,j–1)–f(i–1,j)|、|f(i+1,j+1)–f(i+1,j)|、|f(i,j–1)–f(i–1,j)|、|f(i+1,j–1)–f(i,j–1)|、|f(i+1,j)–f(i,j–1)|,函数β(·)定义如下:Wherein, when d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j)–f(i,j)|, |f(i–1,j–1)–f(i,j)|, |f(i–1,j+1 )–f(i,j)|, |f(i,j–1)–f(i,j)|, |f(i,j+1)–f(i,j)|, |f(i +1,j–1)–f(i,j)|, |f(i+1,j)–f(i,j)|, |f(i+1,j+1)–f(i, j)|; When d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j–1)–f(i,j–1)|, |f(i,j–1)–f(i+1,j)|, |f(i–1 ,j)–f(i,j–1)|, |f(i+1,j–1)–f(i+1,j)|, |f(i–1,j+1)–f( i–1,j)|, |f(i+1,j)–f(i,j+1)|, |f(i+1,j+1)–f(i,j+1)|, |f(i,j+1)–f(i–1,j)|; when d=U, LU, RU, L, R, LD, D, RD, Respectively equal to |f(i–1,j+1)–f(i,j+1)|, |f(i–1,j–1)–f(i,j)|, |f(i,j +1)–f(i+1,j)|, |f(i–1,j–1)–f(i–1,j)|, |f(i+1,j+1)–f( i+1,j)|, |f(i,j–1)–f(i–1,j)|, |f(i+1,j–1)–f(i,j–1)|, |f(i+1,j)–f(i,j–1)|, the function β( ) is defined as follows:

其中,c、d为可变参数,根据实验取经验值,若系统噪声水平较低,为了尽可能的保留细节,噪声判断应该宽松,所以c、d可适当取大值(大于最大灰度的0.5%),在本实例中c、d分别根据实验取经验值20、55;Among them, c and d are variable parameters. According to the empirical value obtained from the experiment, if the system noise level is low, in order to preserve the details as much as possible, the noise judgment should be loose, so c and d can be appropriately large values (greater than the maximum gray level 0.5%), c, d get experience value 20,55 according to experiment respectively in this example;

基于梯度的信号隶属度Ss(i,j)采用以下公式计算:Gradient-based signal membership S s (i,j) is calculated using the following formula:

其中,Fs d(i,j)为当前像素基于d方向上梯度的信号隶属度,计算公式如下:Among them, F s d (i,j) is the signal membership degree of the current pixel based on the gradient in the d direction, and the calculation formula is as follows:

步骤(3)根据步骤(1)、步骤(2)计算得到的隶属度判断当前像素是否为噪声像素;Step (3) judges whether the current pixel is a noise pixel according to the degree of membership calculated in step (1) and step (2);

根据步骤(1)、步骤(2)计算得到的4个隶属度,当μn(i,j)·Sn(i,j)大于等于μs(i,j)·Ss(i,j)时,判定当前像素为噪声像素;当μn(i,j)·Sn(i,j)小于μs(i,j)·Ss(i,j)时,判定当前像素为正常信号像素;According to the four membership degrees calculated in step (1) and step (2), when μ n (i,j) S n (i,j) is greater than or equal to μ s (i,j) S s (i,j ), it is determined that the current pixel is a noise pixel; when μ n (i,j) S n (i,j) is less than μ s (i,j) S s (i,j), it is determined that the current pixel is a normal signal pixel;

步骤(4)如果步骤(3)判断当前像素为噪声像素,则对该像素进行降噪处理,处理完后回到步骤(1)直到遍历完整幅图像;如果步骤(3)判断当前像素为正常信号像素,则直接回到步骤(1)直到遍历完整幅图像。其中具体降噪方法如下:Step (4) If step (3) judges that the current pixel is a noise pixel, then perform noise reduction processing on the pixel, and return to step (1) after processing until the entire image is traversed; if step (3) judges that the current pixel is normal Signal pixels, then go back to step (1) until the entire image is traversed. The specific noise reduction methods are as follows:

在U、LU、RU、L、R、LD、D、RD这8个方向中寻找令最小的方向,记这个方向为dmin,则当前像素灰度用如下公式计算的灰度替换:Find the order in the 8 directions of U, LU, RU, L, R, LD, D, and RD The smallest direction, denote this direction as d min , then the gray level of the current pixel is replaced by the gray level calculated by the following formula:

请见附图5,为经过本发明处理的图像;请见附图6,为经过经典中值滤波算法处理后的图像。对比图2、图3可以看到,图3相比图2添加了很多噪声,图像质量严重下降;对比图2、图5和图6可以看到,图5只残留了少部分噪声,图像基本恢复到与图2接近,而图6上仍然可以明显的看到有许多噪声残留,图像细节模糊,降噪效果不如图5好。Please see accompanying drawing 5, which is an image processed by the present invention; please refer to accompanying drawing 6, which is an image processed by a classic median filtering algorithm. Comparing Figure 2 and Figure 3, we can see that Figure 3 adds a lot of noise compared to Figure 2, and the image quality is seriously degraded; comparing Figure 2, Figure 5 and Figure 6, we can see that only a small part of noise remains in Figure 5, and the image is basically It is restored to be close to that in Figure 2, but in Figure 6, it can still be clearly seen that there are many residual noises, the image details are blurred, and the noise reduction effect is not as good as that in Figure 5.

应当理解的是,本说明书未详细阐述的部分均属于现有技术。It should be understood that the parts not described in detail in this specification belong to the prior art.

应当理解的是,上述针对较佳实施例的描述较为详细,并不能因此而认为是对本发明专利保护范围的限制,本领域的普通技术人员在本发明的启示下,在不脱离本发明权利要求所保护的范围情况下,还可以做出替换或变形,均落入本发明的保护范围之内,本发明的请求保护范围应以所附权利要求为准。It should be understood that the above-mentioned descriptions for the preferred embodiments are relatively detailed, and should not therefore be considered as limiting the scope of the patent protection of the present invention. Within the scope of protection, replacements or modifications can also be made, all of which fall within the protection scope of the present invention, and the scope of protection of the present invention should be based on the appended claims.

Claims (3)

1. a kind of infrared image noise-reduction method based on Noise Identification is it is characterised in that comprise the following steps:
Step 1:Calculate the degree of membership based on trimmed mean for the current pixel, including noise degree of membership μ based on trimmed meann(i,j) And signal degree of membership μ based on trimmed means(i, j), wherein i and j are current pixel place coordinate;
Wherein said noise degree of membership μ based on trimmed meannThe computing formula of (i, j) is:
Wherein, f (i, j) is the grey scale pixel value of coordinate (i, j), and a, b are variable element, take empirical value, T (i, j) according to experiment It is the trimmed mean of 3 × 3 windows centered on current pixel, computing formula is:
Wherein, Ai,jRepresent the set of all pixels gray scale in 3 × 3 windows centered on current pixel, pMax is set Ai,j In maximum gray scale, pMin be set Ai,jIn minimal gray;
Described signal degree of membership μ based on trimmed meansThe computing formula of (i, j) is:
μs(i, j)=1- μn(i,j);
Step 2:Calculate the degree of membership based on gradient for the current pixel, including noise degree of membership S based on gradientn(i, j) and it is based on Signal degree of membership S of gradients(i,j);
Wherein said noise degree of membership S based on gradientnThe computing formula of (i, j) is:
Wherein, d represents direction, totally 8 directions, is upper U, upper left LU, upper right RU, left L, right R, lower-left LD, lower D, bottom right respectively RD,For the noise degree of membership based on gradient on d direction for the pixel of coordinate (i, j), computing formula is:
Wherein:
As d=U, LU, RU, L, R, LD, D, RD,Respectively equal to | f (i 1, j) f (i, j) |, | f (i 1, j 1) f (i, j) |、|f(i–1,j+1)–f(i,j)|、|f(i,j–1)–f(i,j)|、|f(i,j+1)–f(i,j)|、|f(i+1,j–1)–f(i,j) |、|f(i+1,j)–f(i,j)|、|f(i+1,j+1)–f(i,j)|;
As d=U, LU, RU, L, R, LD, D, RD,Respectively equal to | f (i 1, j 1) f (i, j 1) |, | f (i, j 1) f (i+ 1,j)|、|f(i–1,j)–f(i,j–1)|、|f(i+1,j–1)–f(i+1,j)|、|f(i–1,j+1)–f(i–1,j)|、|f(i+1, j)–f(i,j+1)|、|f(i+1,j+1)–f(i,j+1)|、|f(i,j+1)–f(i–1,j)|;
As d=U, LU, RU, L, R, LD, D, RD,Respectively equal to | f (i 1, j+1) f (i, j+1) |, | f (i 1, j 1) f (i,j)|、|f(i,j+1)–f(i+1,j)|、|f(i–1,j–1)–f(i–1,j)|、|f(i+1,j+1)–f(i+1,j)|、|f(i, j–1)–f(i–1,j)|、|f(i+1,j–1)–f(i,j–1)|、|f(i+1,j)–f(i,j–1)|;
Function β () is defined as follows:
Wherein, c, d are variable element, take empirical value according to experiment;
Described signal degree of membership S based on gradientsThe computing formula of (i, j) is:
Wherein, Fs d(i, j) is the signal degree of membership based on gradient on d direction for the current pixel, and computing formula is:
Step 3:According to step 1, the calculated degree of membership based on trimmed mean of step 2 and the degree of membership based on gradient, sentence Whether disconnected current pixel is noise pixel;
Step 4:If current pixel be noise pixel, noise reduction process is carried out to this pixel, return to after having processed step 1 until Travel through entire image;If current pixel is normal signal pixel, it is returned directly to step 1 until having traveled through entire image.
2. the infrared image noise-reduction method based on Noise Identification according to claim 1 it is characterised in that:Institute in step 3 That states judges whether current pixel is noise pixel, and its method is:Work as μn(i,j)·Sn(i, j) is more than or equal to μs(i,j)·Ss When (i, j), judge current pixel as noise pixel;Work as μn(i,j)·Sn(i, j) is less than μs(i,j)·SsWhen (i, j), judge to work as Preceding pixel is normal signal pixel.
3. the infrared image noise-reduction method based on Noise Identification according to claim 1 it is characterised in that:Institute in step 4 That states carries out noise reduction process to this pixel, and its concrete methods of realizing is to find in this 8 directions of U, LU, RU, L, R, LD, D, RD OrderMinimum direction, remembers that this direction is dmin, then the gray scale that current pixel gray scale is calculated with equation below Replace:
CN201510004744.5A 2015-01-07 2015-01-07 Infrared image noise reduction method based on noise recognition Active CN104463813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510004744.5A CN104463813B (en) 2015-01-07 2015-01-07 Infrared image noise reduction method based on noise recognition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510004744.5A CN104463813B (en) 2015-01-07 2015-01-07 Infrared image noise reduction method based on noise recognition

Publications (2)

Publication Number Publication Date
CN104463813A CN104463813A (en) 2015-03-25
CN104463813B true CN104463813B (en) 2017-02-22

Family

ID=52909801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510004744.5A Active CN104463813B (en) 2015-01-07 2015-01-07 Infrared image noise reduction method based on noise recognition

Country Status (1)

Country Link
CN (1) CN104463813B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114859306B (en) * 2022-05-06 2025-05-30 北京航空航天大学杭州创新研究院 A radar system noise detection and elimination method
CN117541496A (en) * 2023-10-13 2024-02-09 上海热芯视觉科技有限公司 Simplified method, system, media and equipment for infrared image nlmeans noise reduction based on fpga

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509265A (en) * 2011-11-02 2012-06-20 天津理工大学 Digital image denoising method based on gray value difference and local energy
CN103337053A (en) * 2013-06-13 2013-10-02 华中科技大学 Switching non-local total variation based filtering method for image polluted by salt and pepper noise

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100170010A1 (en) * 2001-04-18 2010-07-01 Alain Goossens Use of genes encoding membrane transporter pumps to stimulate the production of secondary metabolites in biological cells

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509265A (en) * 2011-11-02 2012-06-20 天津理工大学 Digital image denoising method based on gray value difference and local energy
CN103337053A (en) * 2013-06-13 2013-10-02 华中科技大学 Switching non-local total variation based filtering method for image polluted by salt and pepper noise

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
一种基于噪声检测的图像去噪算法;郭承湘 等;《计算机工程》;20121130;第38卷(第21期);第218-220页 *
一种基于噪声点检测的自适应中值滤波方法;高克芳,郭建钢;《福建农林大学学报(自然科学版)》;20090531;第38卷(第3期);第333-335页 *

Also Published As

Publication number Publication date
CN104463813A (en) 2015-03-25

Similar Documents

Publication Publication Date Title
Wang et al. Noise detection and image denoising based on fractional calculus
Ju et al. Single image dehazing via an improved atmospheric scattering model
CN103533214B (en) Video real-time denoising method based on kalman filtering and bilateral filtering
CN103873743B (en) Video de-noising method based on structure tensor and Kalman filtering
CN109377450B (en) Edge protection denoising method
CN104796582B (en) Video image denoising and Enhancement Method and device based on random injection retinex
CN106204491A (en) A kind of adapting to image defogging method based on dark channel prior
CN103985091A (en) Single image defogging method based on luminance dark priori method and bilateral filtering
CN103971345B (en) A kind of image de-noising method based on improvement bilateral filtering
CN106157329B (en) Adaptive target tracking method and device
CN111899200B (en) Infrared image enhancement method based on 3D filtering
CN104182943B (en) A kind of single image defogging method capable merging human-eye visual characteristic
Yan et al. Method to Enhance Degraded Image in Dust Environment.
CN108230282A (en) A kind of multi-focus image fusing method and system based on AGF
Kumari et al. Real time visibility enhancement for single image haze removal
Pan et al. Single-image dehazing via dark channel prior and adaptive threshold
CN108010002B (en) A Structured Point Cloud Denoising Method Based on Adaptive Implicit Moving Least Squares
CN117079002A (en) Deep space dynamic small target detection method based on accumulated frame difference
CN112750090A (en) Underwater image denoising method and system for improving wavelet threshold
Ni et al. Online low-light sand-dust video enhancement using adaptive dynamic brightness correction and a rolling guidance filter
CN104463813B (en) Infrared image noise reduction method based on noise recognition
Xiang et al. Attenuated color channel adaptive correction and bilateral weight fusion for underwater image enhancement
Wang et al. LIASM-NRID: Constructing an atmospheric scattering model for low-light conditions and dehazing nighttime road images
Hu et al. Maritime video defogging based on spatial-temporal information fusion and an improved dark channel prior
CN103258318B (en) A kind of image noise reduction disposal route and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant