Exemple #1
0
 /// <summary>
 /// Create an EMD based cost extraction.
 /// </summary>
 /// <param name="flag">Distance type</param>
 /// <param name="nDummies">Number of dummies</param>
 /// <param name="defaultCost">Default cost</param>
 public EMDHistogramCostExtractor(CvEnum.DistType flag = CvEnum.DistType.L2, int nDummies = 25, float defaultCost = 0.2f)
 {
     _ptr = ShapeInvoke.cvEMDHistogramCostExtractorCreate(flag, nDummies, defaultCost, ref _sharedPtr);
 }