public class opencv_shape extends opencv_shape
Constructor and Description |
---|
opencv_shape() |
map
@Namespace(value="cv") public static float EMDL1(@ByVal Mat signature1, @ByVal Mat signature2)
/** \brief Computes the "minimal work" distance between two weighted point configurations base on the papers "EMD-L1: An efficient and Robust Algorithm for comparing histogram-based descriptors", by Haibin Ling and Kazunori Okuda; and "The Earth Mover's Distance is the Mallows Distance: Some Insights from Statistics", by Elizaveta Levina and Peter Bickel.
signature1
- First signature, a single column floating-point matrix. Each row is the value of
the histogram in each bin.signature2
- Second signature of the same format and size as signature1.@Namespace(value="cv") public static float EMDL1(@ByVal UMat signature1, @ByVal UMat signature2)
@Namespace(value="cv") public static float EMDL1(@ByVal GpuMat signature1, @ByVal GpuMat signature2)
@Namespace(value="cv") @opencv_core.Ptr public static ThinPlateSplineShapeTransformer createThinPlateSplineShapeTransformer(double regularizationParameter)
@Namespace(value="cv") @opencv_core.Ptr public static ThinPlateSplineShapeTransformer createThinPlateSplineShapeTransformer()
@Namespace(value="cv") @opencv_core.Ptr public static AffineTransformer createAffineTransformer(@Cast(value="bool") boolean fullAffine)
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createNormHistogramCostExtractor(int flag, int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createNormHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createEMDHistogramCostExtractor(int flag, int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createEMDHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createChiHistogramCostExtractor(int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createChiHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createEMDL1HistogramCostExtractor(int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static HistogramCostExtractor createEMDL1HistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static ShapeContextDistanceExtractor createShapeContextDistanceExtractor(int nAngularBins, int nRadialBins, float innerRadius, float outerRadius, int iterations, @opencv_core.Ptr HistogramCostExtractor comparer, @opencv_core.Ptr ShapeTransformer transformer)
@Namespace(value="cv") @opencv_core.Ptr public static ShapeContextDistanceExtractor createShapeContextDistanceExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static HausdorffDistanceExtractor createHausdorffDistanceExtractor(int distanceFlag, float rankProp)
@Namespace(value="cv") @opencv_core.Ptr public static HausdorffDistanceExtractor createHausdorffDistanceExtractor()
Copyright © 2020. All rights reserved.