forked from wqvbjhc/kcf_tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
para.h
46 lines (38 loc) · 780 Bytes
/
para.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef PARA_H
#define PARA_H
// small value, used to avoid division by zero
#define eps 0.0001
#define MAX(a,b)((a)>(b)?(a):(b))
#define MIN(a,b)((a)>(b)?(b):(a))
#define PI 3.1415926535897932384626433832795028841971
typedef unsigned char uint8;
typedef struct tracker_para
{
float padding;
float lambda;
float output_sigma_factor;
float interp_factor;
float sigma ;
int hog_orientations ;
int cell_size ;
}tracker_para;
typedef struct target_para{
int width;
int height;
int dim;
int init_rect[4];
int target_sz[2];
int pos[2];
int startframe;
int endframe;
}target_para;
typedef struct complexdouble //complex
{
double real; //
double imag; //
}complexdouble;
typedef struct alphainfo {
int si, di;
float alpha;
}alphainfo;
#endif