pycvcam.core.Intrinsic#

Note

See the main pycvcam.core.Transform documentation for more details on how to use transformations.

See also

The implemented intrinsic models are:

Intrinsic Class#

class Intrinsic(parameters=None, constants=None)[source]#

Note

This class represents the intrinsic transformation, which is the last step of the process from the world_points to the image_points. This is the abstract class that defines the interface for intrinsic transformations.

This base class, set the input_dim and output_dim to 2 and add the aliases :

  • image_points and x_i for the result of the transformation.

  • distorted_points and x_d for the result of the inverse transformation.

Note

If the camera don’t have distortion, the distorted_points are same as the normalized_points.

To process the transformation, the methods scale and unscale are provided, which are aliases for the transform and inverse_transform methods respectively.

Parameters:
  • parameters (Optional[ArrayLike])

  • constants (Optional[ArrayLike])

Adding Public Methods of Intrinsic subclasses#

Intrinsic.scale(distorted_points, *[, ...])

Alias for the transform method, which applies the intrinsic transformation to the points.

Intrinsic.unscale(image_points, *[, ...])

Alias for the inverse_transform method, which applies the inverse intrinsic transformation to the points.

Implemented Intrinsic Models#

See the documentation Intrinsic Models for the implemented intrinsic models in the package.