Color camera calibration parameters. * Kinect v2 includes factory preset values for these parameters. They are used in Registration. */
| 56 | * Kinect v2 includes factory preset values for these parameters. They are used in Registration. |
| 57 | */ |
| 58 | struct ColorCameraParams |
| 59 | { |
| 60 | /** @name Intrinsic parameters */ |
| 61 | ///@{ |
| 62 | float fx; ///< Focal length x (pixel) |
| 63 | float fy; ///< Focal length y (pixel) |
| 64 | float cx; ///< Principal point x (pixel) |
| 65 | float cy; ///< Principal point y (pixel) |
| 66 | ///@} |
| 67 | |
| 68 | /** @name Extrinsic parameters |
| 69 | * These parameters are used in [a formula](https://github.com/OpenKinect/libfreenect2/issues/41#issuecomment-72022111) to map coordinates in the |
| 70 | * depth camera to the color camera. |
| 71 | * |
| 72 | * They cannot be used for matrix transformation. |
| 73 | */ |
| 74 | ///@{ |
| 75 | float shift_d, shift_m; |
| 76 | |
| 77 | float mx_x3y0; // xxx |
| 78 | float mx_x0y3; // yyy |
| 79 | float mx_x2y1; // xxy |
| 80 | float mx_x1y2; // yyx |
| 81 | float mx_x2y0; // xx |
| 82 | float mx_x0y2; // yy |
| 83 | float mx_x1y1; // xy |
| 84 | float mx_x1y0; // x |
| 85 | float mx_x0y1; // y |
| 86 | float mx_x0y0; // 1 |
| 87 | |
| 88 | float my_x3y0; // xxx |
| 89 | float my_x0y3; // yyy |
| 90 | float my_x2y1; // xxy |
| 91 | float my_x1y2; // yyx |
| 92 | float my_x2y0; // xx |
| 93 | float my_x0y2; // yy |
| 94 | float my_x1y1; // xy |
| 95 | float my_x1y0; // x |
| 96 | float my_x0y1; // y |
| 97 | float my_x0y0; // 1 |
| 98 | ///@} |
| 99 | }; |
| 100 | |
| 101 | /** IR camera intrinsic calibration parameters. |
| 102 | * Kinect v2 includes factory preset values for these parameters. They are used in depth image decoding, and Registration. |
nothing calls this directly
no outgoing calls
no test coverage detected