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