33 #include <Math/Math3d.h>
40 class LCCPSegmentationWrapper
43 LCCPSegmentationWrapper(
const float voxelResolution,
44 const float seedResolution,
45 const float colorImportance,
46 const float spatialImportance,
47 const float normalImportance,
48 const bool useSingleCamTransform,
49 const float concavityToleranceThreshold,
50 const float smoothnessThreshold,
51 const unsigned int minSegmentSize,
52 const bool useExtendedConvexity,
53 const bool useSanityCriterion,
56 ~LCCPSegmentationWrapper();
58 void CreateHypothesesFromLCCPSegments(
const std::vector<CHypothesisPoint*>& inputPointCloud,
59 const int maxNumHypotheses,
60 CVec3dArray*& hypothesesFromLCCP,
61 int& numFoundSegments);
63 static pcl::PointXYZRGBA ConvertHypothesisPointToPCL(
const CHypothesisPoint* point);
66 float voxelResolution;
68 float colorImportance;
69 float spatialImportance;
70 float normalImportance;
71 bool useSingleCamTransform;
72 float concavityToleranceThreshold;
73 float smoothnessThreshold;
74 unsigned int minSegmentSize;
75 bool useExtendedConvexity;
76 bool useSanityCriterion;
80 #endif // OLP_USE_LCCP