pysdic.PlanarHomographicExtrinsic.homography_matrix#

property PlanarHomographicExtrinsic.homography_matrix: ndarray | None#

[Get/Set] the 3x3 homogeneous homography matrix \(H\).

\[\begin{split}H = \begin{bmatrix} h_{00} & h_{01} & h_{02} \\ h_{10} & h_{11} & h_{12} \\ h_{20} & h_{21} & 1 \end{bmatrix}\end{split}\]

When the matrix is set, it is normalized so that H[2, 2] = 1.

Note

An alias for homography_matrix is hmat.

Parameters:

homography_matrix (Optional[ArrayLike]) – The homography matrix with shape (3, 3) and a non-zero bottom-right element, or None to unset the parameters.

Returns:

The homography matrix with shape (3, 3). (or None if the parameters are not set)

Return type:

Optional[numpy.ndarray]