Ochotorena Carlo Noel, Yamashita Yukihiko
IEEE Trans Image Process. 2019 Sep 19. doi: 10.1109/TIP.2019.2941326.
The guided filter and its subsequent derivatives have been widely employed in many image processing and computer vision applications primarily brought about by their low complexity and good edge-preservation properties. Despite this success, the different variants of the guided filter are unable to handle more aggressive filtering strengths leading to the manifestation of "detail halos". At the same time, these existing filters perform poorly when the input and guide images have structural inconsistencies. In this paper, we demonstrate that these limitations are due to the guided filter operating as a variable-strength locally-isotropic filter that, in effect, acts as a weak anisotropic filter on the image. Our analysis shows that this behaviour stems from the use of unweighted averaging in the final steps of guided filter variants including the adaptive guided filter (AGF), weighted guided image filter (WGIF), and gradient-domain guided image filter (GGIF). We propose a novel filter, the Anisotropic Guided Filter (AnisGF), that utilises weighted averaging to achieve maximum diffusion while preserving strong edges in the image. The proposed weights are optimised based on the local neighbourhood variances to achieve strong anisotropic filtering while preserving the low computational cost of the original guided filter. Synthetic tests show that the proposed method addresses the presence of detail halos and the handling of inconsistent structures found in previous variants of the guided filter. Furthermore, experiments in scale-aware filtering, detail enhancement, texture removal, and chroma upsampling demonstrate the improvements brought about by the technique.
引导滤波器及其后续衍生滤波器已在许多图像处理和计算机视觉应用中得到广泛应用,这主要归功于它们的低复杂度和良好的边缘保留特性。尽管取得了这样的成功,但引导滤波器的不同变体无法处理更强的滤波强度,从而导致“细节光晕”的出现。同时,当输入图像和引导图像存在结构不一致时,这些现有滤波器的性能会很差。在本文中,我们证明这些局限性是由于引导滤波器作为一种可变强度的局部各向同性滤波器运行,实际上它在图像上起到了弱各向异性滤波器的作用。我们的分析表明,这种行为源于在引导滤波器变体(包括自适应引导滤波器(AGF)、加权引导图像滤波器(WGIF)和梯度域引导图像滤波器(GGIF))的最后步骤中使用了未加权平均。我们提出了一种新颖的滤波器,即各向异性引导滤波器(AnisGF),它利用加权平均来实现最大扩散,同时保留图像中的强边缘。所提出的权重基于局部邻域方差进行优化,以实现强各向异性滤波,同时保持原始引导滤波器的低计算成本。合成测试表明,所提出的方法解决了细节光晕的问题以及在引导滤波器先前变体中发现的不一致结构的处理问题。此外,在尺度感知滤波、细节增强、纹理去除和色度上采样方面的实验证明了该技术带来的改进。