Commit 196d45bc authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

undo the latest change in SURF

parent 2c0015e7
......@@ -886,11 +886,9 @@ cvExtractSURF( const CvArr* _img, const CvArr* _mask,
if ( N > 0 )
{
//cv::parallel_for(cv::BlockedRange(0, N),
// cv::SURFInvoker(&params, keypoints, descriptors, img, sum) );
cv::SURFInvoker(&params, keypoints, descriptors, img, sum)(cv::BlockedRange(0, N));
}
cv::parallel_for(cv::BlockedRange(0, N),
cv::SURFInvoker(&params, keypoints, descriptors, img, sum) );
/* remove keypoints that were marked for deletion */
for ( i = 0; i < N; i++ )
......
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