projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c0015e
)
undo the latest change in SURF
author
Vadim Pisarevsky
<no@email>
Tue, 30 Nov 2010 16:36:26 +0000
(16:36 +0000)
committer
Vadim Pisarevsky
<no@email>
Tue, 30 Nov 2010 16:36:26 +0000
(16:36 +0000)
modules/features2d/src/surf.cpp
patch
|
blob
|
history
diff --git
a/modules/features2d/src/surf.cpp
b/modules/features2d/src/surf.cpp
index 6affab1ea27220d348f640826577542441b89885..b0a0c75ff20236759baf0bc929decf218177b9d0 100644
(file)
--- a/
modules/features2d/src/surf.cpp
+++ b/
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(¶ms, keypoints, descriptors, img, sum) );
- cv::SURFInvoker(¶ms, keypoints, descriptors, img, sum)(cv::BlockedRange(0, N));
- }
+ cv::parallel_for(cv::BlockedRange(0, N),
+ cv::SURFInvoker(¶ms, keypoints, descriptors, img, sum) );
+
/* remove keypoints that were marked for deletion */
for ( i = 0; i < N; i++ )