unreal.SphericalDistortionParameters

class unreal.SphericalDistortionParameters(k1: float = 0.0, k2: float = 0.0, k3: float = 0.0, p1: float = 0.0, p2: float = 0.0)

Bases: StructBase

Spherical lens distortion parameters All parameters are unitless and represent the coefficients used to undistort a distorted image Refer to the OpenCV camera calibration documentation for the intended units/usage of these parameters: https://docs.opencv.org/3.4/d9/d0c/group__calib3d.html

C++ Source:

  • Plugin: CameraCalibrationCore

  • Module: CameraCalibrationCore

  • File: SphericalLensModel.h

Editor Properties: (see get_editor_property/set_editor_property)

  • k1 (float): [Read-Write] K1: Radial coefficient of the r^2 term

  • k2 (float): [Read-Write] K2: Radial coefficient of the r^4 term

  • k3 (float): [Read-Write] K3: Radial coefficient of the r^6 term

  • p1 (float): [Read-Write] P1: First tangential coefficient

  • p2 (float): [Read-Write] P2: Second tangential coefficient

property k1: float

[Read-Write] K1: Radial coefficient of the r^2 term

Type:

(float)

property k2: float

[Read-Write] K2: Radial coefficient of the r^4 term

Type:

(float)

property k3: float

[Read-Write] K3: Radial coefficient of the r^6 term

Type:

(float)

property p1: float

[Read-Write] P1: First tangential coefficient

Type:

(float)

property p2: float

[Read-Write] P2: Second tangential coefficient

Type:

(float)