Optical Flow via Locally Adaptive Fusion of Complementary Data Costs

Tae Hyun Kim, Hee Seok Lee, Kyoung Mu LeeICCV 2013

Abstract

Many state-of-the-art optical flow estimation algorithms optimize the data and regularization terms to solve ill-posed problems. In this paper, in contrast to the conventional optical flow framework that uses a single or fixed data model, we study a novel framework that employs locally varying data term that adaptively combines different multiple types of data models. The locally adaptive data term greatly reduces the matching ambiguity due to the complementary nature of the multiple data models. The optimal number of complementary data models is learnt by minimizing the redundancy among them under the minimum description length constraint (MDL). From these chosen data models, a new optical flow estimation energy model is designed with the weighted sum of the multiple data models, and a convex optimization-based highly effective and practical solution that finds the optical flow, as well as the weights is proposed. Comparative experimental results on the Middlebury optical flow benchmark show that the proposed method using the complementary data models outperforms the state-of-the art methods.

Introduction

Optical flow estimation—the task of determining pixel-wise motion between consecutive image frames—is a fundamental yet challenging "ill-posed" problem in computer vision. Traditional variational frameworks typically rely on a single data term, most commonly brightness constancy, which assumes that a pixel's intensity remains invariant as it moves. However, real-world conditions frequently violate these assumptions due to illumination changes, shadows, or complex geometric transformations.

While various data models like gradient constancy or block matching have been proposed to address specific failures, no single model is universally robust. This research introduces a novel framework that adaptively fuses multiple complementary data costs, allowing the algorithm to leverage the strengths of different models locally where they are most effective.

Methodology: Locally Adaptive Fusion

The core innovation of this work is a Locally Adaptive Fusion framework. Instead of applying a global data model, the algorithm computes a spatially varying weighted sum of multiple data models at every pixel.

1. The Energy Functional

The proposed global energy function integrates four critical components:

  • Data Fidelity ($E_{data}$): A weighted combination of multiple data models, including RGB brightness, gradients, and Sum of Absolute Differences (SAD).
  • Data Discriminability ($E_{dscr}$): This term acts as a quality metric, favoring data models that yield sharp, unique matches. It effectively penalizes ambiguous models in textureless regions, similar to the principle of a Harris corner detector.
  • Weight Regularization ($E_{reg}(w)$): Ensures spatial smoothness of the fusion weights across the image.
  • Flow Regularization ($E_{reg}(u)$): Utilizes a Total Variation (TV) term to maintain motion field smoothness while preserving sharp motion boundaries.

2. Selection of Complementary Models

To minimize redundancy and computational overhead, the authors employed the Minimum Description Length (MDL) principle. Starting from 31 candidate models, they identified an optimal set of 8 complementary models that maximize accuracy while minimizing complexity. These include brightness constancy for Red, Blue, and Gray channels; horizontal and vertical gradient constancy for Green and Blue channels; and a 5x5 SAD block match for the Green channel.

3. Optimization Strategy

The resulting non-convex energy functional is solved using quadratic relaxation to decouple variables, followed by a first-order primal-dual algorithm. This approach enables efficient optimization of both the flow field and the fusion weights on a GPU, achieving practical runtimes of approximately 150 seconds for standard sequences.

Experimental Results

The framework was evaluated on the Middlebury optical flow benchmark, which served as the gold standard for the field. The training set was used to derive the 8-model subset via MDL, while the test set provided a rigorous comparison against existing state-of-the-art methods.

Comparison of optical flow results on the Middlebury benchmark.

At the time of its release, the proposed method achieved a top ranking on the Middlebury benchmark, specifically placing 1st in Average End-Point Error (AEPE) and 2nd in Average Angular Error (AAE). Qualitative analysis demonstrates that the fusion approach successfully recovers motion in challenging regions—such as those with heavy shadows or fine textures—where single-model methods typically fail. The use of continuous weights allows for effective model "averaging" in noisy regions, significantly suppressing errors compared to binary selection methods.

Conclusion and Future Work

By moving away from a "one-size-fits-all" data model, this research demonstrates that locally adaptive fusion of complementary costs significantly enhances optical flow accuracy. The method effectively reduces matching ambiguity by prioritizing discriminative data models. Future work may focus on integrating occlusion handling directly into the energy minimization process and exploring automated parameter tuning to improve robustness across even more diverse video content.

Summary updated

BibTeX
@inproceedings{kim2013optical,
  author = {Tae Hyun Kim and Hee Seok Lee and Kyoung Mu Lee},
  title = {{Optical Flow via Locally Adaptive Fusion of Complementary Data Costs}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=BkNy8ZzdbB},
}
Figure