基于特征的非局部均值图像去噪算法研究
非局部均值图像去噪算法

若需要附件请联系: QQ:2013198460 E_mail:juefeiimage@
式中, I 为受噪声污染的图像; NL 为经过 NL-means 图像去噪后的图像; ni (i 1, 2,3) 表示图像 的第 ni ( ni 为像素点坐标)个像素点, I (ni ) 为其对应灰度值, R(ni ) 和 S (ni ) 分别为以 ni 为中心的相 似窗和搜索窗; (n1 , n2 ) 和 d (n1 , n2 ) 分别表示 R(n1 ) 与 R(n2 ) 相似程度和欧氏距离(两个图像块的欧 式距离为两图像块差的平方和) , h 为衰减参数。 (2)非局部均值算法中参数设置 非局部均值一共有 3 个参数:相似窗 R(ni ) 的大小、搜索窗 S (ni ) 的大小、衰减参数 h 的取值。 这三个参数取值是相互影响,共同作用于 NL-means 的去噪效果:相思窗 R(ni ) 的取值决定使用多大 的窗口进行相似性度量,相似窗过小时大部分相似窗之间的欧氏距离相近,无法区分是否相似,过 大时计算复杂度过高;搜索窗 S (ni ) 的取值决定使用多大的窗口寻找相似窗, 搜索窗过小时可能找不 到足够的相似窗,过大时则计算复杂度过高,理论上,搜索窗为全图时去噪效果最好,但事实并非 这样,搜索窗过大反而会使去噪精度下降(欧氏距离度量相似性的原因) ;衰减参数 h 实际是一个阈 值的作用,当两个相似窗的欧式距离小于 h 时则判定为相似(占得权重 (n1 , n2 ) 较大) ,否则判定为 不相似 (占的权重 (n1 , n2 ) 较小) 。 因此, 增大相似窗 R(ni ) 的大小, 减小 h 的大小, 增大搜索窗 S (ni ) 的大小, 三者对 NL-means 去噪精度的提升可达到同样的效果。 前人大量实验得到三个参数的取值:
基于非局部均值去噪的数字图像复原技术研究

基于非局部均值去噪的数字图像复原技术研究数字图像处理技术日益成熟,应用场景也越来越广泛。
其中,数字图像复原技术是重要的研究方向之一。
其目的是通过对图像的处理,消除噪点和失真等干扰,实现图像的恢复和优化。
目前,基于非局部均值去噪的数字图像复原技术备受关注,可有效地提高图像质量,本文将详细探讨该技术的原理和应用。
一、非局部均值去噪技术基本原理非局部均值去噪技术是一种基于图像自身特征的复原方法。
其原理是选取包含噪点像素的邻域窗口,计算该窗口中各像素与周围其他像素的相似度,依据相似度大小对像素进行加权处理,最终得到去噪后的图像。
具体而言,非局部均值去噪技术主要包括以下步骤:1. 选取每个像素的邻域窗口通常情况下,取邻域窗口的大小与噪点大小相当,窗口大小较小时会影响降噪效果,窗口过大会增加计算量。
2. 计算相似度权重对于每个邻域窗口,需要计算其中各像素之间的相似度。
常用的相似度计算方法包括欧式距离、余弦相似度等。
以欧式距离为例,其计算公式为:$d(x,y) = \sqrt{\sum_{i=1}^n{(x_i-y_i)^2}}$其中,$x$和$y$分别表示窗口内的两个像素,$n$为像素维数。
根据相似度计算结果,可以得到相似度权重矩阵,为后续的像素加权处理提供基础。
3. 像素加权平均根据相似度权重和像素灰度值,对待处理像素进行加权平均。
使得处于相似度高的像素,其权重相对较大,对处理结果产生较大的影响。
4. 重复步骤2和3,直到图像整体的噪声被去除干净。
二、非局部均值去噪技术应用领域非局部均值去噪技术已被广泛应用于实际场景中。
其中,数字图像复原是其最为重要的应用领域之一。
在数字图像复原中,该技术不仅可以去除图像中的噪点和失真,还可以恢复丢失信息和细节。
此外,在视频编码、无人机遥感、红外成像等领域,非局部均值去噪技术也有广泛的应用。
例如,在视频编码中,该技术可将视频分割成帧,对其中的每一帧都进行去噪处理,从而提高压缩率和质量。
基于非局部平均的多光谱遥感图像除噪声

