*MEX* Modified Hausdorff Distance for 2D Point Sets

Version 1.1.0.0 (2.02 KB) by Sasikanth
This function quickly computes the Modified Hausdorff Distance (MHD) for 2D point sets.
1.1K Downloads
Updated 20 Jan 2011

View License

This function computes the Modified Hausdorff Distance (MHD) which is
proven to function better than the directed HD as per Dubuisson et al.
in the following work:

M. P. Dubuisson and A. K. Jain. A Modified Hausdorff distance for object
matching. In ICPR94, pages A:566-568, Jerusalem, Israel, 1994.
http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=576361

The function computed the forward and reverse distances and outputs the
minimum of both.

Format for calling function:

MHD = ModHausdorffDist(A,B);

where
MHD = Modified Hausdorff Distance.
A -> Point set 1
B -> Point set 2

No. of samples of each point set may be different but the dimension of
the points must be the same (2).

Cite As

Sasikanth (2024). *MEX* Modified Hausdorff Distance for 2D Point Sets (https://www.mathworks.com/matlabcentral/fileexchange/30108-mex-modified-hausdorff-distance-for-2d-point-sets), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Generating Code in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Hausdorff Distance, Hausdorff Distance

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Added note that code works for 2D point sets

1.0.0.0