surf.cpp.patch

Vladislav Vinogradov, 2012-03-24 02:28 pm

Download (658 Bytes)

 
opencv/modules/nonfree/src/surf.cpp (working copy)
418 418
        for( int i=range.begin(); i<range.end(); i++ )
419 419
        {
420 420
            int layer = (*middleIndices)[i];
421
            int octave = i % nOctaveLayers;
421
            int octave = i / nOctaveLayers;
422 422
            findMaximaInLayer( *sum, *mask_sum, *dets, *traces, *sizes, 
423 423
                               *keypoints, octave, layer, hessianThreshold,
424 424
                               (*sampleSteps)[layer] );