22 o <<
"*********" << std::endl;
23 o <<
"a_intern" << std::endl;
24 o <<
"*********" << std::endl;
25 o <<
"This is an internal camera calibration class" << std::endl;
26 o <<
"It can be used to map a 3D point to a 2D projection" << std::endl;
27 o <<
"3x3 matrix of the form:" << std::endl;
28 o <<
"----------------------:" << std::endl;
29 o <<
"[sx stheta u0]" << std::endl;
30 o <<
"[0 sy v0]" << std::endl;
31 o <<
"[0 0 1 ]" << std::endl;
32 o <<
"Commands:" << std::endl;
33 o <<
"--------" << std::endl;
34 o <<
"sx: set or get the focal for x coordinates (in image unit)" << std::endl;
35 o <<
"sy: set or get the focal for y coordinates (in image unit)" << std::endl;
36 o <<
"s: set or get the (unique) focal (in image unit)" << std::endl;
37 o <<
" sx = sy in a perfect pinhole camera" << std::endl;
38 o <<
" sx != sy if the sensor pixels are not straight" << std::endl;
39 o <<
"stheta: set or the skew parameter(0 in a perfect camera)" << std::endl;
40 o <<
" 0 for normal camera" << std::endl;
41 o <<
"u0: set or get the x coordinate of the principal point (in image unit)" << std::endl;
42 o <<
"v0: set or get the y coordinate of the principal point (in image unit)" << std::endl;
48 for (
int i = 0; i<3; i++)
50 for (
int j = 0; j<3; j++)
static const std::string help()