ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.21k stars 1.38k forks source link

Why is the number of rows and columns of april grid are limited to a minimum of 3 #609

Open Ruthrash opened 1 year ago

Ruthrash commented 1 year ago

https://github.com/ethz-asl/kalibr/blob/f581b27b68051200c1786e5f901cfe059e3f93b2/aslam_offline_calibration/kalibr/python/kalibr_common/ConfigReader.py#L613

Any prinicipled reason for limitied minimum number of rows and columns to 3?

goldbattle commented 1 year ago

I believe this is because it is detecting the inner corners of the checkerboard, which is not possible with less than 3 rows or columns. Maybe you could search about OpenCV's checkerboard detection to understand more.

Ruthrash commented 1 year ago

I understand that's the case for the checkerboard, but my question was for the april grid. I can think of no reason why we need to limit it for the april grid case

goldbattle commented 1 year ago

Very true, would need to test to see if that gives good results.