MTF
FALKParams.h
1 #ifndef MTF_FALK_PARAMS_H
2 #define MTF_FALK_PARAMS_H
3 
4 #include "SearchMethod.h"
5 
6 _MTF_BEGIN_NAMESPACE
7 
8 struct FALKParams{
9  enum class HessType{ InitialSelf, CurrentSelf, Std };
10 
11  int max_iters;
12  double epsilon;
13  HessType hess_type;
14  bool sec_ord_hess;
15  bool show_grid;
16  bool show_patch;
17  double patch_resize_factor;
18  bool write_frames;
19  bool enable_learning;
20  bool leven_marq;
21  double lm_delta_init;
22  double lm_delta_update;
23  bool debug_mode;
24 
26  FALKParams(int _max_iters, double _epsilon,
27  HessType _hess_type, bool _sec_ord_hess,
28  bool _show_grid, bool _show_patch,
29  double _patch_resize_factor,
30  bool _write_frames, bool _leven_marq,
31  double _lm_delta_init, double _lm_delta_update,
32  bool _enable_learning, bool _debug_mode);
33  FALKParams(const FALKParams *params = nullptr);
34 
35  static const char* toString(HessType hess_type);
36 
37 };
38 
39 _MTF_END_NAMESPACE
40 
41 #endif
42 
Definition: FALKParams.h:8
HessType hess_type
maximum L1 norm of the state update vector at which to stop the iterations
Definition: FALKParams.h:13
double epsilon
maximum iterations of the FALK algorithm to run for each frame
Definition: FALKParams.h:12
FALKParams(int _max_iters, double _epsilon, HessType _hess_type, bool _sec_ord_hess, bool _show_grid, bool _show_patch, double _patch_resize_factor, bool _write_frames, bool _leven_marq, double _lm_delta_init, double _lm_delta_update, bool _enable_learning, bool _debug_mode)
decides whether logging data will be printed for debugging purposes;