Hausdorff Distance

版本 (1.6 KB) 作者: Hassan R-Esfahlan
Computes the Hausdorff distance between two point clouds.

4.1K 次下载

更新时间 2010/6/15


This simple code computes the Hausdorff distance between two point clouds.
% Let A and B be subsets of a metric space (Z,dZ),
% The Hausdorff distance between A and B, denoted by dH (A, B), is defined by:
% dH (A, B)=max{sup dz(a,B), sup dz(b,A)}, for all a in A, b in B,
% dH(A, B) = max(h(A, B),h(B, A)),
% where h(A, B) = max(min(d(a, b))),
% and d(a, b) is a L2 norm.
% dist_H = hausdorff( A, B )
% A: First point sets.
% B: Second point sets.
% ** A and B may have different number of rows, but must have the same number of columns. **
% Hassan RADVAR-ESFAHLAN; Université du Québec; ÉTS; Montréal; CANADA
% 15.06.2010


Hassan R-Esfahlan (2023). Hausdorff Distance (, MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
Windows macOS Linux
Help CenterMATLAB Answers 中查找有关 Point Cloud Processing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明