47 #ifndef _vpXmlConfigParserKeyPoint_h_ 48 #define _vpXmlConfigParserKeyPoint_h_ 50 #include <visp3/core/vpConfig.h> 57 #include <libxml/xmlmemory.h> 59 #include <visp3/core/vpXmlParser.h> 82 constant_factor_distance_threshold,
85 std_distance_threshold,
87 ratio_distance_threshold,
89 std_and_ratio_distance_threshold,
94 matching_factor_threshold,
96 matching_ratio_threshold,
100 use_ransac_consensus_percentage,
103 nb_ransac_iterations,
105 ransac_reprojection_error,
107 nb_ransac_min_inlier_count,
111 ransac_consensus_percentage
117 constantFactorDistanceThreshold,
119 stdDistanceThreshold,
122 stdAndRatioDistanceThreshold,
129 std::string m_detectorName;
131 std::string m_extractorName;
133 std::string m_matcherName;
135 double m_matchingFactorThreshold;
137 vpMatchingMethodEnum m_matchingMethod;
139 double m_matchingRatioThreshold;
141 int m_nbRansacIterations;
143 int m_nbRansacMinInlierCount;
145 double m_ransacConsensusPercentage;
148 double m_ransacReprojectionError;
151 double m_ransacThreshold;
155 bool m_useRansacConsensusPercentage;
263 void parse(
const std::string &filename);
267 void read_detector(xmlDocPtr doc, xmlNodePtr node);
268 void read_extractor(xmlDocPtr doc, xmlNodePtr node);
269 void read_matcher(xmlDocPtr doc, xmlNodePtr node);
271 void read_ransac(xmlDocPtr doc, xmlNodePtr node);
274 #endif // VISP_HAVE_XML2
std::string getMatcherName() const
double getMatchingFactorThreshold() const
bool getUseRansacVVSPoseEstimation() const
double getRansacConsensusPercentage() const
virtual void writeMainClass(xmlNodePtr node)=0
int getNbRansacMinInlierCount() const
bool getUseRansacConsensusPercentage() const
This class intends to simplify the creation of xml parser based on the libxml2 third party library...
double getRansacReprojectionError() const
int getNbRansacIterations() const
double getMatchingRatioThreshold() const
std::string getDetectorName() const
virtual void readMainClass(xmlDocPtr doc, xmlNodePtr node)=0
double getRansacThreshold() const
virtual ~vpXmlConfigParserKeyPoint()
Default destructor.
std::string getExtractorName() const
vpMatchingMethodEnum getMatchingMethod() const
void parse(const std::string &filename)