SURF octave calculation (Patch #1712)
Description
In surf.cpp line 421 octave index is calculated asint 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;
Associated revisions
applied patch from #1712 (thanks to Vlad)
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