
Public Member Functions | |
| DistortionCoefficients (double[] radialDistortion, double[] tangentialDistortion) | |
| Creates distortion coefficients from radial and tangential distortion coefficients. | |
| DistortionCoefficients (double[] radialDistortion, double[] tangentialDistortion, double[] prismDistortion) | |
| Creates distortion coefficients from radial, tangential and prism distortion coefficients. | |
| DistortionCoefficients (double[] radialDistortion, double[] tangentialDistortion, double[] prismDistortion, double[] tiltDistortion) | |
| Creates distortion coefficients from radial, tangential, prism and tilt distortion coefficients. | |
| bool | Equals (DistortionCoefficients? other) |
| Compares the distortion coefficients by value. | |
| override bool | Equals (object? other) |
| Compares the distortion coefficients by value. | |
| override int | GetHashCode () |
| Generates a hash code from the coefficients. | |
| override string | ToString () |
| Returns a string representation of the distortion coefficients. | |
Static Public Attributes | |
| const int | RadialDistortionMaxElements = 6 |
| Maximum number of radial distortion coefficients. | |
| const int | TangentialDistortionMaxElements = 2 |
| Maximum number of tangential distortion coefficients. | |
| const int | PrismDistortionMaxElements = 4 |
| Maximum number of prism distortion coefficients. | |
| const int | TiltDistortionMaxElements = 2 |
| Maximum number of tilt distortion coefficients. | |
Properties | |
| double[] | PrismDistortion [get] |
| Provides the prism distortion. | |
| double[] | RadialDistortion [get] |
| Provides the radial distortion. | |
| double[] | TangentialDistortion [get] |
| Provides the tangential distortion. | |
| double[] | TiltDistortion [get] |
| Provides the tilt distortion. | |
Holds lens distortion coefficients.
Contains coefficients used to model and correct optical distortions introduced by real-world lenses. These coefficients are typically estimated during camera calibration and are used for image undistortion or improving projection accuracy.
The distortion model includes:
Definition at line 52 of file DistortionCoefficients.cs.
|
inline |
Creates distortion coefficients from radial and tangential distortion coefficients.
| radialDistortion | The radial distortion coefficients. |
| tangentialDistortion | The tangential distortion coefficients. |
| IcvNotPossibleException | One or multiple of the given arrays have the wrong size. |
Definition at line 91 of file DistortionCoefficients.cs.
|
inline |
Creates distortion coefficients from radial, tangential and prism distortion coefficients.
| radialDistortion | The radial distortion coefficients. |
| tangentialDistortion | The tangential distortion coefficients. |
| prismDistortion | The prism distortion coefficients. |
| IcvNotPossibleException | One or more arrays have an invalid size. |
Definition at line 117 of file DistortionCoefficients.cs.
|
inline |
Creates distortion coefficients from radial, tangential, prism and tilt distortion coefficients.
| radialDistortion | The radial distortion coefficients. |
| tangentialDistortion | The tangential distortion coefficients. |
| prismDistortion | The prism distortion coefficients. |
| tiltDistortion | The tilt distortion coefficients. |
| IcvNotPossibleException | One or more arrays have an invalid size. |
Definition at line 149 of file DistortionCoefficients.cs.
|
inline |
Compares the distortion coefficients by value.
Definition at line 207 of file DistortionCoefficients.cs.
|
inline |
Compares the distortion coefficients by value.
Definition at line 220 of file DistortionCoefficients.cs.
|
inline |
Generates a hash code from the coefficients.
Definition at line 231 of file DistortionCoefficients.cs.
|
inline |
Returns a string representation of the distortion coefficients.
Definition at line 244 of file DistortionCoefficients.cs.
|
static |
Maximum number of prism distortion coefficients.
Definition at line 70 of file DistortionCoefficients.cs.
|
static |
Maximum number of radial distortion coefficients.
Definition at line 58 of file DistortionCoefficients.cs.
|
static |
Maximum number of tangential distortion coefficients.
Definition at line 64 of file DistortionCoefficients.cs.
|
static |
Maximum number of tilt distortion coefficients.
Definition at line 76 of file DistortionCoefficients.cs.
|
get |
Provides the prism distortion.
Definition at line 183 of file DistortionCoefficients.cs.
|
get |
Provides the radial distortion.
Definition at line 189 of file DistortionCoefficients.cs.
|
get |
Provides the tangential distortion.
Definition at line 195 of file DistortionCoefficients.cs.
|
get |
Provides the tilt distortion.
Definition at line 201 of file DistortionCoefficients.cs.