Deep Attentional Guided Image Filtering

Zhiwei Zhong, Xianming Liu, Junjun Jiang, Debin Zhao, Xiangyang Ji
12/13/2021
cs.CV

Official code: zhwzhong/DAGF (34 stars, Python, MIT, PyTorch, last commit 2026-03-12).

Abstract

Guided filter is a fundamental tool in computer vision and computer graphics which aims to transfer structure information from guidance image to target image. Most existing methods construct filter kernels from the guidance itself without considering the mutual dependency between the guidance and the target.

Show full abstract

However, since there typically exist significantly different edges in the two images, simply transferring all structural information of the guidance to the target would result in various artifacts. To cope with this problem, we propose an effective framework named deep attentional guided image filtering, the filtering process of which can fully integrate the complementary information contained in both images. Specifically, we propose an attentional kernel learning module to generate dual sets of filter kernels from the guidance and the target, respectively, and then adaptively combine them by modeling the pixel-wise dependency between the two images. Meanwhile, we propose a multi-scale guided image filtering module to progressively generate the filtering result with the constructed kernels in a coarse-to-fine manner. Correspondingly, a multi-scale fusion strategy is introduced to reuse the intermediate results in the coarse-to-fine process. Extensive experiments show that the proposed framework compares favorably with the state-of-the-art methods in a wide range of guided image filtering applications, such as guided super-resolution, cross-modality restoration, texture removal, and semantic segmentation.

View on arXivView PDF

Code Implementations(1)

zhwzhong/DAGFOfficial100%
PyTorchMIT

Deep Attentional Guided Image Filtering, Winner solution for ICMR 2021 Real DSR Challenge (IEEE TNNLS 2023)

3410Python, Jupyter NotebookJun 8, 20218 months agoMIT
pytorch

Similar Papers

Cite this paper

@article{zhong2021deep,
  title  = {Deep Attentional Guided Image Filtering},
  author = {Zhiwei Zhong and Xianming Liu and Junjun Jiang and Debin Zhao and Xiangyang Ji},
  year   = {2021},
  eprint = {2112.06401},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.06401}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.06401.svg)](https://codeofpaper.com/paper/2112.06401)

Discussion