基于非局部平均的多光谱遥感图像除噪声刘鹏;刘定生;李国庆;刘志文【期刊名称】《光谱学与光谱分析》【年(卷),期】2011(31)11【摘要】非局部平均除噪声的方法合理利用了图像自身的冗余性和邻域的相似性,可以获得非常好的除噪声的效果.但是目前大多关于非局部平均算法的研究主要集中在对单波段图像的除噪声方面.单独平滑多光谱遥感图像的每个波段会比较严重地损失图像的光谱特征.为此,文章提出了两方面的改进:首先,改进了非局部平均的平滑核函数,让核函数中的加权系数与每个波段建立联系而不是只涉及单一波段;其次,引入相关系数来衡量不同像素邻域的光谱相似性,并把这种光谱相似性作为非局部平均平滑约束的一部分.通过两方面的改进,传统的非局部平均的方法可以适应多光谱遥感图像的平滑除噪声.最后用不同卫星图像在不同的噪声水平下对算法进行了充分的测试,实验证明本文提出的方法更好的平滑掉了噪声而且更好的保持了图像的光谱特征.%The non-local mean denoising (NLM) exploits the fact that similar neighborhoods can occur anywhere in the image and can contribute to denoising. However, these current NLM methods do not aim at multichannel remote sensing image. Smoothing every band image separately will seriously damage the spectral information of the multispectral image. Then the authors promote the NLM from two aspects. Firstly, for multispectral image denoising, a weight value should be related to all channels but not only one channel. So for the kth band image, the authors use sum of smoothing kernel in all bands instead of one band.Secondly, for the patch whose spectral feature is similar to the spectral feature of the central patch, its weight should be larger. Bringing the two changes into the traditional non-local mean, a new multispectral non-local mean denoising method is proposed. In the experiments, different satellite images containing both urban and rural parts are used. For better evaluating the performance of the different method, ERGAS and SAM as quality index are used. And some other methods are compared with the proposed method. The proposed method shows better performance not only in ERGAS but also in SAM. Especially the spectral feature is better reserved in proposed NLM denoising.【总页数】5页(P2991-2995)【作者】刘鹏;刘定生;李国庆;刘志文【作者单位】中国科学院对地观测与数字地球科学中心,北京100094;中国科学院对地观测与数字地球科学中心,北京100094;中国科学院对地观测与数字地球科学中心,北京100094;中国科学院对地观测与数字地球科学中心,北京100094【正文语种】中文【中图分类】TP751【相关文献】1.基于主成分分析的高光谱遥感图像非局部去噪 [J], 印佳;杜战战2.基于贝叶斯非局部平均滤波的超声图像斑点噪声抑制算法 [J], 方宏道;周颖玥;林茂松3.基于非局部平均滤波的冲击噪声图像恢复算法 [J], 周颖癑;臧红彬;赵井坤;林茂松4.基于异质性测量和非局部平均的斑点噪声抑制 [J], 陈少波;侯建华;熊承义;张华5.基于非局部全变分的高光谱混合噪声恢复 [J], 孔祥阳;王惠;李欣星;伍晓亮因版权原因,仅展示原文概要,查看原文内容请购买。
非局部均值图像去噪算法研究

