public class opencv_shape extends opencv_shape
| Modifier and Type | Class and Description |
|---|---|
static class |
opencv_shape.AffineTransformer
\brief Wrapper class for the OpenCV Affine Transformation algorithm.
|
static class |
opencv_shape.ChiHistogramCostExtractor
\brief An Chi based cost extraction.
|
static class |
opencv_shape.EMDHistogramCostExtractor
\brief An EMD based cost extraction.
|
static class |
opencv_shape.EMDL1HistogramCostExtractor
\brief An EMD-L1 based cost extraction.
|
static class |
opencv_shape.HausdorffDistanceExtractor
\brief A simple Hausdorff distance measure between shapes defined by contours
|
static class |
opencv_shape.HistogramCostExtractor
\addtogroup shape
\{
|
static class |
opencv_shape.NormHistogramCostExtractor
\brief A norm based cost extraction.
|
static class |
opencv_shape.ShapeContextDistanceExtractor
\brief Implementation of the Shape Context descriptor and matching algorithm
|
static class |
opencv_shape.ShapeDistanceExtractor
\brief Abstract base class for shape distance algorithms.
|
static class |
opencv_shape.ShapeTransformer
\addtogroup shape
\{
|
static class |
opencv_shape.ThinPlateSplineShapeTransformer
\brief Definition of the transformation
|
| Constructor and Description |
|---|
opencv_shape() |
map@Namespace(value="cv")
public static float EMDL1(@ByVal
opencv_core.Mat signature1,
@ByVal
opencv_core.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
opencv_core.UMat signature1,
@ByVal
opencv_core.UMat signature2)
@Namespace(value="cv")
public static float EMDL1(@ByVal
opencv_core.GpuMat signature1,
@ByVal
opencv_core.GpuMat signature2)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.ThinPlateSplineShapeTransformer createThinPlateSplineShapeTransformer(double regularizationParameter)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.ThinPlateSplineShapeTransformer createThinPlateSplineShapeTransformer()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.AffineTransformer createAffineTransformer(@Cast(value="bool") boolean fullAffine)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createNormHistogramCostExtractor(int flag, int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createNormHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createEMDHistogramCostExtractor(int flag, int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createEMDHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createChiHistogramCostExtractor(int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createChiHistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createEMDL1HistogramCostExtractor(int nDummies, float defaultCost)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HistogramCostExtractor createEMDL1HistogramCostExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.ShapeContextDistanceExtractor createShapeContextDistanceExtractor(int nAngularBins, int nRadialBins, float innerRadius, float outerRadius, int iterations, @opencv_core.Ptr opencv_shape.HistogramCostExtractor comparer, @opencv_core.Ptr opencv_shape.ShapeTransformer transformer)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.ShapeContextDistanceExtractor createShapeContextDistanceExtractor()
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HausdorffDistanceExtractor createHausdorffDistanceExtractor(int distanceFlag, float rankProp)
@Namespace(value="cv") @opencv_core.Ptr public static opencv_shape.HausdorffDistanceExtractor createHausdorffDistanceExtractor()
Copyright © 2018. All rights reserved.