Lune

AAAI2020Top-tier venue

Region Normalization for Image Inpainting

Tao Yu, Zongyu Guo, Xin Jin, Shilin Wu, Zhibo Chen, Weiping Li, Zhizheng Zhang, Sen Liu

Abstract

Feature Normalization (FN) is an important technique to help neural network training, which typically normalizes features across spatial dimensions. Most previous image inpainting methods apply FN in their networks without considering the impact of the corrupted regions of the input image on normalization, e.g. mean and variance shifts. In this work, we show that the mean and variance shifts caused by full-spatial FN limit the image inpainting network training and we propose a spatial region-wise normalization named Region Normalization (RN) to overcome the limitation. RN divides spatial pixels into different regions according to the input mask, and computes the mean and variance in each region for normalization. We develop two kinds of RN for our image inpainting network: (1) Basic RN (RN-B), which normalizes pixels from the corrupted and uncorrupted regions separately based on the original inpainting mask to solve the mean and variance shift problem; (2) Learnable RN (RN-L), which automatically detects potentially corrupted and uncorrupted regions for separate normalization, and performs global affine transformation to enhance their fusion. We apply RN-B in the early layers and RN-L in the latter layers of the network respectively. Experiments show that our method outperforms current state-ofthe-art methods quantitatively and qualitatively. We further generalize RN to other inpainting networks and achieve consistent performance improvements. Our code is available at https://github.com/geekyutao/RN .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

18 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Continuously Masked Transformer for Image Inpainting cites Large Scale Image Completion via Co-Modulated Generative Adversarial Networks
  • Continuously Masked Transformer for Image Inpainting cites Free-Form Image Inpainting With Gated Convolution
  • CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate Querying cites Free-Form Image Inpainting With Gated Convolution
  • Large Scale Image Completion via Co-Modulated Generative Adversarial Networks cites Free-Form Image Inpainting With Gated Convolution
  • SketchEdit: Mask-Free Local Image Manipulation with Partial Sketches cites Free-Form Image Inpainting With Gated Convolution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers18

  1. Large Scale Image Completion via Co-Modulated Generative Adversarial NetworksShengyu Zhao, Jonathan Cui, Yilun Sheng, Yue Dong et al.ICLR 2021 · 348 citations
  2. CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate QueryingWeihuang Liu, Xiaodong Cun, Chi-Man Pun, Menghan Xia et al.AAAI 2023 · 71 citations
  3. Continuously Masked Transformer for Image InpaintingKeunsoo Ko, Chang-Su KimICCV 2023 · 54 citations
  4. Learning Omni-Frequency Region-adaptive Representations for Real Image Super-ResolutionXin Li, Xin Jin, Tao Yu, Simeng Sun et al.AAAI 2021 · 50 citations
  5. SketchEdit: Mask-Free Local Image Manipulation with Partial SketchesYu Zeng, Zhe Lin, Vishal M. PatelCVPR 2022 · 50 citations

Builds on1

  1. Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen et al.ICCV 2019 · 1,990 citations

Related papers

  1. Localization of Deep Inpainting Using High-Pass Fully Convolutional NetworkHaodong Li, Jiwu HuangICCV 2019 · 157 citations
  2. Attentive Normalization for Conditional Image GenerationYi Wang, Ying-Cong Chen, Xiangyu Zhang, Jian Sun et al.CVPR 2020
  3. Translate the Facial Regions You Like Using Self-Adaptive Region TranslationWenshuang Liu, Wenting Chen, Zhanjia Yang, Linlin ShenAAAI 2021 · 9 citations
  4. Analyzing the Training Dynamics of Image Restoration Transformers: A Revisit to Layer NormalizationMinKyu Lee, Sangeek Hyun, Woojin Jun, Hyunjun Kim et al.ICLR 2026
  5. WaveFill: A Wavelet-based Generation Network for Image InpaintingYingchen Yu, Fangneng Zhan, Shijian Lu, Jianxiong Pan et al.ICCV 2021 · 133 citations
Dusk over the sea between two cliffs drawn in fine vertical lines