摘要 : 图像去噪一直都是计算机 图形处理和计算机视 觉中的一 个研 究热点, 中非局部化均值算 法是近年 来去噪 效果 出 色的算法 其 之一 , 是非局部 均值 算法容 易导致细节模糊 , 但 该文基 于指数加权函数的基础 上引进 了余 弦函数 , 出了一种改进的非局部均值 图 提
像去噪方法 , 通过 实验表明 , 该文的改进 算法比传统的算法更能保持 细节。 关键词 : 图像 处理 ; 非局部均值算法; 图像去噪 ; 高斯噪声
Ab t a t I g e o s g h sa y e n ah ti u n Co u e a h c a d Co u e s n No — o a M e n t o so e o sr c ma e d n i n a l i i wa sb e o s e i mp tr Gr p i n mp trVi o . s i n lcl a smeh d i n f
t e tpe o m i g e h swhih a o ete e hegr a r r n m t od f c r us r m ndo e e r h. m i g a hepr blm fb u st e al n org n on—l c lm e n l usr s ac . Ai n tt o e o l r he d ti i i i a n s l o a a sa—
中图分类号 : P 8 文献标识码 : 文章编号 :0 9 3 4 (0 22 — 4 8 0 T 13 A 10 - 042 1 )2 5 — 2
Th n c l e n n ii g Re e r h eNo Lo a a sDe o sn s a c M
LI uo—ya U Zh
I N 0 9 3 4 SS 1 0 - 0 4
一种用于图像去噪的非局部算法

一种用于图像去噪的非局部算法摘要我们提出了一种新的方法噪声方法来评估和比较数字图像去噪方法的性能。
我们首先计算和分析这种方法噪声的一大类去噪算法,即局部平滑滤波器。
其次,基于图像中所有像素的非局部平均,我们提出了一种新的算法- 非局部均值(NL-means)。
最后,我们介绍一些比较NL均值算法和局部平滑滤波器的实验。
1.介绍图像去噪方法的目标是从噪声测量中恢复原始图像,其中v(i)是观测值,u(i)是“真”值,n(i)是像素i处的噪声扰动。
模拟噪声对数字图像影响的最简单方法是添加高斯白噪声。
在那种情况下,n(i)是i.i.d. 具有零均值和方差σ2的高斯值。
已经提出了几种方法来消除噪音并恢复真实的图像。
尽管它们在工具上可能有很大不同,但必须强调的是,广泛的类别具有相同的基本评论:去噪是通过平均来实现的。
这种平均可以在本地进行:高斯平滑模型(Gabor [7]),各向异性过滤(Perona-Malik [11],Alvarez等人[1])和邻域过滤(Yaroslavsky [16],Smith 等人。
[14],Tomasi等人[15])通过变分计算:总变差最小化(Rudin-Osher-Fatemi [13])或频域中:经验维纳滤波器(Yaroslavsky [16] )和小波阈值法(Coiffman-Donoho [5,4])。
在形式上,我们定义了一个降噪方法Dh作为分解其中v是噪声图像,h是通常取决于噪声标准偏差的滤波参数。
理想情况下,Dhv比v更平滑,n(Dh,v)看起来像是白噪声的实现。
光滑部分与非光滑部分或振荡部分之间的图像分解是当前研究的主题(例如Osher等人[10])。
在[8]中,Y.Meyer研究了适合这种分解的功能空间。
后一个研究的主要范围不是去噪,因为振动部分包含噪音和纹理。
去噪方法不应改变原始图像u。
现在,大多数去噪方法会降低或消除u的细节和纹理。
为了更好地理解这种移除,我们将介绍和分析方法噪声。
基于非局部平均的多光谱遥感图像除噪声

