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:
matlabbe
2014-08-19 20:35:09 +00:00
parent 0f4d771160
commit b0af55699d

View File

@@ -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;