TL;DR
This paper introduces a near-light photometric stereo (NLPS) method that uses an analytically differentiable neural surface to reconstruct 3D shapes with high fidelity. By replacing traditional, error-prone finite differentiation with exact analytical derivatives, the method faithfully preserves sharp depth edges and demonstrates remarkable robustness to inaccurate initial depth guesses.
What Problem Does This Paper Address?
Near-light photometric stereo (NLPS) aims to recover the detailed 3D shape of an object—specifically its depth, surface normals, and reflectance (albedo)—from images taken under nearby point light sources.
A fundamental challenge in NLPS is the relationship between depth and surface normals. Mathematically, a surface normal is perpendicular to the tangent plane, which is defined by the partial derivatives of the depth. Traditional methods represent depth as a discrete grid and use finite differentiation (calculating the difference between adjacent pixels) to approximate these derivatives.
However, this approximation fails at sharp edges or depth discontinuities. At these boundaries, finite differences produce large errors, leading to "blurred" edges and inconsistent estimates between depth and normals. Furthermore, NLPS is a non-linear problem that is notoriously sensitive to the initial depth guess provided to the optimization algorithm.
Methods
The authors propose two key technical innovations to solve these issues:
- Analytical Neural Surfaces: Instead of a discrete grid, the surface depth is represented as a continuous, analytical function $Z(p; \theta)$ of image coordinates $p$, parameterized by a neural network. Specifically, they use SIREN (Sinusoidal Representation Networks), which are excellent at capturing high-frequency details like sharp edges. Because the network is a differentiable function, the surface normals can be computed using analytical differentiation (exact gradients) via the chain rule. This eliminates the errors inherent in finite difference approximations.
- Albedo as a Dependent Variable: In many NLPS frameworks, albedo is treated as an independent unknown to be optimized. Here, the authors formulate the Lambertian albedo as a dependent variable that is solved via least-squares in every forward pass, based on the current depth and normal estimates. This reduces the search space of the optimization to only the neural network parameters $\theta$, significantly improving convergence and robustness.
The entire pipeline is self-supervised, meaning it optimizes the network parameters by minimizing the $L_1$ reconstruction loss between the input images and images rendered from the estimated shape.
Datasets
The method was evaluated on three types of data:
- Synthetic Dataset: Five objects (Tent, Bunny, Buddha, Cupid, Bear) rendered in Blender with realistic cast shadows and 81 point light sources.
- LUCES Benchmark: A public real-world dataset containing 14 objects with diverse shapes and materials.
- Custom Real-world Data: The authors built a hardware setup consisting of an LED board and a high-resolution camera to capture new near-light image sequences.
Key Insights and Ideas
-
The Finite Difference Trap: The paper clearly illustrates why discrete grids struggle. As shown in the figure below, finite differences at a step edge result in a "slanted" normal approximation, whereas the analytical derivative correctly identifies the vertical discontinuity. Comparison of finite vs. analytical differentiation at a depth edge.
-
Implicit Consistency: By deriving normals directly from the depth function, the method guarantees that the recovered depth and normals are mathematically consistent everywhere on the surface.
- Optimization Stability: By "folding" the albedo into the depth optimization, the authors transformed a highly sensitive multi-variable problem into a more stable one. This allows the model to converge to the correct shape even if the initial depth guess is off by a large margin.
Key Results
- Superior Edge Preservation: Qualitatively, the method produces much sharper results on complex geometries like the ears of the "Bunny" or the steps of a "Stair" model compared to state-of-the-art baselines like QD18.
- Quantitative Accuracy: On synthetic data, the method achieved a Mean Angular Error (MAngE) for surface normals of 1.39°, compared to 4.97° for QD18. Depth error (MAbsE) was reduced from 50.1mm to 4.80mm.
- Robustness to Initialization: While baseline methods failed or produced distorted shapes when the initial depth was set too far or too close, the proposed neural surface method consistently converged to the ground truth shape.
Limitations and Future Work
- Lambertian Assumption: The current optimization for albedo assumes a Lambertian (matte) reflectance model. While the neural surface itself is flexible, the method struggled with highly metallic or specular surfaces in the LUCES dataset (e.g., the "Bell" and "Cup").
- Future Directions: The authors suggest incorporating more complex reflectance models, such as Spherical Gaussians or neural reflectance fields, to handle non-Lambertian materials and inter-reflections more effectively.
Summary updated