stereo-calibration icon indicating copy to clipboard operation
stereo-calibration copied to clipboard

Statistical analysis of calibration

Open sourishg opened this issue 8 years ago • 6 comments

  1. Generate insightful plots describing camera calibration accuracy. Here's an example: plot the graph of reprojection error vs number of images used for calibration.

  2. Compare multiple methods (AprilTags vs Checkerboard)

sourishg avatar Nov 28 '17 15:11 sourishg

How do I get the data? Do I run the code and store the data? Also, how do you want the comparison done?

BarunKGP avatar Dec 06 '17 17:12 BarunKGP

@BarunKGP yes you should collect the data by running the code. You can focus on solving (1) only for now since AprilTags calibration method for (2) isn't implemented yet.

I recommend using matplotlib for plotting.

sourishg avatar Dec 06 '17 17:12 sourishg

The cam_left.yaml and the cam_stereo.yaml files are generated using opencv. Should i load these files using pyyaml in python and plot the graph in matplotlib or should i use matplotlib wrapper for c++?

pushkalkatara avatar Dec 10 '17 12:12 pushkalkatara

@pushkalkatara why are loading the yaml files? I think you only need to record the calibration error (which right now I'm echoing out in the terminal) and the number of images used for calibration (specified by the -n flag).

No need to write a C++ wrapper for matplotlib, you can use python.

sourishg avatar Dec 11 '17 08:12 sourishg

@sourishg Please review the PR.

pushkalkatara avatar Dec 12 '17 12:12 pushkalkatara

@sourishg, should I embed python code in calib_intrinsic.cpp to use matplotlib and print out the graphs?

BarunKGP avatar Dec 15 '17 04:12 BarunKGP