Videoshop: A new framework for spatio-temporal video editing in gradient domain

Hongcheng Wang, Ning Xu, Ramesh Raskar, Narendra Ahuja

Research output: Contribution to journalArticlepeer-review


This paper proposes a new framework for video editing in gradient domain. The spatio-temporal gradient fields of target videos are modified and/or mixed to generate a new gradient field which is usually not integrable. We compare two methods to solve this "mixed gradient problem", i.e., the variational method and loopy belief propagation. We propose a 3D video integration algorithm, which uses the variational method to find the potential function whose gradient field is closest to the mixed gradient field in the sense of least squares. The video is reconstructed by solving a 3D Poisson equation. The main contributions of our framework lie in three aspects: first, we derive a straightforward extension of current 2D gradient technique to 3D space, thus resulting in a novel video editing framework, which is very different from all current video editing software; secondly, we propose using a fast and accurate 3D discrete Poisson solver which uses diagonal multigrids to solve the 3D Poisson equation, which is up to twice as fast as a simple conventional multigrid algorithm; finally, we introduce a set of new applications, such as face replacement and painting, high dynamic range video compression and graphcut based video compositing. A set of gradient operators is also provided to the user for editing purposes. We evaluate our algorithm using a variety of examples for image/video or video/video pairs. The resulting video can be seamlessly reconstructed.

Original languageEnglish (US)
Pages (from-to)57-70
Number of pages14
JournalGraphical Models
Issue number1
StatePublished - Jan 2007


  • Gradient domain
  • Graphcut
  • Image processing
  • Poisson equation
  • Video editing

ASJC Scopus subject areas

  • Software
  • Modeling and Simulation
  • Geometry and Topology
  • Computer Graphics and Computer-Aided Design


Dive into the research topics of 'Videoshop: A new framework for spatio-temporal video editing in gradient domain'. Together they form a unique fingerprint.

Cite this