pysdic.PlanarHomographicExtrinsic.from_hmat#

classmethod PlanarHomographicExtrinsic.from_hmat(hmat)[source]#

Create a pysdic.PlanarHomographicExtrinsic from a 3x3 homography matrix.

The matrix is normalized so that H[2, 2] = 1.

Parameters:

hmat (ArrayLike) – The homography matrix with shape (3, 3).

Returns:

A new homography transformation.

Return type:

pysdic.PlanarHomographicExtrinsic