licornea_tools
kinect_reprojection_parameters.h
Go to the documentation of this file.
1 #ifndef LICORNEA_KINECT_REPROJECTION_PARAMETERS_H_
2 #define LICORNEA_KINECT_REPROJECTION_PARAMETERS_H_
3 
4 #include "../../lib/opencv.h"
5 #include "../../lib/json.h"
6 #include "../../lib/intrinsics.h"
7 
8 namespace tlz {
9 
12  real x0y0 = 0.0;
13 
14  real x1y0 = 0.0;
15  real x0y1 = 0.0;
16 
17  real x2y0 = 0.0;
18  real x0y2 = 0.0;
19  real x1y1 = 0.0;
20 
21  real operator()(vec2 xy) const;
22 
23  bool is_none() const;
24  explicit operator bool () const { return ! is_none(); }
25  };
26 
33 };
34 
37 
38 }
39 
40 #endif
kinect_reprojection_parameters decode_kinect_reprojection_parameters(const json &j_parameters)
json encode_kinect_reprojection_parameters(const kinect_reprojection_parameters &parameters)
cv::Vec< real, 2 > vec2
Definition: common.h:22
cv::Matx< real, 3, 3 > mat33
Definition: common.h:26
double real
Definition: common.h:16
cv::Vec< real, 3 > vec3
Definition: common.h:23
nlohmann::json json
Definition: json.h:11