XmlConfigParserKeyPoint¶
- class XmlConfigParserKeyPoint(self)¶
Bases:
pybind11_object
Class vpXmlConfigParserKeyPoint allows to load configuration defined in a XML file for vpKeyPoint class.
Warning
This class is only available if pugixml is successfully built.
Default constructor.
Methods
Default constructor.
Get the detector name.
Get the extractor name.
Get the matcher name.
Get the factor value.
Get the filtering method.
Get the ratio value.
Get the maximum number of iterations for the Ransac method.
Get the minimum number of inliers for the Ransac method.
Get the percentage value of inliers for the Ransac method.
Get the maximum reprojection error for a candidate inlier for the Ransac method.
Get the maximum error for a candidate inlier for the Ransac method.
Get the flag state to choose between a percentage of inliers or a fixed number.
Get the flag state to choose between OpenCV Ransac pose estimation or ViSP Ransac VVS pose estimation.
Parse an XML file to load configuration for vpKeyPoint class.
Inherited Methods
Operators
__doc__
Default constructor.
__module__
Attributes
__annotations__
constantFactorDistanceThreshold
noFilterMatching
ratioDistanceThreshold
stdAndRatioDistanceThreshold
stdDistanceThreshold
- class MatchingMethodEnum(self, value: int)¶
Bases:
pybind11_object
Enumerator for the different filtering matching method.
Values:
constantFactorDistanceThreshold: Keep all the points below a constant factor threshold.
stdDistanceThreshold: Keep all the points below a minimal distance + the standard deviation.
ratioDistanceThreshold: Keep all the points enough discriminated.
stdAndRatioDistanceThreshold: Keep all the points which fall with the two conditions.
noFilterMatching: No filtering.
- __init__(self)¶
Default constructor.
- getMatchingFactorThreshold(self) float ¶
Get the factor value.
- Returns:
The factor value for the filtering method: constantFactorDistanceThreshold.
- getMatchingMethod(self) visp._visp.vision.XmlConfigParserKeyPoint.MatchingMethodEnum ¶
Get the filtering method.
- Returns:
The filtering method.
- getMatchingRatioThreshold(self) float ¶
Get the ratio value.
- Returns:
The factor value for the filtering method: ratioDistanceThreshold.
- getNbRansacIterations(self) int ¶
Get the maximum number of iterations for the Ransac method.
- Returns:
The maximum number of iterations for the Ransac method.
- getNbRansacMinInlierCount(self) int ¶
Get the minimum number of inliers for the Ransac method.
- Returns:
The minimum number of inliers for the Ransac method.
- getRansacConsensusPercentage(self) float ¶
Get the percentage value of inliers for the Ransac method.
- Returns:
The percentage value of inliers for the Ransac method.
- getRansacReprojectionError(self) float ¶
Get the maximum reprojection error for a candidate inlier for the Ransac method.
- Returns:
The maximum reprojection error for the Ransac method.
- getRansacThreshold(self) float ¶
Get the maximum error for a candidate inlier for the Ransac method.
- Returns:
The maximum error for the Ransac method.
- getUseRansacConsensusPercentage(self) bool ¶
Get the flag state to choose between a percentage of inliers or a fixed number.
- Returns:
True to use a percentage value for inliers, false otherwise.