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/Harmonizer: Learning to Perform White-Box Image and Video ...

Harmonizer: Learning to Perform White-Box Image and Video Harmonization

Zhanghan Ke, Chunyi Sun, Lei Zhu, Ke Xu, Rynson W. H. Lau

2022-07-04Video HarmonizationImage Harmonization
PaperPDFCode(official)

Abstract

Recent works on image harmonization solve the problem as a pixel-wise image translation task via large autoencoders. They have unsatisfactory performances and slow inference speeds when dealing with high-resolution images. In this work, we observe that adjusting the input arguments of basic image filters, e.g., brightness and contrast, is sufficient for humans to produce realistic images from the composite ones. Hence, we frame image harmonization as an image-level regression problem to learn the arguments of the filters that humans use for the task. We present a Harmonizer framework for image harmonization. Unlike prior methods that are based on black-box autoencoders, Harmonizer contains a neural network for filter argument prediction and several white-box filters (based on the predicted arguments) for image harmonization. We also introduce a cascade regressor and a dynamic loss strategy for Harmonizer to learn filter arguments more stably and precisely. Since our network only outputs image-level arguments and the filters we used are efficient, Harmonizer is much lighter and faster than existing methods. Comprehensive experiments demonstrate that Harmonizer surpasses existing methods notably, especially with high-resolution inputs. Finally, we apply Harmonizer to video harmonization, which achieves consistent results across frames and 56 fps at 1080P resolution. Code and models are available at: https://github.com/ZHKKKe/Harmonizer.

Results

TaskDatasetMetricValueModel
Image GenerationiHarmony4MSE24.26Harmonizer
Image GenerationiHarmony4PSNR37.84Harmonizer
Image GenerationiHarmony4fMSE339.23Harmonizer

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