OpenCV Error :Assertion failed (dsize.area() || (inv_scale_x > 0 && inv_scale_y > 0) ) in orb.cpp (Bug #3026)


Added by Vinodh Ranganathan almost 12 years ago. Updated almost 10 years ago.


Status:Cancelled Start date:2013-05-16
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

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

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 )


OpenCV_error.png - Error created due to height of resized image = 0 (29.5 kB) Vinodh Ranganathan, 2013-05-16 02:58 am


Associated revisions

Revision e7f348e7
Added by Vadim Pisarevsky over 10 years ago

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

Also available in: Atom PDF