HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

PHNet: Patch-based Normalization for Portrait Harmonization

Efremyan Karen ; Petrova Elizaveta ; Kaskov Evgeny ; Kapitanov Alexander

Abstract

A common problem for composite images is the incompatibility of theirforeground and background components. Image harmonization aims to solve thisproblem, making the whole image look more authentic and coherent. Most existingsolutions predict lookup tables (LUTs) or reconstruct images, utilizing variousattributes of composite images. Recent approaches have primarily focused onemploying global transformations like normalization and color curve renderingto achieve visual consistency, and they often overlook the importance of localvisual coherence. We present a patch-based harmonization network consisting ofnovel Patch-based normalization (PN) blocks and a feature extractor based onstatistical color transfer. Extensive experiments demonstrate the network'shigh generalization capability for different domains. Our network achievesstate-of-the-art results on the iHarmony4 dataset. Also, we created a new humanportrait harmonization dataset based on FFHQ and checked the proposed method toshow the generalization ability by achieving the best metrics on it. Thebenchmark experiments confirm that the suggested patch-based normalizationblock and feature extractor effectively improve the network's capability toharmonize portraits. Our code and model baselines are publicly available.

Benchmarks

BenchmarkMethodologyMetrics
image-harmonization-on-ffhqhPHNet
MSE: 16.27
PSNR: 36.44
image-harmonization-on-iharmony4PHNet
MSE: 16.05
PSNR: 38.54
fMSE: 178.11

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
PHNet: Patch-based Normalization for Portrait Harmonization | Papers | HyperAI