mymesh.register.rigid2d#

mymesh.register.rigid2d(x, center=array([0, 0]), image=False)[source]#

Rigid transformation consisting of translation and rotation in 2D.

Parameters:
  • I (np.ndarray) – numpy array containing the image data

  • x (list) – 3 item list, containing the x and y translations and rotation about z [t0, t1, theta], where angles are specified in radians.

  • center (list or np.ndarary, optional) – Reference point for the rotation

Returns:

I2 – numpy array containing the transformed image data

Return type:

np.ndarray