ABC Intrinsic#
Overview#
- class Intrinsic(parameters=None, constants=None)[source]#
Abstract base class for intrinsic camera transformations.
This class represents the intrinsic transformation, which is typically the last step in the camera projection pipeline:
world_points → normalized_points → distorted_points → image_points
The purpose of an intrinsic transformation is to map distorted normalized coordinates to image coordinates in the image plane.
This abstract class defines the interface for all intrinsic transformations and provides common properties and aliases for convenience.
Attributes & Aliases#
input_dimintThe input dimension of the transformation. Always 2 (x, y).
output_dimintThe output dimension of the transformation. Always 2 (x, y).
image_points/x_i:Alias for the forward transformation result (from distorted points to image coordinates).
distorted_points/x_d:Alias for the inverse transformation result (from image points back to distorted normalized coordinates).
Notes
If the camera does not have distortion, the
distorted_pointsare identical to thenormalized_points.The methods
scaleandunscaleare provided as convenient aliases fortransformandinverse_transform, respectively.Subclasses must implement
_transformand_inverse_transformto define the actual mapping and, optionally, the Jacobians.
- Parameters:
parameters (Optional[ArrayLike])
constants (Optional[ArrayLike])
Adding Public Methods of Intrinsic subclasses#
|
Alias for the |
|
Alias for the |
Implemented Intrinsic Models#
See the documentation Intrinsic Models for the implemented intrinsic models in the package.