OpenCV453
クラス | 関数
Shape Distance and Matching

クラス

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

関数

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. [詳解]
 
CV_EXPORTS_W Ptr< HistogramCostExtractorcv::createNormHistogramCostExtractor (int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
 
CV_EXPORTS_W Ptr< HistogramCostExtractorcv::createEMDHistogramCostExtractor (int flag=DIST_L2, int nDummies=25, float defaultCost=0.2f)
 
CV_EXPORTS_W Ptr< HistogramCostExtractorcv::createChiHistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
 
CV_EXPORTS_W Ptr< HistogramCostExtractorcv::createEMDL1HistogramCostExtractor (int nDummies=25, float defaultCost=0.2f)
 
CV_EXPORTS_W Ptr< ShapeContextDistanceExtractorcv::createShapeContextDistanceExtractor (int nAngularBins=12, int nRadialBins=4, float innerRadius=0.2f, float outerRadius=2, int iterations=3, const Ptr< HistogramCostExtractor > &comparer=createChiHistogramCostExtractor(), const Ptr< ShapeTransformer > &transformer=createThinPlateSplineShapeTransformer())
 
CV_EXPORTS_W Ptr< HausdorffDistanceExtractorcv::createHausdorffDistanceExtractor (int distanceFlag=cv::NORM_L2, float rankProp=0.6f)
 
CV_EXPORTS_W Ptr< ThinPlateSplineShapeTransformercv::createThinPlateSplineShapeTransformer (double regularizationParameter=0)
 
CV_EXPORTS_W Ptr< AffineTransformercv::createAffineTransformer (bool fullAffine)
 

詳解

関数詳解

◆ createAffineTransformer()

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

Complete constructor

◆ createThinPlateSplineShapeTransformer()

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

Complete constructor

◆ EMDL1()

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.

引数
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.