HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Region-aware Adaptive Instance Normalization for Image Harmonization

Jun Ling Han Xue Li Song Rong Xie Xiao Gu

Region-aware Adaptive Instance Normalization for Image Harmonization

Abstract

Image composition plays a common but important role in photo editing. To acquire photo-realistic composite images, one must adjust the appearance and visual style of the foreground to be compatible with the background. Existing deep learning methods for harmonizing composite images directly learn an image mapping network from the composite to the real one, without explicit exploration on visual style consistency between the background and the foreground images. To ensure the visual style consistency between the foreground and the background, in this paper, we treat image harmonization as a style transfer problem. In particular, we propose a simple yet effective Region-aware Adaptive Instance Normalization (RAIN) module, which explicitly formulates the visual style from the background and adaptively applies them to the foreground. With our settings, our RAIN module can be used as a drop-in module for existing image harmonization networks and is able to bring significant improvements. Extensive experiments on the existing image harmonization benchmark datasets show the superior capability of the proposed method. Code is available at {https://github.com/junleen/RainNet}.

Code Repositories

junleen/RainNet
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-harmonization-on-hadobe5k-1024-timesRainNet
MSE: 42.56
PSNR: 36.61
SSIM: 0.9844
fMSE: 305.17
image-harmonization-on-iharmony4RainNet
MSE: 40.29
PSNR: 36.12
fMSE: 469.60

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Region-aware Adaptive Instance Normalization for Image Harmonization | Papers | HyperAI