Module |
|
Header |
/Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Public/OpenCVLensDistortionParameters.h |
Include |
#include "OpenCVLensDistortionParameters.h" |
[USTRUCT](Programming/UnrealArchitecture/Reference/Structs)([BlueprintType](Programming/UnrealArchitecture/Reference/Structs/Specifiers/BlueprintType))
struct FOpenCVLensDistortionParameters
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.
Name | Description | ||
---|---|---|---|
|
bUseFisheyeModel |
Camera lens needs Fisheye camera model. |
|
|
C |
Camera matrix's normalized Cx and Cy. |
|
|
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. |
Name | Description | |
---|---|---|
|
FOpenCVLensDistortionParameters() |
Name | Description | ||
---|---|---|---|
|
UTexture2D &... |
CreateUndistortUVDisplacementMap ( |
Creates a texture containing a DisplacementMap in the Red and the Green channel for undistorting a camera image. |
|
DrawDisplacementMapToRenderTarget ( |
Draws UV displacement map within the output render target. |
|
|
IsIdentity() |
Returns true if lens distortion parameters are for identity lens (or default parameters) |
|
|
IsSet() |
Name | Description | ||
---|---|---|---|
|
operator!= ( |
Compare two lens distortion models and return whether they are different. |
|
|
operator== ( |
Compare two lens distortion models and return whether they are equal. |