Example-based 3D object reconstruction from line drawings

Tianfan Xue, Jianzhuang Liu, Xiaoou Tang

Abstract

This paper introduces a robust method for reconstructing 3D objects from single 2D line drawings by breaking complex shapes into simpler, "example-based" primitives. By combining a database of parameterized 3D models with a graphical model optimization, the system can accurately recover geometry even from messy, imperfect sketches that typically cause rule-based algorithms to fail. Experimental results show that this approach significantly outperforms traditional heuristics in robustness to noise.

Introduction

Reconstructing a 3D object from a 2D line drawing is a classic "ill-posed" problem in computer vision: because a dimension is lost during projection, an infinite number of 3D shapes could technically match a single 2D drawing. Traditionally, researchers have relied on rule-based heuristics—mathematical assumptions that lines appearing parallel in 2D should be parallel in 3D. However, these rules are fragile; if a user's sketch is slightly inaccurate, the reconstruction often collapses. This research proposes a "sketch-tolerant" system that mimics the human ability to recognize complex objects as assemblies of familiar, simpler parts.

Methods

The proposed Example-Based 3D Reconstruction (E3D) pipeline consists of four main stages:

  1. Line Drawing Decomposition: A complex 2D sketch is first broken down into several "basic" line drawings (e.g., separating a house into a box and a roof).
  2. Candidate Generation: For each basic part, the system searches a database of 72 parameterized 3D models (like cuboids, prisms, and pyramids) to find those with a matching topology.
  3. Graphical Model Construction: The problem is framed as a Maximum-a-Posteriori (MAP) estimation on an undirected graphical model where nodes represent individual parts and edges represent physical connections.
  4. Optimization: The system minimizes an objective function balancing projection accuracy, construction constraints (ensuring shared vertices meet in 3D), and a "simplicity prior" that favors models with fewer parameters (Occam's razor for geometry).
The E3D pipeline: from sketch decomposition to final 3D reconstruction using a database of primitives.

Key Results and Evaluation

The authors evaluated the E3D method against state-of-the-art rule-based methods, specifically PBO and DAC. To test robustness, varying levels of Gaussian noise were added to the 2D coordinates of sketch vertices.

Using metrics such as RMSA (Root Mean Square of Angle differences) and RMSE (Euclidean distance of vertices), the results demonstrated that the E3D method maintains low error even when noise variance reaches 0.02. In contrast, the error rates for previous methods spiked significantly under the same conditions. This confirms that leveraging top-down geometric knowledge provides a massive safety net against noisy, human-generated input.

Quantitative comparison showing E3D's superior robustness to Gaussian noise compared to PBO and DAC methods.

Discussion and Limitations

While highly effective, the algorithm currently takes approximately 12 minutes per drawing, making it unsuitable for real-time interactive sketching. Furthermore, the system is currently limited to planar-faced polyhedra and cannot yet handle curved surfaces. Future work will focus on integrating perspective projection models and expanding the primitive database to include more complex geometries. Despite these limitations, the example-based approach represents a significant step forward in creating computer vision systems that can interpret the inherent ambiguity of human sketches.

Summary updated

BibTeX
@inproceedings{xue2012example,
  author = {Tianfan Xue and Jianzhuang Liu and Xiaoou Tang},
  title = {{Example-based 3D object reconstruction from line drawings}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2012},
  doi = {10.1109/cvpr.2012.6247689},
}
Figure