Just for reference: Procrustes analysis is a kind of shape alignment via scaling and rotation. E.g.:
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.