Abstract
This paper introduces a high-speed optical flow algorithm designed to handle large pixel displacements without losing fine structural details. By combining a randomized PatchMatch search with edge-preserving bilateral weights and a novel self-similarity propagation technique, the authors achieve state-of-the-art accuracy at speeds significantly faster than contemporary global optimization methods.
Introduction
Optical flow estimation—the process of determining pixel-wise motion between consecutive video frames—is a fundamental task in computer vision. Historically, "coarse-to-fine" strategies have been the standard, but they often fail to capture small, fast-moving objects that vanish at lower image resolutions. While Nearest Neighbor Field (NNF) algorithms like PatchMatch can effectively find these large displacements by searching across the entire image, they often produce noisy results in textureless regions and struggle to respect object boundaries. This research presents a method that is both edge-aware and computationally efficient, regardless of the search range or patch size.
Methodology
The proposed algorithm introduces three primary technical innovations to overcome the limitations of traditional patch-based matching.
Edge-Preserving PatchMatch
The standard PatchMatch cost function is modified by incorporating bilateral weights. This ensures that when comparing two patches, pixels that are spatially distant or have significantly different colors than the center pixel contribute less to the matching score. This allows the use of large patches (e.g., $35 \times 35$) to resolve visual ambiguity while maintaining sharp motion boundaries.
Self-Similarity Propagation
Calculating bilateral costs for large patches is typically computationally expensive. To address this, the authors observed that most matching information is contained in pixels similar to the center. By precomputing a "self-similarity vector" for each pixel (the $n=50$ most similar neighbors) and propagating these patterns, the computational complexity becomes dependent on $n$ rather than the patch area ($35^2 = 1225$), resulting in a massive speedup.
Hierarchical Pipeline and Refinement
To further optimize performance, the system utilizes a multi-scale approach. The NNF is initially computed at a lower resolution and then brought to full resolution using joint bilateral upsampling. A localized $3 \times 3$ search is then performed to refine the results at the subpixel level.
Experimental Evaluation
The algorithm was evaluated on three major optical flow benchmarks: MPI Sintel (animated sequences with large motion and blur), KITTI (real-world autonomous driving), and Middlebury (small-displacement laboratory scenes).
The results demonstrate remarkable efficiency, with the algorithm processing frames in approximately 0.25 seconds on an NVIDIA GTX 780 GPU. In comparison, other high-performing methods of the era required between 17 and 500 seconds. On the MPI Sintel "Clean" pass, the method ranked near the top for large displacements (motions > 40 pixels), proving its effectiveness for fast-moving objects without compromising boundary quality.
Conclusion
This work demonstrates that a carefully designed local patch-based method can achieve accuracy comparable to expensive global energy minimization frameworks while being orders of magnitude faster. While the method still faces challenges in large textureless regions and extreme atmospheric effects (like heavy fog), the "self-similarity propagation" technique offers a promising direction for other edge-aware computer vision tasks such as stereo matching and image editing.
Summary updated