OpenCV Error :Assertion failed (dsize.area() || (inv_scale_x > 0 && inv_scale_y > 0) ) in orb.cpp (Bug #3026)
Description
When calculating the pyramid levels in the orb descriptors,function void ORB::operator(),the resize function throws an exception as the imagePyramid[level] is sometimes resized to image of height 0,as the calculated scale factor makes the size of next level stored in sz to become zero (line 767, file \opencv\modules\features2d\src\orb.cpp )
Associated revisions
Merge pull request #3026 from jet47:fix-gpu-resize-linear
History
Updated by Alexander Shishkov almost 12 years ago
Thank you for reporting the issue. A pull request solving the issue in our GitHub repo would be highly appreciated!
- Category set to features2d
- Assignee set to Maria Dimashova
Updated by Vinodh Ranganathan almost 12 years ago
Sure! I am new to this stuff..is there a format to be followed while correcting the error?How do I upload the file to GitHub repository?
Updated by Vadim Pisarevsky almost 10 years ago
without test image it's difficult to reproduce the problem. I tried ORB on image of 16x16 pixels and it works fine (though, it found 0 keypoints there, because it needs some border)
- Status changed from Open to Cancelled
- HW Platform set to Any
- Operating System set to Any
- Affected version changed from 2.4.0 - 2.4.4 to 2.4.0 - 2.4.8