PedestrainCounting
Options.h
1 
7 #ifndef OPTIONS_HEADER
8 #define OPTIONS_HEADER
9 
10 #include "GlobalHeader.h"
11 #include "Geometry.h"
12 
13 // Store the options.
14 struct Options {
15 
16  /*****************************************************
17  * Parameters for detecors.
18  *****************************************************/
19  feat scaleMin;
20  feat scaleMax;
21  feat scaleStep;
22  feat binaryThre;
23  int slideStep;
24  int evidence; // Number of neighboring detection to make sure.
25  int modelHeight;
26  int modelWidth;
27  float invPerimeterRatio; // Used in connected components analysis.
28  float minAreaRatio;
29  float maxAreaRatio;
30 
31  /*****************************************************
32  * Parameters for particle fitler.
33  *****************************************************/
34  int nParticles;
35  Rect target;
36  Point2D initVelocity;
37 
38  /*****************************************************
39  * Parameters for strong classifiers.
40  *****************************************************/
41  int numSelectors;
42  int numWeakClassifiers;
43  int numBackups;
44 
45  /*****************************************************
46  * Parameteres for match score.
47  *****************************************************/
48  float distWeight;
49  float velocityThre;
50  float velocitySigmaConst;
51  float matchThre;
52 
53  /****************************************************
54  * Parameters for targets list.
55  ****************************************************/
56  int targetsFreeListCapacity; // capacity for targets free list.
57  float detectionWeight; //
58 };
59 
60 #endif
Definition: Geometry.h:34
Definition: Geometry.h:69
Definition: Options.h:14