arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.02308cs.CV
收藏

快速自适应双边滤波

Fast Adaptive Bilateral Filtering

Indian Institute of Science(印度科学学院)

Ruturaj G. Gavaskar, Kunal N. Chaudhury

摘要:

在经典的双边滤波器中,使用固定的高斯范围核以及用于边缘保持平滑的空间核。我们认为这个过滤器的泛化,所谓的自适应双边过滤器,其中的中心和宽度的高斯范围内核是允许改变从像素到像素。虽然这种变体最初是为了锐化和噪声去除而提出的,但它也可以用于其他应用,例如伪影去除和纹理过滤。与双边滤波器类似,自适应滤波器的蛮力实现需要大量的计算。虽然在文献中已经提出了几种快速算法用于双边滤波,但它们中的大多数仅适用于固定范围的核。本文提出了一种自适应双边滤波的快速算法,其复杂度不随空域滤波器宽度的变化而变化。这是基于这样的观察,即可以使用适当定义的局部直方图纯粹在范围空间中执行相关滤波。我们表明,通过用多项式代替直方图,用积分代替有限范围空间和,我们可以用解析函数近似滤波器。特别是,一个有效的算法是使用以下创新:多项式拟合匹配其时刻的目标直方图(这是使用快速卷积),并使用部分积分递归计算的解析函数。我们的算法可以加速至少$20 \times$的蛮力实现,没有明显的失真的视觉质量。我们证明了我们的算法锐化,JPEG去块,纹理滤波的有效性。

英文摘要:

In the classical bilateral filter, a fixed Gaussian range kernel is used along with a spatial kernel for edge-preserving smoothing. We consider a generalization of this filter, the so-called adaptive bilateral filter, where the center and width of the Gaussian range kernel is allowed to change from pixel to pixel. Though this variant was originally proposed for sharpening and noise removal, it can also be used for other applications such as artifact removal and texture filtering. Similar to the bilateral filter, the brute-force implementation of its adaptive counterpart requires intense computations. While several fast algorithms have been proposed in the literature for bilateral filtering, most of them work only with a fixed range kernel. In this paper, we propose a fast algorithm for adaptive bilateral filtering, whose complexity does not scale with the spatial filter width. This is based on the observation that the concerned filtering can be performed purely in range space using an appropriately defined local histogram. We show that by replacing the histogram with a polynomial and the finite range-space sum with an integral, we can approximate the filter using analytic functions. In particular, an efficient algorithm is derived using the following innovations: the polynomial is fitted by matching its moments to those of the target histogram (this is done using fast convolutions), and the analytic functions are recursively computed using integration-by-parts. Our algorithm can accelerate the brute-force implementation by at least $20 \times$, without perceptible distortions in the visual quality. We demonstrate the effectiveness of our algorithm for sharpening, JPEG deblocking, and texture filtering.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