File size: 1,311 Bytes
9e41ab0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fd83e95
 
 
 
9e41ab0
 
fd83e95
 
 
 
9e41ab0
 
fd83e95
 
 
 
9e41ab0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
 "model": "kannala_brandt",
 "projection": "equidistant fisheye",
 "image_width": 1920,
 "image_height": 1080,
 "fx": 867.14357142,
 "fy": 869.92075224,
 "cx": 989.15650255,
 "cy": 541.87390009,
 "k1": -0.05106621900512641,
 "k2": -0.013777304031732614,
 "k3": 0.028665741814689238,
 "k4": -0.015198180273387431,
 "equations": [
  "theta = atan2(sqrt(X^2 + Y^2), Z)  (valid beyond 90 deg off-axis)",
  "theta_d = theta * (1 + k1 theta^2 + k2 theta^4 + k3 theta^6 + k4 theta^8)",
  "u = fx * theta_d * X / r + cx,  v = fy * theta_d * Y / r + cy,  r = sqrt(X^2 + Y^2)"
 ],
 "camera_axes": "x right, y down, z along the optical axis",
 "pixel_convention": "pixel centres at integer coordinates, (0, 0) = centre of the top-left pixel",
 "opencv": "identical to cv2.fisheye with D = [k1, k2, k3, k4] for points in front of the camera (Z > 0)",
 "T_table_camera": [
  [
   -0.01919724702326815,
   0.9057380761389278,
   -0.4234028851329201,
   0.2073238094581621
  ],
  [
   0.9986934772505378,
   0.03743037586492785,
   0.03478944466126463,
   -0.0005346089769145412
  ],
  [
   0.0473582538102556,
   -0.42218183806834153,
   -0.9052732689090511,
   0.3997199310274116
  ],
  [
   0.0,
   0.0,
   0.0,
   1.0
  ]
 ],
 "T_table_camera_note": "4x4, maps camera coordinates to table coordinates (static camera)"
}