Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

High-Resolution Optical Flow from 1D Attention and Correlation

About

Optical flow is inherently a 2D search problem, and thus the computational complexity grows quadratically with respect to the search window, making large displacements matching infeasible for high-resolution images. In this paper, we take inspiration from Transformers and propose a new method for high-resolution optical flow estimation with significantly less computation. Specifically, a 1D attention operation is first applied in the vertical direction of the target image, and then a simple 1D correlation in the horizontal direction of the attended image is able to achieve 2D correspondence modeling effect. The directions of attention and correlation can also be exchanged, resulting in two 3D cost volumes that are concatenated for optical flow estimation. The novel 1D formulation empowers our method to scale to very high-resolution input images while maintaining competitive performance. Extensive experiments on Sintel, KITTI and real-world 4K ($2160 \times 3840$) resolution images demonstrated the effectiveness and superiority of our proposed method. Code and models are available at \url{https://github.com/haofeixu/flow1d}.

Haofei Xu, Jiaolong Yang, Jianfei Cai, Juyong Zhang, Xin Tong• 2021

Related benchmarks

TaskDatasetResultRank
Optical Flow EstimationKITTI 2015 (train)
Fl-epe5.59
431
Optical Flow EstimationMPI Sintel Final (train)
Endpoint Error (EPE)3.27
209
Optical Flow EstimationMPI Sintel Clean (train)
EPE1.98
202
Optical FlowSintel (train)
AEPE (Clean)1.98
179
Optical FlowSintel (test)
AEPE (Final)3.81
120
Optical FlowKITTI-15 (test)
Fl-all6.27
85
Optical FlowKITTI (train)
Fl-all0.2295
63
Optical FlowMPI Sintel (train)
EPE (Final)3.27
63
Optical FlowSintel Clean
EPE2.238
27
Optical FlowSintel Final
EPE3.806
27
Showing 10 of 11 rows

Other info

Follow for update