IEEE Trans Image Process. 2016 Jun;25(6):2519-28. doi: 10.1109/TIP.2016.2548363.
The bilateral filter is a non-linear filter that uses a range filter along with a spatial filter to perform edge-preserving smoothing of images. A direct computation of the bilateral filter requires O(S) operations per pixel, where S is the size of the support of the spatial filter. In this paper, we present a fast and provably accurate algorithm for approximating the bilateral filter when the range kernel is Gaussian. In particular, for box and Gaussian spatial filters, the proposed algorithm can cut down the complexity to O(1) per pixel for any arbitrary S . The algorithm has a simple implementation involving N+1 spatial filterings, where N is the approximation order. We give a detailed analysis of the filtering accuracy that can be achieved by the proposed approximation in relation to the target bilateral filter. This allows us to estimate the order N required to obtain a given accuracy. We also present comprehensive numerical results to demonstrate that the proposed algorithm is competitive with the state-of-the-art methods in terms of speed and accuracy.
双边滤波器是一种非线性滤波器,它使用范围滤波器和空间滤波器来执行图像的边缘保持平滑。双边滤波器的直接计算需要每个像素 O(S)次运算,其中 S 是空间滤波器的支持大小。在本文中,我们提出了一种快速且可证明准确的算法,用于在范围核为高斯时逼近双边滤波器。特别是对于盒状和高斯空间滤波器,所提出的算法可以将复杂度降低到每个像素 O(1),对于任意 S 都是如此。该算法具有简单的实现,涉及 N+1 次空间滤波,其中 N 是逼近阶数。我们详细分析了所提出的逼近相对于目标双边滤波器可以达到的滤波精度。这使我们能够估计获得给定精度所需的阶数 N。我们还呈现了全面的数值结果,以证明所提出的算法在速度和准确性方面与最先进的方法具有竞争力。