A Non-convex Variational Approach to Photometric Stereo under Inaccurate Lighting

Yvain Quéau, Tao Wu, François Lauze, Jean-Denis Durou, Daniel Cremers

Abstract

This paper tackles the photometric stereo problem in the presence of inaccurate lighting, obtained either by calibration or by an uncalibrated photometric stereo method. Based on a precise modeling of noise and outliers, a robust variational approach is introduced. It explicitly accounts for self-shadows, and enforces robustness to cast-shadows and specularities by resorting to redescending M-estimators. The resulting non-convex model is solved by means of a computationally efficient alternating reweighted least-squares algorithm. Since it implicitly enforces integrability, the new variational approach can refine both the intensities and the directions of the lighting.

Introduction

Photometric Stereo (PS) is a powerful technique for reconstructing the 3D shape of an object by analyzing images taken from a fixed camera under varying lighting directions. Traditionally, this process requires precise calibration of light source positions and intensities. However, in practical applications, calibration is rarely perfect. Even minor errors in lighting data can lead to significant distortions in the resulting 3D models.

A sample input image (Pot1) from the DiLiGenT benchmark, exhibiting complex geometry and self-shadows.

This paper introduces a robust variational framework that jointly refines shape, albedo, and lighting parameters. By bridging the gap between calibrated and uncalibrated PS, the proposed method can take a rough initial lighting estimate and refine it alongside the object's geometry, effectively handling common challenges like shadows and specularities.

Methodology

The core of the proposed method is a Non-Convex Variational Approach that treats non-Lambertian effects as outliers. The technical pillars include:

  • Redescending M-estimators: Unlike standard least-squares methods, the authors employ M-estimators (such as Cauchy or Geman-McClure functions) that effectively ignore data points deviating significantly from the Lambertian model. This provides high robustness against specular highlights and cast shadows.
  • Explicit Self-Shadow Modeling: The model explicitly incorporates a max(0, n·s) term to account for regions where the surface normal is oriented away from the light source, rather than treating these areas as random noise.
  • Scaled Albedo Substitution: To handle the nonlinearities inherent in perspective projection, the authors estimate a "scaled albedo" ($\tilde{\rho} = \rho / d_z$). This mathematical simplification significantly improves the computational efficiency of the optimization process.
  • Alternating Reweighted Least-Squares (ARLS): The resulting non-convex optimization problem is solved by an ARLS algorithm that iteratively updates the albedo, depth map, and lighting parameters until convergence.

Experimental Evaluation and Results

The framework was rigorously tested using the DiLiGenT benchmark, which consists of five real-world objects: Ball, Bear, Cat, Pot1, and Reading. These datasets present various challenges, including sharp specular spikes and complex shadow patterns.

Overview of the DiLiGenT benchmark results. Top row: Sample input images. Bottom rows: Corresponding 3D surface reconstructions achieved by the proposed method.

Key results include:

  • Superior Accuracy: The proposed method consistently outperformed state-of-the-art robust methods. For instance, on the 'Ball' dataset, it achieved a Mean Angular Error (MAE) of 0.95°, compared to 4.15° for the baseline.
  • Lighting Refinement: The joint optimization process successfully refined initial poor lighting estimates, producing 3D models comparable to those obtained with high-end calibration.
  • Robustness to Image Count: The method maintains performance across varying image counts, showing effectiveness with as few as 10 images and scaling up to nearly 100.

Conclusion

This research presents a powerful variational approach to Photometric Stereo that is resilient to inaccurate lighting and non-Lambertian effects. By enforcing integrability and treating specularities as outliers, the method produces highly accurate 3D reconstructions. While the non-convex nature of the problem necessitates a reasonable initial lighting estimate, the ability to refine these parameters simultaneously with shape represents a significant step forward in robust 3D vision. Future work may focus on leveraging specular information to further enhance reconstruction detail rather than treating it solely as noise.

Summary updated

BibTeX
@inproceedings{queau2017non,
  author = {Yvain Quéau and Tao Wu and François Lauze and Jean-Denis Durou and Daniel Cremers},
  title = {{A Non-convex Variational Approach to Photometric Stereo under Inaccurate Lighting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  url = {https://openreview.net/forum?id=rJ4XQkGdZB},
}
Figure