Constructor
obj = cv.ShapeContextDistanceExtractor()
obj = cv.ShapeContextDistanceExtractor('OptionName',optionValue, ...)
Options
- AngularBins see
cv.ShapeContextDistanceExtractor.AngularBins, default 12
- RadialBins see
cv.ShapeContextDistanceExtractor.RadialBins, default 4
- InnerRadius see
cv.ShapeContextDistanceExtractor.InnerRadius, default 0.2
- OuterRadius see
cv.ShapeContextDistanceExtractor.OuterRadius, default 2
- Iterations see
cv.ShapeContextDistanceExtractor.Iterations, default 3
- CostExtractor an algorithm that defines the cost matrix
between descriptors, specified as
{comparerType, 'OptionName',optionValue, ...}
.
See cv.ShapeContextDistanceExtractor.setCostExtractor,
where comparerType
is one of:
- NormHistogramCostExtractor
- EMDHistogramCostExtractor
- ChiHistogramCostExtractor (default)
- EMDL1HistogramCostExtractor
- TransformAlgorithm an algorithm that defines the aligning
transformation, specified as
{transformerType, 'OptionName',optionValue, ...}
.
See cv.ShapeContextDistanceExtractor.setTransformAlgorithm,
where transformerType
is one of:
- ThinPlateSplineShapeTransformer (default)
- AffineTransformer