Automatic alignment of paintings and photographs depicting a 3D scene

Bryan C. Russell, Josef Sivic, Jean Ponce, Helene Dessales

Abstract

This research addresses the challenge of automatically aligning historical architectural paintings with 3D models generated from modern photographs. By combining global image descriptors for coarse localization with a contour-based refinement procedure, the system bridges the "depiction gap" caused by variations in artistic style, lighting, and structural decay. The method is demonstrated using 19th-century watercolors of the Casa di Championnet in Pompeii, successfully aligning non-photorealistic artworks to a multi-view stereo 3D reconstruction.

Introduction: Bridging the Depiction Gap

Aligning a historical painting to a modern 3D model is significantly more complex than standard photograph-to-photograph registration. Traditional computer vision techniques, such as SIFT, rely on matching local textures and patterns. However, paintings and photographs of the same scene differ wildly in color, lighting, and texture. Furthermore, historical sites like Pompeii have physically changed over centuries—walls have crumbled, and murals have faded.

To overcome this, researchers have developed a system that moves away from pixel-level matching toward global spatial structures and geometric contours. Accurate alignment allows for "computational rephotography," enabling researchers to track structural decay and understand historical site layouts from the exact perspective of the original artist.

The Two-Stage Alignment Pipeline

1. Coarse Alignment via Global Descriptors

The first phase, or the "Where am I?" stage, involves finding the approximate camera position within the 3D model. The researchers generate thousands of virtual viewpoints from the 3D mesh, simulating a viewer walking through the site at eye level.

Instead of local features, they utilize the Gist descriptor, a global representation of a scene's spatial structure. The system compares the Gist of the historical painting against the Gist of every virtual viewpoint. This approach is remarkably robust; the "gist" of a scene remains consistent whether it is captured in a 19th-century watercolor or a modern digital photo. In testing, the correct viewpoint was consistently found within the top three nearest neighbors.

2. Fine Alignment via Geometric Contours

Once a coarse position is established, the system enters the "refinement" phase. Because textures vary between mediums, the authors use geometric contours as a universal language.

A 3D mesh rendering of the site, highlighting the surface orientation discontinuities and geometric contours used for fine alignment.

The refinement uses an ICP-like (Iterative Closest Point) procedure:

  • 3D Contours: The system extracts view-dependent contours from the 3D model, including ridges, valleys, and occlusion boundaries.
  • Painting Edges: Edges are extracted from the painting using a global probability of boundary (gPB) detector.
  • Matching: These two sets of lines are matched using Shape Context descriptors, which are more robust to the stylistic variations of brushstrokes than standard pixel-based methods.

Case Study: Casa di Championnet, Pompeii

The study focused on the Casa di Championnet in Pompeii, utilizing a dataset of 563 high-resolution modern photographs to build a 3D model containing 10 million vertices.

A modern photograph of the Casa di Championnet in Pompeii, showing the mosaic floors and architectural features used for 3D reconstruction.

The historical data consisted of nine architectural paintings and drawings (watercolors and engravings) from the 19th century. These specific works were chosen because the artists likely used a camera lucida to ensure perspective accuracy, providing a rigorous test for the alignment algorithm.

Key Results and Insights

The system successfully aligned five out of the nine paintings with an average reprojection error of less than 3% of the image diagonal. Key takeaways include:

  • Local Features Fail: SIFT matching produced zero correct matches between paintings and photos, confirming the need for structural descriptors.
  • Style Agnostic: The method proved effective across different mediums, including watercolors, cross-hatched drawings, and engravings.
  • Robustness to Artistic "Fakes": The algorithm uses a truncated cost function to remain robust against minor geometric inaccuracies or artistic license taken by the original painters.

Limitations and Future Work

While successful, the system assumes a standard perspective model and can struggle with highly "interpretive" art where geometry is significantly distorted for aesthetic reasons. Additionally, heavy shading or decorative strokes in a painting can sometimes confuse the edge detector. Future work aims to automate the initial site selection, allowing the system to retrieve the correct 3D model from a large database of historical locations automatically.

Summary updated

Abstract

This paper addresses the problem of automatically aligning historical architectural paintings with 3D models obtained using multi-view stereo technology from modern photographs. This is a challenging task because of the variations in appearance, geometry, color and texture due to environmental changes over time, the non-photorealistic nature of architectural paintings, and differences in the viewpoints used by the painters and photographers. Our contribution is two-fold: (i) we combine the gist descriptor [23] with the view-synthesis/retrieval of Irschara et al. [14] to obtain a coarse alignment of the painting to the 3D model by view-sensitive retrieval; (ii) we develop an ICP-like viewpoint refinement procedure, where 3D surface orientation discontinuities (folds and creases) and view-dependent occlusion boundaries are rendered from the automatically obtained and noisy 3D model in a view-dependent manner and matched to contours extracted from the paintings. We demonstrate the alignment of XIXth Century architectural watercolors of the Casa di Championnet in Pompeii with a 3D model constructed from modern photographs using the PMVS public-domain multi-view stereo software.
BibTeX
@inproceedings{russell2011automatic,
  author = {Bryan C. Russell and Josef Sivic and Jean Ponce and Helene Dessales},
  title = {{Automatic alignment of paintings and photographs depicting a 3D scene}},
  booktitle = {Workshops @ ICCV},
  year = {2011},
  url = {https://openreview.net/forum?id=S1LLTDyy8KU},
}
Figure