MTF
ParallelParams.h
1 #ifndef MTF_PARALLEL_PARAMS_H
2 #define MTF_PARALLEL_PARAMS_H
3 
4 #include "mtf/Macros/common.h"
5 
6 #define PARL_ESTIMATION_METHOD 0
7 #define PARL_RESET_TO_MEAN 0
8 #define PARL_AUTO_REINIT 0
9 #define PARL_REINIT_ERR_THRESH 1
10 #define PRL_SM_REINIT_FRAME_GAP 1
11 
12 _MTF_BEGIN_NAMESPACE
13 
15  enum class PrlEstMethod {
16  MeanOfCorners,
17  MeanOfState
18  };
19  PrlEstMethod estimation_method;
20  bool reset_to_mean;
21  bool auto_reinit;
22  double reinit_err_thresh;
23  int reinit_frame_gap;
24  static const char* toString(PrlEstMethod _estimation_method);
25  ParallelParams(PrlEstMethod _estimation_method, bool _reset_to_mean,
26  bool _auto_reinit, double _reinit_err_thresh, int _reinit_frame_gap);
27  ParallelParams(const ParallelParams *params = nullptr);
28 };
29 
30 _MTF_END_NAMESPACE
31 
32 #endif
33 
Definition: ParallelParams.h:14