Estimating 2D Camera Motion with Hybrid Motion Basis
No official code found. Best implementation: lhaippp/CamFlow-Code (10 stars, Apache-2.0, last commit 2025-12-20). 1 more below.
Abstract
Estimating 2D camera motion is a fundamental computer vision task that models the projection of 3D camera movements onto the $2 D$ image plane. Current methods rely on either homography-based approaches, limited to planar scenes, or meshflow techniques that use grid-based local homographies but struggle with complex non-linear transformations.
Show full abstractHide
We introduce CamFlow, a novel framework that represents camera motion using hybrid motion bases: physical bases derived from camera geometry and stochastic bases for complex scenarios. Our approach includes a hybrid probabilistic loss function based on the Laplace distribution that enhances training robustness. For evaluation, we create a new benchmark by masking dynamic objects in existing optical flow datasets to isolate pure camera motion. Experiments show CamFlow outperforms state-of-the-art methods across diverse scenarios, demonstrating superior robustness and generalization in zero-shot settings. Code and datasets are available at our project page: https://lhaippp.github.io/CamFlow/.