Reverted change of cloudFromStereoImages() decimation, should be done after StereoBM to avoid backward compatibility problems

This commit is contained in:
matlabbe
2017-04-24 15:26:12 -04:00
parent 4e3216a75d
commit 6e1dbbcf4f
2 changed files with 4 additions and 17 deletions

View File

@@ -129,7 +129,7 @@ pcl::PointCloud<pcl::PointXYZRGB>::Ptr RTABMAP_EXP cloudFromStereoImages(
const cv::Mat & imageLeft,
const cv::Mat & imageRight,
const StereoCameraModel & model,
float decimation = 1.0f,
int decimation = 1,
float maxDepth = 0.0f,
float minDepth = 0.0f,
std::vector<int> * validIndices = 0,