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