pysdic.PerspectiveExtrinsic.from_rt#
- classmethod PerspectiveExtrinsic.from_rt(rvec, tvec)#
Create an extrinsic transformation from a rotation vector and a translation vector.
The returned object is an instance of the class on which the method is called.
- Parameters:
rvec (ArrayLike) – The rotation vector of the camera in Rodrigues form with shape (3,).
tvec (ArrayLike) – The translation vector of the camera with shape (3,).
- Returns:
A new instance of the class with the specified rotation and translation vectors.
- Return type: