tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.6k stars 1.23k forks source link

Doubts regarding camera calibration file. #137

Open anuragajay opened 9 years ago

anuragajay commented 9 years ago

In OpenCv camera model, What are k1 k2 p1 p2? Are they first four distortion cofficient? I am asking cause I am not sure what to use for them. My camera info is:

height: 240 width: 320 distortion_model: plumb_bob D: [0.0, 0.0, 0.0, 0.0, 0.0] K: [159.99941228826285, 0.0, 160.5, 0.0, 159.99941228826285, 120.5, 0.0, 0.0, 1.0] R: [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0] P: [159.99941228826285, 0.0, 160.5, -0.0, 0.0, 159.99941228826285, 120.5, 0.0, 0.0, 0.0, 1.0, 0.0]

alejandronespereira commented 7 years ago

Hi @anuragajay, I am facing the same doubt as you. Did you find the solution?

mfilipen commented 6 years ago

Distortion coefficients = (k1, k2, p1, p2, k3) k3 = 0 For more information: https://docs.opencv.org/3.1.0/dc/dbb/tutorial_py_calibration.html