some typo

parent 2b1e13f8
...@@ -357,7 +357,6 @@ void SurfFeaturesFinder::find(const Mat &image, ImageFeatures &features) ...@@ -357,7 +357,6 @@ void SurfFeaturesFinder::find(const Mat &image, ImageFeatures &features)
{ {
gray_image = image; gray_image = image;
} }
cvtColor(image, gray_image, CV_BGR2GRAY);
if (surf == 0) if (surf == 0)
{ {
detector_->detect(gray_image, features.keypoints); detector_->detect(gray_image, features.keypoints);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment