pysdic.NoDistortion#
NoDistortion class#
- class NoDistortion(*args, **kwargs)[source]#
Bases:
IdentityTransformationSubclass of
pysdic.IdentityTransformationthat represents a no-distortion transformation (identity transformation of the 2D points).\[\vec{x}_d = \vec{x}_n\]This can be used as a default or placeholder distortion transformation when no distortion is present in the camera model. The distorted points are then equal to the normalized points.
See also
Class
pysdic.IdentityTransformationfor the identity transformation.
Instantiation#
The NoDistortion class takes no argument and is instantiated directly with NoDistortion().
Implemented methods and attributes#
The following sections provide an overview of the attributes and methods defined
in the pysdic.NoDistortion class.
Attributes#
The pysdic.NoDistortion has no parameters: parameters is an empty vector.
Performing Projections#
Use the apply and invert methods from
pysdic.Transformation to perform distortion projections:
apply: mapsnormalized_points→distorted_points(identity).invert: mapsdistorted_points→normalized_points(identity).
Jacobians with respect to the input points and distortion parameters
can be computed by enabling the dx and dp flags:
dx=True: compute ∂distorted_points / ∂normalized_points (identity matrix)dp=True: compute ∂distorted_points / ∂distortion_parameters (empty)
|
Apply the identity transformation from \(\mathbb{R}^{n_i}\) to \(\mathbb{R}^{n_o}\). |
|
Apply the identity transformation from \(\mathbb{R}^{n_o}\) to \(\mathbb{R}^{n_i}\). |