Home | History | Annotate | Download | only in src

Lines Matching defs:tn

211     int rn, tn;                 /* number of rho and theta discrete values */
255 tn = cvFloor( 2 * Pi * itheta );
263 CV_CALL( sinTable = (float*)cvAlloc( 5 * tn * stn * sizeof( float )));
265 for( index = 0; index < 5 * tn * stn; index++ )
270 CV_CALL( caccum = (uchar*)cvAlloc( rn * tn * sizeof( caccum[0] )));
271 memset( caccum, 0, rn * tn * sizeof( caccum[0] ));
320 i = cvFloor( rv ) * tn;
323 assert( i < rn * tn );
337 for( ti = 0; ti < tn; ti++ )
339 if( caccum[ri * tn + ti > threshold] )
346 if( count * 100 > rn * tn )
358 for( ti = 0; ti < tn; ti++ )
360 if( caccum[ri * tn + ti] > threshold )