Fix HoughLines crashes (Bug #3959).
authorYan Wang <yan.wang@linux.intel.com>
Thu, 6 Nov 2014 04:46:04 +0000 (12:46 +0800)
committerYan Wang <yan.wang@linux.intel.com>
Fri, 7 Nov 2014 09:52:16 +0000 (17:52 +0800)
commit0692bf5f3410040eadaedc2048648271ceb1c39a
tree3f47579bd6ea63dacf19117cd79b8a2a39f26824
parentda6898f7582994a6c9412f4094647609dafcad8b
Fix HoughLines crashes (Bug #3959).

Avoid phi exceed PI/2 to get the negative value of cos(phi).
modules/imgproc/src/hough.cpp