Renesas / opencv-lib

Dependents:   RZ_A2M_Mbed_samples

Embed: (wiki syntax)

« Back to documentation index

Shape Distance and Matching

Shape Distance and Matching

Data Structures

class  HistogramCostExtractor
 Abstract base class for histogram cost algorithms. More...
class  NormHistogramCostExtractor
 A norm based cost extraction. More...
class  EMDHistogramCostExtractor
 An EMD based cost extraction. More...
class  ChiHistogramCostExtractor
 An Chi based cost extraction. More...
class  EMDL1HistogramCostExtractor
 An EMD-L1 based cost extraction. More...
class  ShapeDistanceExtractor
 Abstract base class for shape distance algorithms. More...
class  ShapeContextDistanceExtractor
 Implementation of the Shape Context descriptor and matching algorithm. More...
class  HausdorffDistanceExtractor
 A simple Hausdorff distance measure between shapes defined by contours. More...
class  ShapeTransformer
 Abstract base class for shape transformation algorithms. More...
class  ThinPlateSplineShapeTransformer
 Definition of the transformation. More...
class  AffineTransformer
 Wrapper class for the OpenCV Affine Transformation algorithm. More...

Functions

CV_EXPORTS float EMDL1 (InputArray signature1, InputArray signature2)
 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.
CV_EXPORTS_W Ptr
< ThinPlateSplineShapeTransformer > 
createThinPlateSplineShapeTransformer (double regularizationParameter=0)
 Complete constructor.
CV_EXPORTS_W Ptr
< AffineTransformer > 
createAffineTransformer (bool fullAffine)
 Complete constructor.

Function Documentation

CV_EXPORTS_W Ptr<AffineTransformer> cv::createAffineTransformer ( bool  fullAffine )

Complete constructor.

CV_EXPORTS_W Ptr<ThinPlateSplineShapeTransformer> cv::createThinPlateSplineShapeTransformer ( double  regularizationParameter = 0 )

Complete constructor.

CV_EXPORTS float cv::EMDL1 ( InputArray  signature1,
InputArray  signature2 
)

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.

Parameters:
signature1First signature, a single column floating-point matrix. Each row is the value of the histogram in each bin.
signature2Second signature of the same format and size as signature1.