Searched refs:templ_norm (Results 1 - 1 of 1) sorted by relevance

/external/opencv/cv/src/
H A Dcvtemplmatch.cpp340 double templ_norm = 0, templ_sum2 = 0; local
441 templ_norm = CV_SQR(_templ_sdv.val[0]) + CV_SQR(_templ_sdv.val[1]) +
444 if( templ_norm < DBL_EPSILON && method == CV_TM_CCOEFF_NORMED )
450 templ_sum2 = templ_norm +
457 templ_norm = templ_sum2;
461 templ_norm = sqrt(templ_norm);
462 templ_norm /= sqrt(inv_area); // care of accuracy here
515 t = sqrt(MAX(wnd_sum2 - wnd_mean2,0))*templ_norm;

Completed in 586 milliseconds