Robust photometric stereo using learned image and gradient dictionaries

Andrew J. Wagenmaker, Brian E. Moore, Raj Rao NadakuditiICIP 2017

Abstract

Photometric stereo is a method for estimating the normal vectors of an object from images of the object under varying lighting conditions. Motivated by several recent works that extend photometric stereo to more general objects and lighting conditions, we study a new robust approach to photometric stereo that utilizes dictionary learning. Specifically, we propose and analyze two approaches to adaptive dictionary regularization for the photometric stereo problem. First, we propose an image preprocessing step (DLPI) that utilizes an adaptive dictionary learning model to remove noise and other non-idealities from the image dataset before estimating the normal vectors. We also propose an alternative model (DLNV) where we directly apply the adaptive dictionary regularization to the normal vectors themselves during estimation. We study the practical performance of both methods through extensive simulations, which demonstrate the state-of-the-art performance of both methods in the presence of noise.

Introduction

Photometric Stereo (PS) is a fundamental technique in computer vision for recovering 3D surface geometry. By capturing an object under multiple light sources, one can estimate surface normals. While the Lambertian model provides a solid foundation, real-world factors like specularities, shadows, and sensor noise often violate these assumptions. Traditional robust methods, such as those based on Robust Principal Component Analysis (RPCA), treat these deviations as sparse outliers. However, these methods often falter in high-noise environments or when the number of available images is limited.

This research introduces a paradigm shift by employing Dictionary Learning (DL) to capture the underlying structural priors of either the input images or the resulting surface normals, providing a more adaptive and robust solution.

Methodology

The core idea is to represent data patches as sparse combinations of "atoms" in a learned dictionary. The authors propose two distinct frameworks:

1. Dictionary Learning with Preprocessed Images (DLPI)

DLPI focuses on denoising the input image stack before normal estimation. It extracts 3D patches (spatial dimensions plus the lighting dimension) and learns a dictionary to represent them. This approach effectively filters out noise and non-Lambertian artifacts by exploiting the temporal/lighting consistency of surface reflectance.

2. Dictionary Learning on Normal Vectors (DLNV)

DLNV applies the dictionary learning constraint directly to the surface normals. It assumes that the geometric structure of the object (the gradient field) can be sparsely represented by a learned dictionary of geometric primitives. This acts as a powerful regularizer during the estimation process.

Both methods utilize efficient optimization techniques, including block coordinate descent and proximal gradient schemes, to handle the resulting non-convex problems.

Experimental Evaluation

The methods were tested on benchmark datasets:

  • DiLiGenT Dataset: Real-world objects with complex geometries and non-Lambertian materials.
  • Hippo Dataset: Real objects used to evaluate performance against a Lambertian baseline.
  • Noise Robustness: Varying levels of Poisson noise were added to simulate challenging imaging conditions (SNR ranging from 0dB to 30dB).

Results and Discussion

The proposed DL-based methods demonstrate significant improvements over existing state-of-the-art techniques like Sparse Regression (SR), RPCA, and Least Squares (LS).

Quantitative performance comparison showing Mean Angular Error vs. SNR for various methods.

As shown in the quantitative results, DLPI and DLNV maintain low error rates even as the Signal-to-Noise Ratio (SNR) drops. In scenarios with very few images (e.g., 5 images), the performance gap becomes even more pronounced. For instance, on the "Bear" dataset at 10dB SNR with 5 images, DLPI achieved a mean angular error of 20.91°, a substantial improvement over the 34.25° error of the standard Least Squares approach.

Qualitative comparison of estimated normal maps and error maps for the 'Cat' object.

Qualitatively, the DL-based reconstructions (DLNV and DLPI) appear much smoother and closer to the ground truth compared to traditional methods, which exhibit significant graininess and artifacts in the presence of noise. The error maps clearly show that the dictionary-based approaches significantly reduce estimation errors across the entire surface.

Conclusion

By leveraging adaptive dictionary learning, DLPI and DLNV provide a robust framework for photometric stereo that excels in high-noise and low-data regimes. While DLPI generally offers the best performance by cleaning the data upfront, DLNV provides a strong geometric prior. Future work includes automating the selection between these two models and extending the framework to uncalibrated scenarios where light directions are unknown.

Summary updated

BibTeX
@inproceedings{wagenmaker2017robust,
  author = {Andrew J. Wagenmaker and Brian E. Moore and Raj Rao Nadakuditi},
  title = {{Robust photometric stereo using learned image and gradient dictionaries}},
  booktitle = {ICIP},
  year = {2017},
  doi = {10.1109/icip.2017.8296523},
}
Figure