Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/deboliveira/mycameracalibrator
MATLAB and Python camera calibration framework
https://github.com/deboliveira/mycameracalibrator
camera-calibration intrinsics
Last synced: 2 months ago
JSON representation
MATLAB and Python camera calibration framework
- Host: GitHub
- URL: https://github.com/deboliveira/mycameracalibrator
- Owner: debOliveira
- License: gpl-2.0
- Created: 2022-01-23T19:08:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-11T09:40:35.000Z (over 1 year ago)
- Last Synced: 2023-07-11T10:33:45.387Z (over 1 year ago)
- Topics: camera-calibration, intrinsics
- Language: Jupyter Notebook
- Homepage:
- Size: 62.6 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Camera calibrator [![GitHub forks](https://img.shields.io/github/forks/debOliveira/myCameraCalibrator.svg?style=social&label=Fork&maxAge=2592000)](https://GitHub.com/debOliveira/myCameraCalibrator/network/) [![GitHub stars](https://img.shields.io/github/stars/debOliveira/myCameraCalibrator.svg?style=social&label=Star&maxAge=2592000)](https://GitHub.com/debOliveira/myCameraCalibratorn/stargazers/)
Camera calibration using the [generic camera model](https://ieeexplore.ieee.org/document/1642666). Adaptation of [Kannala's](https://users.aalto.fi/~kannalj1/calibration/calibration.html) and [Deng's](https://github.com/DengMark/CameraCalibrator) toolbox correcting the initial guess.
## ⚔️ Usage
- Configure the parameters and run [calibrate.m](matlab/calibrate.m)
- Change the first cell of the notebook [calibIntrisics.ipynb](python/calibIntrisics.ipynb) to match your image folder
- Change the values in cell 6 to the values calibrated using the MATLAB code (1st step). Sadly this has to be done manually
- Set the flag `useFisheye` to false if you want to use the pinhole model## 🚨 Note
> As this procedure is an optimization algorithm, the distortions coefficients between `python` and `matlab` codes may differ while the focal length and principal points remain equal.