MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / rigid_align

Function rigid_align

util/transforms.py:74–77  ·  view source on GitHub ↗
(A, B)

Source from the content-addressed store, hash-verified

72 return A2
73
74def rigid_align(A, B):
75 c, R, t = rigid_transform_3D(A, B)
76 A2 = np.transpose(np.dot(c * R, np.transpose(A))) + t
77 return A2
78
79def rigid_align_batch(A, B):
80

Callers 1

evaluateMethod · 0.90

Calls 1

rigid_transform_3DFunction · 0.85

Tested by

no test coverage detected