Abstract
2D spatial image windows are used for comparing pixel values in computer vision applications such as correspondence for optical flow and 3D reconstruction, bilateral filtering, and image segmentation. However, pixel window comparisons can suffer from varying defocus blur and perspective at different depths, and can also lead to a loss of precision. In this paper, we leverage the recent use of light-field cameras to propose alternative oriented light-field windows that enable more robust and accurate pixel comparisons. For Lambertian surfaces focused to the correct depth, the 2D distribution of angular rays from a pixel remains consistent. We build on this idea to develop an oriented 4D light-field window that accounts for shearing (depth), translation (matching), and windowing. Our main application is to scene flow, a generalization of optical flow to the 3D vector field describing the motion of each point in the scene. We show significant benefits of oriented light-field windows over standard 2D spatial windows. We also demonstrate additional applications of oriented light-field windows for bilateral filtering and image segmentation.
Introduction
Most computer vision algorithms rely on comparing pixel values across different images or neighborhoods. To handle noise, researchers typically use 2D spatial windows—small patches of pixels. However, these windows have a major flaw: they do not account for depth. When an object moves in 3D space, its appearance in a 2D window changes due to focal blur and perspective shifts. A window that looks sharp at one depth might appear blurred at another. Furthermore, spatial windows inherently lose precision because they average information over a neighborhood.
Light-field cameras address these issues by capturing not just the intensity of light at a pixel, but also the direction of the incoming rays. This paper introduces "oriented light-field windows," which use 4D spatio-angular information to account for depth and perspective shifts, allowing for much more robust pixel matching than traditional 2D windows.
Methodology
The core contribution is the Oriented 4D Light-Field Window. This operator combines three fundamental elements to process the 4D light field:
- Shear ($\alpha$): This accounts for the depth of the scene point. In light-field "ray space" (Epipolar Plane Images or EPIs), a change in depth corresponds to a linear shear.
- Translation ($\Delta x, \Delta y$): This accounts for the spatial movement (matching) of the point between frames.
- Windowing ($W$): Gaussian weights are applied in both the spatial and angular domains to define the window's extent.
For scene flow estimation, the authors develop an energy minimization framework where the "data term" calculates the sum of squared differences (SSD) between these oriented 4D windows. A Total Variation (TV) regularization term ensures the resulting motion field is piecewise smooth, utilizing confidence measures for depth and optical flow to handle occlusions.
Key Insights
- Angular Consistency: For Lambertian surfaces, all angular rays converging on a scene point should have the same intensity if the camera is focused correctly. The oriented window effectively "focuses" the light field on the correct depth.
- Precision vs. Robustness: By using the angular dimension, the authors achieve noise robustness without needing a large spatial footprint, thereby preserving fine details.
- Generalization: The 4D oriented window reduces to a standard 2D spatial window in a pinhole view as angular variance goes to zero.
Experimental Evaluation
The method was evaluated using both synthetic and real-world data. Synthetic scenes ("Table," "Cow," and "Teddy") provided ground-truth 3D motion and depth. Real-world data was captured using a Lytro Illum light-field camera, providing 49 sub-aperture images per frame.
Results
- Scene Flow Accuracy: On synthetic benchmarks, the proposed method outperformed state-of-the-art algorithms like SRSF and MDP-Flow2. In the "Table" scene, the method achieved an RMSE of 0.171, compared to 0.353 for SRSF.
- Edge Preservation: In bilateral filtering and SLIC superpixel segmentation, oriented windows were superior at detecting edges between objects with similar colors but different depths.
- Qualitative Performance: On real-world Lytro data, the method produced cleaner motion contours and handled occlusion boundaries far better than 2D-based approaches.
Discussion and Conclusion
While highly effective, the current formulation assumes Lambertian reflectance; highly specular materials may require further modeling. Additionally, searching a 4D space is computationally expensive, though the authors employ decoupling and local search to mitigate this. Future work includes extending this to 3D reconstruction and automated video editing. By incorporating depth directly into the matching window via shear, this approach provides a more robust foundation for 3D scene analysis.
Summary updated