Imagine I have two (python) lists (with a limited) amount of 3D points. How do I find a rigid transformation to match the points as closely as possible. For each point of each list it is known to which other point that point corresponds. Is there an algorithm/library for this?
I found the Iterative closest point algorithm, but this assumes there is no correspondence known and it seems to be made for large point clouds. I'm talking about limited sets of 3 to 8 points.
Possible point sets (correspondence according to index in the list)
a = [[0,0,0], [1,0,0],[0,1,0]]
b = [[0,0,0.5], [1,0,1],[0,0,2]]