Commit 73b0827e authored by sprice's avatar sprice

Don't automatically convert to grayscale (keep previous behavior.)

parent 2cc11e2c
......@@ -226,8 +226,8 @@ void FREAK::computeImpl( const Mat& image, std::vector<KeyPoint>& keypoints, Mat
// Convert to gray if not already
Mat grayImage = image;
if( image.channels() > 1 )
cvtColor( image, grayImage, COLOR_BGR2GRAY );
// if( image.channels() > 1 )
// cvtColor( image, grayImage, COLOR_BGR2GRAY );
// Use 32-bit integers if we won't overflow in the integral image
if ((image.depth() == CV_8U || image.depth() == CV_8S) &&
......
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