mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
removed image conversion not used
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1659 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -180,17 +180,6 @@ Transform OdometryBOW::computeTransform(const SensorData & data, int * quality)
|
||||
UTimer timer;
|
||||
Transform output;
|
||||
|
||||
cv::Mat imageMono;
|
||||
// convert to grayscale
|
||||
if(data.image().channels() > 1)
|
||||
{
|
||||
cv::cvtColor(data.image(), imageMono, cv::COLOR_BGR2GRAY);
|
||||
}
|
||||
else
|
||||
{
|
||||
imageMono = data.image();
|
||||
}
|
||||
|
||||
int inliers = 0;
|
||||
int correspondences = 0;
|
||||
int nFeatures = 0;
|
||||
|
||||
Reference in New Issue
Block a user