In the image my main coordinate system is in the upper right corner. I measured $3$ points on a board and created a help coordinate system. V1 points directly to the origin of the help coordinate system. V2 and V3 lie on different axis of the help coordinate system.
I want to find the transformation matrix. So V1 is my translation, right? Subtracting V1 from V2 and V3 I can move the origin of the help coordinate system to the origin of the main coordinate system, right?
But how do I calculate the rotation?