Skip to content

Commit 129c280

Browse files
committed
add missing color camera parameters
1 parent 8ae30fd commit 129c280

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

examples/protonect/include/libfreenect2/libfreenect2.hpp

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,30 @@ class LIBFREENECT2_API Freenect2Device
4545
struct ColorCameraParams
4646
{
4747
float fx, fy, cx, cy;
48+
49+
float shift_d, shift_m;
50+
51+
float mx_x3y0; // xxx
52+
float mx_x0y3; // yyy
53+
float mx_x2y1; // xxy
54+
float mx_x1y2; // yyx
55+
float mx_x2y0; // xx
56+
float mx_x0y2; // yy
57+
float mx_x1y1; // xy
58+
float mx_x1y0; // x
59+
float mx_x0y1; // y
60+
float mx_x0y0; // 1
61+
62+
float my_x3y0; // xxx
63+
float my_x0y3; // yyy
64+
float my_x2y1; // xxy
65+
float my_x1y2; // yyx
66+
float my_x2y0; // xx
67+
float my_x0y2; // yy
68+
float my_x1y1; // xy
69+
float my_x1y0; // x
70+
float my_x0y1; // y
71+
float my_x0y0; // 1
4872
};
4973

5074
struct IrCameraParams

0 commit comments

Comments
 (0)