Commit 4d64db8b authored by Andrey Kamaev's avatar Andrey Kamaev Committed by OpenCV Buildbot

Merge pull request #319 from AnnaKogan8:added-surf-keypoints-cleanup

parents 594f9696 608fab60
......@@ -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;
......
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