Lines Matching refs:foreground
157 …CV_CALL( p_model->foreground = cvCreateImage(cvSize(first_frame->width, first_frame->height), IPL_… in cvCreateFGDStatModel()
202 cvReleaseImage( &model->foreground ); in icvReleaseFGDStatModel()
342 cvZero(model->foreground); in icvUpdateFGDStatModel()
419 ((uchar*)model->foreground->imageData)[i*mask_step+j] = (uchar)(val*255); in icvUpdateFGDStatModel()
430 …cvMorphologyEx( model->foreground, model->foreground, 0, 0, CV_MOP_OPEN, model->params.perform_mo… in icvUpdateFGDStatModel()
431 …cvMorphologyEx( model->foreground, model->foreground, 0, 0, CV_MOP_CLOSE, model->params.perform_mo… in icvUpdateFGDStatModel()
439 … cvFindContours( model->foreground, model->storage, &first_seq, sizeof(CvContour), CV_RETR_LIST ); in icvUpdateFGDStatModel()
465 cvZero(model->foreground); in icvUpdateFGDStatModel()
466 cvDrawContours(model->foreground, first_seq, CV_RGB(0, 0, 255), CV_RGB(0, 0, 255), 10, -1); in icvUpdateFGDStatModel()
505 if( !((uchar*)model->foreground->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel()
556 if( !((uchar*)model->foreground->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel()
613 if( !((uchar*)model->foreground->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel()
658 if( !((uchar*)model->foreground->imageData)[i*mask_step+j] ) in icvUpdateFGDStatModel()
705 if( !((uchar*)model->foreground->imageData)[i*mask_step+j]) in icvUpdateFGDStatModel()