60 std::vector<std::vector<int> > &surfaces, std::vector<std::vector<int> > &segments,
int minSize=10,
float euclideanDistance=5.,
int radius=6,
float assignEuclideanDistance=5.,
int supportTolerance=9);
73 std::vector<std::vector<int> > &surfaces, std::vector<std::vector<int> > &segments,
int minSize=10,
float euclideanDistance=5.,
float assignEuclideanDistance=5.,
int supportTolerance=9);
87 std::vector<std::vector<int> > &surfaces,
int minSize=10,
float euclideanDistance=5.,
int radius=6,
float assignEuclideanDistance=5.);
99 std::vector<std::vector<int> > &surfaces,
int minSize=10,
float euclideanDistance=5.,
float assignEuclideanDistance=5.);
106 int minSize,
float euclideanDistance,
int numCluster);
109 std::vector<std::vector<int> > &neighboursPoints,
int numCluster,
float assignEuclideanDistance);
111 static bool checkNotExist(
int zw, std::vector<int> &nb, std::vector<int> &nbPoints);
114 std::vector<std::vector<int> > &neighbours, std::vector<std::vector<int> > &neighboursPoints,
int numCluster,
int supportTolerance);
116 static std::vector<int>
segmentMapping(std::vector<std::vector<int> > &segments,
int numSurfaces);
ICLIO_API void labelImage(core::ImgBase *image, const std::string &label)
draws a label into the upper left image corner
undocument this line if you encounter any issues!
Definition: Any.h:37
static void ruleBasedAssignment(core::DataSegment< float, 4 > &xyz, core::Img32s &labelImage, std::vector< std::vector< int > > &surfaces, std::vector< std::vector< int > > &segments, std::vector< std::vector< int > > &neighbours, std::vector< std::vector< int > > &neighboursPoints, int numCluster, int supportTolerance)
static int ransacAssignment(core::DataSegment< float, 4 > &xyz, std::vector< std::vector< int > > &surfaces, std::vector< int > &nb, int x)
class for remaining points feature.
Definition: RemainingPointsFeatureExtractor.h:43
static void calculateLocalMinima(const core::Img32f &depthImage, core::Img8u &maskImage, int radius)
static bool checkSupport(core::Img32s &labelImage, std::vector< int > &surface, int neighbourID, int supportTolerance)
static void detectNeighbours(core::DataSegment< float, 4 > &xyz, std::vector< std::vector< int > > &surfaces, core::Img32s &labelImage, std::vector< std::vector< int > > &neighbours, std::vector< std::vector< int > > &neighboursPoints, int numCluster, float assignEuclideanDistance)
static void clusterRemainingPoints(core::DataSegment< float, 4 > &xyz, std::vector< std::vector< int > > &surfaces, core::Img32s &labelImage, core::Img8u &maskImage, int minSize, float euclideanDistance, int numCluster)
static bool checkNotExist(int zw, std::vector< int > &nb, std::vector< int > &nbPoints)
static std::vector< int > segmentMapping(std::vector< std::vector< int > > &segments, int numSurfaces)
static void apply(core::DataSegment< float, 4 > &xyz, const core::Img32f &depthImage, core::Img32s &labelImage, core::Img8u &maskImage, std::vector< std::vector< int > > &surfaces, std::vector< std::vector< int > > &segments, int minSize=10, float euclideanDistance=5., int radius=6, float assignEuclideanDistance=5., int supportTolerance=9)
Calculates and assigns the remaining points segments (including local minima separation).