StructDefine.h
上传用户:smdfuse
上传日期:2015-11-06
资源大小:98k
文件大小:1k
- #if !defined _STRUCTDEFINE_H_
- #define _STRUCTDEFINE_H_
- #define EDGE_SPACE 5 //计算时留出的边界宽度
- #define EDGE_DRAW 10 //画框时扩出的边界宽度
- #define BLOCK_NUMBER 5 //分块数目
- #define TEMPLETE_SIZE 60 //匹配模板大小
- #define S_THRESHOLD_BH 190
- #define S_THRESHOLD_TR 190
- #define THRESHOLD_BH 100 //捕获阈值
- #define THRESHOLD_TR 90 //跟踪阈值
- enum DETECT_METHOD {D_MULDIFFER, D_MULMEAN, D_STATISTIC};
- enum TRACK_METHOD {T_MEANSHIFT, T_GRACENTER};
- //跟踪窗
- typedef struct {
- CPoint pt;
- int w;
- int h;
- bool flag;
- } WININFO;
- typedef struct {
- short frame;
- short x;
- short y;
- short w;
- short h;
- }TARGETPARA;
- typedef struct{
- BOOL gray;
- BOOL cut;
- BOOL blur;
- BOOL enhance;
- }IMAGEPREPRO;
-
- #endif