turningdist
Compute turning distance between polyshape
objects
Description
returns an array of turning distances between the corresponding element pairs of two
td
= turningdist(poly1
,poly2
)polyshape
arrays with compatible sizes. The turning distance
between two polyshape
objects is a measure of how closely their
shapes match, regardless of rotation or scaling. A turning distance close to 0
indicates a near match. The larger the value, the more the two shapes differ.
TD(i,j) is the turning distance between the
ith polyshape
in poly1
and the jth polyshape
in
poly2
.
Examples
Input Arguments
Output Arguments
References
[1] Arkin, E.M., Chew, L.P., Huttenlocher, D.P., Kedem, K., and Mitchell, J.S.B. "An efficiently computable metric for comparing polygonal shapes." IEEE Transactions on Pattern Analysis and Machine Intelligence. Vol. 13, Number 3, 1991, pp. 209-16. doi:10.1109/34.75509.
Extended Capabilities
Version History
Introduced in R2018a