Off-by-one error in Brief descriptor (Bug #899)
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.
Associated revisions
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