Image Harmonization with Transformer
Zonghui Guo, Dongsheng Guo, Haiyong Zheng, Zhaorui Gu, Bing Zheng, Junyu Dong
Abstract
Image harmonization, aiming to make composite images look more realistic, is an important and challenging task. The composite, synthesized by combining foreground from one image with background from another image, inevitably suffers from the issue of inharmonious appearance caused by distinct imaging conditions, i.e., lights. Current solutions mainly adopt an encoder-decoder architecture with convolutional neural network (CNN) to capture the context of composite images, trying to understand what it looks like in the surrounding background near the foreground. In this work, we seek to solve image harmonization with Transformer, by leveraging its powerful ability of modeling long-range context dependencies, for adjusting foreground light to make it compatible with background light while keeping structure and semantics unchanged. We present the design of our harmonization Transformer frameworks without and with disentanglement, as well as comprehensive experiments and ablation study, demonstrating the power of Transformer and investigating the Transformer for vision. Our method achieves state-of-the-art performance on both image harmonization and image inpainting/enhancement, indicating its superiority. Our code and models are available at https://github.com/zhenglab/HarmonyTransformer.
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 cefb168c-6d32-484b-8d18-316b4552f4e8Cited by top-tier papers30
- High-Resolution Image Harmonization via Collaborative Dual TransformationsWenyan Cong, Xinhao Tao, Li Niu, Jing Liang et al.CVPR 2022 · 86 citations
- SCS-Co: Self-Consistent Style Contrastive Learning for Image HarmonizationYucheng Hang, Bin Xia, Wenming Yang, Qingmin LiaoCVPR 2022 · 49 citations
- Hierarchical Dynamic Image HarmonizationHaoxing Chen, Zhangxuan Gu, Yaohui Li, Jun Lan et al.ACM MM 2023 · 24 citations
- Deep Image Harmonization in Dual Color SpacesLinfeng Tan, Jiangtong Li, Li Niu, Liqing ZhangACM MM 2023 · 21 citations
- Painterly Image Harmonization using Diffusion ModelLingxiao Lu, Jiangtong Li, Junyan Cao, Li Niu et al.ACM MM 2023 · 19 citations
Builds on10
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
- Generative Pretraining From PixelsMark Chen, Alec Radford, Rewon Child, Jeffrey Wu et al.ICML 2020 · 1,773 citations
- DeepLPF: Deep Local Parametric Filters for Image EnhancementSean Moran, Pierre Marza, Steven McDonagh, Sarah Parisot et al.CVPR 2020
Related papers
- Intrinsic Image HarmonizationZonghui Guo, Haiyong Zheng, Yufeng Jiang, Zhaorui Gu et al.CVPR 2021
- Deep Image Harmonization with Globally Guided Feature Transformation and Relation DistillationLi Niu, Linfeng Tan, Xinhao Tao, Junyan Cao et al.ICCV 2023 · 14 citations
- Video Harmonization with Triplet Spatio-Temporal Variation PatternsZonghui Guo, Xinyu Han, Jie Zhang, Shiguang Shan et al.CVPR 2024
- DoveNet: Deep Image Harmonization via Domain VerificationWenyan Cong, Jianfu Zhang, Li Niu, Liu Liu et al.CVPR 2020
- Learning Global-aware Kernel for Image HarmonizationXintian Shen, Jiangning Zhang, Jun Chen, Shipeng Bai et al.ICCV 2023 · 14 citations
