Пример #1
0
 /// <summary>
 /// Create a norm based cost extraction.
 /// </summary>
 /// <param name="flag">Distance type</param>
 /// <param name="nDummies">Number of dummies</param>
 /// <param name="defaultCost">Default cost</param>
 public NormHistogramCostExtractor(CvEnum.DistType flag = CvEnum.DistType.L2, int nDummies = 25, float defaultCost = 0.2f)
 {
     _ptr = ShapeInvoke.cvNormHistogramCostExtractorCreate(flag, nDummies, defaultCost, ref _sharedPtr);
 }