pycvcam.Cv2Extrinsic.transformation_matrix#
- property Cv2Extrinsic.transformation_matrix: ndarray | None#
[Get/Set] the 4x4 transformation matrix of the extrinsic transformation.
The transformation matrix is a numpy array of shape (4, 4) representing the rotation and translation of the camera in the world coordinate system.
\[\begin{split}\begin{bmatrix} R & T \\ 0 & 1 \end{bmatrix}\end{split}\]Note
An alias for
transformation_matrixistmatrix.- Parameters:
tmatrix (Optional[ArrayLike]) – The 4x4 transformation matrix of the camera in the world coordinate system. It should be a 4x4 array. If set to None, the rotation and translation vectors will be set to None.
- Returns:
The 4x4 transformation matrix of the camera in the world coordinate system. (or None if not set)
- Return type:
Optional[numpy.ndarray]