Free-Form Image Inpainting with Gated Convolution

被引:1314
作者
Yu, Jiahui [1 ]
Lin, Zhe [2 ]
Yang, Jimei [2 ]
Shen, Xiaohui [3 ]
Lu, Xin [2 ]
Huang, Thomas [1 ]
机构
[1] Univ Illinois, Champaign, IL 61820 USA
[2] Adobe Res, San Jose, CA USA
[3] ByteDance AI Lab, Beijing, Peoples R China
来源
2019 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2019) | 2019年
关键词
COMPLETION;
D O I
10.1109/ICCV.2019.00457
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present a generative image inpainting system to complete images with free-form mask and guidance. The system is based on gated convolutions learned from millions of images without additional labelling efforts. The proposed gated convolution solves the issue of vanilla convolution that treats all input pixels as valid ones, generalizes partial convolution by providing a learnable dynamic feature selection mechanism for each channel at each spatial location across all layers. Moreover, as free-form masks may appear anywhere in images with any shape, global and local GANs designed for a single rectangular mask are not applicable. Thus, we also present a patch-based GAN loss, named SN-PatchGAN, by applying spectral-normalized discriminator on dense image patches. SN-PatchGAN is simple in formulation, fast and stable in training. Results on automatic image inpainting and user-guided extension demonstrate that our system generates higher-quality and more flexible results than previous methods. Our system helps user quickly remove distracting objects, modify image layouts, clear watermarks and edit faces. Code, demo and models are available at: https://github.com/JiahuiYu/generative_inpainting.
引用
收藏
页码:4470 / 4479
页数:10
相关论文
共 53 条
[1]  
[Anonymous], 2008, 2008 IEEE C COMPUTER
[2]  
[Anonymous], 2009, P 20 BRIT MACH VIS C
[3]  
[Anonymous], 2017, IEEE T PATTERN ANAL
[4]  
[Anonymous], 2017, ACM Trans. Graph
[5]  
[Anonymous], 2001, Schooling for Tomorrow
[6]  
[Anonymous], 2017, ACM T GRAPHIC, DOI DOI 10.1145/3072959.3073659
[7]  
[Anonymous], 2016, P 9 ISCA WORKSH SPEE
[8]  
[Anonymous], 2018, EUR C COMP VIS ECCV
[9]  
[Anonymous], 2018, PROC CVPR IEEE, DOI [DOI 10.1109/CVPR.2018.00745, DOI 10.1109/TPAMI.2019.2913372]
[10]   Filling-in by joint interpolation of vector fields and gray levels [J].
Ballester, C ;
Bertalmio, M ;
Caselles, V ;
Sapiro, G ;
Verdera, J .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2001, 10 (08) :1200-1211