mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Merge pull request #319 from AnnaKogan8:added-surf-keypoints-cleanup
This commit is contained in:
commit
4d64db8be7
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user