Scalable, Detailed and Mask-Free Universal Photometric Stereo

Satoshi Ikehata

Abstract

Photometric stereo (PS) aims to recover high-resolution surface normals by observing an object under varying lighting conditions. Traditional methods often require calibrated lighting or manual object masks, limiting their use in uncontrolled environments. We present SDM-UniPS, a scalable, detailed, and mask-free universal photometric stereo network. By utilizing a scale-invariant spatial-light feature encoder and a novel pixel-sampling Transformer, SDM-UniPS achieves state-of-the-art results on real-world benchmarks, recovering fine micro-geometry without the need for object masks or excessive memory consumption.

Introduction

Photometric stereo has long been a laboratory-bound technique, requiring dark rooms and precisely positioned light sources. While "universal" networks have recently emerged to handle unknown lighting, they frequently suffer from blurry outputs and require manual masking of the target object. SDM-UniPS addresses these limitations, bringing high-fidelity 3D reconstruction into "the wild."

Overview of the SDM-UniPS pipeline: from multiple images under unknown lighting to a detailed surface normal map.

Challenges in Universal Photometric Stereo

Existing "Universal" PS (UniPS) models face three primary hurdles:

  1. Detail Loss: To manage memory, images are often downsampled, which destroys fine-grained surface details.
  2. Local Processing: Many models predict normals pixel-by-pixel, ignoring global surface constraints like shadows and inter-reflections.
  3. Dataset Limitations: Training data often lacks the complexity of real-world scenes, which contain multiple objects and diverse materials.

Methodology

SDM-UniPS introduces two architectural innovations to overcome these challenges:

1. Scale-invariant Spatial-light Feature Encoder

To process high-resolution imagery (e.g., 2K resolution) without downsampling, the model employs a split-and-merge strategy. Input images are decomposed into small, overlapping patches. These patches are processed at their native resolution through a shared ConvNeXt backbone, ensuring that high-frequency details are preserved before being merged back into a full-resolution feature map.

2. Pixel-sampling Transformer

Global context is crucial for resolving geometric ambiguities. However, full-image Transformers are computationally prohibitive at high resolutions. SDM-UniPS solves this by randomly sampling a sparse set of pixels (typically 2048) across the image. A Transformer then operates on these sampled points, allowing the network to learn non-local interactions and physical constraints—such as surface integrability—efficiently.

Datasets and Training

The authors introduced PS-Mix, a synthetic dataset comprising approximately 35,000 scenes. Unlike its predecessors, PS-Mix features multiple overlapping objects with varied materials (diffuse, specular, metallic) and complex, spatially-varying lighting. This diversity enables the model to perform "mask-free" reconstruction by naturally learning to distinguish objects from backgrounds.

Key Results

SDM-UniPS sets a new standard for uncalibrated photometric stereo. On the DiLiGenT benchmark, it achieved a Mean Angular Error (MAE) of 5.8°, significantly outperforming the previous UniPS (14.7°) and even rivaling calibrated methods.

Comparison of surface normal recovery between a 3D scanner, SDM-UniPS (Ours), and the previous state-of-the-art UniPS.

Qualitative evaluations demonstrate that SDM-UniPS can recover micro-geometry—such as the fine texture on plastic or scales on a model—that surpasses the output of consumer-grade hardware like the EinScan-SE 3D scanner. Furthermore, the model is robust, requiring as few as 8-16 images to produce high-quality results, compared to the nearly 100 images often needed by prior uncalibrated techniques.

Conclusion

SDM-UniPS represents a significant leap toward practical, high-resolution 3D scanning in everyday environments. By combining local detail preservation with sparse global context, it removes the need for specialized hardware and manual preprocessing, paving the way for advanced relighting and 3D modeling applications from simple image sequences.

Summary updated

BibTeX
@inproceedings{ikehata2023scalable,
  author = {Satoshi Ikehata},
  title = {{Scalable, Detailed and Mask-Free Universal Photometric Stereo}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=hTZJloY31B},
}
Figure