Show / Hide Table of Contents

Class HausdorffDistanceExtractor

A simple Hausdorff distance measure between shapes defined by contours

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

according to the paper "Comparing Images using the Hausdorff distance." by D.P. Huttenlocher, G.A. Klanderman, and W.J. Rucklidge. (PAMI 1993). :

Constructors

| Improve this Doc View Source

HausdorffDistanceExtractor(IntPtr)

Declaration
protected HausdorffDistanceExtractor(IntPtr p)
Parameters
Type Name Description
IntPtr p

Properties

| Improve this Doc View Source

DistanceFlag

Flag indicating which norm is used to compute the Hausdorff distance (NORM_L1, NORM_L2).

Declaration
public DistanceTypes DistanceFlag { get; set; }
Property Value
Type Description
DistanceTypes
| Improve this Doc View Source

RankProportion

fractional value (between 0 and 1).

Declaration
public float RankProportion { get; set; }
Property Value
Type Description
System.Single

Methods

| Improve this Doc View Source

Create(DistanceTypes, Single)

Complete constructor

Declaration
public static HausdorffDistanceExtractor Create(DistanceTypes distanceFlag = DistanceTypes.L2, float rankProp = 0.6F)
Parameters
Type Name Description
DistanceTypes distanceFlag

Flag indicating which norm is used to compute the Hausdorff distance (NORM_L1, NORM_L2).

System.Single rankProp

fractional value (between 0 and 1).

Returns
Type Description
HausdorffDistanceExtractor
| Improve this Doc View Source

DisposeManaged()

Releases managed resources

Declaration
protected override void DisposeManaged()
Overrides
DisposableObject.DisposeManaged()
| Improve this Doc View Source

DisposeUnmanaged()

Declaration
protected override void DisposeUnmanaged()
Overrides
DisposableCvObject.DisposeUnmanaged()
| Improve this Doc View Source

Get()

Declaration
public override IntPtr Get()
Returns
Type Description
IntPtr

Implements

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