Lines Matching refs:first_frame
79 cvCreateFGDStatModel( IplImage* first_frame, CvFGDStatModelParams* parameters ) in cvCreateFGDStatModel() argument
90 if( !CV_IS_IMAGE(first_frame) ) in cvCreateFGDStatModel()
93 if (first_frame->nChannels != 3) in cvCreateFGDStatModel()
132 pixel_count = first_frame->width * first_frame->height; in cvCreateFGDStatModel()
146 for( i = 0, k = 0; i < first_frame->height; i++ ) { in cvCreateFGDStatModel()
147 for( j = 0; j < first_frame->width; j++, k++ ) in cvCreateFGDStatModel()
155 …CV_CALL( p_model->Ftd = cvCreateImage(cvSize(first_frame->width, first_frame->height), IPL_DEPTH_8… in cvCreateFGDStatModel()
156 …CV_CALL( p_model->Fbd = cvCreateImage(cvSize(first_frame->width, first_frame->height), IPL_DEPTH_8… in cvCreateFGDStatModel()
157 …CV_CALL( p_model->foreground = cvCreateImage(cvSize(first_frame->width, first_frame->height), IPL_… in cvCreateFGDStatModel()
159 CV_CALL( p_model->background = cvCloneImage(first_frame)); in cvCreateFGDStatModel()
160 CV_CALL( p_model->prev_frame = cvCloneImage(first_frame)); in cvCreateFGDStatModel()