Home
last modified time | relevance | path

Searched refs:bg_model (Results 1 – 3 of 3) sorted by relevance

/external/opencv/cvaux/src/
Dcvbgfg_gaussmix.cpp112 …cvBackgroundTest( const int nChannels, int n, int i, int j, int *match, CvGaussBGModel* bg_model );
114 static void CV_CDECL icvReleaseGaussianBGModel( CvGaussBGModel** bg_model );
115 static int CV_CDECL icvUpdateGaussianBGModel( IplImage* curr_frame, CvGaussBGModel* bg_model );
138 CvGaussBGModel* bg_model = 0; in cvCreateGaussianBGModel() local
169 CV_CALL( bg_model = (CvGaussBGModel*)cvAlloc( sizeof(*bg_model) )); in cvCreateGaussianBGModel()
170 memset( bg_model, 0, sizeof(*bg_model) ); in cvCreateGaussianBGModel()
171 bg_model->type = CV_BG_MODEL_MOG; in cvCreateGaussianBGModel()
172 bg_model->release = (CvReleaseBGStatModel)icvReleaseGaussianBGModel; in cvCreateGaussianBGModel()
173 bg_model->update = (CvUpdateBGStatModel)icvUpdateGaussianBGModel; in cvCreateGaussianBGModel()
175 bg_model->params = params; in cvCreateGaussianBGModel()
[all …]
Dcvbgfg_common.cpp48 CV_IMPL void cvRefineForegroundMaskBySegm( CvSeq* segments, CvBGStatModel* bg_model ) in cvRefineForegroundMaskBySegm() argument
50 …IplImage* tmp_image = cvCreateImage(cvSize(bg_model->foreground->width,bg_model->foreground->heigh… in cvRefineForegroundMaskBySegm()
59 cvAnd(tmp_image, bg_model->foreground, tmp_image); in cvRefineForegroundMaskBySegm()
62 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1); in cvRefineForegroundMaskBySegm()
64 cvDrawContours( bg_model->foreground, &seq, CV_RGB(0, 0, 0), CV_RGB(0, 0, 0), 10, -1); in cvRefineForegroundMaskBySegm()
/external/opencv/cvaux/include/
Dcvaux.h1156 typedef void (CV_CDECL * CvReleaseBGStatModel)( struct CvBGStatModel** bg_model );
1157 typedef int (CV_CDECL * CvUpdateBGStatModel)( IplImage* curr_frame, struct CvBGStatModel* bg_model
1179 CV_INLINE void cvReleaseBGStatModel( CvBGStatModel** bg_model ) in cvReleaseBGStatModel() argument
1181 if( bg_model && *bg_model && (*bg_model)->release ) in cvReleaseBGStatModel()
1182 (*bg_model)->release( bg_model ); in cvReleaseBGStatModel()
1186 CV_INLINE int cvUpdateBGStatModel( IplImage* current_frame, CvBGStatModel* bg_model ) in cvUpdateBGStatModel() argument
1188 return bg_model && bg_model->update ? bg_model->update( current_frame, bg_model ) : 0; in cvUpdateBGStatModel()
1196 CVAPI(void) cvRefineForegroundMaskBySegm( CvSeq* segments, CvBGStatModel* bg_model );