applied patch from #1712 (thanks to Vlad)

pull/13383/head
Vadim Pisarevsky 13 years ago
parent 216ef24b92
commit 69f5d8c1d3
  1. 2
      modules/nonfree/src/surf.cpp

@ -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…
Cancel
Save