Learning to Minify Photometric Stereo

Junxuan Li, Antonio Robles-Kelly, Shaodi You, Yasuyuki MatsushitaCVPR 2019

Abstract

This paper introduces a deep learning framework designed to "minify" photometric stereo by automatically identifying the most informative light directions for 3D reconstruction. By employing a learnable "connection table" and a novel occlusion layer that simulates realistic cast shadows, the proposed method achieves state-of-the-art surface normal estimation using as few as 8 to 10 images—a significant reduction from the dozens or hundreds typically required by traditional and modern deep learning approaches.

Introduction

Photometric stereo is a fundamental computer vision technique that estimates fine-grained 3D geometry (surface normals) by analyzing images taken from a fixed viewpoint under varying illumination. While powerful, modern deep learning methods for photometric stereo often suffer from a "data hunger" problem. To handle complex non-Lambertian materials and phenomena like specular highlights and shadows, these models frequently require nearly 100 input images per object. This creates a bottleneck in data acquisition and hardware complexity. This research addresses this by asking: Can we achieve high-accuracy 3D reconstruction with a much smaller, "minified" set of images by learning which light directions are most critical?

Methodology

The authors propose an end-to-end neural network based on a DenseNet architecture that operates pixel-wise, making it scalable and independent of global object shape. The framework introduces two primary innovations:

  1. The Connection Table: This trainable input mapping layer acts as a selector for light directions. Starting with a dense "observation map" (a 2D projection of all possible light directions), the connection table uses a sparsity-inducing loss function and a rank selection process to prune redundant directions. This forces the network to converge on a small, optimal subset of relevant illuminations.
  2. The Occlusion Layer: Unlike previous methods that used random dropout to handle shadows, the authors' occlusion layer simulates structured geometric cast shadows. By drawing random lines across the observation map to mask regions, the model learns to mimic how an object's geometry actually blocks light, significantly improving robustness to self-occlusions.
Overview of the proposed end-to-end framework, featuring the observation map, occlusion layer, and connection table.

Experiments and Results

The model was trained on a massive synthetic dataset comprising 720,000 observation maps generated from the Blobby Shape Dataset and the MERL BRDF database. Evaluation was conducted on the real-world DiLiGenT dataset, a standard benchmark for photometric stereo.

Key Findings

  • Efficiency and Accuracy: The method outperforms existing state-of-the-art models like PS-FCN and CNN-PS while using fewer inputs. On the DiLiGenT benchmark with only 10 inputs, the proposed method achieved a Mean Angular Error (MAE) of 10.02°, compared to 10.51° for PS-FCN and 14.34° for CNN-PS.
  • Robustness: Qualitative results demonstrate that the occlusion layer helps the network perform exceptionally well in "rugged and wrinkled" areas where cast shadows are prevalent, such as the folds of clothing on statues.
Qualitative comparison of surface normal estimation on a teapot. The proposed method ('Ours') closely matches the Ground Truth (GT) and preserves fine details better than PS-FCN and CNN-PS.

Conclusion and Future Work

By treating light selection as an optimization problem rather than a constraint, this research demonstrates that sparsity can be a feature. The move from random noise to structured geometric shadow modeling in training is a crucial step toward handling complex real-world geometries. Future work includes extending this framework to "uncalibrated" scenarios where light directions are unknown and integrating spatial context to further refine normal map smoothness.

Summary updated

BibTeX
@inproceedings{li2019learning,
  author = {Junxuan Li and Antonio Robles-Kelly and Shaodi You and Yasuyuki Matsushita},
  title = {{Learning to Minify Photometric Stereo}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.00775},
}
Figure