mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
applied patch from #1712 (thanks to Vlad)
This commit is contained in:
parent
216ef24b92
commit
69f5d8c1d3
@ -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] );
|
||||
|
Loading…
Reference in New Issue
Block a user