Lines Matching refs:n_gauss
159 params.n_gauss = CV_BGFG_MOG_NGAUSSIANS;
191 (CvGaussBGValues*)cvAlloc( sizeof(CvGaussBGValues)*params.n_gauss*
201 bg_model->g_point[0].g_values + n*params.n_gauss;
209 for( k = 1; k < params.n_gauss; k++)
358 for( i = 1; i < bg_model_params->n_gauss; i++ )
382 for ( k = 0; k < bg_model_params->n_gauss; k++) match[k]=0;
384 for ( k = 0; k < bg_model_params->n_gauss; k++) {
411 for( k = 0; k < bg_model_params->n_gauss; k++ )
414 for( k = 0; k < bg_model_params->n_gauss; k++ )
441 for(int k = 0; k < bg_model_params->n_gauss; k++){
465 for( k = 0; k < bg_model_params->n_gauss; k++ )
468 for( k = 0; k < bg_model_params->n_gauss; k++ )
499 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1;
503 for( k = 0; k < bg_model_params->n_gauss ; k++ )
506 g_point->g_values[bg_model_params->n_gauss - 1].weight = 1./(double)match_sum_total;
510 g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init;
511 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = (unsigned char)gm_image->imageData[p + m];
515 for( k = 0; k < bg_model_params->n_gauss - 1; k++ )
533 g_point->g_values[bg_model_params->n_gauss - 1].match_sum = 1;
537 for(k = 0; k < bg_model_params->n_gauss ; k++)
543 g_point->g_values[bg_model_params->n_gauss - 1].variance[m] = bg_model_params->variance_init;
544 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = pixel[m];
546 for(k = 0; k < bg_model_params->n_gauss; k++)
557 for( k = 0; k < bg_model_params->n_gauss; k++ )
585 for( b = 0; b < bg_model->params.n_gauss; b++)