mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-10 21:40:19 +08:00
Fixed Stereo parameters not used for OdometryBOW. Saving parameters in Memory and Feature2D to re-use old parameters when underlaying algorithm strategies are re-created.
This commit is contained in:
@@ -225,7 +225,6 @@ std::vector<cv::Point2f> calcStereoCorrespondences(
|
||||
{
|
||||
if(level>0)
|
||||
{
|
||||
UDEBUG("");
|
||||
tmpMaxDisparity = tmpMinDisparity+(bestScoreIndex+1)*(1<<level);
|
||||
tmpMaxDisparity+=tmpMaxDisparity%level;
|
||||
if(tmpMaxDisparity > maxDisparity)
|
||||
@@ -247,7 +246,6 @@ std::vector<cv::Point2f> calcStereoCorrespondences(
|
||||
|
||||
if(bestScoreIndex>=0)
|
||||
{
|
||||
UDEBUG("");
|
||||
//subpixel refining
|
||||
int d = -(tmpMinDisparity+bestScoreIndex);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user