HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Global Matching with Overlapping Attention for Optical Flow Estimation

Shiyu Zhao Long Zhao Zhixing Zhang Enyu Zhou Dimitris Metaxas

Global Matching with Overlapping Attention for Optical Flow Estimation

Abstract

Optical flow estimation is a fundamental task in computer vision. Recent direct-regression methods using deep neural networks achieve remarkable performance improvement. However, they do not explicitly capture long-term motion correspondences and thus cannot handle large motions effectively. In this paper, inspired by the traditional matching-optimization methods where matching is introduced to handle large displacements before energy-based optimizations, we introduce a simple but effective global matching step before the direct regression and develop a learning-based matching-optimization framework, namely GMFlowNet. In GMFlowNet, global matching is efficiently calculated by applying argmax on 4D cost volumes. Additionally, to improve the matching quality, we propose patch-based overlapping attention to extract large context features. Extensive experiments demonstrate that GMFlowNet outperforms RAFT, the most popular optimization-only method, by a large margin and achieves state-of-the-art performance on standard benchmarks. Thanks to the matching and overlapping attention, GMFlowNet obtains major improvements on the predictions for textureless regions and large motions. Our code is made publicly available at https://github.com/xiaofeng94/GMFlowNet

Code Repositories

xiaofeng94/gmflownet
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
optical-flow-estimation-on-kitti-2015GMFlowNet
Fl-all: 4.79
Fl-fg: 6.84
optical-flow-estimation-on-kitti-2015-trainGMFlowNet
EPE: 4.24
F1-all: 15.4
optical-flow-estimation-on-sintel-cleanGMFlowNet
Average End-Point Error: 1.390
optical-flow-estimation-on-sintel-finalGMFlowNet
Average End-Point Error: 2.648

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp