TOPICS
Search

Hausdorff Distance


The Hausdorff distance is a distance between nonempty subsets of a metric space. Let (X,d) be a metric space, and define the distance from a point x in X to a nonempty subset B subset= X by d(x,B)=inf_(b in B)d(x,b). The directed Hausdorff distance from A to B is

 h(A,B)=sup_(a in A)d(a,B)=sup_(a in A)inf_(b in B)d(a,b),

and the Hausdorff distance is its symmetrization

 d_H(A,B)=max{h(A,B),h(B,A)}.

On the collection of nonempty compact subsets of X, d_H is a metric called the Hausdorff metric. For more general subsets it can be infinite, and distinct sets with the same closure can have Hausdorff distance zero. For nonempty closed intervals [a,b] and [c,d] in the real line, d_H([a,b],[c,d])=max{|a-c|,|b-d|}.

The Hausdorff distance records the largest nearest-neighbor discrepancy between the two sets. The related chamfer distance instead averages nearest-neighbor discrepancies.


See also

Chamfer Distance, Closure, Compact Set, Distance, Metric, Metric Space

Explore with Wolfram|Alpha

References

Burago, D.; Burago, Y.; and Ivanov, S. A Course in Metric Geometry. Providence, RI: Amer. Math. Soc., 2001.

Cite this as:

Weisstein, Eric W. "Hausdorff Distance." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HausdorffDistance.html

Subject classifications