TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/PHNet: Patch-based Normalization for Portrait Harmonization

PHNet: Patch-based Normalization for Portrait Harmonization

Karen Efremyan, Elizaveta Petrova, Evgeny Kaskov, Alexander Kapitanov

2024-02-27Image Harmonization
PaperPDF

Abstract

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.

Results

TaskDatasetMetricValueModel
Image GenerationiHarmony4MSE16.05PHNet
Image GenerationiHarmony4PSNR38.54PHNet
Image GenerationiHarmony4fMSE178.11PHNet
Image GenerationFFHQHMSE16.27PHNet
Image GenerationFFHQHPSNR36.44PHNet

Related Papers

Gen-n-Val: Agentic Image Data Generation and Validation2025-06-05DISARM++: Beyond scanner-free harmonization2025-05-06Efficient and robust 3D blind harmonization for large domain gaps2025-04-30Learning to Harmonize Cross-vendor X-ray Images by Non-linear Image Dynamics Correction2025-04-14SceneBooth: Diffusion-based Framework for Subject-preserved Text-to-Image Generation2025-01-07HarmonyIQA: Pioneering Benchmark and Model for Image Harmonization Quality Assessment2025-01-02Retrieval Augmented Image Harmonization2024-12-18Image Harmonization using Robust Restricted CDF Matching2024-11-20