cs.CVSep 26, 2026

QuacamFM: Quaternion-Constrained Flow Matching for Camera Pose Estimation

Authors: Bao-Long Tran, Cuong Le, Tahereh Dehdarirad, Fredrik Viksten, Per-Erik Forssén

Organizations: Linköping University, Sweden

Abstract

Camera pose estimation from multi-view images remains a challenge in computer vision. Traditional methods often address this problem using Structure-from-Motion (SfM) with bundle adjustment. However, camera poses estimated from sparse views are inherently ambiguous due to insufficient geometric constraints. Recent work leverages probabilistic models, such as diffusion models, to generate multiple camera pose hypotheses and therefore capture this uncertainty better. Most of these methods represent camera rotations using unit quaternions, but treat them as unconstrained 4D vectors during the generative processes, thereby ignoring the unit-norm constraint of quaternions. Unconstrained quaternions create non-smooth and suboptimal generation trajectories. To this end, we propose QuacamFM, a quaternion-constrained flow matching framework for camera pose estimation that preserves unit quaternion representations throughout the entire flow trajectory. We design the optimal transport of the quaternion flows using smooth spherical linear interpolation. Experiments on CO3Dv2 demonstrate our method's advantage in camera pose accuracy over diffusion-based methods and classical SfM approaches. We further show that our quaternion-constrained formulation outperforms the naive application of standard flow matching to 4D quaternion vectors on sparse-view camera pose estimation. Finally, it is observed that QuacamFM generalizes well across datasets and in-the-wild examples.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PoseFM: Relative Camera Pose Estimation Through Flow Matching

    Apr 24, 2026Dominik Kuczkowski, Laura RuotsalainenRelative Pose EstimationCamera Pose Estimation

  2. CQF-HMR: Continuous Quaternion Flows for Probabilistic 3D Human Mesh Recovery from a Single Image

    Sep 1, 2026Cuong Le, Bao-Long Tran, Pavlo Melnyk +3Human Mesh Recovery3D Human Pose Estimation

  3. CamFlow+: Hybrid Motion Bases for 2D Camera Motion Estimation with Stabilization Applications

    Jun 4, 2026Haipeng Li, Zhen Liu, Zhanglei Yang +6Optical FlowCamera Pose Estimation