Home | History | Annotate | Download | only in src

Lines Matching defs:nChannels

53 //int  nChannels;     /* OpenCV functions support 1,2,3 or 4 channels */
82 static int icvMatchTest( double* src_pixel, int nChannels, int* match,
84 /*static int icvMatchTest2( double* src_pixel, int nChannels, int* match,
94 static void icvUpdateFullWindow( double* src_pixel, int nChannels,
102 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match,
104 static void icvUpdatePartialNoMatch( double* src_pixel, int nChannels,
110 static void icvGetSortKey( const int nChannels, double* sort_key, const CvGaussBGPoint* g_point,
112 static void icvBackgroundTest( const int nChannels, int n, int i, int j, int *match, CvGaussBGModel* bg_model );
182 first_frame->height), IPL_DEPTH_8U, first_frame->nChannels));
198 const int p = i*first_frame->widthStep+j*first_frame->nChannels;
204 for( m = 0; m < first_frame->nChannels; m++)
213 for( m = 0; m < first_frame->nChannels; m++){
285 const int nChannels = curr_frame->nChannels;
286 const int p = curr_frame->widthStep*i+j*nChannels;
294 for( k = 0; k < nChannels; k++ )
297 no_match = icvMatchTest( pixel, nChannels, match, g_point, &bg_model_params );
300 icvUpdateFullWindow( pixel, nChannels, match, g_point, &bg_model->params );
306 icvUpdatePartialWindow( pixel, nChannels, match, g_point, &bg_model_params );
308 icvUpdatePartialNoMatch( pixel, nChannels, match, g_point, &bg_model_params );
310 icvGetSortKey( nChannels, sort_key, g_point, &bg_model_params );
312 icvBackgroundTest( nChannels, n, i, j, match, bg_model );
376 static int icvMatchTest( double* src_pixel, int nChannels, int* match,
387 for(int m = 0; m < nChannels; m++){
404 static int icvMatchTest2( double* src_pixel, int nChannels, int* match,
417 for( m = 0; m < nChannels; m++ )
436 static void icvUpdateFullWindow( double* src_pixel, int nChannels, int* match,
448 for(int m = 0; m < nChannels; m++){
460 static void icvUpdatePartialWindow( double* src_pixel, int nChannels, int* match, CvGaussBGPoint* g_point, const CvGaussBGStatModelParams *bg_model_params )
478 for( m = 0; m < nChannels; m++ )
507 for( m = 0; m < gm_image->nChannels ; m++ )
526 int nChannels,
540 for(m = 0; m < nChannels; m++)
553 static void icvGetSortKey( const int nChannels, double* sort_key, const CvGaussBGPoint* g_point,
564 for( m = 0; m < nChannels; m++ )
575 static void icvBackgroundTest( const int nChannels, int n, int i, int j, int *match, CvGaussBGModel* bg_model )
582 for( m = 0; m < nChannels; m++)
583 bg_model->background->imageData[ bg_model->background->widthStep*i + j*nChannels + m] = (unsigned char)(g_point[n].g_values[0].mean[m]+0.5);