viso2
/build/rock-master-18.09-perception-orogen-viso2-0.20150824/viso2Types.hpp
Go to the documentation of this file.
1 #ifndef viso2_TYPES_HPP
2 #define viso2_TYPES_HPP
3 
4 /* If you need to define types specific to your oroGen components, define them
5  * here. Required headers must be included explicitly
6  *
7  * However, it is common that you will only import types from your library, in
8  * which case you do not need this file
9  */
10 
11 #include <base/Time.hpp>
12 #include <base/Eigen.hpp>
13 #include <viso2/matcher.h>
14 #include <viso2/viso.h>
15 
16 namespace viso2 {
17 
20 
26  {
27  //double base; // baseline (meters) COMMENTED it will take the baseline from FrameHelper calibration parameters
28  int32_t ransac_iters; // number of RANSAC iterations
29  double inlier_threshold; // fundamental matrix inlier threshold
30  bool reweighting; // lower border weights (more robust to calibration errors)
31  Matcher::parameters match; // matching parameters
32  VisualOdometry::bucketing bucket; // bucketing parameters
33 
35  {
36  ransac_iters = 200;
37  inlier_threshold = 1.5;
38  reweighting = true;
39 
40  }
41  };
42 
43  struct Viso2Info
44  {
45  base::Time time;
46  double num_matches;
47  double num_inliers;
48  double ratio_inliers;
49  base::Time compute_time;
50  };
51 
52 
53 }
54 
55 #endif
56 
Definition: viso2Types.hpp:19
Matcher::parameters match
Definition: viso2Types.hpp:31
Definition: StereoOdometer.hpp:41
IMAGE_OUTPUT_TYPE
Definition: viso2Types.hpp:19
StereoOdometerParameters()
Definition: viso2Types.hpp:34
double ratio_inliers
Definition: viso2Types.hpp:48
bool reweighting
Definition: viso2Types.hpp:30
Definition: viso2Types.hpp:43
double inlier_threshold
Definition: viso2Types.hpp:29
Definition: viso2Types.hpp:25
base::Time compute_time
Definition: viso2Types.hpp:49
Definition: viso2Types.hpp:19
double num_matches
Definition: viso2Types.hpp:46
double num_inliers
Definition: viso2Types.hpp:47
int32_t ransac_iters
Definition: viso2Types.hpp:28
base::Time time
Definition: viso2Types.hpp:45
VisualOdometry::bucketing bucket
Definition: viso2Types.hpp:32