Show / Hide Table of Contents

Class ShapeDistanceExtractor

Abstract base class for shape distance algorithms.

Inheritance
System.Object
DisposableObject
DisposableCvObject
Algorithm
ShapeDistanceExtractor
HausdorffDistanceExtractor
ShapeContextDistanceExtractor
Implements
ICvPtrHolder
Inherited Members
Algorithm.Write(FileStorage)
Algorithm.Read(FileNode)
Algorithm.Empty
Algorithm.Save(String)
Algorithm.GetDefaultName()
DisposableCvObject.ptr
DisposableCvObject.DisposeUnmanaged()
DisposableCvObject.CvPtr
DisposableObject.DataHandle
DisposableObject.IsDisposed
DisposableObject.IsEnabledDispose
DisposableObject.AllocatedMemory
DisposableObject.AllocatedMemorySize
DisposableObject.Dispose()
DisposableObject.Dispose(Boolean)
DisposableObject.DisposeManaged()
DisposableObject.AllocGCHandle(Object)
DisposableObject.AllocMemory(Int32)
DisposableObject.NotifyMemoryPressure(Int64)
DisposableObject.ThrowIfDisposed()
Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public abstract class ShapeDistanceExtractor : Algorithm, ICvPtrHolder

Methods

| Improve this Doc View Source

ComputeDistance(InputArray, InputArray)

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

Declaration
public virtual float ComputeDistance(InputArray contour1, InputArray contour2)
Parameters
Type Name Description
InputArray contour1

Contour defining first shape.

InputArray contour2

Contour defining second shape.

Returns
Type Description
System.Single

Implements

ICvPtrHolder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX