Hausdorff Convergence
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, the Hausdorff distance, or Hausdorff metric, also called Pompeiu–Hausdorff distance, measures how far two
subset In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s of a
metric space In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
are from each other. It turns the set of
non-empty In mathematics, the empty set or void set is the unique set having no elements; its size or cardinality (count of elements in a set) is zero. Some axiomatic set theories ensure that the empty set exists by including an axiom of empty set, whil ...
compact Compact as used in politics may refer broadly to a pact or treaty; in more specific cases it may refer to: * Interstate compact, a type of agreement used by U.S. states * Blood compact, an ancient ritual of the Philippines * Compact government, a t ...
subsets of a metric space into a metric space in its own right. It is named after
Felix Hausdorff Felix Hausdorff ( , ; November 8, 1868 – January 26, 1942) was a German mathematician, pseudonym Paul Mongré (''à mogré' (Fr.) = "according to my taste"), who is considered to be one of the founders of modern topology and who contributed sig ...
and
Dimitrie Pompeiu Dimitrie D. Pompeiu (; – 8 October 1954) was a Romanian mathematician, professor at the University of Bucharest, titular member of the Romanian Academy, and President of the Chamber of Deputies. Biography He was born in 1873 in Broscăuți, ...
. Informally, two sets are close in the Hausdorff distance if every point of either set is close to some point of the other set. The Hausdorff distance is the longest distance someone can be forced to travel by an adversary who chooses a point in one of the two sets, from where they then must travel to the other set. In other words, it is the greatest of all the distances from a point in one set to the closest point in the other set. This distance was first introduced by Hausdorff in his book '' Grundzüge der Mengenlehre'', first published in 1914, although a very close relative appeared in the doctoral thesis of
Maurice Fréchet Maurice may refer to: *Maurice (name), a given name and surname, including a list of people with the name Places * or Mauritius, an island country in the Indian Ocean * Maurice, Iowa, a city * Maurice, Louisiana, a village * Maurice River, a t ...
in 1906, in his study of the space of all continuous curves from ,1\to \R^3.


Definition

Let (M,d) be a
metric space In mathematics, a metric space is a Set (mathematics), set together with a notion of ''distance'' between its Element (mathematics), elements, usually called point (geometry), points. The distance is measured by a function (mathematics), functi ...
. For each pair of non-empty subsets X \subset M and Y \subset M, the Hausdorff distance between X and Y is defined as d_(X,Y) := \max\left\, where \operatorname represents the
supremum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique, ...
operator, \operatorname the
infimum In mathematics, the infimum (abbreviated inf; : infima) of a subset S of a partially ordered set P is the greatest element in P that is less than or equal to each element of S, if such an element exists. If the infimum of S exists, it is unique ...
operator, and where d(a, B) := \inf_ d(a,b) quantifies the distance from a point a \in X to the subset B\subseteq X. An equivalent definition is as follows. For each set X \subset M, let X_\varepsilon := \bigcup_ \, which is the set of all points within \varepsilon of the set X (sometimes called the \varepsilon-fattening of X or a generalized
ball A ball is a round object (usually spherical, but sometimes ovoid) with several uses. It is used in ball games, where the play of the game follows the state of the ball as it is hit, kicked or thrown by players. Balls can also be used for s ...
of radius \varepsilon around X). Then, the Hausdorff distance between X and Y is defined as d_H(X,Y) := \inf\. Equivalently, \begin d_H(X, Y) &= \sup_ \left, \inf_ d(w,x) - \inf_ d(w,y)\ \\ &= \sup_ \left, \inf_ d(w,x) - \inf_ d(w,y)\ \\ &= \sup_ , d(w, X) - d(w, Y), , \end where d(w, X) := \inf_ d(w,x) is the smallest distance from the point w to the set X.


Remark

It is not true for arbitrary subsets X, Y \subset M that d_(X,Y) = \varepsilon implies : X\subseteq Y_\varepsilon \ \mbox \ Y\subseteq X_\varepsilon. For instance, consider the metric space of the real numbers \mathbb with the usual metric d induced by the absolute value, :d(x,y) := , y - x, , \quad x,y \in \R. Take :X := (0, 1] \quad \mbox \quad Y := [-1,0). Then d_(X,Y) = 1\ . However X \nsubseteq Y_1 because Y_1 = [-2,1)\ , but 1 \in X. But it is true that X\subseteq \overline and Y\subseteq \overline ; in particular it is true if X, Y are closed.


Properties

* In general, d_\text(X, Y) may be infinite. If both ''X'' and ''Y'' are bounded set, bounded, then d_\text(X, Y) is guaranteed to be finite. * d_\text(X, Y) = 0 if and only if ''X'' and ''Y'' have the same closure. * For every point ''x'' of ''M'' and any non-empty sets ''Y'', ''Z'' of ''M'': ''d''(''x'', ''Y'') ≤ ''d''(''x'', ''Z'') + ''d''H(''Y'', ''Z''), where ''d''(''x'', ''Y'') is the distance between the point ''x'' and the closest point in the set ''Y''. * , diameter(''Y'') − diameter(''X''), ≤ 2''d''H(''X'', ''Y''). * If the intersection ''X'' ∩ ''Y'' has a non-empty interior, then there exists a constant ''r'' > 0, such that every set ''X''′ whose Hausdorff distance from ''X'' is less than ''r'' also intersects ''Y''. * On the set of all subsets of ''M'', ''d''H yields an extended pseudometric. * On the set ''F''(''M'') of all non-empty compact subsets of ''M'', ''d''H is a metric. ** If ''M'' is
complete Complete may refer to: Logic * Completeness (logic) * Completeness of a theory, the property of a theory that every formula in the theory's language or its negation is provable Mathematics * The completeness of the real numbers, which implies t ...
, then so is ''F''(''M''). ** If ''M'' is compact, then so is ''F''(''M''). ** The
topology Topology (from the Greek language, Greek words , and ) is the branch of mathematics concerned with the properties of a Mathematical object, geometric object that are preserved under Continuous function, continuous Deformation theory, deformat ...
of ''F''(''M'') depends only on the topology of ''M'', not on the metric ''d''.


Motivation

The definition of the Hausdorff distance can be derived by a series of natural extensions of the distance function d(x,y) in the underlying metric space ''M'', as follows: * Define a distance function between any point ''x'' of ''M'' and any non-empty set ''Y'' of ''M'' by triangle inequality In mathematics, the triangle inequality states that for any triangle, the sum of the lengths of any two sides must be greater than or equal to the length of the remaining side. This statement permits the inclusion of Degeneracy (mathematics)#T ...
property from the distance function in ''M''. As it stands, ''d''(''X'', ''Y'') is ''not'' a metric because ''d''(''X'', ''Y'') is not always symmetric, and does not imply that (it does imply that X \subseteq \overline). For example, , but . However, we can create a metric by defining the Hausdorff distance to be d_\text(X, Y) = \max\.


Applications

In
computer vision Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
, the Hausdorff distance can be used to find a given template in an arbitrary target image. The template and image are often pre-processed via an edge detector giving a
binary image A binary image is a digital image that consists of pixels that can have one of exactly two colors, usually black and white. Each pixel is stored as a single bit — i.e. either a 0 or 1. A binary image can be stored in memory as a bitmap: a p ...
. Next, each 1 (activated) point in the binary image of the template is treated as a point in a set, the "shape" of the template. Similarly, an area of the binary target image is treated as a set of points. The algorithm then tries to minimize the Hausdorff distance between the template and some area of the target image. The area in the target image with the minimal Hausdorff distance to the template, can be considered the best candidate for locating the template in the target. In
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
the Hausdorff distance is used to measure the difference between two different representations of the same 3D object particularly when generating level of detail for efficient display of complex 3D models. If X is the surface of Earth, and Y is the land-surface of Earth, then by finding the
point Nemo In geography, a pole of inaccessibility is the farthest (or most difficult to reach) location in a given landmass, sea, or other topographical feature, starting from a given boundary, relative to a given criterion. A geographical criterion of i ...
, we see d_\text(X, Y) is around 2,704.8 km.


Related concepts

A measure for the dissimilarity of two shapes is given by ''Hausdorff distance up to isometry'', denoted ''D''H. Namely, let ''X'' and ''Y'' be two compact figures in a metric space ''M'' (usually a
Euclidean space Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
); then ''D''H(''X'', ''Y'') is the infimum of ''d''H(''I''(''X''), ''Y'') among all
isometries In mathematics, an isometry (or congruence, or congruent transformation) is a distance-preserving transformation between metric spaces, usually assumed to be bijective. The word isometry is derived from the Ancient Greek: ἴσος ''isos'' mea ...
''I'' of the metric space ''M'' to itself. This distance measures how far the shapes ''X'' and ''Y'' are from being isometric. The
Gromov–Hausdorff convergence In mathematics, Gromov–Hausdorff convergence, named after Mikhail Gromov and Felix Hausdorff, is a notion for convergence of metric spaces which is a generalization of Hausdorff distance. Gromov–Hausdorff distance The Gromov–Hausdorff dist ...
is a related idea: measuring the distance of two metric spaces ''M'' and ''N'' by taking the infimum of d_\text\big(I(M), J(N)\big) among all isometric embeddings I\colon M \to L and J\colon N \to L into some common metric space ''L''.


See also

*
Wijsman convergence Wijsman convergence is a variation of Hausdorff convergence suitable for work with unbounded sets. Intuitively, Wijsman convergence is to convergence in the Hausdorff metric as pointwise convergence is to uniform convergence. History The converg ...
*
Kuratowski convergence In mathematics, Kuratowski convergence or Painlevé-Kuratowski convergence is a notion of convergence for subsets of a topological space. First introduced by Paul Painlevé in lectures on mathematical analysis in 1902,This is reported in the Commen ...
*
Hemicontinuity In mathematics, upper hemicontinuity and lower hemicontinuity are extensions of the notions of semicontinuity, upper and lower semicontinuity of single-valued function (mathematics), functions to Set-valued function, set-valued functions. A set-v ...
*
Fréchet distance In mathematics, the Fréchet distance is a measure of similarity between curves that takes into account the location and ordering of the points along the curves. It is named after Maurice Fréchet. Intuitive definition Imagine a person traversing ...
*
Hypertopology In the mathematical branch of topology, a hyperspace (or a space equipped with a hypertopology) is a topological space, which consists of the set ''CL(X)'' of all non-empty closed subsets of another topological space ''X'', equipped with a topolog ...


References


External links


Hausdorff distance between convex polygons


A short tutorial on how to compute and visualize the Hausdorff distance between two triangulated 3D surfaces using the open source tool
MeshLab MeshLab is a 3D mesh processing software system that is oriented to the management and processing of unstructured large meshes and provides a set of tools for editing, cleaning, healing, inspecting, rendering, and converting these kinds of mesh ...
. * MATLAB code for Hausdorff distance

{{DEFAULTSORT:Hausdorff Distance Distance Metric geometry