*MEX* Modified Hausdorff Distance for 2D Point Sets

This function quickly computes the Modified Hausdorff Distance (MHD) for 2D point sets.

You are now following this Submission

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 (2026). *MEX* Modified Hausdorff Distance for 2D Point Sets (https://se.mathworks.com/matlabcentral/fileexchange/30108-mex-modified-hausdorff-distance-for-2d-point-sets), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Hausdorff Distance, Hausdorff Distance

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

Added note that code works for 2D point sets

1.0.0.0