1
$\begingroup$

I'm having a tough time describing my problem, so I'll present an example instead.

I have a set of Cartesian coordinates

[(1,2) (2,2) (3,3) (4,5) (5,5)]

I also have an array of sets of Cartesian coordinates.

[(4,1) (4,2) (5,3) (6,3) (7,4)]

[(1,1) (2,1) (3,2) (4,4) (5,4)]

[(1,3) (2,3) (3,4) (4,6) (5,8)]

Imagine these are plotted and connect the coordinates together within each set.

So given these data points, I want to find out how well each set of coordinates in the array matches the first set of coordinates with regards to shape of the connected set not exact locations.

The second set of coordinates in the array matches the initial set perfectly, so I'd expect the algorithm to return the value 1. The third set is a close match, the last coordinate is off, so I'd expect the algorithm to return something less than 1 but probably higher than maybe 0.8. The first set in the array is not even close so I'd expect maybe 0 or very close to it.

Are there any known algorithms that do this sort of thing. If not, any suggestions on how I would design such an algorithm?

Also just a note, I do not know a whole lot when it comes to math, I am a software engineer and this is for an application that I am working on. I am also not sure if this question belongs here or somewhere else like stack overflow.

  • 1
    Thanks for pointing that out. Corrected the typo.2012-09-28

1 Answers 1

0

Use procrustes analysis. ${}{}{}{}{}{}{}{}$

  • 0
    Thanks, this seems to be exactly what I'm looking for.2012-09-28