Abstract
We consider the problem of computing optical flow in monocular video taken from a moving vehicle. In this setting, the vast majority of image flow is due to the vehicle's ego-motion. We propose to take advantage of this fact and estimate flow along the epipolar lines of the egomotion. Towards this goal, we derive a slanted-plane MRF model which explicitly reasons about the ordering of planes and their physical validity at junctions. Furthermore, we present a bottom-up grouping algorithm which produces over-segmentations that respect flow boundaries. We demonstrate the effectiveness of our approach in the challenging KITTI flow benchmark [11] achieving half the error of the best competing general flow algorithm and one third of the error of the best epipolar flow algorithm.
Introduction
Optical flow estimation—calculating the motion of every pixel between consecutive frames—is a fundamental task in computer vision, particularly for autonomous driving where it informs obstacle detection and 3D scene understanding. Standard methods typically perform a 2D search for pixel correspondences, which is computationally intensive and error-prone in textureless regions or under large displacements. However, for a camera mounted on a moving vehicle, motion is largely constrained by ego-motion. Static points in the environment must move along epipolar lines radiating from the focus of expansion (FOE). This paper leverages this geometric constraint to transform a difficult 2D search problem into a more robust 1D search.
Methods
The proposed pipeline consists of three primary stages designed to exploit the underlying geometry of the driving environment:
- SGM-Flow (Local Matching): The authors adapt Semi-Global Matching (SGM) to monocular flow by searching only along 1D epipolar lines. They introduce the VZ-ratio parameterization (the ratio of forward velocity to depth), which linearizes the search space and improves stability compared to searching for raw pixel offsets.
- MotionSLIC (Flow-Aware Segmentation): To represent the scene as a collection of slanted 3D planes, the image is partitioned into superpixels. MotionSLIC extends the popular SLIC algorithm by incorporating initial flow estimates, ensuring segment boundaries align with actual motion boundaries rather than just color changes.
- PCBP-Flow (Slanted-Plane MRF): A hybrid Markov Random Field (MRF) refines the flow by reasoning about the relationships between segments. It evaluates coplanarity, hinge connections, and occlusions, allowing the model to maintain sharp object silhouettes and fill in gaps in featureless areas like road surfaces.
Results
The approach was evaluated on the KITTI flow benchmark, consisting of real-world urban driving sequences with LiDAR ground truth. The method achieved a dominant outlier rate (pixels with >3px error) of 8.70%, significantly outperforming the best general flow algorithm of the time (18.42%) and previous epipolar-constrained methods (28.86%). The average end-point error was reduced to 2.2 pixels from the next best competitor's 6.6 pixels.
Discussion and Conclusion
While highly accurate, the method currently assumes a static world, which can be violated by other moving vehicles. Additionally, the final MRF optimization is computationally expensive, taking approximately 3.5 minutes per frame in the current implementation. Future work will focus on parallelizing the solver and incorporating dynamic motion models to handle non-static objects. Despite these challenges, the significant reduction in error rates demonstrates the power of leveraging domain-specific geometric constraints in optical flow estimation.
Summary updated