Skip to content

Methods · Spatial analysis · Shape comparison

Hausdorff Distance Between Shapes

The Hausdorff distance measures how far two shapes or point sets are from each other: it is the largest distance from any point of one set to the nearest point of the other, taken in whichever direction is worse. The method also gives the two directed distances and robust variants based on mean or ranked nearest distances.

하우스도르프 거리는 두 도형이나 점 집합이 서로 얼마나 떨어져 있는지를 잽니다. 한 집합의 어느 점에서 다른 집합의 가장 가까운 점까지의 거리 가운데 가장 큰 값을 두 방향 중 더 나쁜 쪽으로 취합니다. 두 방향 거리와 평균이나 순위에 기반한 강건한 변형도 함께 제공합니다.

How far apart are two outlines or point sets at their worst-matching place, and how far apart on average?

두 윤곽선이나 점 집합은 가장 어긋나는 곳에서 얼마나 떨어져 있고, 평균적으로는 얼마나 떨어져 있습니까?

The method returns the Hausdorff distance, both directed distances with the points where they occur, the modified (mean-based) Hausdorff distance, the mean nearest distances in each direction and a partial Hausdorff distance that ignores the worst-matching fraction of points.

When to use Hausdorff Distance Between Shapes

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The Hausdorff distance between shapes A and B was [value] (directed: [value] and [value]); the modified Hausdorff distance was [value].

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.

    독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Hausdorff Distance Between Shapes on Quorant

Data you need
a table (CSV or Excel) with predictor (feature) columns and a grouping variable
Price
150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q62042 · Reviewed 2026-10-25