HoughLines crashes (Bug #3959)
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
Fix HoughLines crashes (Bug #3959).
Avoid phi exceed PI/2 to get the negative value of cos(phi).
Merge pull request #3959 from jet47:gpu-fixes
History
Updated by Ilya Lavrenov over 10 years ago
- Assignee set to Alexander Karsakov
Updated by Yan Wang over 10 years ago
Try to fix it by https://github.com/Itseez/opencv/pull/3392.
Updated by Alexander Karsakov over 10 years ago
Yan Wang,
thanks for fix!
- Status changed from New to Done