Navigation
API > API/Plugins > API/Plugins/OpenCVHelper
Inheritance Hierarchy
- FOpenCVLensDistortionParametersBase
- FOpenCVLensDistortionParameters
References
| Module | OpenCVHelper |
| Header | /Engine/Plugins/Runtime/OpenCV/Source/OpenCVHelper/Public/OpenCVHelper.h |
| Include | #include "OpenCVHelper.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FOpenCVLensDistortionParametersBase
Remarks
Mathematic camera model for lens distortion/undistortion. Camera matrix = | F.X 0 C.x | | 0 F.Y C.Y | | 0 0 1 | where F and C are normalized.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseFisheyeModel | Camera lens needs Fisheye camera model. | |
| FVector2D | C | Camera matrix's normalized Cx and Cy. | |
| FVector2D | F | Camera matrix's normalized Fx and Fy. | |
| float | K1 | Radial parameter #1. | |
| float | K2 | Radial parameter #2. | |
| float | K3 | Radial parameter #3. | |
| float | K4 | Radial parameter #4. | |
| float | K5 | Radial parameter #5. | |
| float | K6 | Radial parameter #6. | |
| float | P1 | Tangential parameter #1. | |
| float | P2 | Tangential parameter #2. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | IsIdentity () |
Returns true if lens distortion parameters are for identity lens (or default parameters) | |
| bool | IsSet () |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FOpenCVLensDistortionParametersBase& Other |
Compare two lens distortion models and return whether they are different. | |
| bool | operator==
(
const FOpenCVLensDistortionParametersBase& Other |
Compare two lens distortion models and return whether they are equal. |