gmoriginal.h

来自「动态场景中运动目标检测提取与跟踪 对新手很有用」· C头文件 代码 · 共 32 行

H
32
字号
#ifndef GMORIGINAL_H
#define GMORIGINAL_H

#include "stdafx.h"
//#include "gm.h"

//#define    V0      25.0
//#define    MPI     15.749609945722
//#define    ALPHA   0.01

class GMOriginal
{
public:
	double w;//=0.05;//the weight of each model
	double wf;//=0.95
    int u[3];//={0,0,0};//red green and blue
    double gama;//={V0,V0,V0};// gama_red green and blue.
	bool newGMM;//=false;
public:
	GMOriginal();
	GMOriginal(int xt[3]);
	~GMOriginal();
	void initdata();
	void updateData();
	void updateData(int* xt);
	bool update_u_gama(int* xt,int length);
	bool update_gama(int* xt, int length);
	double update_wf(bool b);
	GMOriginal& operator = (GMOriginal& g);
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?