出的 MSNL 方 法 的光 谱 角度 误 差 ( AM) 直都 是 最小 - M S 一
的, 尤其是 噪声 比较大情况下更加 明显一 些 。在噪声 比较小
的 情 况 下 , 文 提 出 方 法 MSNL 的 相 对 整 体 维 数 综 合 误 本 - M 差( R E GAS 总 体 上 也 是 比较 小 的 ,只 有 少 数 情 况 误 差 相 对 )
型都取得了 比较好的效 果 ,但是都 要对 先验 知识进 行假 设 。
基 于偏微 分方 程的除噪声 方法 _ ] 7 已经 发展 了很多 年 ,基于 全变分的图像 除 噪模 型 可 以转化 为 求解 偏微 分 方程 。近年 来 ,彩色全变分除噪声[ 和基于偏微分方程 的多值 图像 除噪 9 ] 声通用框架 『 都 已提 出。这些方法 都是适应 多光谱 图像 的 , 】 叩 在不 同波段上 的图像值 的组合被认 为是 向量 ,图像除 噪声的
通过 两方 面的改进 , 传统的非局部平均 的方法可 以适应 多光谱遥 感 图像 的平 滑除噪声 。最后 用不 同卫星 图 像在不 同的噪声水 平下 对算法进行 了充分的测 试 , 实验 证明本文 提出的方法 更好 的平滑掉 了噪声 而且更好
的保 持 了 图像 的光 谱 特 征 。
关键词 非局部平均 ; 图像除噪声 ; 光谱特 征
进, 传统 的非局部平 均的方法更加适应多 光谱遥感 像除 噪
4 结 论
本文改进 了非局部平 均的平滑核函数 ,让核 函数 中 的加 权 系数与每个波段建立联 系而不是 只涉及单一 波段 ,引入相
声的情况 。 文用不同卫星的图像在 同的噪声水 平下对算 本
法进 行 了 充 分 的验 证 ,实 验 证 明 本 文 提 出 的 方 法 比 较 好 的平 滑 掉 了噪 声 ,不 但 获 得 更 好 的 视 觉 效 果 而 且 更 好 的 保 持 _ r图
基于非局部块匹配的图像去噪技术研究

基于非局部块匹配的图像去噪技术研究图像是现代社会中最重要的传媒之一,越来越多的人开始使用数字相机、手机等设备来保存特殊时刻或记录生活中的点滴,图像的质量对我们的生活有很大的影响。
然而,由于环境光线、拍摄器材的影响等因素,拍摄的图像常常出现各种噪点,这大大降低了图像的质量,给我们带来了困扰。
因此,如何对图像进行去噪处理成为了图像处理领域的一个热点问题。
一、图像去噪技术的发展历程随着计算机技术和数字图像的广泛应用,图像去噪技术不断得到提高和改进。
当前的图像去噪技术主要包括线性噪声滤波技术和非线性噪声滤波技术。
其中,线性噪声滤波技术主要包括:平滑滤波、高斯滤波、中值滤波等。
这些算法简单易懂,但对于消除复杂噪点效果不佳。
非线性噪声滤波技术主要包括:基于学习的方法、小波变换方法、基于稀疏编码的方法、基于非局部块匹配的方法等。
这些方法常常能够取得更好的去噪效果,但是运算量较大,时间和空间复杂度较高。
二、基于非局部块匹配的图像去噪技术基于非局部块匹配的图像去噪技术是一种非线性噪声滤波技术,它通过找到相似块对图像进行修复。
该方法主要有以下几个步骤:1、将待去噪图像切分成大小相等的块,并确定块的大小、相似度度量尺度和相似块的数量。
2、对每个块,在图像中找到最相似的K-近邻块,将它们的加权平均值做为当前块的估计输出。
3、合并所有块,得到最终输出图像。
该算法的核心步骤是寻找相似的块,因此所选的相似度度量方法对算法的效率和精度有着决定性的影响。
在实际应用中,常用的相似性度量方法有欧氏距离、平方欧氏距离、L1距离等。
此外,该算法中的K-近邻数也需要合理选取。
三、基于非局部块匹配的图像去噪技术的优缺点1、优点基于非局部块匹配的图像去噪技术能够很好地处理复杂图像噪声,去除高斯噪声、椒盐噪声、胡椒噪声等非线性噪声。
2、缺点该技术在去除噪声的同时,也往往会造成图像失真,因此需要在处理时控制好噪声和图像质量的平衡。
四、应用前景现在,基于非局部块匹配的图像去噪技术已经被广泛应用于众多领域,如计算机视觉、医学图像分析、机器人等。
一种基于区域自适应的非局部均值(Nonlocal Means)图像去噪方法

