Skip to content

Latest commit

 

History

History
executable file
·
80 lines (61 loc) · 3.9 KB

README.md

File metadata and controls

executable file
·
80 lines (61 loc) · 3.9 KB

Minimal Solvers for Single-View Lens-Distorted Camera Auto-Calibration

Paper Conference Poster Youtube

This repository contains the MATLAB implementation of the single-view auto-calibration framework.

Abstract

This paper proposes minimal solvers that use combinations of imaged translational symmetries and parallel scene lines to jointly estimate lens undistortion with either affine rectification or focal length and absolute orientation. We use constraints provided by orthogonal scene planes to recover the focal length. We show that solvers using feature combinations can recover more accurate calibrations than solvers using only one feature type on scenes that have a balance of lines and texture. We also show that the proposed solvers are complementary and can be used together in a RANSAC-based estimator to improve auto-calibration accuracy. State-of-the-art performance is demonstrated on a standard dataset of lens-distorted urban images.

If you find our work useful or interesting, please consider citing us:

@InProceedings{Lochman-WACV21,
    title     = {Minimal Solvers for Single-View Lens-Distorted Camera Auto-Calibration},
    author    = {Lochman, Yaroslava and Dobosevych, Oles and Hryniv, Rostyslav and Pritts, James},
    booktitle = {Proceedings of the IEEE Winter Conference on Applications of Computer Vision},
    year      = {2021},
}

If you use detected translational symmetries please also cite:

@Article{Pritts-PAMI20,
    title     = {Minimal Solvers for Rectifying from Radially-Distorted Conjugate Translations}, 
    author    = {Pritts, James and Kukelova, Zuzana and Larsson, Viktor and Lochman, Yaroslava and Chum, Ond{\v{r}}ej},
    journal   = {IEEE Transactions on Pattern Analysis and Machine Intelligence},
    year      = {2020},
}

and

@InProceedings{Pritts-CVPR18,
  title     = {Radially-distorted conjugate translations},
  author    = {Pritts, James and Kukelova, Zuzana and Larsson, Viktor and Chum, Ond{\v{r}}ej},
  booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition},
  pages     = {1993--2001},
  year      = {2018}
}

Usage

The software supports x86-64 Linux systems. MacOS systems are partially supported -- only circular arcs and no regions can be extracted.

The required library Visual Geometry Toolkit is added as a submodule. Please clone the repository with submodules:

git clone --recurse-submodules https://github.com/ylochman/single-view-autocalib

If you already cloned the project without submodules, you can run

git submodule update --init --recursive 

Try our framework on your image by running

init; % add project paths, add solver aliases etc.
img_path = 'data/img1.jpg'; % specify a path to an image
solvers = [Solver2PC4CA, Solver6CA]; % define the solver(s)
autocalib(img_path, solvers); % run auto-calibration

Check the default configurations in cfg_autocalib.

An example that runs autocalib with custom configurations is provided in autocalib_test.

The list of available minimal solvers can be found in init_solvers.

License

The software is licensed under the BSD 3-Clause license. Please see LICENSE for details.