mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed build error (on EpipolarGeometry)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1972 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -400,12 +400,12 @@ cv::Mat EpipolarGeometry::findFFromCalibratedStereoCameras(double fx, double fy,
|
|||||||
double Bx = Tx/-fx;
|
double Bx = Tx/-fx;
|
||||||
double By = Ty/-fy;
|
double By = Ty/-fy;
|
||||||
|
|
||||||
cv::Mat tx = (cv::Mat_<double> <<
|
cv::Mat tx = (cv::Mat_<double>(3,3) <<
|
||||||
0, 0, By,
|
0, 0, By,
|
||||||
0, 0, -Bx,
|
0, 0, -Bx,
|
||||||
-By, Bx, 0);
|
-By, Bx, 0);
|
||||||
|
|
||||||
cv::Mat K = (cv::Mat_<double> <<
|
cv::Mat K = (cv::Mat_<double>(3,3) <<
|
||||||
fx, 0, cx,
|
fx, 0, cx,
|
||||||
0, fy, cy,
|
0, fy, cy,
|
||||||
0, 0, 0);
|
0, 0, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user