Abstract
Light field cameras record not only the spatial information of observed scenes but also the directions of all incoming light rays. The spatial and angular information implicitly contain geometrical characteristics such as multi-view or epipolar geometry, which can be exploited to improve the performance of depth estimation. An Epipolar Plane Image (EPI), the unique 2D spatial-angular slice of the light field, contains patterns of oriented lines. The slope of these lines is associated with the disparity. Benefiting from this property of EPIs, some representative methods estimate depth maps by analyzing the disparity of each line in EPIs. However, these methods often extract the optimal slope of the lines from EPIs while ignoring the relationship between neighboring pixels, which leads to inaccurate depth map predictions. Based on the observation that an oriented line and its neighboring pixels in an EPI share a similar linear structure, we propose an end-to-end fully convolutional network (FCN) to estimate the depth value of the intersection point on the horizontal and vertical EPIs. Specifically, we present a new feature-extraction module, called Oriented Relation Module (ORM), that constructs the relationship between the line orientations. To facilitate training, we also propose a refocusing-based data augmentation method to obtain different slopes from EPIs of the same scene point. Extensive experiments verify the efficacy of learning relations and show that our approach is competitive to other state-of-the-art methods.
Introduction
Light field cameras capture a rich 4D representation of a scene, recording both the 2D spatial position and 2D angular direction of light rays. A powerful way to analyze this data is through Epipolar Plane Images (EPIs)—2D slices formed by fixing one spatial and one angular dimension. In an EPI, a 3D scene point appears as a straight line whose slope is inversely proportional to the point's depth (disparity).
While many deep learning approaches have attempted to estimate depth by analyzing these slopes, they often treat lines in isolation. This local focus ignores the structural consistency between neighboring pixels, which typically share similar linear orientations. This oversight leads to errors in textureless regions or near complex occlusions. Furthermore, the lack of large-scale, densely labeled light field datasets remains a significant barrier to training robust models.
The Oriented Relation Network
To address these challenges, we propose a pseudo-Siamese Fully Convolutional Network (FCN) designed to process horizontal and vertical EPI patches through two distinct branches. The core of our architecture is the Oriented Relation Module (ORM).
Instead of simply extracting features from a single line, the ORM explicitly models the geometric relationship between the center pixel of an EPI patch and its neighborhood. By utilizing $1 \times 1$ convolutions and dot products to construct a relational feature map, the network learns the dependencies between neighboring line orientations. This provides the model with stronger contextual cues to resolve the true slope, especially in ambiguous regions.
Refocusing-Based Data Augmentation
Training deep networks for light field tasks is often hampered by data scarcity. We introduce a physics-inspired data augmentation technique based on light field refocusing. By mathematically shifting the sub-aperture images, we can simulate the effect of changing the camera's focal plane.
As shown in the figure above, this shifting process artificially alters the slopes of the lines within the EPIs. This allows us to generate multiple valid training patches—each with a new ground-truth disparity—from a single scene point. In our experiments, this approach expanded the effective training data by a factor of eight, significantly improving the network's generalization capabilities.
Experimental Results
We evaluated our model on the 4D Light Field Benchmark, using the BadPix metric (percentage of pixels with disparity error > 0.07) as our primary measure.
- Quantitative Performance: Our model achieved state-of-the-art results in 4 out of 8 test scenes, outperforming several recent multi-stream and EPI-patch-based networks.
- Ablation Study: The impact of our proposed modules is clear. A baseline network achieved a BadPix score of 9.45. Integrating the ORM reduced the error to 7.98, and adding the refocusing augmentation further reduced it to 7.41. The combination of both modules yielded a final BadPix score of 5.66, a massive improvement over the baseline.
- Qualitative Performance: The model is particularly effective at preserving sharp depth discontinuities in occluded scenes (e.g., Boxes) and reconstructing smooth surfaces in textureless areas (e.g., Cotton), all without requiring heavy post-processing optimization.
Conclusion
By explicitly modeling the relationships between neighboring line orientations in EPIs and utilizing a novel refocusing-based augmentation strategy, our Oriented Relation Network provides a robust solution for light field depth estimation. While the model currently faces challenges in extremely noisy environments, future work will explore the integration of global constraints to further enhance the stability of oriented line detection.
Summary updated