undo the latest change in SURF

pull/13383/head
Vadim Pisarevsky 15 years ago
parent 2c0015e765
commit 196d45bc3e
  1. 8
      modules/features2d/src/surf.cpp

@ -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++ )

Loading…
Cancel
Save