Table of Contents

Class HistogramCostExtractor

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

Abstract base class for histogram cost algorithms used in shape matching.

public abstract class HistogramCostExtractor : Algorithm, IDisposable
Inheritance
HistogramCostExtractor
Implements
Derived
Inherited Members

Constructors

HistogramCostExtractor(nint, nint, Action<nint>)

Constructor for the factory pattern (cv::Ptr<T>* + raw T*).

Properties

DefaultCost

The default cost assigned to dummy bins.

NDummies

The number of dummy histogram bins added to each histogram to handle size differences.

Methods

BuildCostMatrix(InputArray, InputArray, OutputArray)

Builds a cost matrix from two sets of descriptors.