How can we derive the angle by which the origin is rotated and axes are shifted given the list of points before the transformation was done and after the transformation is done.
example:
Before transformation - [(-3173.24, 1503.76), (-3173.24, 1599.98), (-2921.24, 1941.7), (-2777.24, 1941.7), (-2969.24, 1905.7), (-2969.24, 1941.7), (-3017.24, 1941.7), (-3065.24, 1905.7), (-3161.24, 2013.6), (-3179.24, 2049.6), (-2759.24, 1905.7), (-3017.24, 1803.81), (-3113.24, 1803.81), (-3161.24, 1803.81), (-3179.24, 1839.81), (-2759.24, 1803.81), (-2777.24, 1839.81), (-2789.24, 1623.98), (-2789.24, 1527.76), (-2760.86, 1737.92)]
After transformation - [(52.12, 146.39), (52.12, 242.61), (592.12, 584.33), (448.12, 584.33), (256.12, 548.33), (640.12, 584.33), (688.12, 584.33), (160.12, 548.33), (64.12, 656.22), (46.12, 692.22), (466.12, 548.33), (208.12, 446.44), (112.12, 446.44), (64.12, 446.44), (46.12, 482.44), (466.12, 446.44), (448.12, 482.44), (436.12, 266.61), (436.12, 170.39), (464.5, 380.54)]
How can we generate the correlation between these points so that given an older point(x, y) we can find the derived point (x', y')
Origin details are not known. We are using a Cartesian coordinate system having x and y axes.
New Edit.
Initial Answer.
These two triangles are not congruent, i.e. there is no translation and rotation that can transform x into y. There is an affine transformation.