46 #ifndef __vpXmlConfigParserKeyPoint_h__
47 #define __vpXmlConfigParserKeyPoint_h__
49 #include <visp/vpConfig.h>
56 #include <libxml/xmlmemory.h>
58 #include <visp/vpXmlParser.h>
87 ransac_consensus_percentage
97 } vpMatchingMethodEnum;
101 std::string m_detectorName;
103 std::string m_extractorName;
105 std::string m_matcherName;
107 double m_matchingFactorThreshold;
109 vpMatchingMethodEnum m_matchingMethod;
111 double m_matchingRatioThreshold;
113 int m_nbRansacIterations;
115 int m_nbRansacMinInlierCount;
117 double m_ransacConsensusPercentage;
119 double m_ransacReprojectionError;
121 double m_ransacThreshold;
124 bool m_useRansacConsensusPercentage;
139 return m_detectorName;
148 return m_extractorName;
156 return m_matcherName;
164 return m_matchingFactorThreshold;
173 return m_matchingMethod;
182 return m_matchingRatioThreshold;
191 return m_nbRansacIterations;
200 return m_nbRansacMinInlierCount;
209 return m_ransacConsensusPercentage;
218 return m_ransacReprojectionError;
227 return m_ransacThreshold;
236 return m_useRansacConsensusPercentage;
246 return m_useRansacVVS;
254 void parse(
const std::string &filename);
260 void read_detector(xmlDocPtr doc, xmlNodePtr node);
261 void read_extractor(xmlDocPtr doc, xmlNodePtr node);
262 void read_matcher(xmlDocPtr doc, xmlNodePtr node);
264 void read_ransac(xmlDocPtr doc, xmlNodePtr node);
268 #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
std::string getExtractorName() const
vpMatchingMethodEnum getMatchingMethod() const
void parse(const std::string &filename)