HMAFlow: Learning More Accurate Optical Flow via Hierarchical Motion Field Alignment

Dianbo Ma, Kousuke Imamura, Ziyan Gao, Xiangjie Wang, Satoshi Yamane
9/9/2024
cs.CVcs.AI

Official code: BooTurbo/HMAFlow (3 stars, Apache-2.0, last commit 2025-02-02).

Abstract

Optical flow estimation is a fundamental and long-standing visual task. In this work, we present a novel method, dubbed HMAFlow, to improve optical flow estimation in challenging scenes, particularly those involving small objects. The proposed model mainly consists of two core components: a Hierarchical Motion Field Alignment (HMA) module and a Correlation Self-Attention (CSA) module. In addition, we rebuild 4D cost volumes by employing a Multi-Scale Correlation Search (MCS) layer and replacing average pooling in common cost volumes with a search strategy utilizing multiple search ranges. Experimental results demonstrate that our model achieves the best generalization performance compared to other state-of-the-art methods. Specifically, compared with RAFT, our method achieves relative error reductions of 14.2% and 3.4% on the clean pass and final pass of the Sintel online benchmark, respectively. On the KITTI test benchmark, HMAFlow surpasses RAFT and GMA in the Fl-all metric by relative margins of 6.8% and 7.7%, respectively. To facilitate future research, our code will be made available at https://github.com/BooTurbo/HMAFlow.

View on arXivView PDF

Code Implementations(1)

BooTurbo/HMAFlowOfficial100%
Apache-2.0
30Shell, PythonAug 6, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{ma2024hmaflow,
  title  = {HMAFlow: Learning More Accurate Optical Flow via Hierarchical Motion Field Alignment},
  author = {Dianbo Ma and Kousuke Imamura and Ziyan Gao and Xiangjie Wang and Satoshi Yamane},
  year   = {2024},
  eprint = {2409.05531},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.05531v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.05531.svg)](https://codeofpaper.com/paper/2409.05531)

Discussion