Hausdorff Distance
%%
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
%%
Cita come
Hassan R-Esfahlan (2024). Hausdorff Distance (https://www.mathworks.com/matlabcentral/fileexchange/27905-hausdorff-distance), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Riconoscimenti
Ispirato: Hausdorff Distance, Modified Hausdorff Distance, *MEX* Modified Hausdorff Distance for 2D Point Sets
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |