Lines Matching refs:match_sum
203 bg_model->g_point[n].g_values[0].match_sum = 1; in cvCreateGaussianBGModel()
212 bg_model->g_point[n].g_values[k].match_sum = 0; in cvCreateGaussianBGModel()
466 window_current += g_point->g_values[k].match_sum; in icvUpdatePartialWindow()
470 g_point->g_values[k].match_sum += match[k]; in icvUpdatePartialWindow()
475 if( g_point->g_values[k].match_sum > 0 && match[k] ) in icvUpdatePartialWindow()
477 … double learning_rate_gaussian = (double)match[k]/((double)g_point->g_values[k].match_sum); in icvUpdatePartialWindow()
499 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1; in icvUpdateFullNoMatch()
504 match_sum_total += g_point->g_values[k].match_sum; in icvUpdateFullNoMatch()
533 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1; in icvUpdatePartialNoMatch()
538 match_sum_total += g_point->g_values[k].match_sum; in icvUpdatePartialNoMatch()
548 g_point->g_values[k].weight = (double)g_point->g_values[k].match_sum / in icvUpdatePartialNoMatch()
560 if( g_point->g_values[k].match_sum > 0 ) in icvGetSortKey()