xdem.coreg.AffineCoreg.to_rotations

xdem.coreg.AffineCoreg.to_rotations#

AffineCoreg.to_rotations()[source]#

Extract X/Y/Z euler rotations (extrinsic convention) from the affine transformation matrix.

Warning: This function only works for a rigid transformation (rotation and translation).

Return type:

tuple[float, float, float]

Returns:

Extrinsinc Euler rotations along easting, northing and vertical directions (degrees).