Abstract
Photometric stereo is a fundamental technique in computer vision for recovering high-resolution surface normals from images taken under varying lighting. However, traditional methods rely on calibrated, directional light sources in controlled environments. This paper presents a novel "divide and conquer" framework designed to perform uncalibrated photometric stereo under complex, unknown natural illumination. By approximating natural light as a single directional source for small surface patches and stitching these local solutions together, the proposed method achieves reconstruction accuracy comparable to calibrated systems without requiring specialized hardware.
The Challenge of Natural Illumination
Photometric stereo traditionally operates in a "dark room" setup where light sources are precisely controlled and their directions are known. Transitioning this task to "in the wild" scenarios—using ambient indoor light or sunlight—introduces significant complexity. Natural illumination is high-dimensional, arriving at the object's surface from all directions simultaneously.
Furthermore, when the lighting is "uncalibrated," the direction and intensity of the light are unknown. Previous attempts to solve this problem often required a proxy geometry (a rough 3D model) or were hampered by high-dimensional ambiguities that made accurate shape recovery nearly impossible without additional data or mirror spheres for calibration.
Methodology: A Divide and Conquer Approach
The core contribution of this work is a pipeline that decomposes the global, high-dimensional lighting problem into manageable local sub-problems. The process follows five distinct stages to move from raw input images to a final 3D surface normal map.
1. Equivalent Directional Lighting Model
The researchers' key insight is that while natural lighting is globally complex, it is locally simple. For a small surface patch where normals change slowly, the sum of all light hitting that patch can be mathematically simplified. This allows the complex environment map to be treated as a single "equivalent" directional light source unique to that patch.
2. Local Solving and Ambiguity
For each extracted patch, Singular Value Decomposition (SVD) is used to solve for the surface normals. Because the lighting is unknown, this results in a "local ambiguity." While the relative shape within the patch is recovered, it may be rotated or skewed compared to the rest of the object.
3. Angular Distance Propagation
To unify these disparate local solutions, the authors calculate the angular distance between normals. For patches that are not adjacent, they employ a shortest-path algorithm across the object's surface. This treats the surface like a graph, ensuring that the geometric relationship between distant parts of the object remains consistent during reconstruction.
4. Matrix Completion and Global Unification
The calculated angular distances are organized into a large matrix. Since not all patch pairs can be directly compared, the matrix is sparse. Matrix completion techniques are used to fill these gaps, allowing the algorithm to resolve local rotation ambiguities into a single global coordinate system.
5. Integrability Constraint
Finally, a standard integrability constraint is applied. This ensures the recovered surface is continuous and resolves the final binary ambiguity—determining whether the object's features are convex or concave.
Experimental Results
The method was evaluated using both synthetic and real-world datasets. Synthetic tests involved rendering shapes such as a sphere, bear, and bunny under 20 different high-dynamic-range (HDR) environment maps. On these datasets, the method achieved a mean angular error (MAE) between 1.35° and 1.48° for smooth shapes.
In real-world evaluations using benchmarks from Yu et al. and Hold-Geoffroy et al., the results were visually indistinguishable from those produced by "calibrated" methods that had access to ground-truth lighting data. Notably, the method proved robust even on objects with varying surface colors (multi-albedo), a common failure point for uncalibrated algorithms.
Limitations and Future Directions
While effective, the approach currently faces a few hurdles. The computational cost is high; processing a small image can take approximately 30 minutes in Matlab due to the complexity of the angular distance matrix. Additionally, the model does not yet account for cast shadows, which can introduce errors in deep crevices. Future work will focus on optimizing data structures for speed and incorporating shadow-handling mechanisms to improve accuracy on highly complex geometries.
Summary updated