Learning Image Harmonization in the Linear Color Space
Ke Xu, Gerhard Petrus Hancke, Rynson W. H. Lau
Abstract
Harmonizing cut-and-paste images into perceptually realistic ones is challenging, as it requires a full understanding of the discrepancies between the background of the target image and the inserted object. Existing methods mainly adjust the appearances of the inserted object via pixel-level manipulations. They are not effective in correcting color discrepancy caused by different scene illuminations and the image formation processes. We note that image colors are essentially camera ISP projection of the scene radiance. If we can trace the image colors back to the radiance field, we may be able to model the scene illumination and harmonize the discrepancy better. In this paper, we propose a novel neural approach to harmonize the image colors in a camera-independent color space, in which color values are proportional to the scene radiance. To this end, we propose a novel image unprocessing module to estimate an intermediate high dynamic range version of the object to be inserted. We then propose a novel color harmonization module that harmonizes the colors of the inserted object by querying the estimated scene radiance and re-rendering the harmonized object in the output color space. Extensive experiments demonstrate that our method outperforms the state-of-the-art approaches.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c41e9a8a-2e52-4bd9-85ca-e3571e1246a2Cited by top-tier papers4
- Recasting Regional Lighting for Shadow RemovalYuhao Liu, Zhanghan Ke, Ke Xu, Fang Liu et al.AAAI 2024 · 30 citations
- High-Resolution Image Harmonization with Adaptive-Interval Color TransformationQuanling Meng, Qinglin Liu, Zonglin Li, Xiangyuan Lan et al.NeurIPS 2024 · 16 citations
- DiffusionHarmonizer: Bridging Neural Reconstruction and Photorealistic Simulation with Online Diffusion EnhancerYuxuan Zhang, Katarína Tóthová, Zian Wang, Kangxue Yin et al.CVPR 2026 · 10 citations
- Shadow Generation Using Diffusion Model with Geometry PriorHaonan Zhao, Qingyang Liu, Xinhao Tao, Li Niu et al.CVPR 2025
Builds on22
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
- Toward Fast, Flexible, and Robust Low-Light Image EnhancementLong Ma, Tengyu Ma, Risheng Liu, Xin Fan et al.CVPR 2022 · 928 citations
Related papers
- Image Harmonization with TransformerZonghui Guo, Dongsheng Guo, Haiyong Zheng, Zhaorui Gu et al.ICCV 2021 · 95 citations
- Intrinsic Image HarmonizationZonghui Guo, Haiyong Zheng, Yufeng Jiang, Zhaorui Gu et al.CVPR 2021
- Region-Aware Adaptive Instance Normalization for Image HarmonizationJun Ling, Han Xue, Li Song, Rong Xie et al.CVPR 2021
- Neural Relightable Participating Media RenderingQuan Zheng, Gurprit Singh, Hans-Peter SeidelNeurIPS 2021 · 23 citations
- Generalizing ISP Model by Unsupervised Raw-to-raw MappingDongyu Xie, Chaofan Qiao, Lanyue Liang, Zhiwen Wang et al.ACM MM 2024 · 5 citations
