Image Inpainting by End-to-End Cascaded Refinement with Mask Awareness

04/28/2021
by   Manyu Zhu, et al.
3

Inpainting arbitrary missing regions is challenging because learning valid features for various masked regions is nontrivial. Though U-shaped encoder-decoder frameworks have been witnessed to be successful, most of them share a common drawback of mask unawareness in feature extraction because all convolution windows (or regions), including those with various shapes of missing pixels, are treated equally and filtered with fixed learned kernels. To this end, we propose our novel mask-aware inpainting solution. Firstly, a Mask-Aware Dynamic Filtering (MADF) module is designed to effectively learn multi-scale features for missing regions in the encoding phase. Specifically, filters for each convolution window are generated from features of the corresponding region of the mask. The second fold of mask awareness is achieved by adopting Point-wise Normalization (PN) in our decoding phase, considering that statistical natures of features at masked points differentiate from those of unmasked points. The proposed PN can tackle this issue by dynamically assigning point-wise scaling factor and bias. Lastly, our model is designed to be an end-to-end cascaded refinement one. Supervision information such as reconstruction loss, perceptual loss and total variation loss is incrementally leveraged to boost the inpainting results from coarse to fine. Effectiveness of the proposed framework is validated both quantitatively and qualitatively via extensive experiments on three public datasets including Places2, CelebA and Paris StreetView.

READ FULL TEXT

page 1

page 8

page 9

page 10

page 11

page 12

research
09/02/2020

Deep Generative Model for Image Inpainting with Local Binary Pattern Learning and Spatial Attention

Deep learning (DL) has demonstrated its powerful capabilities in the fie...
research
04/25/2021

Image Inpainting with Edge-guided Learnable Bidirectional Attention Maps

For image inpainting, the convolutional neural networks (CNN) in previou...
research
11/23/2019

Region Normalization for Image Inpainting

Feature Normalization (FN) is an important technique to help neural netw...
research
06/11/2020

An Edge Information and Mask Shrinking Based Image Inpainting Approach

In the image inpainting task, the ability to repair both high-frequency ...
research
03/15/2020

VCNet: A Robust Approach to Blind Image Inpainting

Blind inpainting is a task to automatically complete visual contents wit...
research
11/17/2018

On Hallucinating Context and Background Pixels from a Face Mask using Multi-scale GANs

We propose a multi-scale GAN model to hallucinate realistic context (for...
research
03/27/2023

Blind Inpainting with Object-aware Discrimination for Artificial Marker Removal

Medical images often contain artificial markers added by doctors, which ...

Please sign up or login with your details

Forgot password? Click here to reset