gkiavash / Master-Thesis-Structure-from-Motion

1 stars 1 forks source link

Calibrate the GoPro camera #7

Open gkiavash opened 1 year ago

gkiavash commented 1 year ago

Calibrate the GoPro camera using the attached checkerboard, you may calibrate it in two lens setups

gkiavash commented 1 year ago

Link to the images: https://drive.google.com/drive/folders/199WSPGOkQ5wyquNwL-v2gRp1DSO1eXIs?usp=share_link

The calibration code is taken from my professor's repository, Dr. Alberto Pretto: https://bitbucket.org/alberto_pretto/cv_ext/src/master/

Final results:

%YAML:1.0
---
width: 5184
height: 3888
K: !!opencv-matrix
   rows: 3
   cols: 3
   dt: d
   data: [ 2.2880100739220425e+03, 0., 2.5716169994772490e+03, 0.,
       2.2845293722010042e+03, 1.9205706165878657e+03, 0., 0., 1. ]
D: !!opencv-matrix
   rows: 8
   cols: 1
   dt: d
   data: [ -2.6434196998339271e-01, 9.9571471417386093e-02,
       -2.4160314862664079e-04, -2.2267220647390027e-04,
       -1.9631169477800196e-02, 0., 0., 0. ]

Some of the undistorted images:

  1. raw distorted image:

GOPR0037

  1. undistorted image

UNDIST_GOPR0037

gkiavash commented 1 year ago

Applying distortion params to the urban dataset:

scene10141

undist