pycvcam.core.Distortion#
Note
See the main pycvcam.core.Transform documentation for more details on how to use transformations.
See also
The implemented distortion models are:
pycvcam.NoDistortion(does not apply any distortion transformation)pycvcam.Cv2Distortion(OpenCV distortion model)pycvcam.FisheyeDistortion(OpenCV fisheye distortion model)pycvcam.ZernikeDistortion(Zernike polynomial based distortion model)
Distortion Class#
- class Distortion(parameters=None, constants=None)[source]#
Note
This class represents the distortion transformation, which is the central step of the process from the
world_pointsto theimage_points. This is the abstract class that defines the interface for distortion transformations.This base class, set the
input_dimandoutput_dimto 2 and add the aliases :distorted_pointsandx_dfor the result of the transformation.normalized_pointsandx_nfor the result of the inverse transformation.
To process the transformation, the methods
distortandundistortare provided, which are aliases for thetransformandinverse_transformmethods respectively.- Parameters:
parameters (Optional[ArrayLike])
constants (Optional[ArrayLike])
Adding Public Methods of Distortion subclasses#
|
Alias for the |
|
Alias for the |