1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

applied patch from #1712 (thanks to Vlad)

This commit is contained in:
Vadim Pisarevsky
2012-03-26 08:04:27 +00:00
parent 216ef24b92
commit 69f5d8c1d3
+1 -1
View File
@@ -418,7 +418,7 @@ struct SURFFindInvoker
for( int i=range.begin(); i<range.end(); i++ )
{
int layer = (*middleIndices)[i];
int octave = i % nOctaveLayers;
int octave = i / nOctaveLayers;
findMaximaInLayer( *sum, *mask_sum, *dets, *traces, *sizes,
*keypoints, octave, layer, hessianThreshold,
(*sampleSteps)[layer] );