pysdic.NoIntrinsic#

NoIntrinsic class#

class NoIntrinsic(*args, **kwargs)[source]#

Bases: IdentityTransformation

Subclass of pysdic.IdentityTransformation that represents a no-intrinsic transformation (identity transformation of the 2D points).

\[\vec{x}_i = \vec{x}_d\]

This can be used as a default or placeholder intrinsic transformation when no intrinsic is present in the camera model. The image points are then equal to the distorted points.

See also

Instantiation#

The NoIntrinsic class takes no argument and is instantiated directly with NoIntrinsic().

Implemented methods and attributes#

The following sections provide an overview of the attributes and methods defined in the pysdic.NoIntrinsic class.

Attributes#

The pysdic.NoIntrinsic has no parameters: parameters is an empty vector.

Performing Projections#

Use the apply and invert methods from pysdic.Transformation to perform intrinsic projections:

  • apply: maps distorted_points → image_points (identity).

  • invert: maps image_points → distorted_points (identity).

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_points (identity matrix)

  • dp=True: compute ∂image_points / ∂intrinsic_parameters (empty)

NoIntrinsic._apply(x_i, *[, dx, dp])

Apply the identity transformation from \(\mathbb{R}^{n_i}\) to \(\mathbb{R}^{n_o}\).

NoIntrinsic._invert(x_o, *[, dx, dp])

Apply the identity transformation from \(\mathbb{R}^{n_o}\) to \(\mathbb{R}^{n_i}\).