PHNet: Patch-based Normalization for Portrait Harmonization

27 Feb 2024  ·  Karen Efremyan, Elizaveta Petrova, Evgeny Kaskov, Alexander Kapitanov ·

A common problem for composite images is the incompatibility of their foreground and background components. Image harmonization aims to solve this problem, making the whole image look more authentic and coherent. Most existing solutions predict lookup tables (LUTs) or reconstruct images, utilizing various attributes of composite images. Recent approaches have primarily focused on employing global transformations like normalization and color curve rendering to achieve visual consistency, and they often overlook the importance of local visual coherence. We present a patch-based harmonization network consisting of novel Patch-based normalization (PN) blocks and a feature extractor based on statistical color transfer. Extensive experiments demonstrate the network's high generalization capability for different domains. Our network achieves state-of-the-art results on the iHarmony4 dataset. Also, we created a new human portrait harmonization dataset based on FFHQ and checked the proposed method to show the generalization ability by achieving the best metrics on it. The benchmark experiments confirm that the suggested patch-based normalization block and feature extractor effectively improve the network's capability to harmonize portraits. Our code and model baselines are publicly available.

PDF Abstract

Datasets


Introduced in the Paper:

FFHQH

Used in the Paper:

FFHQ iHarmony4

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Image Harmonization FFHQH PHNet PSNR 36.44 # 1
MSE 16.27 # 1
Image Harmonization iHarmony4 PHNet MSE 16.05 # 1
PSNR 38.54 # 6
fMSE 178.11 # 14

Methods


No methods listed for this paper. Add relevant methods here