资源简介
使用背景差分法进行运动目标提取并进行背景更新-Background difference method using the moving object extraction and background update
代码片段和文件信息
#include “cv.h“
#include “highgui.h“
#include
#include
#include
#include
#include
int otsu( unsigned char *graydata int framesize );
void main(int agrcchar** argv)
{
CvCapture* capture = 0;
IplImage* image = 0; //original image
IplImage* gray = 0; //gray image
IplImage* graymed = 0; //gray median image
IplImage* back = 0; //background image
IplImage* objectmask_image = 0; //obiect mask image
IplImage* objectimage = 0;
double framewidth frameheight weight=0.9;
int framesize num=0 *iniarray To Tm;
long i;
unsigned char * cb; //current background
unsigned char * ib; //instantaneous background
unsigned char * om; //object mask
unsigned char * mm; //motion mask
unsigned char
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 6827 2009-07-13 11:06 BackgroundSubtractionandfr
文件 4432 2009-07-12 16:22 BackgroundSubtractionandfr
文件 586 2009-07-12 15:59 BackgroundSubtractionandfr
文件 41984 2009-07-28 10:50 BackgroundSubtractionandfr
文件 53760 2009-07-28 10:50 BackgroundSubtractionandfr
文件 960 2009-07-13 11:06 BackgroundSubtractionandfr
目录 0 2010-05-27 16:03 BackgroundSubtractionandfr
----------- --------- ---------- ----- ----
108549 7
评论
共有 条评论