[Paper Review] Fast Optical Flow using Dense Inverse Search
This paper proposes Dense Inverse Search (DIS), a fast optical flow method that achieves 300–600 Hz on a single CPU core with competitive accuracy by leveraging inverse search for efficient patch matching, multi-scale aggregation, and variational refinement. It outperforms state-of-the-art methods by 1–2 orders of magnitude in speed while maintaining high flow quality, even at low frame rates, making it suitable for real-time applications.
Most recent works in optical flow extraction focus on the accuracy and neglect the time complexity. However, in real-life visual applications, such as tracking, activity detection and recognition, the time complexity is critical. We propose a solution with very low time complexity and competitive accuracy for the computation of dense optical flow. It consists of three parts: 1) inverse search for patch correspondences; 2) dense displacement field creation through patch aggregation along multiple scales; 3) variational refinement. At the core of our Dense Inverse Search-based method (DIS) is the efficient search of correspondences inspired by the inverse compositional image alignment proposed by Baker and Matthews in 2001. DIS is competitive on standard optical flow benchmarks with large displacements. DIS runs at 300Hz up to 600Hz on a single CPU core, reaching the temporal resolution of human's biological vision system. It is order(s) of magnitude faster than state-of-the-art methods in the same range of accuracy, making DIS ideal for visual applications.
Motivation & Objective
- To address the critical trade-off between speed and accuracy in optical flow estimation for real-time visual applications.
- To develop a method with low time complexity that remains competitive in accuracy, especially under large displacements and challenging deformations.
- To enable high frame-rate optical flow computation on standard hardware, approaching the temporal resolution of human vision.
- To explore the advantage of higher frame rates combined with simpler algorithms over lower frame rates with complex, high-accuracy methods.
- To provide a practical, efficient optical flow solution deployable in embedded systems, robotics, and large-scale data pipelines.
Proposed method
- The method uses inverse search inspired by the inverse compositional algorithm to efficiently find patch correspondences, reducing computational cost.
- It performs dense displacement field creation through multi-scale patch aggregation, enhancing accuracy while maintaining speed.
- A variational refinement step improves the initial flow estimate, refining motion vectors with smoothness constraints.
- The approach is designed for single-core CPU execution, minimizing preprocessing overhead and achieving high frame rates.
- It leverages a coarse-to-fine strategy to handle large displacements by tracking small motions across multiple high-frame-rate steps.
- The method avoids expensive optimization loops by relying on fast, localized matching with robust error metrics.
Experimental results
Research questions
- RQ1Can a simple, fast optical flow method achieve performance comparable to state-of-the-art methods at significantly higher frame rates?
- RQ2Does increasing frame rate compensate for using a simpler algorithm, especially in handling large displacements?
- RQ3Can inverse search be effectively adapted for dense optical flow with minimal computational cost?
- RQ4How does the performance of a high-speed method compare to complex, high-accuracy methods when frame rate is reduced?
- RQ5Can a CPU-based method achieve real-time optical flow at 300–600 Hz with competitive accuracy on standard benchmarks?
Key findings
- DIS achieves 600 Hz on a single CPU core at 1024×436 resolution, reaching the temporal resolution of human biological vision.
- At 10 Hz, DIS maintains accuracy comparable to top methods running at 0.5 Hz, demonstrating the benefit of higher frame rates.
- DIS outperforms DeepFlow at 0.5 Hz on low-temporal-resolution data, especially for large displacements, due to better handling of small motions over time.
- The method is 1–2 orders of magnitude faster than state-of-the-art methods at similar accuracy levels, as shown on Sintel and KITTI benchmarks.
- DIS maintains competitive performance even when including preprocessing steps, running at 42–46 Hz with disk access and image resizing.
- The results show that high frame rate combined with a simple algorithm can outperform complex algorithms at lower frame rates, especially for large displacements.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.