Region-based non-local means algorithm for noise removalW.L.Zeng and X.B.LuThe non-local means (NLM)provides a useful tool for image denoising and many variations of the NLM method have been proposed.However,few works have tried to tackle the task of adaptively choos-ing the patch size according to region characteristics.Presented is a region-based NLM method for noise removal.The proposed method first analyses and classifies the image into several region types.According to the region type,a local window is adaptively adjusted to match the local property of a region.Experimental results show the effectiveness of the proposed method and demonstrate its superior-ity to the state-of-the-art methods.Introduction:The use of the non-local means (NLM)filter for noise removal has been extensively studied in the past few years.The NLM filter was first addressed in [1].The discrete version of the NLM is as follows:u (k ,l )=(i ,j )[N (k ,l )w (k ,l ,i ,j )v (i ,j )(1)where u is the restored value at pixel (k,l )and N (k,l )stands for theneighbourhood of the pixel (k,l ).The weight function w (k,l,i,j )is defined asw (k ,l ,i ,j )=1exp −||T k ,l v −T i ,j v ||22,a(2)where T k,l and T i,j denote two operators that extract two patches of sizeq ×q centred at pixel (k,l )and (i,j ),respectively;h is the decay para-meter of the weights; . 2,a is the weighted Euclidean norm using a Gaussian kernel with standard deviation a ,and Z (k,l )is the normalised constantZ (k ,l )= (i ,j )exp −||T k ,l v −T i ,j v ||22,ah 2(3)The core idea of the NLM filter exploits spatial correlation in the entireimage for noise removal and can produce promising results.This method is time consuming and not able to suppress any noise for non-repetitive neighbourhoods.Numerous methods were proposed to accel-erate the NLM method [2–4].Also,variations of the NLM method have been proposed to improve the denoising performance [5–7].In smooth areas,a large matching window size could be used to reduce the influ-ence of misinterpreting noise as local structure.Conversely,a small matching window size could be used for the edge /texture region,which means not only the local structure existing within a neighbour-hood can be effectively used but can also speed up the matching process.To the best of our knowledge,few works have tried to tackle the task of adaptively choosing the patch size according to region characteristics.To overcome the disadvantage of the NLM method and its variances,in this Letter we present an adaptive NLM (ANLM)method for noise removal.The proposed method first analyses and classifies the image into several region types based on local structure information of a pixel.According to the region type,a local window is adaptively adjusted to match the local property of a region.Experimental results show the effectiveness of the proposed method.Proposed NLM algorithm:The adaptive patches based non-local means algorithm is conducted according to the region classification results,owing to the fact that the structure tensor can obtain more local structure information [8].Therefore,we use it to classify the region.For each pixel (i,j )of the region,the structure tensor matrix is defined asT s =t 11t 12t 12t 22 =G s ∗(g x (i ,j ))2G s ∗g x (i ,j )g y (i ,j )G s ∗g y (i ,j )g x (i ,j )G s ∗(g y (i ,j ))2where g x and g y stand for gradient information in the x and y directions,G s denotes a Gaussian kernel with a standard deviation s .Theeigenvalues l 1and l 2of T s are given byl 1=12t 11+t 22+ (t 11−t 22)2+4t 212 and l 2=1t 11+t 22− (t 11−t 22)2+4t 212 For a pixel in the smooth region,there is a small eigenvalue difference;for a pixel in an edge /texture region,there is a large eigenvalue differ-ence.Therefore,region classification can be achieved by examining the eigenvalue difference of each pixel.Let l (i ,j )=|l 1(i ,j )−l 2(i ,j )|.We propose the following classifi-cation scheme to partition the whole image region into n classes {c 1,···,c n }:(i ,j )[c 1,if l (i ,j )≤l min +(l max −l min )n c 2,if l (i ,j )≤l min +2(l max −l min )n ...c n ,if l (i ,j )≤l min +n (l max −l min )n ⎧⎪⎪⎪⎪⎪⎪⎪⎪⎨⎪⎪⎪⎪⎪⎪⎪⎪⎩where l min and l max are the minimum and maximum of {l (i ,j ):(i ,j )[V },respectively.To exploit the local structure information and reduce noise in different regions,we adaptively choose the matching window based on the region classification result.The scheme for selecting the matching window is asfollows:if (k ,l )[c r ,T k ,l :=T r k ,l ,where T rk ,l denotes an operator of the r-type region that extracts one patch of size q r ×q r .To reduce the influ-ence of misinterpreting noise as local structure,a larger patch size is adopted for a smooth region.In contrast,a small patch size is employed for the edge /texture region.Intuitively,the number of the class n should be as big as possible.In practice,the gain is insignificant for n greater than 4.Therefore,we choose n ¼4in our experiments.Table 1:PSNR performance comparison of ‘Lena’,‘Barbara’,‘Peppers’imagesFig.1Comparison of results with additive Gaussian noise of s ¼35a Original image b Noisy image c NLM d WUNLM e ANLMExperimental results:In this Section,we compare our proposed ANLM method with the NLM method [2]and the weight update NLM (WUNLM)method [3].We test the proposed method on ‘Lena’,‘Barbara’,and ‘Peppers’,which were taken from the USC-SIPI Image Database (/database/base).The performance of the method was evaluated by measuring the peak signal-to-noise ratio (PSNR).In general h corresponds to the noise level and is usuallyELECTRONICS LETTERS 29th September 2011Vol.47No.20,1125-1127fixed to the standard deviation of the noise.The size of the search window is21×21.Table1shows results obtained with three methods across four noise levels.Figs.1a and b,show the‘Barbara’image and the corresponding noisy image generated by adding Gaussian white noise with variance s¼35,respectively.Figs.1c–e show denoised images by using the NLM,WUNLM,and ANLM methods,respectively.From the standpoint of perceptual view and PSNR values,the proposed ANLM method produced the best quality. Conclusions:An adaptive NLM(ANLM)method for noise removal is presented.In the method,an image isfirst analysed and classified into several region types.According to the region type,a local window is adaptively adjusted to match the local property of a region. Experimental results show the effectiveness of the proposed method and demonstrate its superiority to the state-of-the-art methods. Acknowledgments:This work was supported by the National Natural Science Foundation of China under grant60972001,the National Key Technologies R&D Program of China under grant2009BAG13A06 and the Scientific Innovation Research of College Graduate in Jiangsu Province under grant CXZZ_0163.#The Institution of Engineering and Technology20115August2011doi:10.1049/el.2011.2456W.L.Zeng(School of Transportation,Southeast University,Nanjing 210096,People’s Republic of China)X.B.Lu(School of Automation,Southeast University,Nanjing210096, People’s Republic of China)E-mail:xblu2008@References1Budades,A.,Coll,B.,and Morel,J.M.:‘A review of image denoising algorithms,with a new one’,Multiscale Model Simul.,2005,4,(2), pp.490–5302Mahmoudi,M.,and Sapiro,G.:‘Fast image and video denoising via nonlocal means of similar neighborhoods’,IEEE Signal Process.Lett., 2005,12,(12),pp.839–8423Vignesh,R.,Oh,B.T.,and Kuo,C.-C.J.:‘Fast non-local means(NLM) computation with probabilistic early termination’,IEEE Signal Process.Lett.,2010,17,(3),pp.277–2804Brox,T.,Kleinschmidt,O.,and Cremers,D.:‘Efficient nonlocal means for denoising of textural patterns’,IEEE Trans.Image Process.,2008, 17,(7),pp.1083–10925Kervrann,C.,and Boulanger,J.:‘Optimal spatial adaptation for patch-based image denoising’,IEEE Trans.Image Process.,2006,15,(10), pp.2866–28786Ville,D.V.D.,and Kocher,M.:‘SURE-based non-local means’,IEEE Signal Process.Lett.,2009,16,(11),pp.973–9767Park,S.W.,and Kang,M.G.:‘NLM algorithm with weight update’, Electron.Lett.,2010,16,(15),pp.1061–10638Brox,T.,Weickert,J.,Burgeth,B.,and Mrazek,P.:‘Nonlinear structure tensors’,Image put.,2006,24,pp.41–55ELECTRONICS LETTERS29th September2011Vol.47No.20。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
在室外环境和一些室内监控场合,光照条件容易发生变化,在图像的摄取、传输和存储过程中,环境的条件限制及图像传感器的物理局限,使得图像不可避免地引入不同程度的噪声,特别是在光照条件不理想的情况下,噪声尤其明显。这时不能过分增加工业相机的曝光时间,因为这样会使得运动图像变得更为模糊,引起图像质量的下降,称为降质或退化。图像去噪是一种改善图像质量的技术,它利用降质图像的某些先验知识来重建原始图像,以改善图像的清晰度和消除噪声。图像复原的目的则是将观测到的退化图像,以最大的保真度,恢复到退化前的状态,属于底层图像处理技术。数字图像复原多年来一直是图像处理领域研究的热点。
The idea of non-local means algorithmcan take gooduseof themassiveredundant information in images.Althoughthe algorithm isfeasible,thesearch and matchfor similar patches,and thesimilaritycalculationlead tohighcomputational cost.Thusthe computation is in great need to be reduced. Local binary descriptor(LBP)for image processing is introduced as anewponitof view. It canbotheffectively extract image local features, such as edgesandcorners, andquantitatively convertthemto a binary string.The binarydescriptor supports a fast imagefeaturematching with a logical operationandadjustmentforthe search window size.Thereby the amount of computationcan bereducedby at least one order of magnitude.
实际应用中的噪声种类繁多,相应产生了大量的图像去噪算法。非局部均值算法自提出以来就因其良好的去噪效果和对图像特征信息的保持度而一跃成为研究热点。该算法依赖数字图像中大量的自相似信息,通过搜索待去噪区块与图像其余部分中的与其相似度较高的区块,并以高斯距离计算对应的相似度权重,然后对搜索区域内的各区块进行加权平均,得出待去噪区块的新像素值。
There are many kinds of noise in the practical application.Alarge amount of image denoising algorithmshave been studied. Non-local means algorithm becamea research hotspotafterproposed because of its good denoising effect andprotectionof the image feature information. The algorithmbasedonthelarge amount of self-similar informationsin digital images, search fortheotherpatches in the image which aresimilarto the central patch andcalculatethe similar weightsby Gauss distance.In theend,thenew pixel valueis obtainedbyweighted average of the blocks in the searcharea.
非局部均值算法的思想可以合理利用图像中的大量冗余信息,虽然可行性好,但是搜索匹配相似区块以及权重计算都必然导致较大的计算量,因此在计算效率上仍有较大进步空间。局部二值描述子为图像处理引入了一种新视角,它不仅可以有效提取出图像的局部特征,如边缘、角点等,并将此类特征定量转化为一个二进制字符串,从而支持用逻辑运算进行快速图像相似度匹配,调整搜索窗尺寸,从而将运算量减少至少一个数量级。
空域滤波器通常分为局部和非局部滤波器。局部滤波器如双边滤波器[8] [9]和训练滤波器[10]在减少时间复杂性上效果较好。然而,在高噪声的情况下,由于相邻像素之间的相关性已被噪声严重损坏,这些方法的去噪效果并不理想。与局部滤波器不同,非局部滤波器利用非局部方式获得图像内部天然的自相似性。非局部均值滤波[11]通过加权平均同一幅图像中的其他像素块得到去噪后的图像。它与局部滤波器相比鲁棒性更好,因为它考虑到每个像素周围的邻域像素而不仅考虑中心像素。这个滤波器带来显著去噪效果的同时,计算量也非常庞大,因为每个染噪的像素都由图像中所有像素的加权平均值代替。
自从NLM提出以来,已经发展出许多变式。其中,一部分算法重点在为NLM提速[12]~[19]度,另一部分主要提高去噪性能[20]~[24]。在NLM提出后,预选相似块[12]的提出成功为NLM完成了一次加速。近期NLM的加速方法包括改进的多分辨率塔式结构[13]和基于概率提前终止(PET)[14],前者加速了窗口相似度的计算,后者在特殊情况下提前终止失真项的计算。除此之外,[15]建立了一个可以迅速搜索相似块的字典,降低了计算成本。[16]中,奇异值分解(SVD)被用于改进NLM。随后,SVD[17]又被用于消除非相似像素。快速傅立叶变换用来加速权重计算[18],使得其运算速度比原始算法提高了50倍。[19]通过计算子图像中的权重,减少了数据的维数,从而缩短了运行时间。这些快速算法中,多数是通过去噪效果的降低换来更高的去噪效率。[20]中介绍了一些最优技术。尺寸自适应块(NLM-SAP)[21]可以利用在NLM图像的局部几何。基于SURE的线性膨胀阈值(SURE-LET)[22]是一种优化的NLM的参数。此外优化参数的方法还有修改中心块的权重[23]和概率密度函数的分布[24]。然而,这些NLM方法也在为优越的性能付出更高的计算代价。
一般而言,图像去噪方法可以分为空间域,变换域和基于图像表示的字典学习。现在比较流行的变换域方法有高斯尺度混合模型方法[3],Stein无偏风险估计(SURE)[4]和三维块匹配去噪算法(Block-matching and 3D filtering algorithm, BM3D)[5]。聚类与奇异值分解(K-SVD)[6]学习同步稀疏编码(LSSC)[7]是现在两个优秀的字典学习方法。以上方法虽然去噪质量令人满意,但是基于变换的方法算法复杂度要求较高,而稀疏模型要付出昂贵的计算代价,因此两者都不适合实时应用。
现实中的数字图像在数字化和传输过程中难免受到损成像的视觉效果,并且对图像的后续处理不利。因此,在图像的预处理阶段,有必要对图像进行去噪,以提高图像信噪比,为后续处理提供更精确的信息。
1.2
1
数字图像和视频在当今的实际应用中发挥着越来越重要的作用。在实际系统中,传感器的输出包含了信号和噪声两部分,高质量图像采集受条件限制而困难诸多。随着芯片单位面积上集成的图像传感器越来越多,相机设备也对噪声愈加敏感[1][2]。因此,图像的快速去噪处理对后续的实时应用来说是非常重要的。
摘要
染噪图像不仅视觉效果受到影响,往往也会损失部分有效信息,不利于后续图像分析工作。图像去噪作为图像处理流程中的预处理环节,可以提高图像质量,为进一步凸显处理提供有利条件,因而成为数字图像研究领域的一个长期热点和难点问题。本文主要深入研究了图像去噪算法,尤其是非局部均值滤波算法(NLM),针对该算法的弱点结合局部二值描述子进行改进,并利用硬件加速增强算法的实时性。
本文基于传统的非局部均值算法,提出一种效果与效率兼备的图像去噪方法,并结合OCT医疗图像检验其实际应用能力,最后通过硬件加速达到了实时处理的目的,以实验结果证实了该方法在去噪效果和计算速度上取得了很好的平衡。
关键词:图像去噪;非局部均值滤波;局部二值描述子
ABSTRACT
The imagescorrupted by noisenot onlybringabout poorvisual effectsbut also losepartofthe usefulinformation, which is not conducive to the subsequent image analysis. Image denoising is apopularand difficult problem in the field of digital image processing, which can improve the image quality and provide favorable conditions for the image processing. This paper mainly studied the image denoising algorithm, especially non-local means(NLM) filter algorithm.In order to overcomethe weakness ofNLM,a transform of NLMcombined with local binary descriptors(LBP) isproposed.Furthermore, a parallel implemention whichtake advantage of hardware accelerationis also provided for real-time image denoising.