PHNet: Patch-based Normalization for Portrait Harmonization

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Efremyan, Karen, Petrova, Elizaveta, Kaskov, Evgeny, Kapitanov, Alexander
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913522965807104
author Efremyan, Karen
Petrova, Elizaveta
Kaskov, Evgeny
Kapitanov, Alexander
author_facet Efremyan, Karen
Petrova, Elizaveta
Kaskov, Evgeny
Kapitanov, Alexander
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_17561
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PHNet: Patch-based Normalization for Portrait Harmonization
Efremyan, Karen
Petrova, Elizaveta
Kaskov, Evgeny
Kapitanov, Alexander
Computer Vision and Pattern Recognition
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.
title PHNet: Patch-based Normalization for Portrait Harmonization
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2402.17561