Coder Social home page Coder Social logo

improvedocamcalib's Introduction

Improved OcamCalib

This repository contains addon files for Scaramuzzas OcamCalib Toolbox. More information about the addon can be found in the paper. If you use the addons, consider citing it.

@article{urban2015improved,
  title={Improved wide-angle, fisheye and omnidirectional camera calibration},
  author={Urban, Steffen and Leitloff, Jens and Hinz, Stefan},
  journal={ISPRS Journal of Photogrammetry and Remote Sensing},
  volume={108},
  pages={72--79},
  year={2015},
  publisher={Elsevier}
}

Installation instruction

  1. Download and extract the original toolbox Scaramuzza_OCamCalib_v3.0 from Davide Scaramuzzas Homepage Link (link worked june 2015)
  2. Download this repository and copy the content of the src folder to the main directory of ocam_calib.
  3. You should be asked to replace C_calib_data.m and optimizefunction.m -> click yes. The first file contains additional variables for statistics. The second file contains additional code lines to save statistics but is actually not used by the improved toolbox.

If you want to run the test data sets, copy the images from "FisheyeDataSets/" to the same folder (contains 3 image data sets and test scripts)

Calibration and Tests

How to calibrate a single camera:

  1. Run ocam_calibUrban.m !!! (instead of ocam_calib)
  2. press (in that order) * read names * extract grid corners * calibration * non-linear refinement (LM least squares) or robust non-linear refinement (LM least squares with Huber)

How to calibrate all test images/cameras at once

  1. If not done already, copy the images from FisheyeDataSets to the ocam_calib folder
  2. Download SampleImages.zip from Davide Scaramuzzas Homepage Link
  3. Run Step1_perform_test_calibrations.m (this takes quite a while) (If you want to run it fully automatic with polynomial order 4, go to calibration.m and comment out line 31)
  4. Compare results with Step2_compare_results.m

all image files should be .jpg . Otherwise you have to change the test script Step1_perform_test_calibrations.m

improvedocamcalib's People

Contributors

urbste avatar johnlunney avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.