Introduction
Estimating the 3D shape of a scene from a 4D Light Field (LF)—a task known as "Shape from Light Field" (SfLF)—is a fundamental challenge in computational photography. Unlike standard 2D images, a light field captures both the intensity and direction of light rays. While this directional information implicitly encodes scene geometry, extracting it accurately remains difficult due to occlusions, textureless regions, and a historical lack of high-quality training data.
This paper presents a novel deep learning approach that predicts the orientation of 2D hyperplanes within the light field domain. By pairing a Convolutional Neural Network (CNN) with a higher-order variational refinement step, the authors achieve state-of-the-art accuracy in reconstructing complex geometries.
Methodology
Hyperplane Prediction via CNN
The core of the proposed method is the observation that a 3D scene point maps to a 2D hyperplane in 4D light field space. The slope of this hyperplane corresponds directly to the point's depth. The authors design a shallow, 5-layer CNN to predict these local orientations.
The network takes two $31 \times 11$ RGB patches—one from a vertical Epipolar Plane Image (EPI) and one from a horizontal EPI—centered at the target point. To preserve spatial resolution, the architecture avoids pooling layers, using four convolutional layers followed by a single fully-connected layer to output the predicted slope.
Variational Refinement
To handle noise and uniform regions where the CNN might struggle, the authors apply Second-Order Total Generalized Variation (TGV). Unlike standard Total Variation (TV), which often results in "staircase" artifacts, TGV supports piecewise affine surfaces. This allows for the reconstruction of slanted, flat surfaces common in real-world objects. An anisotropic diffusion tensor ensures that depth discontinuities are aligned with the visual edges of the light field.
Evaluation and Results
Data Generation
To train the model, the authors created a new synthetic dataset using the POV-Ray raytracer. This dataset consists of 25 light fields with floating-point ground truth depth, featuring diverse geometries and textures generated randomly. Real-world generalization was further tested using the Stanford Light Field Archive (SLFA).
Performance
The method demonstrates significant improvements over previous state-of-the-art techniques. On the POV-Ray test set, it achieved a Root Mean Squared Error (RMSE) of 0.3010, compared to 0.9168 for traditional geometric methods and 0.3774 for earlier deep learning attempts.
Qualitatively, the approach excels at preserving sharp depth discontinuities and fine details, such as complex facets or thin structures, which are often blurred by competing algorithms.
Conclusion and Future Work
By combining the local feature-learning capabilities of CNNs with the global structural constraints of TGV, this research provides a robust framework for SfLF. While the current pixel-by-pixel "sliding window" approach is computationally intensive, future work aims to develop fully convolutional architectures. Such advancements would allow for processing entire light fields simultaneously, significantly increasing speed and enabling real-time applications.
Summary updated