mlsanityData to 14 Oct 2026

Image Harmonization with Region-wise Contrastive Learning

arXiv 2205.14058 ↗First posted 27 May 2022cs.CVcited by 1

Not on the map. Why?

Abstract (arXiv)

Image harmonization task aims at harmonizing different composite foreground regions according to specific background image. Previous methods would rather focus on improving the reconstruction ability of the generator by some internal enhancements such as attention, adaptive normalization and light adjustment, etc.. However, they pay less attention to discriminating the foreground and background appearance features within a restricted generator, which becomes a new challenge in image harmonization task. In this paper, we propose a novel image harmonization framework with external style fusion and region-wise contrastive learning scheme. For the external style fusion, we leverage the external background appearance from the encoder as the style reference to generate harmonized foreground in the decoder. This approach enhances the harmonization ability of the decoder by external background guidance. Moreover, for the contrastive learning scheme, we design a region-wise contrastive loss function for image harmonization task. Specifically, we first introduce a straight-forward samples generation method that selects negative samples from the output harmonized foreground region and selects positive samples from the ground-truth background region. Our method attempts to bring together corresponding positive and negative samples by maximizing the mutual information between the foreground and background styles, which desirably makes our harmonization network more robust to discriminate the foreground and background style features when harmonizing composite images. Extensive experiments on the benchmark datasets show that our method can achieve a clear improvement in harmonization quality and demonstrate the good generalization capability in real-scenario applications.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 36 of its 56 references that are in the map. First posted on arXiv 27 May 2022.

Builds on

36 of 56 references.

References · 36

  1. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,513
  5. 2020Bootstrap your own latent: A new approach to self-supervised Learningcited by 4,750
  6. 2017Arbitrary Style Transfer in Real-time with Adaptive Instance Normalizationcited by 2,010
  7. 2017Decoupled Weight Decay Regularizationcited by 1,831
  8. 2019Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?cited by 675
  9. 2019Data-Efficient Image Recognition with Contrastive Predictive Codingcited by 673
  10. 2020Contrastive Learning for Unpaired Image-to-Image Translationcited by 639
  11. 2021Designing an Encoder for StyleGAN Image Manipulationcited by 544
  12. 2020In-Domain GAN Inversion for Real Image Editingcited by 420
24 more
  1. 2018Video-to-Video Synthesiscited by 390
  2. 2014Discriminative Unsupervised Feature Learning with Exemplar Convolutional Neural Networkscited by 300
  3. 2021Generalizing Face Forgery Detection with High-frequency Featurescited by 262
  4. 2021Contrastive Learning for Compact Single Image Dehazingcited by 219
  5. 2017Deep Bilateral Learning for Real-Time Image Enhancementcited by 200
  6. 2021High-Fidelity GAN Inversion for Image Attribute Editingcited by 197
  7. 2018Learning Rich Features for Image Manipulation Detectioncited by 154
  8. 2019DoveNet: Deep Image Harmonization via Domain Verificationcited by 135
  9. 2017Deep Image Harmonizationcited by 120
  10. 2019Improving the Harmony of the Composite Image by Spatial-Separated Attention Modulecited by 73
  11. 2021Region-aware Adaptive Instance Normalization for Image Harmonizationcited by 71
  12. 2021Dual Contrastive Learning for Unsupervised Image-to-Image Translationcited by 66
  13. 2021SSH: A Self-Supervised Framework for Image Harmonizationcited by 60
  14. 2021SemanticStyleGAN: Learning Compositional Generative Priors for Controllable Image Synthesis and Editingcited by 58
  15. 2020Foreground-aware Semantic Representations for Image Harmonizationcited by 53
  16. 2015Learning a Discriminative Model for the Perception of Realism in Composite Imagescited by 52
  17. 2020BargainNet: Background-Guided Domain Translation for Image Harmonizationcited by 52
  18. 2021Contrastive Context-Aware Learning for 3D High-Fidelity Mask Face Presentation Attack Detectioncited by 43
  19. 2021A Practical Contrastive Learning Framework for Single-Image Super-Resolutioncited by 30
  20. 2021Spatial-Separated Curve Rendering Network for Efficient and High-Resolution Image Harmonizationcited by 25
  21. 2021Self-Adversarial Training incorporating Forgery Attention for Image Forgery Localizationcited by 24
  22. 2020Split then Refine: Stacked Attention-guided ResUNets for Blind Single Image Visible Watermark Removalcited by 20
  23. 2019Blind Visual Motif Removal from a Single Imagecited by 18
  24. 2019Inserting Videos into Videoscited by 7

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.