IEEE Trans Image Process. 2014 Jan;23(1):356-65. doi: 10.1109/TIP.2013.2290871.
In this paper, a novel technique to speed-up a nonlocal means (NLM) filter is proposed. In the original NLM filter, most of its computational time is spent on finding distances for all the patches in the search window. Here, we build a dictionary in which patches with similar photometric structures are clustered together. Dictionary is built only once with high resolution images belonging to different scenes. Since the dictionary is well organized in terms of indexing its entries, it is used to search similar patches very quickly for efficient NLM denoising. We achieve a substantial reduction in computational cost compared with the original NLM method, especially when the search window of NLM is large, without much affecting the PSNR. Second, we show that by building a dictionary for edge patches as opposed to intensity patches, it is possible to reduce the dictionary size; thus, further improving the computational speed and memory requirement. The proposed method preclassifies similar patches with the same distance measure as used by NLM method. The proposed algorithm is shown to outperform other prefiltering based fast NLM algorithms computationally as well as qualitatively.
本文提出了一种加速非局部均值(NLM)滤波器的新方法。在原始的 NLM 滤波器中,大部分计算时间都花在搜索窗口中所有补丁的距离计算上。在这里,我们构建了一个字典,其中具有相似光度结构的补丁被聚类在一起。字典仅使用来自不同场景的高分辨率图像构建一次。由于字典在索引条目方面组织良好,因此可以非常快速地搜索相似的补丁,从而实现高效的 NLM 去噪。与原始的 NLM 方法相比,我们实现了计算成本的大幅降低,特别是在 NLM 的搜索窗口较大时,而对 PSNR 的影响不大。其次,我们表明,通过为边缘补丁构建字典而不是为强度补丁构建字典,可以减小字典的大小,从而进一步提高计算速度和内存需求。所提出的方法使用与 NLM 方法相同的距离度量对相似的补丁进行预分类。实验结果表明,所提出的算法在计算和质量上都优于其他基于预滤波的快速 NLM 算法。