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

__init__

Default constructor.

getDetectorName

Get the detector name.

getExtractorName

Get the extractor name.

getMatcherName

Get the matcher name.

getMatchingFactorThreshold

Get the factor value.

getMatchingMethod

Get the filtering method.

getMatchingRatioThreshold

Get the ratio value.

getNbRansacIterations

Get the maximum number of iterations for the Ransac method.

getNbRansacMinInlierCount

Get the minimum number of inliers for the Ransac method.

getRansacConsensusPercentage

Get the percentage value of inliers for the Ransac method.

getRansacReprojectionError

Get the maximum reprojection error for a candidate inlier for the Ransac method.

getRansacThreshold

Get the maximum error for a candidate inlier for the Ransac method.

getUseRansacConsensusPercentage

Get the flag state to choose between a percentage of inliers or a fixed number.

getUseRansacVVSPoseEstimation

Get the flag state to choose between OpenCV Ransac pose estimation or ViSP Ransac VVS pose estimation.

parse

Parse an XML file to load configuration for vpKeyPoint class.

Inherited Methods

Operators

__doc__

__init__

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.

__and__(self, other: object) object
__eq__(self, other: object) bool
__ge__(self, other: object) bool
__getstate__(self) int
__gt__(self, other: object) bool
__hash__(self) int
__index__(self) int
__init__(self, value: int)
__int__(self) int
__invert__(self) object
__le__(self, other: object) bool
__lt__(self, other: object) bool
__ne__(self, other: object) bool
__or__(self, other: object) object
__rand__(self, other: object) object
__ror__(self, other: object) object
__rxor__(self, other: object) object
__setstate__(self, state: int) None
__xor__(self, other: object) object
property name : str
__init__(self)

Default constructor.

getDetectorName(self) str

Get the detector name.

Returns:

The detector name.

getExtractorName(self) str

Get the extractor name.

Returns:

The extractor name.

getMatcherName(self) str

Get the matcher name.

Returns:

The detector name.

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.

getUseRansacVVSPoseEstimation(self) bool

Get the flag state to choose between OpenCV Ransac pose estimation or ViSP Ransac VVS pose estimation.

Returns:

True to use ViSP method, false otherwise.

parse(self, filename: str) None

Parse an XML file to load configuration for vpKeyPoint class.

Parameters:
filename: str

filename of the XML file to parse.