projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
594f969
)
Added cleanup of keypoints vector
author
Anna Kogan
<anna.kogan@itseez.com>
Tue, 22 Jan 2013 14:05:18 +0000
(18:05 +0400)
committer
Anna Kogan
<anna.kogan@itseez.com>
Tue, 22 Jan 2013 14:05:18 +0000
(18:05 +0400)
modules/nonfree/src/surf.cpp
patch
|
blob
|
history
diff --git
a/modules/nonfree/src/surf.cpp
b/modules/nonfree/src/surf.cpp
index
9e6ce54
..
9a4cd28
100644
(file)
--- a/
modules/nonfree/src/surf.cpp
+++ b/
modules/nonfree/src/surf.cpp
@@
-482,6
+482,8
@@
static void fastHessianDetector( const Mat& sum, const Mat& mask_sum, vector<Key
vector<int> sampleSteps(nTotalLayers);
vector<int> middleIndices(nMiddleLayers);
+ keypoints.clear();
+
// Allocate space and calculate properties of each layer
int index = 0, middleIndex = 0, step = SAMPLE_STEP0;