BM3D图像去噪算法

BM3D图像去噪算法一 引言 一种非局部去噪方法 Non local method 1 可以归类到 spatial method 中 另外用的比较多的还有 transform method 基于 transform method 的方法在 image denoise 中也取得了很好的效果 不过理论阐述会比较繁琐 如 BLS GSM Wavelet NLM 去噪算法使用的是 inter patchcorrela

一、引言

一种非局部去噪方法Non-local method[1],可以归类到spatial method中,另外用的比较多的还有transform method,基于transform method的方法在image denoise中也取得了很好的效果,不过理论阐述会比较繁琐,如BLS-GSM-Wavelet。

NLM去噪算法使用的是inter-patchcorrelation,而Wavelet shrinkage使用的则是intra-patch correlation。这两种方法都取得了不错的效果,一个很自然的想法就是:可以同时使用他们两个方法吗?这便导出了BM3D去噪算法[2],算是现在公认的去噪效果最好的算法。

二、理论

BM3D算法主要分两步(按collaborative filtering划分)[3]:

S1、 在collaborative filtering阶段使用hard threshold

S1.1—grouping:在image中寻找相似块,使用hard threshold定义相似性,进而stack into不同的block;

S1.2— collaborative filtering:对每一个相似grouped block做3D线性变换,shrinkage of the transform spectrum,最后在逆变换得到basic estimate block;

S1.3—aggregation:因为前面每一个patch在3D block逆变换后对应的多个,经验的做法是直接平均所有的块,但更建议根据得到的patch质量,赋予不同的权值加权平均。不难看出aggregation是一个特殊的平均过程,类似于NNLM方法,利用图片的冗余性恢复含噪图片。

S2、步骤和S1类似,如下图,不同之处有两点[2]:

D1、comparethe filtered patches instead of the original patches

D2、使用Wienerfiltering处理新的3D group,而不是 hard thresholding

在实验中发现S2会恢复出更多的图像细节部分,提高去噪性能。

三、算法

算法步骤:

1) findingthe image patches similar to a given image patch and groupingthem in a 3D block

2) 3D linear transform of the 3D block;

3) shrinkage of the transform spectrum coefficients;

4) inverse 3D transformation

BM3D的一个形象比喻……

算法实现:

1、BM3D官网吧,不过matlab版中很多都是加密的脚本,不是很方便:

​http://www.cs.tut.fi/~foi/GCF-BM3D/

2、一篇BM3D的快速实现,提供了源码:http://www.ipol.im/pub/art/2012/l-bm3d/

参考:

[1] A. Buades, B. Coll, D. Matem, C. V. Km, P.De Mallorca, J. Morel, and E. N. S. Cachan, “A non-local algorithm for imagedenoising,” no. 0, pp. 0–5.

[2] M.Lebrun, “An Analysis and Implementation of the BM3D Image Denoising Method,” ImageProcess. Line, vol. 2, pp. 175–213, 2012.

[3] K.Dabov, a Foi, and V. Katkovnik, “Image Denoising by Sparse 3D Transformation-Domain Collaborative Filtering,” vol. 16, no. 8, pp. 1–16,2007.

编程小号
上一篇 2025-02-16 15:21
下一篇 2025-02-18 13:30

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/hz/138628.html