CoFusionParams.h
Go to the documentation of this file.
1 #ifndef COFUSIONPARAMS_H
2 #define COFUSIONPARAMS_H
3 
4 #if USE_MASKFUSION == 1
5 #include <Core/MaskFusion.h>
6 #else
7 #include <Core/CoFusion.h>
8 #endif
9 
10 namespace armarx
11 {
12 
13 
14 
15 
17  {
18  public:
20 
21 #if USE_MASKFUSION == 1
22  std::unique_ptr<MaskFusion> makeCoFusion() const;
23 #else
24  std::unique_ptr<CoFusion> makeCoFusion() const;
25 #endif
26 
27  int timeDelta = 200;
28  int countThresh = 35000;
29  float errThresh = 5e-05;
30  float covThresh = 1e-05;
31  bool closeLoops = true;
32  bool iclnuim = false;
33  bool reloc = false;
34  float photoThresh = 115;
37  float depthCut = 3;
38  float icpThresh = 10;
39  bool fastOdom = false;
40  float fernThresh = 0.3095;
41  bool so3 = true;
42  bool frameToFrameRGB = false;
43  unsigned modelSpawnOffset = 20;
44  Model::MatchingType matchingType = Model::MatchingType::Drost;
45  //Segmentation::Method segmentationMethod = Segmentation::Method::SUPERPIXEL_CRF;
46  std::string exportDirectory = "";
48 
49  int width;
50  int height;
51  float fx;
52  float fy;
53  float cx;
54  float cy;
55 
56 #if USE_MASKFUSION == 1
57 
58  Segmentation::Method segmentationMethod = Segmentation::Method::MASK_FUSION;
59 
60  bool usePrecomputedMasksOnly = false;
61  int frameQueueSize = -1;
62  int deviceMaskRCNN = -1;
63 
64 #endif
65 
66 
67  };
68 
69 }
70 
71 #endif // COFUSIONPARAMS_H
armarx::CoFusionParams::iclnuim
bool iclnuim
Definition: CoFusionParams.h:32
armarx::CoFusionParams::errThresh
float errThresh
Definition: CoFusionParams.h:29
armarx::CoFusionParams::countThresh
int countThresh
Definition: CoFusionParams.h:28
armarx::CoFusionParams::width
int width
Definition: CoFusionParams.h:49
armarx::CoFusionParams::closeLoops
bool closeLoops
Definition: CoFusionParams.h:31
armarx::CoFusionParams::timeDelta
int timeDelta
Definition: CoFusionParams.h:27
armarx::CoFusionParams::initConfidenceGlobal
float initConfidenceGlobal
Definition: CoFusionParams.h:35
armarx::CoFusionParams::covThresh
float covThresh
Definition: CoFusionParams.h:30
armarx::CoFusionParams::fastOdom
bool fastOdom
Definition: CoFusionParams.h:39
armarx::CoFusionParams::modelSpawnOffset
unsigned modelSpawnOffset
Definition: CoFusionParams.h:43
armarx::CoFusionParams::depthCut
float depthCut
Definition: CoFusionParams.h:37
armarx::CoFusionParams::fy
float fy
Definition: CoFusionParams.h:52
armarx::CoFusionParams::initConfidenceObject
float initConfidenceObject
Definition: CoFusionParams.h:36
armarx::CoFusionParams::fernThresh
float fernThresh
Definition: CoFusionParams.h:40
armarx::CoFusionParams::photoThresh
float photoThresh
Definition: CoFusionParams.h:34
armarx::CoFusionParams::exportSegmentationResults
bool exportSegmentationResults
Definition: CoFusionParams.h:47
armarx::CoFusionParams::fx
float fx
Definition: CoFusionParams.h:51
armarx::CoFusionParams::cx
float cx
Definition: CoFusionParams.h:53
armarx::CoFusionParams
Definition: CoFusionParams.h:16
armarx::CoFusionParams::exportDirectory
std::string exportDirectory
Definition: CoFusionParams.h:46
armarx::CoFusionParams::matchingType
Model::MatchingType matchingType
Definition: CoFusionParams.h:44
armarx::CoFusionParams::CoFusionParams
CoFusionParams()
Definition: CoFusionParams.cpp:5
armarx::CoFusionParams::height
int height
Definition: CoFusionParams.h:50
armarx::CoFusionParams::reloc
bool reloc
Definition: CoFusionParams.h:33
armarx::CoFusionParams::cy
float cy
Definition: CoFusionParams.h:54
armarx::CoFusionParams::makeCoFusion
std::unique_ptr< CoFusion > makeCoFusion() const
Definition: CoFusionParams.cpp:52
armarx
This file offers overloads of toIce() and fromIce() functions for STL container types.
Definition: ArmarXTimeserver.cpp:28
armarx::CoFusionParams::so3
bool so3
Definition: CoFusionParams.h:41
armarx::CoFusionParams::icpThresh
float icpThresh
Definition: CoFusionParams.h:38
armarx::CoFusionParams::frameToFrameRGB
bool frameToFrameRGB
Definition: CoFusionParams.h:42