3D Ken Burns effect from a single image

Simon Niklaus, Long Mai, Jimei Yang, Feng Liu

Abstract

This paper presents a framework for synthesizing the "3D Ken Burns effect"—adding realistic parallax and depth to a single still image. By combining a semantic-aware depth estimation pipeline with a context-aware inpainting strategy, the authors enable the creation of professional-quality cinemagraphs that were previously only possible through tedious manual labor or multiple input views.

Introduction

The traditional Ken Burns effect involves panning and zooming across a 2D still image. While effective, it lacks parallax—the way near objects move faster than distant ones—making the result feel "flat." Creating a 3D Ken Burns effect from a single photo is notoriously difficult because it requires accurate depth estimation and the ability to handle disocclusions—revealing parts of the background that were hidden behind foreground objects when the camera moves.

The 3D Ken Burns effect pipeline: from input image and cropping windows to the final synthesized video clip with realistic parallax.

Methodology

The authors address these challenges by splitting the problem into two main pipelines: Semantic-Aware Depth Prediction and View Synthesis.

Semantic-Aware Depth Prediction

To avoid geometric distortions and semantic errors common in monocular depth estimation, the system uses a three-step process:

  • Coarse Estimation: A GridNet architecture uses VGG-19 features to understand high-level scene semantics.
  • Semantic Adjustment: Using Mask R-CNN, the system identifies salient objects (like people) and ensures they are mapped to a coherent, consistent depth plane.
  • Refinement: A U-Net-based refinement module upsamples the depth map to 1024px, sharpening object boundaries to prevent artifacts.

View Synthesis and Inpainting

Instead of inpainting every frame, which causes temporal flickering, the authors use a "point cloud extension" strategy. The image is projected into a 3D point cloud, and context-aware color and depth inpainting are performed only at the "extreme views" (the start and end of the camera path).

Detail of the cropping windows used to define the camera path, allowing for both automatic and user-specified animations.

These new points are added back into the global point cloud, allowing any intermediate frame to be rendered smoothly and consistently in real-time.

Evaluation and Results

The system was trained on a new synthetic dataset created using Unreal Engine 4 (UE4), consisting of over 134,000 photo-realistic scenes with perfect ground-truth depth. Benchmarks on the iBims-1 and NYU v2 datasets show state-of-the-art results in boundary preservation and planarity.

In subjective studies, users overwhelmingly preferred the 3D Ken Burns effect over the 2D version. The results were rated as being on-par with those created by professional artists, while significantly reducing the time and expertise required for production.

Conclusion

By integrating semantic information with geometric reconstruction and employing a point-cloud-based inpainting strategy, this framework provides a versatile tool for both casual users and professional editors. Future work will address limitations regarding highly reflective surfaces and very thin structures to further improve the realism of the synthesized scenes.

Summary updated

BibTeX
@article{niklaus2019d,
  author = {Simon Niklaus and Long Mai and Jimei Yang and Feng Liu},
  title = {{3D Ken Burns effect from a single image}},
  journal = {ACM Trans. Graphics},
  year = {2019},
  doi = {10.1145/3355089.3356528},
}
Figure