@inproceedings{
zhou2024diffharmony,
title={DiffHarmony++: Enhancing Image Harmonization with Harmony-{VAE} and Inverse Harmonization Model},
author={Pengfei Zhou and Fangxiang Feng and Guang Liu and Ruifan Li and Xiaojie Wang},
booktitle={ACM Multimedia 2024},
year={2024},
url={https://openreview.net/forum?id=FRUgSgnASr}
}
Latent diffusion model has demonstrated impressive efficacy in image generation and editing tasks. Recently, it has also promoted the advancement of image harmonization. However, methods involving latent diffusion model all face a common challenge: the severe image distortion introduced by the VAE component, while image harmonization is a low-level image processing task that relies on pixel-level evaluation metrics. In this paper, we propose Harmony-VAE, leveraging the input of the harmonization task itself to enhance the quality of decoded images. The input involving composite image contains the precise pixel level information, which can complement the correct foreground appearance and color information contained in denoised latents. Meanwhile, the inherent generative nature of diffusion models makes it naturally adapt to inverse image harmonization, i.e. generating synthetic composite images based on real images and foreground masks. We train an inverse harmonization diffusion model to perform data augmentation on two subsets of iHarmony4 and construct a new human harmonization dataset with prominent foreground objects. Extensive experiments demonstrate the effectiveness of our proposed Harmony-VAE and inverse harmonization model.  The code, pretrained models and the new dataset will be made publicly available.
DiffHarmony++: Enhancing Image Harmonization with Harmony-VAE and Inverse Harmonization Model
Pengfei Zhou Fangxiang Feng Guang Liu Ruifan Li Xiaojie Wang