A Photogrammetry-based Framework to Facilitate Image-based Modeling and Automatic Camera Tracking

Sebastian Bullinger, Christoph Bodensteiner, Michael Arens

This paper presents an open-source bridge between the world of high-end photogrammetry and the creative suite of Blender. By integrating state-of-the-art Structure from Motion (SfM) and Multi-View Stereo (MVS) pipelines directly into a 3D modeling environment, the authors automate the tedious process of camera tracking and scene reconstruction for artists and researchers alike.

TL;DR

The authors introduce an open-source Blender extension that integrates multiple professional photogrammetry pipelines (like Colmap and Meshroom) directly into the Blender ecosystem. This allows for automatic camera tracking, dense 3D scene reconstruction from photos, and sophisticated visualization of point clouds within a familiar modeling environment.

What Problem Does This Paper Address?

In the world of visual effects (VFX) and 3D modeling, "matching" a virtual scene to real-world footage is a notoriously manual and time-consuming task. While photogrammetry—the science of making measurements from photographs—has advanced rapidly, a "usability gap" remains.

Most professional photogrammetry tools are standalone libraries that output raw data (like point clouds) but lack the intuitive editing and rendering tools found in software like Blender. Conversely, while Blender has some built-in tracking tools, they often require significant manual intervention and lack the ability to generate the dense, high-fidelity scene models that modern Multi-View Stereo (MVS) techniques can provide. This framework acts as the missing link, allowing users to leverage powerful external reconstruction algorithms without leaving their primary creative environment.

Methods

The core of the work is a modular framework designed to be "pipeline agnostic." Instead of building a new reconstruction algorithm, the authors built a sophisticated importer and visualizer that supports several industry-standard open-source pipelines:

  • Supported Pipelines: Colmap, Meshroom (AliceVision), MVE, OpenMVG/OpenMVS, Regard3D, and VisualSfM.
  • Unified Camera Representation: Different SfM libraries use different mathematical models for cameras. The framework converts these various formats into a unified representation that maps directly to Blender’s native camera objects, including intrinsic parameters like focal length and principal points.
  • Dual-Mode Point Cloud Visualization: To handle the massive amount of data generated by MVS, the framework offers two paths:
  • Particle System: Represents 3D points as Blender particles, allowing them to be rendered and post-processed using Blender’s node-based shading system.
  • OpenGL Visualization: A high-performance drawing mode that allows users to inspect millions of points in the viewport without the overhead of the standard particle system.
  • Automated Animation: The framework can take the static camera poses calculated from a set of photos and use Blender’s "f-curves" (interpolation curves) to create a smooth, animated camera path, effectively turning a photo set into a cinematic camera move.

Datasets

The authors primarily demonstrate their framework using the Sceaux Castle dataset (Moulon, 2012), a standard benchmark in the photogrammetry community. They also note that the system is compatible with:

  • RGB-D Data: Camera poses and structures captured with depth sensors (e.g., via Open3D).
  • Laser Scanning: Common data formats for high-precision LIDAR scans.

Key Insights and Ideas

  • Blender as an Inspection Tool: One of the most interesting "aha" moments is the realization that Blender’s rendering engine makes it a superior tool for inspecting photogrammetry results compared to dedicated tools like Meshlab. By overlaying source images as "background images" for reconstructed cameras, users can instantly see if a 3D point cloud aligns perfectly with the original 2D pixels.
  • The Power of Modularity: By using a "file handler" and "import operator" design pattern, the framework is easily extensible. As new SfM or MVS algorithms are released, they can be added to the framework with minimal code changes.
  • Visualizing Depth Maps: The framework allows for the visualization of depth maps as triangulated points. This is a powerful diagnostic tool for researchers to assess the consistency of their reconstruction algorithms against visual cues in the source images.

Key Results

  • Seamless Integration: The authors successfully demonstrated the import of geometry, textures, and camera calibrations from six different major pipelines.
  • VFX Workflow Acceleration: The ability to automatically generate animated camera trajectories from unordered photo sets significantly reduces the manual labor required for matchmoving in VFX.
  • Community Adoption: While the paper is academic, the authors highlight that the framework is publicly available as an open-source package and has already seen adoption by the digital artist community, as evidenced by download statistics.

Limitations and Future Work

  • Computational Dependency: The framework itself does not perform the reconstruction; it relies on the user having the external SfM/MVS libraries installed and configured. The "heavy lifting" still happens outside of Blender.
  • Performance Bottlenecks: While the OpenGL visualization helps, extremely large datasets (tens of millions of points) can still challenge Blender’s viewport performance.
  • Future Directions: The authors suggest that the modular design will allow for future integration of emerging techniques, such as neural radiance fields (NeRFs) or more advanced automated texturing libraries, further blurring the line between photography and 3D modeling.

Summary updated

Abstract

We propose a framework that extends Blender to exploit Structure from Motion (SfM) and Multi-View Stereo (MVS) techniques for image-based modeling tasks such as sculpting or camera and motion tracking. Applying SfM allows us to determine camera motions without manually defining feature tracks or calibrating the cameras used to capture the image data. With MVS we are able to automatically compute dense scene models, which is not feasible with the built-in tools of Blender. Currently, our framework supports several state-of-the-art SfM and MVS pipelines. The modular system design enables us to integrate further approaches without additional effort. The framework is publicly available as an open source software package.
BibTeX
@inproceedings{bullinger2021photogrammetry,
  author = {Sebastian Bullinger and Christoph Bodensteiner and Michael Arens},
  title = {{A Photogrammetry-based Framework to Facilitate Image-based Modeling and Automatic Camera Tracking}},
  booktitle = {VISIGRAPP (1: GRAPP)},
  year = {2021},
  url = {https://openreview.net/forum?id=xSDRIHF2jvX},
}

Loading related content...

Figure