JPGNet: Joint Predictive Filtering and Generative Network for Image Inpainting
Qing Guo, Xiaoguang Li, Felix Juefei-Xu, Hongkai Yu, Yang Liu, Song Wang
Abstract
Image inpainting aims to restore the missing regions of corrupted images and make the recovery result identical to the originally complete image, which is different from the common generative task emphasizing the naturalness or realism of generated images. Nevertheless, existing works usually regard it as a pure generation problem and employ cutting-edge deep generative techniques to address it. The generative networks can fill the main missing parts with realistic contents but usually distort the local structures or introduce obvious artifacts. In this paper, for the first time, we formulate image inpainting as a mix of two problems, i.e., predictive filtering and deep generation. Predictive filtering is good at preserving local structures and removing artifacts but falls short to complete the large missing regions. The deep generative network can fill the numerous missing pixels based on the understanding of the whole scene but hardly restores the details identical to the original ones. To make use of their respective advantages, we propose the joint predictive filtering and generative network (JPGNet) that contains three branches: predictive filtering & uncertainty network (PFUNet), deep generative network, and uncertainty-aware fusion network (UAFNet). The PFUNet can adaptively predict pixel-wise kernels for filtering-based inpainting according to the input image and output an uncertainty map. This map indicates the pixels should be processed by filtering or generative networks, which is further fed to the UAFNet for a smart combination between filtering and generative results. Note that, our method as a novel framework for the image inpainting problem can benefit any existing generation-based methods. We validate our method on three public datasets, i.e., Dunhuang, Places2, and CelebA, and demonstrate that our method can enhance three state-of-the-art generative methods (i.e., StructFlow, EdgeConnect, and RFRNet) significantly with slightly extra time costs. We have released the code at https://github.com/tsingqguo/jpgnet.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext efb233e2-4ccc-41f0-b271-4491e1e85940Cited by top-tier papers5
- Continuously Masked Transformer for Image InpaintingKeunsoo Ko, Chang-Su KimICCV 2023 · 54 citations
- Leveraging Inpainting for Single-Image Shadow RemovalXiaoguang Li, Qing Guo, Rabab Abdelfattah, Di Lin et al.ICCV 2023 · 40 citations
- Bidirectional Autoregressive Diffusion Model for Dance GenerationCanyu Zhang, Youbao Tang, Ning Zhang, Ruei-Sung Lin et al.CVPR 2024 · 9 citations
- Cross-Image Context for Single Image InpaintingTingliang Feng, Wei Feng, Weiqi Li, Di LinNeurIPS 2022 · 6 citations
- Hierarchical Adaptive Filtering Network for Text Image Specular Highlight RemovalZhi Jiang, Jingbo Hu, Ling Zhang, Gang Fu et al.CVPR 2025
Builds on6
- StructureFlow: Image Inpainting via Structure-Aware Appearance FlowYurui Ren, Xiaoming Yu, Ruonan Zhang, Thomas H. Li et al.ICCV 2019 · 356 citations
- EfficientDeRain: Learning Pixel-wise Dilation Filtering for High-Efficiency Single-Image DerainingQing Guo, Jingyang Sun, Felix Juefei-Xu, Lei Ma et al.AAAI 2021 · 120 citations
- Watch out! Motion is Blurring the Vision of Your Deep Neural NetworksQing Guo, Felix Juefei-Xu, Xiaofei Xie, Lei Ma et al.NeurIPS 2020 · 76 citations
- Recurrent Feature Reasoning for Image InpaintingJingyuan Li, Ning Wang, Lefei Zhang, Bo Du et al.CVPR 2020
- Auto-Exposure Fusion for Single-Image Shadow RemovalLan Fu, Changqing Zhou, Qing Guo, Felix Juefei-Xu et al.CVPR 2021
Related papers
- MISF: Multi-level Interactive Siamese Filtering for High-Fidelity Image InpaintingXiaoguang Li, Qing Guo, Di Lin, Ping Li et al.CVPR 2022 · 102 citations
- Image Inpainting via Conditional Texture and Structure Dual GenerationXiefan Guo, Hongyu Yang, Di HuangICCV 2021 · 283 citations
- Coherent Semantic Attention for Image InpaintingHongyu Liu, Bin Jiang, Yi Xiao, Chao YangICCV 2019 · 395 citations
- Progressive Reconstruction of Visual Structure for Image InpaintingJingyuan Li, Fengxiang He, Lefei Zhang, Bo Du et al.ICCV 2019 · 151 citations
- Text-Guided Neural Image InpaintingLisai Zhang, Qingcai Chen, Baotian Hu, Shuoran JiangACM MM 2020 · 53 citations
