HoughLines crashes (Bug #3959)


Added by Steffen Roeber over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-10-16
Priority:Normal Due date:
Assignee:Alexander Karsakov % Done:

0%

Category:-
Target version:-
Affected version:2.4.9 (latest release) Operating System:Windows
Difficulty: HW Platform:x64
Pull request:

Description

cv::HoughLines(srcMat, lines, 0.1, 0.9, 150, 30, 10);

always crashes with an asssert in line 306 (assert( i >= 0 );) because i < 0 in hough.cpp


Associated revisions

Revision 0692bf5f
Added by Yan Wang over 10 years ago

Fix HoughLines crashes (Bug #3959).

Avoid phi exceed PI/2 to get the negative value of cos(phi).

Revision 36af97d0
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3959 from jet47:gpu-fixes

History

Updated by Ilya Lavrenov over 10 years ago

  • Assignee set to Alexander Karsakov

Updated by Alexander Karsakov over 10 years ago

Yan Wang,
thanks for fix!

  • Status changed from New to Done

Also available in: Atom PDF