Home | History | Annotate | Download | only in src

Lines Matching full:match_sum

121 //Ms is the match_sum which is the sum of matches for a particular gaussian
203 bg_model->g_point[n].g_values[0].match_sum = 1;
212 bg_model->g_point[n].g_values[k].match_sum = 0;
466 window_current += g_point->g_values[k].match_sum;
470 g_point->g_values[k].match_sum += match[k];
475 if( g_point->g_values[k].match_sum > 0 && match[k] )
477 double learning_rate_gaussian = (double)match[k]/((double)g_point->g_values[k].match_sum);
499 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1;
501 //get sum of all but last value of match_sum
504 match_sum_total += g_point->g_values[k].match_sum;
533 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1;
535 //get sum of all but last value of match_sum
538 match_sum_total += g_point->g_values[k].match_sum;
548 g_point->g_values[k].weight = (double)g_point->g_values[k].match_sum /
560 if( g_point->g_values[k].match_sum > 0 )