English

Oflib: Facilitating Operations with and on Optical Flow Fields in Python

Computer Vision and Pattern Recognition 2022-10-17 v2

Abstract

We present a robust theoretical framework for the characterisation and manipulation of optical flow, i.e 2D vector fields, in the context of their use in motion estimation algorithms and beyond. The definition of two frames of reference guides the mathematical derivation of flow field application, inversion, evaluation, and composition operations. This structured approach is then used as the foundation for an implementation in Python 3, with the fully differentiable PyTorch version oflibpytorch supporting back-propagation as required for deep learning. We verify the flow composition method empirically and provide a working example for its application to optical flow ground truth in synthetic training data creation. All code is publicly available.

Keywords

Cite

@article{arxiv.2210.05635,
  title  = {Oflib: Facilitating Operations with and on Optical Flow Fields in Python},
  author = {Claudio Ravasio and Lyndon Da Cruz and Christos Bergeles},
  journal= {arXiv preprint arXiv:2210.05635},
  year   = {2022}
}

Comments

"What is Motion for?" - ECCV 2022 Workshop Submission

R2 v1 2026-06-28T03:16:22.336Z