Off-by-one error in Brief descriptor (Bug #899)


Added by Michal Kottman about 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Maria Dimashova % Done:

0%

Category:features2d
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

There is an off-by-one error in the Brief descriptor. When a keypoint lies at a specific distance from the border, it is not removed by DescriptorExtractor::removeBorderKeypoints(), but later causes an off-by-one error (and assertion in debug build) in smoothedSum().

The attached patch solves this simply by expanding the border by one pixel.


brief_oboe.patch - Corrects off-by-one error in the Brief descriptor (694 Bytes) Michal Kottman, 2011-02-17 12:13 am


Associated revisions

Revision 7a07f1a9
Added by Roman Donchenko over 11 years ago

Merge pull request #899 from LeszekSwirski:fix-drawingdoc

History

Updated by Maria Dimashova almost 14 years ago

This problem was reported in #832 too and fixed already.
Thank you.

  • Status changed from Open to Done
  • (deleted custom field) set to fixed

Also available in: Atom PDF