Skip to content

AaltoVision/camera-gyro-calibration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Codes for Robust Gyroscope-Aided Camera Self-Calibration

Santiago Cortés Reina (Doctoral student at Aalto University)

Summary

Camera autocalibration using the gyroscope. Using a linearized dynamic model and a pinhole projection camera model with two distortion coefficients.

Dependencies

Created in MatLab R2017a.

FFMPEG is used to extract the frames.

In order to extract features mexopencv (3.0.0) is used.

The extracted points are available and thus the example can be run without FFMPEG and mexopencv.

Code description

All files are written in Mathworks Matlab

  • main.m (Matlab) Example of selfcalibration
  • data(folder) Folder containing example video, IMU data and extracted features.

Example

  • run main.m to generate the example solution as shown in 1.
  • visualization control variables are present( video frames need to be extracted into data folder beforehand)
  • to extract frames run the following comment.
ffmpeg -r 2 -i data/cards2/data.mov data/cards2/frame-%05d.png 

References

  • S. Cortés, A. Solin, J. Kannala (2018). Robust Gyroscope-Aided Camera Self-Calibration. In Proceedings of the International Conference on Information Fusion (FUSION). Cambridge, UK. (arXiv)

License

This software is distributed under the GNU General Public License (version 3 or later); please refer to the file LICENSE.txt, included with the software, for details.

Releases

No releases published

Packages

No packages published

Languages