Visual Servoing Platform
version 3.6.1 under development (2024-11-15)
|
#include <visp3/vision/vpXmlConfigParserKeyPoint.h>
Public Types | |
enum | vpMatchingMethodEnum { constantFactorDistanceThreshold , stdDistanceThreshold , ratioDistanceThreshold , stdAndRatioDistanceThreshold , noFilterMatching } |
Public Member Functions | |
vpXmlConfigParserKeyPoint () | |
~vpXmlConfigParserKeyPoint () | |
std::string | getDetectorName () const |
std::string | getExtractorName () const |
std::string | getMatcherName () const |
double | getMatchingFactorThreshold () const |
vpMatchingMethodEnum | getMatchingMethod () const |
double | getMatchingRatioThreshold () const |
int | getNbRansacIterations () const |
int | getNbRansacMinInlierCount () const |
double | getRansacConsensusPercentage () const |
double | getRansacReprojectionError () const |
double | getRansacThreshold () const |
bool | getUseRansacConsensusPercentage () const |
bool | getUseRansacVVSPoseEstimation () const |
void | parse (const std::string &filename) |
Class vpXmlConfigParserKeyPoint allows to load configuration defined in a XML file for vpKeyPoint class.
Definition at line 60 of file vpXmlConfigParserKeyPoint.h.
Enumerator for the different filtering matching method.
Definition at line 64 of file vpXmlConfigParserKeyPoint.h.
BEGIN_VISP_NAMESPACE vpXmlConfigParserKeyPoint::vpXmlConfigParserKeyPoint | ( | ) |
Default constructor.
Definition at line 507 of file vpXmlConfigParserKeyPoint.cpp.
vpXmlConfigParserKeyPoint::~vpXmlConfigParserKeyPoint | ( | ) |
Default destructor.
Definition at line 509 of file vpXmlConfigParserKeyPoint.cpp.
std::string vpXmlConfigParserKeyPoint::getDetectorName | ( | ) | const |
Get the detector name.
Definition at line 513 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
std::string vpXmlConfigParserKeyPoint::getExtractorName | ( | ) | const |
Get the extractor name.
Definition at line 515 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
std::string vpXmlConfigParserKeyPoint::getMatcherName | ( | ) | const |
Get the matcher name.
Definition at line 517 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
double vpXmlConfigParserKeyPoint::getMatchingFactorThreshold | ( | ) | const |
Get the factor value.
Definition at line 519 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
vpXmlConfigParserKeyPoint::vpMatchingMethodEnum vpXmlConfigParserKeyPoint::getMatchingMethod | ( | ) | const |
Get the filtering method.
Definition at line 521 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
double vpXmlConfigParserKeyPoint::getMatchingRatioThreshold | ( | ) | const |
Get the ratio value.
Definition at line 526 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
int vpXmlConfigParserKeyPoint::getNbRansacIterations | ( | ) | const |
Get the maximum number of iterations for the Ransac method.
Definition at line 528 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
int vpXmlConfigParserKeyPoint::getNbRansacMinInlierCount | ( | ) | const |
Get the minimum number of inliers for the Ransac method.
Definition at line 530 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
double vpXmlConfigParserKeyPoint::getRansacConsensusPercentage | ( | ) | const |
Get the percentage value of inliers for the Ransac method.
Definition at line 532 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
double vpXmlConfigParserKeyPoint::getRansacReprojectionError | ( | ) | const |
Get the maximum reprojection error for a candidate inlier for the Ransac method.
Definition at line 537 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
double vpXmlConfigParserKeyPoint::getRansacThreshold | ( | ) | const |
Get the maximum error for a candidate inlier for the Ransac method.
Definition at line 539 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
bool vpXmlConfigParserKeyPoint::getUseRansacConsensusPercentage | ( | ) | const |
Get the flag state to choose between a percentage of inliers or a fixed number.
Definition at line 541 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
bool vpXmlConfigParserKeyPoint::getUseRansacVVSPoseEstimation | ( | ) | const |
Get the flag state to choose between OpenCV Ransac pose estimation or ViSP Ransac VVS pose estimation.
Definition at line 546 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().
void vpXmlConfigParserKeyPoint::parse | ( | const std::string & | filename | ) |
Parse an XML file to load configuration for vpKeyPoint class.
filename | : filename of the XML file to parse. |
Definition at line 511 of file vpXmlConfigParserKeyPoint.cpp.
Referenced by vpKeyPoint::loadConfigFile().