NoIntrinsic Class#
Overview#
- class NoIntrinsic(parameters=None, constants=None)[source]#
Identity intrinsic model.
This class represents a degenerate intrinsic transformation where no intrinsic projection is applied. Distorted normalized coordinates are returned unchanged as image coordinates.
Note
This transformation corresponds to the last stage of the camera projection pipeline:
world_points → camera_points → normalized_points → distorted_points → image_pointsIn this model, the intrinsic transformation is simply the identity mapping.
Let \(\vec{x}_d = (x_d, y_d)\) be a point in distorted normalized camera coordinates. The corresponding image point \(\vec{x}_i = (x_i, y_i)\) is defined as
\[\vec{x}_i = \vec{x}_d\]meaning that the distorted coordinates are directly interpreted as image coordinates.
This model therefore has:
0 parameters
0 constants
It can be useful when working entirely in normalized camera coordinates or when the intrinsic calibration is handled elsewhere.
- Parameters:
parameters (None)
constants (None)
Performing Projections#
Use the transform and inverse_transform methods from
pycvcam.core.Transform to perform intrinsic projections:
transform: mapsdistorted_points→image_points.inverse_transform: mapsimage_points→distorted_points.
Jacobians with respect to the input points and intrinsic parameters
can be computed by enabling the dx and dp flags:
dx=True: compute ∂image_points / ∂distorted_pointsdp=True: compute ∂image_points / ∂intrinsic_parameters
|
Apply the identity intrinsic transformation. |
|
Apply the inverse of the identity intrinsic transformation. |