SURF octave calculation (Patch #1712)


Added by Vladislav Vinogradov almost 13 years ago. Updated almost 13 years ago.


Status:Done Start date:2012-03-24
Priority:High Due date:
Assignee:Vadim Pisarevsky % Done:

0%

Category:nonfree
Target version:2.4.0
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

In surf.cpp line 421 octave index is calculated as
int octave = i % nOctaveLayers;
where i is index in middleIndices array, which contain middle layers indexies for each octave(0 <= i < nOctaveLayers * nOctaves)
But it gives layers index (0 <= octave < nOctaveLayers).
Should it be:
int octave = i / nOctaveLayers;


surf.cpp.patch (658 Bytes) Vladislav Vinogradov, 2012-03-24 02:28 pm


Associated revisions

Revision 69f5d8c1
Added by Vadim Pisarevsky almost 13 years ago

applied patch from #1712 (thanks to Vlad)

Revision c70fbb95
Added by Roman Donchenko over 11 years ago

Merge pull request #1712 from alalek:ocl_split

History

Updated by Andrey Kamaev almost 13 years ago

  • Tracker changed from Bug to Patch
  • Priority changed from Normal to High
  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Assignee deleted (Vadim Pisarevsky)

Updated by Vadim Pisarevsky almost 13 years ago

thanks! applied in r7623

  • Status changed from Open to Done

Updated by Vadim Pisarevsky almost 13 years ago

  • Assignee set to Vadim Pisarevsky

Updated by Alexander Shishkov almost 13 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF