Deep Near-Light Photometric Stereo for Spatially Varying Reflectances

Hiroaki Santo, Michael Waechter, Yasuyuki MatsushitaECCV 2020

This paper, presented by researchers from Osaka University, tackles one of the most persistent "simplifying assumptions" in computer vision: the idea that light sources are infinitely far away and that surfaces are perfectly matte. In the real world, lights are often close to the objects we scan, and materials are shiny, metallic, or textured. This work bridges that gap by proposing the first near-light photometric stereo method capable of handling complex, spatially varying materials.

The Challenge: Near-Light and Complex Materials

Photometric Stereo (PS) is a technique used to estimate the 3D surface normals of an object by taking multiple images from a fixed camera under different lighting directions. Traditionally, PS relies on two major assumptions:

  1. Distant Lighting: Light rays are parallel, and intensity is constant across the scene.
  2. Lambertian Reflectance: The surface is perfectly matte, reflecting light equally in all directions.

In practice, if you are scanning an object in a small box or with a handheld device, the lights are "near." This means light intensity drops off with distance ($1/r^2$), and the light direction changes for every pixel on the object. Furthermore, most interesting objects have complex Spatially Varying Bidirectional Reflectance Distribution Functions (SVBRDFs)—essentially, the "shininess" or "texture" changes from point to point. Existing methods usually solve for one of these problems while ignoring the other; this paper addresses both simultaneously.

Methodology: Locally Distant, Globally Near

The core innovation is a hybrid approach that treats the problem as "locally distant but globally near." The authors assume that for a single pixel, the light rays are effectively parallel. This allows them to use a modified version of PS-FCN, a deep neural network designed for distant-light photometric stereo, to handle complex materials.

The proposed pipeline: from inputs and the locally-distant assumption to near-light reconstruction error optimization.

The process follows an iterative optimization loop:

  1. Initialization: Start with a guess of the surface position (depth).
  2. Pseudo-observation: Use the current depth to calculate local light directions and intensities, mathematically "undoing" the effects of light fall-off.
  3. Estimation: Feed these into the neural network to get surface normals and reflectance.
  4. Re-rendering: Re-render the scene using these predictions and compare it to the actual input image.
  5. Optimization: Use the re-rendering loss to update the surface position via gradient descent.

Network Architecture: Extended PS-FCN

To support this loop, the researchers extended the PS-FCN architecture with a new branch: a reflectance estimator. While the original network only predicted surface normals, this version predicts both the normal ($\mathbf{n}$) and the reflectance ($\rho$) for every pixel under every light. This dual output is critical for the re-rendering verification step.

Overview of the extended PS-FCN architecture and the specific layers of the reflectance estimator.

Key Results and Insights

The method significantly outperformed existing state-of-the-art near-light methods and distant-light deep learning methods on both synthetic (MERL BRDF database) and real-world data.

  • Handling Specularity: On a real-world crushed aluminum can (highly specular), traditional near-light methods failed with errors over 11°, while the proposed method achieved a mean angular error of 6.79°.
  • Accuracy on Complex Shapes: For a synthetic Ganesha model with varying materials, the proposed method achieved an error of 5.41°, compared to 21.7° for the next best near-light method.
  • Physics-AI Synergy: Instead of forcing a neural network to learn the $1/r^2$ light fall-off law, the authors use the network for pattern matching complex materials and classical physics equations for the geometry.

Limitations

Despite its success, the method has some constraints. It struggles at sharp depth discontinuities because the optimization assumes a continuous surface. Additionally, it is computationally expensive; processing a 600x600 pixel scene requires roughly 40 GB of GPU memory to store per-pixel reflectance maps for hundreds of light sources. Finally, as a non-convex optimization problem, it requires a reasonable initial depth guess to avoid local minima.

Summary updated

BibTeX
@inproceedings{santo2020deep,
  author = {Hiroaki Santo and Michael Waechter and Yasuyuki Matsushita},
  title = {{Deep Near-Light Photometric Stereo for Spatially Varying Reflectances}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58598-3\_9},
}
Figure