mymesh.register.translation#

mymesh.register.translation(x, image=False)[source]#

Rigid transformation consisting of translation and rotation in 3D.

Parameters:

x (list) – 3 item list, containing the x, y, and z translations [t0, t1, t2], where displacements are specified in pixels.

Returns:

A – Affine translation matrix (shape=(4,4))

Return type:

np.ndarray