fixed multi-scale Hough transform (ticket #1320)

This commit is contained in:
Vadim Pisarevsky 2011-08-17 09:19:46 +00:00
parent d752c2b674
commit 6ce2277cc7

View File

@ -325,7 +325,7 @@ icvHoughLinesSDiv( const CvMat* img,
{ {
for( ti = 0; ti < tn; ti++ ) for( ti = 0; ti < tn; ti++ )
{ {
if( caccum[ri * tn + ti > threshold] ) if( caccum[ri * tn + ti] > threshold )
{ {
count++; count++;
} }