CoFusionParams.cpp
Go to the documentation of this file.
1#include "CoFusionParams.h"
2
3using namespace armarx;
4
8
9
10#if USE_MASKFUSION == 1
11
12std::unique_ptr<MaskFusion>
14{
15 Resolution::setResolution(width, height);
16 Intrinsics::setIntrinics(fx, fy, cx, cy);
17
18 std::unique_ptr<MaskFusion> cofusion;
19
20 cofusion.reset(new MaskFusion(timeDelta,
25 iclnuim,
26 reloc,
34 so3,
38 segmentationMethod,
41 usePrecomputedMasksOnly,
42 frameQueueSize));
43
44 return cofusion;
45}
46
47
48#else
49
50std::unique_ptr<CoFusion>
52{
53 Resolution::setResolution(width, height);
54 Intrinsics::setIntrinics(fx, fy, cx, cy);
55
56 std::unique_ptr<CoFusion> cofusion;
57
58 cofusion.reset(new CoFusion(timeDelta,
63 iclnuim,
64 reloc,
72 so3,
78
79 return cofusion;
80}
81
82#endif
std::unique_ptr< CoFusion > makeCoFusion() const
Model::MatchingType matchingType
This file offers overloads of toIce() and fromIce() functions for STL container types.