Line 12... |
Line 12... |
12 |
|
12 |
|
13 |
SMCalibrationParameters() : frameHeight(0), frameWidth(0),
|
13 |
SMCalibrationParameters() : frameHeight(0), frameWidth(0),
|
14 |
K0(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), k0(0.0), cam0_error(0.0),
|
14 |
K0(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), k0(0.0), cam0_error(0.0),
|
15 |
K1(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), k1(0.0), cam1_error(0.0),
|
15 |
K1(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), k1(0.0), cam1_error(0.0),
|
16 |
R1(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), T1(0.0), stereo_error(0.0),
|
16 |
R1(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), T1(0.0), stereo_error(0.0),
|
17 |
Rr(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), Tr(0.0),
|
17 |
Rr(1.0,0.0,0.0,0.0,1.0,0.0,0.0,0.0,1.0), Tr(0.0), rot_axis_error(0.0),
|
18 |
E(0.0), F(0.0){
|
18 |
E(0.0), F(0.0){
|
19 |
|
19 |
|
20 |
// qRegisterMetaType<SMCalibrationParameters>("SMCalibrationParameters");
|
20 |
// qRegisterMetaType<SMCalibrationParameters>("SMCalibrationParameters");
|
21 |
// qRegisterMetaTypeStreamOperators<SMCalibrationParameters>("SMCalibrationParameters");
|
21 |
// qRegisterMetaTypeStreamOperators<SMCalibrationParameters>("SMCalibrationParameters");
|
22 |
}
|
22 |
}
|
Line 40... |
Line 40... |
40 |
double stereo_error; // stereo calibration reprojection error
|
40 |
double stereo_error; // stereo calibration reprojection error
|
41 |
std::vector<float> cam1_errors_per_view; // per view reprojection errors
|
41 |
std::vector<float> cam1_errors_per_view; // per view reprojection errors
|
42 |
|
42 |
|
43 |
cv::Matx33f Rr; // extrinsic rotation rotation stage
|
43 |
cv::Matx33f Rr; // extrinsic rotation rotation stage
|
44 |
cv::Vec3f Tr; // extrinsic translation vector rotation stage
|
44 |
cv::Vec3f Tr; // extrinsic translation vector rotation stage
|
- |
|
45 |
double rot_axis_error; // 3d error of rotation axis fit
|
45 |
|
46 |
|
46 |
cv::Matx33f E; // essential matrix
|
47 |
cv::Matx33f E; // essential matrix
|
47 |
cv::Matx33f F; // fundamental matrix
|
48 |
cv::Matx33f F; // fundamental matrix
|
48 |
|
49 |
|
49 |
|
50 |
|