princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.66k stars 273 forks source link

Best ways to get a camera intrinsic parameters. #11

Closed Nischal-avataar closed 2 years ago

Nischal-avataar commented 2 years ago

Is there a standard way to get the camera intrinsic parameters given just the images?

zachteed commented 2 years ago

The standard method is to use a known calibration pattern. There are some toolboxes for performing calibration such as kalibr https://github.com/ethz-asl/kalibr . For example, if you're using a rolling shutter camera https://github.com/ethz-asl/kalibr/wiki/Rolling-Shutter-Camera-calibration.

If you only have access to the video and not the camera, you could try running SfM software like COLMAP to estimate camera parameters and distortion.