Table of Contents

Class HausdorffDistanceExtractor

Namespace
Emgu.CV.Shape
Assembly
Emgu.CV.dll

A simple Hausdorff distance measure between shapes defined by contours, according to the paper “Comparing Images using the Hausdorff distance.” by D.P. Huttenlocher, G.A. Klanderman, and W.J. Rucklidge. (PAMI 1993).

public class HausdorffDistanceExtractor : ShapeDistanceExtractor, IDisposable
Inheritance
HausdorffDistanceExtractor
Implements
Inherited Members

Constructors

HausdorffDistanceExtractor(DistType, float)

Create Hausdorff distance extractor

public HausdorffDistanceExtractor(DistType distanceFlag = DistType.L2, float rankProp = 0.6)

Parameters

distanceFlag DistType

Rhe norm used to compute the Hausdorff value between two shapes. It can be L1 or L2 norm.

rankProp float

The rank proportion (or fractional value) that establish the Kth ranked value of the partial Hausdorff distance. Experimentally had been shown that 0.6 is a good value to compare shapes.

Methods

DisposeObject()

Release the memory associated with this Hausdorff distance extractor

protected override void DisposeObject()