Lune

CVPR2024Top-tier venue

Video Harmonization with Triplet Spatio-Temporal Variation Patterns

Zonghui Guo, Xinyu Han, Jie Zhang, Shiguang Shan, Haiyong Zheng

Abstract

Video harmonization is an important and challenging task that aims to obtain visually realistic composite videos by automatically adjusting the foreground's appearance to harmonize with the background. Inspired by the short-term and long-term gradual adjustment process of manual harmonization, we present a Video Triplet Transformer framework to model three spatio-temporal variation patterns within videos, i.e., short-term spatial as well as long-term global and dynamic, for video-to-video tasks like video harmonization. Specifically, for short-term harmonization, we adjust foreground appearance to consist with background in spatial dimension based on the neighbor frames; for long-term harmonization, we not only explore global appearance variations to enhance temporal consistency but also alleviate motion offset constraints to align similar contextual appearances dynamically. Extensive experiments and ablation studies demonstrate the effectiveness of our method, achieving state-of-the-art performance in video harmonization, video enhancement, and video demoiréing tasks. We also propose a temporal consistency metric to better evaluate the harmonized videos. Code is available at https://github.com/zhenglab/VideoTripletTransformer .

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Face Forgery Video Detection via Temporal Forgery Cue Unraveling cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Face Forgery Video Detection via Temporal Forgery Cue Unraveling cites SlowFast Networks for Video Recognition
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • DiffusionHarmonizer: Bridging Neural Reconstruction and Photorealistic Simulation with Online Diffusion Enhancer cites GenCompositor: Generative Video Compositing with Diffusion Transformer
  • Video Swin Transformer cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Video Swin Transformer cites SlowFast Networks for Video Recognition
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. 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
  2. GenCompositor: Generative Video Compositing with Diffusion TransformerShuzhou Yang, Xiaoyu Li, Xiaodong Cun, Guangzhi Wang et al.ICLR 2026 · 10 citations
  3. Face Forgery Video Detection via Temporal Forgery Cue UnravelingZonghui Guo, Yingjie Liu, Jie Zhang, Haiyong Zheng et al.CVPR 2025

Builds on20

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations
  3. SlowFast Networks for Video RecognitionChristoph Feichtenhofer, Haoqi Fan, Jitendra Malik, Kaiming HeICCV 2019 · 4,104 citations
  4. Video Swin TransformerZe Liu, Jia Ning, Yue Cao, Yixuan Wei et al.CVPR 2022 · 1,847 citations
  5. Generative Pretraining From PixelsMark Chen, Alec Radford, Rewon Child, Jeffrey Wu et al.ICML 2020 · 1,773 citations

Related papers

  1. Image Harmonization with TransformerZonghui Guo, Dongsheng Guo, Haiyong Zheng, Zhaorui Gu et al.ICCV 2021 · 95 citations
  2. Relightful Video Portrait HarmonizationJun Myeong Choi, Jae Shin Yoon, Luchao Qi, Roni Sengupta et al.CVPR 2026
  3. Video Frame Interpolation TransformerZhihao Shi, Xiangyu Xu, Xiaohong Liu, Jun Chen et al.CVPR 2022 · 117 citations
  4. Decouple and Track: Benchmarking and Improving Video Diffusion Transformers for Motion TransferQingyu Shi, Jianzong Wu, Jinbin Bai, Jiangning Zhang et al.ICCV 2025 · 1 citation
  5. Learning Global-aware Kernel for Image HarmonizationXintian Shen, Jiangning Zhang, Jun Chen, Shipeng Bai et al.ICCV 2023 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines