xdem.coreg.translations_rotations_from_matrix

xdem.coreg.translations_rotations_from_matrix#

xdem.coreg.translations_rotations_from_matrix(matrix, return_degrees=True)[source]#

Extract 3 translations (unit of coordinates) and 3 rotations (degrees or radians) from rigid affine matrix.

The extracted euler rotations use the extrinsic convention.

Parameters:
Return type:

tuple[float, float, float, float, float, float]

Returns:

Translations in the X, Y and Z direction and rotations around the X, Y and Z directions.