Is there implementation of Procrustes analysis in C++/OpenCV?

asked 2012-11-03 21:41:58 -0500

Just for reference: Procrustes analysis is a kind of shape alignment via scaling and rotation. E.g.:

image description

Here we have 2 shapes defined by 5 points each. We want to align one of them to another in such a way that distance between corresponding points is minimal.

So I wonder if anybody knows about implementation of Procrustes analysis in C++, preferably in OpenCV 2.x of course.

edit retag flag offensive close merge delete