pysdic.PerspectiveExtrinsic.rotation_vector#

property PerspectiveExtrinsic.rotation_vector: ndarray | None#

[Get/Set] the rotation vector \(\vec{r}\) of the camera.

The rotation vector is a numpy array of shape (3,) representing the rotation of the camera in Rodrigues form. It corresponds to the first three parameters of the extrinsic transformation.

Note

An alias for rotation_vector is rvec to match OpenCV conventions.

Note

The rotation vector can only be set if all the parameters are already set.

See also

Parameters:

rvec (ArrayLike) – The rotation vector of the camera in Rodrigues form with shape (3,).

Returns:

The rotation vector of the camera with shape (3,). (or None if the parameters are not set)

Return type:

Optional[numpy.ndarray]