Line drawing interpretation in a multi-view context

Jean-Dominique Favreau, Florent Lafarge, Adrien BousseauCVPR 2015

Abstract

Recovering 3D geometry from a single 2D line drawing is a fundamentally ill-posed problem. This paper presents a novel approach that leverages the multi-view context of a real-world scene to disambiguate the 3D structure of a sketch. By identifying dominant orientations in the surrounding environment, the proposed algorithm can interpret sketches traced over photographs, enabling the creation of new 3D objects that are geometrically consistent with their real-world surroundings.

Introduction

A classic challenge in computer vision is the reconstruction of 3D objects from 2D line drawings. Because infinitely many 3D shapes can project onto the same 2D lines, researchers typically rely on "regularity cues" such as symmetry or the "Manhattan world" assumption (90-degree angles). However, these assumptions are often too restrictive for creative architectural or design tasks.

This paper addresses the specific scenario of modeling in context, where a user sketches a new structure directly onto a photograph of an existing environment. The core insight is that the 3D information already present in the photograph's scene can serve as a powerful regularizer for interpreting the sketch.

Methodology

The proposed pipeline transforms a 2D sketch into a 3D model through a multi-stage process that integrates scene analysis with a stochastic labeling algorithm.

Overview of the pipeline: (a) Input photos and sketch, (b) Scene orientation analysis, (c) Orientation labeling, and (d) Final 3D output.

Scene Analysis

The process begins by analyzing the existing environment using a set of multi-view photographs. Standard Multi-View Stereo (MVS) techniques are employed to generate a dense point cloud of the scene. From this point cloud, the algorithm extracts a set of dominant orientations—the primary planes and angles present in the real world.

Extraction of dominant 3D orientations from the multi-view scene context.

The Labeling Problem

The user provides a line drawing composed of intersecting segments that form polygons, traced over one of the scene's photos. The algorithm's task is to assign each polygon in the drawing to one of the $m$ dominant orientations found in the scene, or to a special "free label" ($d_{new}$). This free label is crucial as it allows the system to discover new orientations (e.g., a slanted roof) that are not present in the original scene but are geometrically consistent with the rest of the sketch.

Optimization and Energy Formulation

To find the optimal labeling, the authors define an energy function that balances three key factors:

  1. Data Term: Ensures the resulting 3D model projects accurately back onto the 2D sketch.
  2. Geometric Prior: Penalizes large differences in normals between adjacent facets to encourage smoothness.
  3. Complexity Term: Penalizes the use of the "free label," encouraging the algorithm to reuse existing scene orientations whenever possible.

Due to the non-linear nature of this energy function, the Metropolis-Hastings algorithm is used for stochastic optimization to find the best 3D configuration.

Key Insights: Context as a Regularizer

The "aha" moment of this research is the use of the environment as a data-driven prior. By requiring only some facets of a sketch to align with the scene, the algorithm can use those aligned facets as anchors. These anchors then allow the mathematical derivation of the 3D orientation for "free" facets, effectively propagating 3D structure from the known environment into the "imaginary" sketched object.

Results and Performance

The system was evaluated on various datasets, including urban planning (Bridge), furniture design (Desk), and archaeological reconstruction (Ruins).

  • Flexibility: Unlike Manhattan-world methods, this approach successfully reconstructs complex, non-orthogonal shapes.
  • Robustness: The algorithm is resilient to "shaky" human drawings, maintaining plausible reconstructions even with significant noise.
  • Efficiency: Reconstructions are fast enough for interactive design, typically taking from a few seconds to a few minutes. For instance, a model with 38 facets was solved in under 10 minutes.

Conclusion and Future Work

While highly effective for piecewise-planar polyhedral shapes, the current method cannot yet handle smooth, curved surfaces. It also requires informative viewpoints and at least a few facets to align with the scene context to "anchor" the reconstruction. Future work may involve integrating additional regularity cues like symmetry or using these polyhedral models as scaffolds for more organic, free-form shapes.

Summary updated

BibTeX
@inproceedings{favreau2015line,
  author = {Jean-Dominique Favreau and Florent Lafarge and Adrien Bousseau},
  title = {{Line drawing interpretation in a multi-view context}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299028},
}
Figure