Woolz Image Processing  Version 1.7.0
WlzDistanceMetric - computes distance metrics between contour objects.
WlzDistanceMetric [-h] [-o <output file>] [-H] [-M] [-N] [-I]
                  [<in obj 0>] [<in obj 1>]
-h Help, prints usage message.
-o Output file for distance metrics.
-H Hausdorff distance metric.
-M Mean of nearest neighbours distance metrics.
-N Median of nearest neighbours distance metrics.
-I Minimum nearest neighbour distance.
Computes distance metrics for the given pair of contour objects. If no distance metrics are specified on the command line then all the metrics will be be computed and output, but if any metrics are specified on the computed line then only those metrics will be computed and output. The selected distance metrics are written on a single line as, ascii floating point values, separated by white spaces characters and in the order: Hausdorff; mean; median and minimum distance. The input objects are read from stdin and the distances are written to stdout unless the filenames are given.
WlzDistanceMetric -H -N -o out.num in0.wlz in1.wlz
Two objects are read from in0.wlz and in1.wlz, the Hausdorff and median of nearest neighbours distance metrics are computed and written to the file out.num on a single line in that order.
See Also
WlzIntro(1) WlzDistMetricGM(1)