HKUST-Aerial-Robotics/GVINS-Dataset

Camera calibration dataset / pinhole camera model

JonasBchrt opened this issue · 3 comments

@shaozu thank you for making these datasets available to the public.
We would like to run code on your dataset that supports only the pinhole camera model, not the Mei model. Do you think you could provide a calibration dataset such that we can run kalibr and use the model that we support? Or maybe you have calibrated a pinhole camera model yourself already or it would be very easy for you to do?

@JonasBchrt below please find the parameters for the pinhole model.

left

%YAML:1.0

#left camera calibration 
model_type: PINHOLE
camera_name: cam1
image_width: 752
image_height: 480
distortion_parameters:
   k1: -0.295269
   k2: 0.085067
   p1: 0.000352
   p2: -0.000219
projection_parameters:
   fx: 468.157508
   fy: 467.978898
   cx: 382.180503
   cy: 214.028724

right

%YAML:1.0

#right camera calibration 
model_type: PINHOLE
camera_name: cam0
image_width: 752
image_height: 480
distortion_parameters:
   k1: -0.2997493046323177
   k2: 0.09538277522623304
   p1: -3.949561182735437e-05
   p2: -0.0003873561868834772
projection_parameters:
   fx: 470.5799808597001
   fy: 470.8173735966212
   cx: 359.6496137621658
   cy: 250.2687221608846

@shaozu could you also provide the extrinsics (R,t) between the left and right cameras?

@shaozu could you also provide the extrinsics (R,t) between the left and right cameras?

I guess you can figure it out by looking at the extrinsics between each camera and the common IMU, here:

# extrinsic
extrinsicRotation: !!opencv-matrix # R^{imu}_{cam}
rows: 3
cols: 3
dt: d
data: [0.9999890386957373, -0.0043227774403168, 0.0017989117755288,
0.0043276579084841, 0.9999869417854389, -0.0027180205355500,
-0.0017871388870994, 0.0027257758172719, 0.9999946881262878]
extrinsicTranslation: !!opencv-matrix # t^{imu}_{cam}
rows: 3
cols: 1
dt: d
data: [-0.0759472920952561, -0.0039320527565750, -0.0016395029500217]

# extrinsic
extrinsicRotation: !!opencv-matrix # R^{imu}_{cam}
rows: 3
cols: 3
dt: d
data: [ 0.9999014076382304, -0.0133731297219721, 0.0042818692791948,
0.0133731003056063, 0.9999105754655292, 0.0000355022536769,
-0.0042819611512717, 0.0000217631139403, 0.9999908321255077 ]
extrinsicTranslation: !!opencv-matrix # t^{imu}_{cam}
rows: 3
cols: 1
dt: d
data: [0.0341738532732442, -0.0032623030537933, -0.0017782029037505]