Lines Matching refs:n_gauss
159 params.n_gauss = CV_BGFG_MOG_NGAUSSIANS; in cvCreateGaussianBGModel()
191 (CvGaussBGValues*)cvAlloc( sizeof(CvGaussBGValues)*params.n_gauss* in cvCreateGaussianBGModel()
201 bg_model->g_point[0].g_values + n*params.n_gauss; in cvCreateGaussianBGModel()
209 for( k = 1; k < params.n_gauss; k++) in cvCreateGaussianBGModel()
358 for( i = 1; i < bg_model_params->n_gauss; i++ ) in icvInsertionSortGaussians()
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()
441 for(int k = 0; k < bg_model_params->n_gauss; k++){ in icvUpdateFullWindow()
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()
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()
515 for( k = 0; k < bg_model_params->n_gauss - 1; k++ ) in icvUpdateFullNoMatch()
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()
557 for( k = 0; k < bg_model_params->n_gauss; k++ ) in icvGetSortKey()
585 for( b = 0; b < bg_model->params.n_gauss; b++) in icvBackgroundTest()