A Method for Re-illuminating Faces from a Single Image

Mario Castelán, Edwin R. Hancock

Introduction

Recovering 3D shape from a single 2D image—a process known as Shape-from-Shading (SFS)—is a classic under-constrained problem in computer vision. Because a single intensity value can represent multiple surface orientations, SFS often suffers from a concave-convex ambiguity. When applied to human faces, this frequently results in "imploded" features, where the nose is reconstructed as a hollow indentation rather than a protrusion. This paper introduces a method to resolve these ambiguities by enforcing global height constraints and local geometric rules, enabling realistic 3D face modeling and re-illumination from a single photograph.

Methodology

The core contribution is a local-shape-based correction method that operates on the gradient field (surface slopes) before integration into a 3D height map. The process follows four main steps:

  1. Initial SFS: Surface normals are estimated based on the image irradiance equation.
  2. Global Integration: The Frankot and Chellappa algorithm is used to ensure the recovered surface is mathematically consistent (integrable).
  3. Curvedness-Based Correction: The authors identify the nose tip as a global height maximum. They then use a "curvedness indicator" ($C$), derived from principal curvatures, to identify incorrectly oriented regions. If a gradient points "inward" relative to the nose tip when it should point "outward," its sign is flipped to force convexity.
  4. Re-illumination: The corrected 3D map is used to simulate new lighting conditions via a Lambertian reflectance model.
Figure 1: Gradient redirection applied to synthetic shapes (like the 'Mexican hat') to demonstrate how the algorithm forces convexity in previously concave regions.

Results and Discussion

The method was evaluated using both synthetic shapes and real face images. A key insight is that even minor modifications to gradient directions can lead to structurally significant improvements in the final 3D surface. By leaning into the prior knowledge that faces are generally convex, the algorithm successfully resolves the mathematical ambiguities of general SFS.

Figure 4: Qualitative comparison between standard SFS (top row) and the proposed correction (bottom row). Note the transition from an 'imploded' 3D mesh to a realistic, salient facial structure, and the resulting high-quality re-illuminated images.

As shown in the results, the method effectively transforms "imploded" facial profiles into recognizable, protruding structures. The authors successfully generated "unseen" views of faces—simulating light from various directions—all derived from a single source image. However, the use of a curvedness threshold is essential; simply flipping all gradients would result in an unnaturally sharp, pyramidal face. The threshold allows the algorithm to preserve fine details while correcting major structural errors.

Conclusion

While the method significantly improves single-image face reconstruction, it currently requires manual setting of the nose tip coordinates and curvedness thresholds. Additionally, the simplified Lambertian reflectance model struggles with non-matte surfaces like eyes and lips. Future work will focus on incorporating more complex skin reflectance models and using facial symmetry as an additional constraint to further automate and refine the 3D reconstruction process.

Summary updated

BibTeX
@inproceedings{castelan2004method,
  author = {Mario Castelán and Edwin R. Hancock},
  title = {{A Method for Re-illuminating Faces from a Single Image}},
  booktitle = {CIARP},
  year = {2004},
  doi = {10.1007/978-3-540-30463-0\_33},
}
Figure