jakaskerl
Here is my print out for camera data. I've been using the first distortion coefficients (2.53, -2.96, -0.0, -0.0
)
I see it says height is 1200 and width 1920. So I probably need my images to be that size to work with the given intrinsic and distortion parameters?
Also which set of parameters belongs to which camera with this print off? I'm just running the calibration_dumpy.py
code and copy and pasted the user camera data portion of the print out.
"cameraData": [
[
0,
{
"cameraType": 0,
"distortionCoeff": [
2.5341603755950928,
-2.9557416439056396,
-0.0003312704211566597,
-0.0004033033037558198,
1.7105742692947388,
2.47755765914917,
-2.8600361347198486,
1.694322109222412,
0.0,
0.0,
0.0,
0.0,
0.003867920720949769,
0.001242463244125247
],
"extrinsics": {
"rotationMatrix": [
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
],
[
0.0,
0.0,
0.0
]
],
"specTranslation": {
"x": -0.0,
"y": -0.0,
"z": -0.0
},
"toCameraSocket": -1,
"translation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
},
"height": 1200,
"intrinsicMatrix": [
[
1138.1864013671875,
0.0,
963.575439453125
],
[
0.0,
1137.58154296875,
611.5448608398438
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 77.30000305175781,
"width": 1920
}
],
[
1,
{
"cameraType": 0,
"distortionCoeff": [
4.8970136642456055,
37.852840423583984,
-0.0001479593920521438,
-0.00028254144126549363,
-4.79265022277832,
4.97584342956543,
37.25578689575195,
-3.5204930305480957,
0.0,
0.0,
0.0,
0.0,
-0.0033813314512372017,
-0.002395808231085539
],
"extrinsics": {
"rotationMatrix": [
[
0.9999895095825195,
-0.002153374720364809,
-0.0040421574376523495
],
[
0.0021413934882730246,
0.9999933242797852,
-0.0029660467989742756
],
[
0.004048517439514399,
0.0029573598876595497,
0.9999874234199524
]
],
"specTranslation": {
"x": -15.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 2,
"translation": {
"x": -15.033685684204102,
"y": -0.010391591116786003,
"z": -0.1848541498184204
}
},
"height": 1200,
"intrinsicMatrix": [
[
1145.872314453125,
0.0,
956.6023559570312
],
[
0.0,
1144.760009765625,
565.30810546875
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 77.30000305175781,
"width": 1920
}
],
[
2,
{
"cameraType": 0,
"distortionCoeff": [
8.443777084350586,
27.807140350341797,
0.0004656983073800802,
0.0002269611431984231,
-1.952384114265442,
8.491683006286621,
27.2432918548584,
-0.9128970503807068,
0.0,
0.0,
0.0,
0.0,
-0.00248124310746789,
-0.003077663714066148
],
"extrinsics": {
"rotationMatrix": [
[
0.9997866153717041,
0.0009325880673713982,
0.020635638386011124
],
[
-0.0007558906218037009,
0.9999629855155945,
-0.008568876422941685
],
[
-0.02064286731183529,
0.00855144951492548,
0.9997503161430359
]
],
"specTranslation": {
"x": 5.0,
"y": 0.0,
"z": 0.0
},
"toCameraSocket": 0,
"translation": {
"x": 5.043720722198486,
"y": -0.0019076529424637556,
"z": -0.027802081778645515
}
},
"height": 1200,
"intrinsicMatrix": [
[
1146.215576171875,
0.0,
942.7471923828125
],
[
0.0,
1145.73974609375,
592.1021728515625
],
[
0.0,
0.0,
1.0
]
],
"lensPosition": 0,
"specHfovDeg": 77.30000305175781,
"width": 1920
}
]
],