*MEX* Modified Hausdorff Distance for 2D Point Sets
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 (2025). *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
Platform Compatibility
Windows macOS LinuxCategories
Tags
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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.