pysdic.PinholeIntrinsic.from_matrix#
- classmethod PinholeIntrinsic.from_matrix(matrix, **kwargs)[source]#
Class method to create a
pysdic.PinholeIntrinsicobject from an intrinsic matrix \(K\).- Parameters:
matrix (ArrayLike) – The intrinsic matrix \(K\) of the camera with shape (3, 3).
**kwargs – Additional keyword arguments for the class initialisation (
use_skew,allow_negative_focal).
- Returns:
A new instance of the
pysdic.PinholeIntrinsicclass with the specified intrinsic matrix.- Return type: