finding a rotation vector
- To: mathgroup at smc.vnet.net
- Subject: [mg79580] finding a rotation vector
- From: william <willpowers69 at hotmail.com>
- Date: Mon, 30 Jul 2007 06:41:02 -0400 (EDT)
Hi there, I have a problem in mathematica concerning 2 non geometric shapes: 1 the shapes are made up of collections of points in 3D space. 2 the shapes the not mathematically exactly the same (the points are not homologous), but they are very similar. 3 shape 2 is effectively shape 1 that has been translated (ie its centroid (mean of 3D coordinates) has been moved) and rotated in 3D space. I can find the translation vector (centroid 1-2), but cannot find the rotation vector. I was thinking along the lines of: least squares registering shape 2 to 1, and returning the rotation used in this process. I am very stuck with the process, so any help would be very much appreciated!! thanks in advance, will