pysdic.PinholeIntrinsic.from_components#
- classmethod PinholeIntrinsic.from_components(fx, fy, cx, cy, s=None, **kwargs)[source]#
Class method to create a
pysdic.PinholeIntrinsicobject from the individual components of the intrinsic parameters.- Parameters:
fx (Real) – The focal length of the camera in pixels in x direction.
fy (Real) – The focal length of the camera in pixels in y direction.
cx (Real) – The principal point of the camera in pixels in x direction.
cy (Real) – The principal point of the camera in pixels in y direction.
s (Optional[Real], optional (default:
None)) – The skew parameter of the camera. Only allowed ifuse_skew=True, in which case None means a zero skew.**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 parameters.- Return type: