The MRT Camera Calibration Toolbox is an application, developed in Python using OpenCV and tkinter, which determines the parameters of a camera's perspective projection by performing an intrinsic and extrinsic geometric calibration.
The application provides intrinsics, extrinsics and lens distortion parameters for each camera (two for stereo mode). For the stereo mode, the transformations between the individual camera coordinate systems are given as well. The information for each camera pose can be loaded using images or text files with the 2D points of the pattern. The calibration can be also made by using random subgroups from the total set of images. The computed parameters are the averaged over all iterations, and both the final results and the results per calibration can be exported to text files.
- Calibration of multispectral stereo camera systems
- Calibration of camera systems with different resolutions
- Visualization of the reprojection error
- Image Cover Visibility
- Statistical validation by means of calibration with subsets
- Import and export of data
- It's free!
To use the toolbox, the modules listed below have to be installed on your computer.
- Python3 (Tested for Python 3.4 and Python 3.6)
- OpenCV 4.1
- tkinter 8.6
- PIL 5.4.1
- numpy 1.16.4
- matplotlib 1.3.1
You can download the source code and execute the toolbox main.py directly on your computer through the Linux or Windows terminal:
cd path/to/your/toolbox
python3 main.pyCheck this animation of a running example of the MRT Camera Calibration Toolbox.
Further information on the use of the Toolbox and the underlying calculations can be found in this pdf.
Contributions are very welcome. Open a fresh issue to start a discussion around a feature idea or a bug.
For quaternions.py code based on: Christoph Hagen. "averaging quaternions". Available here: https://github.com/christophhagen/averaging-quaternions
Toolbar icons obtain from: https://www.iconfinder.com
So far no publication has been written on the current toolbox, we recommend the following paper for citation of the geometric calibration of cameras in several spectral ranges:
@INPROCEEDINGS{Rangel2014,
author = {Rangel González, Johannes Havid and Soldan, Samuel and Kroll, Andreas},
title = {3D Thermal Imaging: Fusion of Thermography and Depth Cameras},
booktitle = {12th International Conference for Quantitative InfraRed Thermography (QIRT 2014)},
year = {2014},
address = {Bordeaux, France}
}If you have any questions, please email Daniela Aguirre Salazar at daguirres@unal.edu.co or Sebastian Schramm at sebastian.schramm@mrt.uni-kassel.de.
