Home
last modified time | relevance | path

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

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