Diverse Image Harmonization
Xinhao Tao, Tianyuan Qiu, Junyan Cao, Li Niu
TL;DR
This work tackles the inherent uncertainty in image harmonization arising from unknown foreground reflectance by introducing a reflectance-guided harmonization framework and a Diverse Reflectance Generation Network. When the original foreground image is available, ground-truth foreground reflectance $A_{gt}$ extracted via Retinex-based decomposition informs the harmonization, yielding results closer to ground-truth. When $A_{gt}$ is unavailable, a two-branch network learns a distribution of plausible foreground reflectances $A_{pre}$, enabling multiple harmonious outcomes; an unsupervised branch with adversarial training promotes realistic reflectances. Evaluations on iHarmony4 and RealHM demonstrate improved fidelity with $A_{gt}$ guidance and show that diverse $A_{pre}$ lead to multiple plausible harmonizations, validated by ablations of network components and losses.
Abstract
Image harmonization aims to adjust the foreground illumination in a composite image to make it harmonious. The existing harmonization methods can only produce one deterministic result for a composite image, ignoring that a composite image could have multiple plausible harmonization results due to multiple plausible reflectances. In this work, we first propose a reflectance-guided harmonization network, which can achieve better performance with the guidance of ground-truth foreground reflectance. Then, we also design a diverse reflectance generation network to predict multiple plausible foreground reflectances, leading to multiple plausible harmonization results. The extensive experiments on the benchmark datasets demonstrate the effectiveness of our method.
