pycvcam.Cv2Extrinsic.transformation_matrix#

property Cv2Extrinsic.transformation_matrix: ndarray | None#

Get 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_matrix is tmatrix.

Returns:

The 4x4 transformation matrix of the camera in the world coordinate system. (or None if not set)

Return type:

Optional[numpy.ndarray]