Go to the documentation of this file.
16 #ifndef __SUBGRAPHMATCHER_H
17 #define __SUBGRAPHMATCHER_H
19 #include <mrpt/config.h>
46 bool useStructure =
false);
49 bool useStructure =
false);
52 bool useStructure =
false);
55 bool useStructure =
false);
70 std::set<unsigned>& evalRef, std::set<unsigned>& evalCheck,
71 std::map<unsigned, unsigned>& matched);
73 std::set<unsigned>& evalRef, std::set<unsigned>& evalCheck,
74 std::map<unsigned, unsigned>& matched);
85 const int option = 0);
void exploreSubgraphTreeR(std::set< unsigned > &evalRef, std::set< unsigned > &evalCheck, std::map< unsigned, unsigned > &matched)
! Recursive function that checks all the relations (direct and crossed) in the neighborhood of a plan...
bool evalUnaryConstraintsOdometry2D(Plane &plane1, Plane &plane2, PbMap &trgPbMap, bool useStructure=false)
config_heuristics configLocaliser
bool evalBinaryConstraints(Plane &plane1, Plane &plane2, Plane &planeA, Plane &planeB)
! Compares the relation between Ref-neigRef with the relation between Check-neigCheck.
bool evalUnaryConstraints(Plane &plane1, Plane &plane2, PbMap &trgPbMap, bool useStructure=false)
! Check if the two input planes could be the same
float calcAreaMatched(std::map< unsigned, unsigned > &matched_planes)
std::map< unsigned, unsigned > compareSubgraphs(Subgraph &subgraphSource, Subgraph &subgraphTarget, const int option=0)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::vector< std::map< unsigned, unsigned > > alreadyExplored
float calcAreaUnmatched(std::set< unsigned > &unmatched_planes)
A class used to define the heuristic parameters and thresholds used to match sets of planes.
std::vector< std::vector< int8_t > > hashUnaryConstraints
bool evalUnaryConstraints2D(Plane &plane1, Plane &plane2, PbMap &trgPbMap, bool useStructure=false)
bool evalBinaryConstraintsOdometry(Plane &plane1, Plane &plane2, Plane &planeA, Plane &planeB)
A class used to store a planar feature (Plane for short).
void setSourceSubgraph(Subgraph &subgSrc)
A class used to store a Plane-based Map (PbMap).
void exploreSubgraphTreeR_Area(std::set< unsigned > &evalRef, std::set< unsigned > &evalCheck, std::map< unsigned, unsigned > &matched)
bool evalUnaryConstraintsOdometry(Plane &plane1, Plane &plane2, PbMap &trgPbMap, bool useStructure=false)
std::map< unsigned, unsigned > winnerMatch
void setTargetSubgraph(Subgraph &subgTrg)
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |