Deep Image Harmonization
About
Compositing is one of the most common operations in photo editing. To generate realistic composites, the appearances of foreground and background need to be adjusted to make them compatible. Previous approaches to harmonize composites have focused on learning statistical relationships between hand-crafted appearance features of the foreground and background, which is unreliable especially when the contents in the two layers are vastly different. In this work, we propose an end-to-end deep convolutional neural network for image harmonization, which can capture both the context and semantic information of the composite images during harmonization. We also introduce an efficient way to collect large-scale and high-quality training data that can facilitate the training process. Experiments on the synthesized dataset and real composite images show that the proposed network outperforms previous state-of-the-art methods.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Harmonization | iHarmony4 HFlickr | MSE163.4 | 58 | |
| Image Harmonization | iHarmony4 (all) | MSE76.77 | 53 | |
| Image Harmonization | iHarmony4 Hday2night | MSE82.34 | 51 | |
| Image Harmonization | iHarmony4 HAdobe5k | MSE92.65 | 43 | |
| Image Harmonization | iHarmony4 HCOCO | MSE51.85 | 38 | |
| Image Harmonization | HAdobe5k iHarmony4 (test) | MSE92.7 | 37 | |
| Image Harmonization | iHarmony4 | MSE76.77 | 27 | |
| Image Harmonization | S-Adobe5K (test) | MSE92.65 | 25 | |
| Image Harmonization | iHarmony4 HCOCO | MSE51.85 | 20 | |
| Image Harmonization | 99 real composite images (test) | B-T Score0.948 | 12 |