shape_distance.hpp File Reference


#include " opencv2/core.hpp "
#include " opencv2/shape/hist_cost.hpp "
#include " opencv2/shape/shape_transformer.hpp "

class   cv::HausdorffDistanceExtractor
  A simple Hausdorff distance measure between shapes defined by contours. 更多...
 
class   cv::ShapeContextDistanceExtractor
  Implementation of the Shape Context descriptor and matching algorithm. 更多...
 
class   cv::ShapeDistanceExtractor
  Abstract base class for shape distance algorithms. 更多...
 

名称空间

  cv
  "black box" representation of the file storage associated with a file on disk.
 

函数

Ptr< HausdorffDistanceExtractor >  cv::createHausdorffDistanceExtractor (int distanceFlag= cv::NORM_L2 , float rankProp=0.6f)
 
Ptr< ShapeContextDistanceExtractor >  cv::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())