Lines Matching refs:bg_model_params
73 …tGaussians( CvGaussBGPoint* g_point, double* sort_key, CvGaussBGStatModelParams *bg_model_params );
83 const CvGaussBGPoint* g_point, const CvGaussBGStatModelParams *bg_model_params );
97 const CvGaussBGStatModelParams *bg_model_params );
101 const CvGaussBGStatModelParams *bg_model_params);
103 … CvGaussBGPoint* g_point, const CvGaussBGStatModelParams *bg_model_params );
107 const CvGaussBGStatModelParams *bg_model_params);
111 const CvGaussBGStatModelParams *bg_model_params );
290 const CvGaussBGStatModelParams bg_model_params = bg_model->params; in icvUpdateGaussianBGModel() local
297 no_match = icvMatchTest( pixel, nChannels, match, g_point, &bg_model_params ); in icvUpdateGaussianBGModel()
302 icvUpdateFullNoMatch( curr_frame, p, match, g_point, &bg_model_params ); in icvUpdateGaussianBGModel()
306 icvUpdatePartialWindow( pixel, nChannels, match, g_point, &bg_model_params ); in icvUpdateGaussianBGModel()
308 icvUpdatePartialNoMatch( pixel, nChannels, match, g_point, &bg_model_params ); in icvUpdateGaussianBGModel()
310 icvGetSortKey( nChannels, sort_key, g_point, &bg_model_params ); in icvUpdateGaussianBGModel()
311 … icvInsertionSortGaussians( g_point, sort_key, (CvGaussBGStatModelParams *)&bg_model_params ); in icvUpdateGaussianBGModel()
355 …rtGaussians( CvGaussBGPoint* g_point, double* sort_key, CvGaussBGStatModelParams *bg_model_params ) in icvInsertionSortGaussians() argument
358 for( i = 1; i < bg_model_params->n_gauss; i++ ) in icvInsertionSortGaussians()
378 const CvGaussBGStatModelParams *bg_model_params ) in icvMatchTest() argument
382 for ( k = 0; k < bg_model_params->n_gauss; k++) match[k]=0; in icvMatchTest()
384 for ( k = 0; k < bg_model_params->n_gauss; k++) { in icvMatchTest()
392 var_threshold = bg_model_params->std_threshold*bg_model_params->std_threshold*var_threshold; in icvMatchTest()
438 const CvGaussBGStatModelParams *bg_model_params ) in icvUpdateFullWindow() argument
440 const double learning_rate_weight = (1.0/(double)bg_model_params->win_size); in icvUpdateFullWindow()
441 for(int k = 0; k < bg_model_params->n_gauss; k++){ in icvUpdateFullWindow()
447 (double)bg_model_params->win_size); in icvUpdateFullWindow()
460 …t nChannels, int* match, CvGaussBGPoint* g_point, const CvGaussBGStatModelParams *bg_model_params ) in icvUpdatePartialWindow() argument
465 for( k = 0; k < bg_model_params->n_gauss; k++ ) in icvUpdatePartialWindow()
468 for( k = 0; k < bg_model_params->n_gauss; k++ ) in icvUpdatePartialWindow()
492 const CvGaussBGStatModelParams *bg_model_params) in icvUpdateFullNoMatch() argument
499 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1; in icvUpdateFullNoMatch()
503 for( k = 0; k < bg_model_params->n_gauss ; k++ ) in icvUpdateFullNoMatch()
506 g_point->g_values[bg_model_params->n_gauss - 1].weight = 1./(double)match_sum_total; in icvUpdateFullNoMatch()
510 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdateFullNoMatch()
511 …g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = (unsigned char)gm_image->imageData[p + m… in icvUpdateFullNoMatch()
514 alpha = 1.0 - (1.0/bg_model_params->win_size); in icvUpdateFullNoMatch()
515 for( k = 0; k < bg_model_params->n_gauss - 1; k++ ) in icvUpdateFullNoMatch()
529 const CvGaussBGStatModelParams *bg_model_params) in icvUpdatePartialNoMatch() argument
533 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1; in icvUpdatePartialNoMatch()
537 for(k = 0; k < bg_model_params->n_gauss ; k++) in icvUpdatePartialNoMatch()
543 … g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init; in icvUpdatePartialNoMatch()
544 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = pixel[m]; in icvUpdatePartialNoMatch()
546 for(k = 0; k < bg_model_params->n_gauss; k++) in icvUpdatePartialNoMatch()
554 const CvGaussBGStatModelParams *bg_model_params ) in icvGetSortKey() argument
557 for( k = 0; k < bg_model_params->n_gauss; k++ ) in icvGetSortKey()