MTF
Main Page
Namespaces
Classes
Files
File List
SSM
include
mtf
SSM
SSMEstimatorParams.h
1
#ifndef MTF_SSM_ESTIMATOR_PARAMS_H
2
#define MTF_SSM_ESTIMATOR_PARAMS_H
3
4
#include "mtf/Macros/common.h"
5
6
_MTF_BEGIN_NAMESPACE
7
8
9
struct
SSMEstimatorParams
{
10
11
enum class
EstType { RANSAC, LeastMedian, LeastSquares };
12
13
static
const
char
* toString(EstType est_type);
14
static
int
toCV(EstType est_type);
15
16
EstType method;
17
int
method_cv;
18
double
ransac_reproj_thresh;
19
int
n_model_pts;
20
int
max_iters;
21
int
max_subset_attempts;
22
bool
use_boost_rng;
23
double
confidence;
24
bool
refine;
25
int
lm_max_iters;
26
27
SSMEstimatorParams
(EstType _method,
double
_ransac_reproj_thresh,
28
int
_n_model_pts,
bool
_refine,
int
_max_iters,
int
_max_subset_attempts,
29
bool
_use_boost_rng,
double
_confidence,
int
_lm_max_iters);
30
SSMEstimatorParams
(
const
SSMEstimatorParams
*params =
nullptr
);
31
32
void
print()
const
;
33
};
34
35
_MTF_END_NAMESPACE
36
#endif
SSMEstimatorParams
Definition:
SSMEstimatorParams.h:9
Generated on Sun Jul 29 2018 10:45:28 for MTF by
1.8.11