Commit 6ce2277c authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

fixed multi-scale Hough transform (ticket #1320)

parent d752c2b6
......@@ -325,7 +325,7 @@ icvHoughLinesSDiv( const CvMat* img,
{
for( ti = 0; ti < tn; ti++ )
{
if( caccum[ri * tn + ti > threshold] )
if( caccum[ri * tn + ti] > threshold )
{
count++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment