I have this idea in my head and I am trying to figure out how to implement it. One of the parts that I am struggling with is how to take a 3D rigid-body transform and decompose it into dx, dy, dz, theta_X, theta_Y, and theta_Z.
This of course is a very well document algorithm. My problem is that matrix algebra is noncommutative. I would like to reorder the components such that it goes (dx*dy*theta_Z)*(dz*theta_X*theta_Y).
For any of you who wants to know why I want to do this is because I would like to do apply the transform (dx*dy*theta_Z) on a 3D image followed by then another operation followed by the completion of the rigid body transform. Does anyone know how to do this?