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.
The function computed the forward and reverse distances and outputs the
minimum of both.
Format for calling function:
MHD = ModHausdorffDist(A,B);
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).
Undefined function 'norm' for input arguments of type 'uint8'.
I am getting this error.
Error in ModHausdorffDist (line 47)
tempdist = norm(A(a,:)-B(b,:));
Error in saliencydistance (line 33)
I get different results, for same A and B, when I run again and again. Any reasons?
Added note that code works for 2D point sets