Robust Photometric Stereo via Dictionary Learning

Andrew John Wagenmaker, Brian E. Moore, Raj Rao Nadakuditi

TL;DR

This paper introduces a novel way to reconstruct 3D surface shapes from 2D images by applying dictionary learning to regularize surface normal vectors. By learning the underlying structural "atoms" of an object's surface, the proposed methods (DLNV and PDLNV) achieve state-of-the-art accuracy and unprecedented robustness to image noise and complex, non-shiny materials.

What Problem Does This Paper Address?

Photometric Stereo (PS) is a classic computer vision technique that estimates the "normal vectors" (the direction a surface is facing at every pixel) of an object by looking at it under different lighting conditions. Once you have these normals, you can integrate them to create a 3D model.

The "catch" is that classical PS relies on the Lambertian reflectance model, which assumes surfaces are perfectly matte. In the real world, objects have shadows, highlights (specularities), and complex textures. Furthermore, real-world images are often grainy or noisy. Existing "robust" methods usually try to treat these non-ideal effects as "sparse outliers" to be thrown away. However, these methods often fail when noise is heavy or when the object is inherently non-Lambertian. The authors aim to bridge this gap by creating a method that doesn't just reject bad data but actively learns the structural patterns of the surface to guide the reconstruction.

Methods

The authors propose two main formulations based on Dictionary Learning (DL). In DL, data is broken into small patches and represented as a sparse combination of "atoms" from a learned dictionary.

  1. DLNV (Dictionary Learning on Normal Vectors): This model assumes the underlying physics follows the Lambertian model but adds a dictionary learning constraint. It forces the reconstructed normal map to be "patch-wise sparse," meaning local regions of the surface must be representable by a small set of learned geometric patterns. This acts as a powerful, adaptive filter against noise.
  2. PDLNV (Piecewise-linear DLNV): This is the more advanced version. It replaces the rigid Lambertian model with a piecewise-linear reflectance model. This allows the algorithm to handle "shiny" or non-matte objects by approximating the complex way they reflect light. It then applies the same dictionary learning regularization to the normals.

The authors solve these optimization problems using Block Coordinate Descent, alternating between updating the dictionary, the sparse codes, and the normal vectors themselves (using proximal gradient steps).

Datasets

The researchers evaluated their work using:

  • DiLiGenT Benchmark: The gold standard for non-Lambertian photometric stereo, containing 10 real-world objects (like a plaster "Ball," a ceramic "Cat," and a complex "Harvest" scene) each captured from 96 different light directions.
  • Hippo and Cat Datasets: Real-world datasets used to demonstrate qualitative performance on objects without known ground truth.
  • Synthetic Noise Trials: The authors artificially added Poisson noise (simulating low-light conditions) and Salt-and-Pepper noise to the DiLiGenT images to test the limits of their algorithm's robustness.

Key Insights and Ideas

  • Normals Have "Language": Surface normals are not random; they follow predictable patterns (smooth slopes, sharp edges, repeating textures). Dictionary learning captures this "language" of the surface, allowing the model to "fill in the blanks" when image data is corrupted.
  • Albedo is Part of the Geometry: The authors cleverly bundle the surface "albedo" (the inherent brightness/color of the material) into the normal vectors. This allows the dictionary to learn both the shape and the texture of the object simultaneously.
  • Robustness to "Small Data": Most state-of-the-art methods require a massive number of images (often all 96 from the DiLiGenT set) to be accurate. Because DLNV/PDLNV learns the surface structure, it maintains high accuracy even when the number of available images is drastically reduced (e.g., down to 10–20 images).
  • Adaptive Regularization: Unlike standard smoothing filters that might blur a sharp edge, dictionary learning is data-driven. It learns to preserve edges if they are a consistent part of the object's structure.

Key Results

  • State-of-the-Art Accuracy: On the uncorrupted DiLiGenT dataset, PDLNV achieved the best results on 5 out of 10 objects and performed competitively on the rest.
  • Superior Noise Resistance: In high-noise scenarios (low SNR), the proposed methods outperformed existing robust techniques by as much as 10 degrees in mean angular error.
  • Visual Quality: Qualitative results show that while other methods produce "noisy" or "spiky" 3D surfaces when images are imperfect, the dictionary-based approach produces smooth, realistic surfaces that preserve fine details.
  • Efficiency: The method is iterative but achieves competitive runtimes, often finishing in a few hundred seconds for full-resolution benchmark images.

Limitations and Future Work

  • Parameter Sensitivity: Like many machine learning methods, it requires tuning regularization parameters ($\lambda$ and $\mu$). The authors found that different types of objects (e.g., very complex vs. very simple) benefit from different settings.
  • Computational Overhead: While faster than some specialized robust solvers, it is significantly more computationally intensive than the "naive" least-squares approach.
  • Future Directions: The authors suggest that this dictionary learning framework could be "plugged into" even more sophisticated reflectance models or adapted for uncalibrated photometric stereo, where the light source directions are unknown.

Summary updated

BibTeX
@article{wagenmaker2019robust,
  author = {Andrew John Wagenmaker and Brian E. Moore and Raj Rao Nadakuditi},
  title = {{Robust Photometric Stereo via Dictionary Learning}},
  journal = {IEEE Trans. Computational Imaging},
  year = {2019},
  doi = {10.1109/tci.2018.2864882},
}
Figure