C# Class OpenCvSharp.ShapeDistanceExtractor

Abstract base class for shape distance algorithms.
Inheritance: Algorithm
Exibir arquivo Open project: shimat/opencvsharp

Public Methods

Method Description
ComputeDistance ( InputArray contour1, InputArray contour2 ) : float

Compute the shape distance between two shapes defined by its contours.

Method Details

ComputeDistance() public method

Compute the shape distance between two shapes defined by its contours.
public ComputeDistance ( InputArray contour1, InputArray contour2 ) : float
contour1 InputArray Contour defining first shape.
contour2 InputArray Contour defining second shape.
return float