Learning Adaptive Patch Generators for Mask-Robust Image Inpainting

被引:9
作者
Sun, Hongyi [1 ,2 ]
Li, Wanhua [1 ,2 ]
Duan, Yueqi [1 ,2 ]
Zhou, Jie [1 ,2 ]
Lu, Jiwen [1 ,2 ]
机构
[1] Tsinghua Univ, Beijing Natl Res Ctr Informat Sci & Technol BNRist, Beijing 100084, Peoples R China
[2] Tsinghua Univ, Dept Automation, Beijing 100084, Peoples R China
基金
中国国家自然科学基金;
关键词
Image inpainting; mask-robust agent; adaptive patch generators; FILLING-IN;
D O I
10.1109/TMM.2022.3174413
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we propose a Mask-Robust Inpainting Network (MRIN) approach to recover the masked areas of an image. Most existing methods learn a single model for image inpainting, under a basic assumption that all masks are from the same type. However, we discover that the masks are usually complex and exhibit various shapes and sizes at different locations of an image, where a single model cannot fully capture the large domain gap across different masks. To address this, we learn to decompose a complex mask area into several basic types and recover the damaged image in a patch-wise manner with a type-specific generator. More specifically, our MRIN consists of a mask-robust agent and an adaptive patch generative network. The mask-robust agent contains a mask selector and a patch locator, which generates mask attention maps to select a patch at each step. Based on the predicted mask attention maps, the adaptive patch generative network inpaints the selected patch with the generators bank, so that it sequentially inpaints each patch with different patch generators according to its mask type. Extensive experiments demonstrate that our approach outperforms most state-of-the-art approaches on the Place2, CelebA, and Paris Street View datasets.
引用
收藏
页码:4240 / 4252
页数:13
相关论文
共 50 条
  • [31] Patch-guided facial image inpainting by shape propagation
    Zhuang, Yue-ting
    Wang, Yu-shun
    Shih, Timothy K.
    Tang, Nick C.
    JOURNAL OF ZHEJIANG UNIVERSITY-SCIENCE A, 2009, 10 (02): : 232 - 238
  • [32] Robust Digital Image Inpainting Algorithm in the Wireless Environment
    Karapetyan, G.
    Sarukhanyan, H. G.
    Agaian, S. S.
    MOBILE MULTIMEDIA/IMAGE PROCESSING, SECURITY, AND APPLICATIONS 2014, 2014, 9120
  • [33] RePGAN: image inpainting via residual partial connection and mask discriminator
    Sun, Lin
    Jiang, Bin
    Yang, Chao
    Dai, Jiawu
    Zeng, Weiyuan
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2023, 14 (09) : 3193 - 3203
  • [34] RePGAN: image inpainting via residual partial connection and mask discriminator
    Lin Sun
    Bin Jiang
    Chao Yang
    Jiawu Dai
    Weiyuan Zeng
    International Journal of Machine Learning and Cybernetics, 2023, 14 : 3193 - 3203
  • [35] Deformable Dynamic Sampling and Dynamic Predictable Mask Mining for Image Inpainting
    Cai, Cai
    Zeng, Yu
    Yang, Shu
    Jia, Xu
    Lu, Huchuan
    He, You
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2024, 35 (12) : 18445 - 18454
  • [36] Image Inpainting by End-to-End Cascaded Refinement With Mask Awareness
    Zhu, Manyu
    He, Dongliang
    Li, Xin
    Li, Chao
    Li, Fu
    Liu, Xiao
    Ding, Errui
    Zhang, Zhaoxiang
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2021, 30 : 4855 - 4866
  • [37] Image Inpainting Based on Adaptive Total Variation Model
    Lu, Zhaolin
    Qian, Jiansheng
    Li, Leida
    IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2011, E94A (07) : 1608 - 1612
  • [38] Image Inpainting Algorithm Based on Adaptive Template Direction
    Wu, Xuewen
    Liu, Na
    Song, Yunyun
    2013 6TH INTERNATIONAL CONGRESS ON IMAGE AND SIGNAL PROCESSING (CISP), VOLS 1-3, 2013, : 374 - 378
  • [39] A novel patch matching algorithm for exemplar-based image inpainting
    Fan, Qian
    Zhang, Lifeng
    MULTIMEDIA TOOLS AND APPLICATIONS, 2018, 77 (09) : 10807 - 10821
  • [40] An Improved Image Inpainting Method Based on Patch Matching and Texture Synthesis
    Lu, ShaoFang
    Han, ChangMing
    PROCEEDINGS OF THE 2019 31ST CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2019), 2019, : 5933 - 5938