Navigation
API > API/Plugins > API/Plugins/OpenCVLensDistortion
Inheritance Hierarchy
- FOpenCVLensDistortionParametersBase
- FOpenCVLensDistortionParameters
References
| Module | OpenCVLensDistortion |
| Header | /Engine/Plugins/Compositing/OpenCVLensDistortion/Source/OpenCVLensDistortion/Public/OpenCVLensDistortionParameters.h |
| Include | #include "OpenCVLensDistortionParameters.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FOpenCVLensDistortionParameters : public 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.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UTexture2D * | CreateUndistortUVDisplacementMap
(
const FIntPoint& InImageSize, |
Creates a texture containing a DisplacementMap in the Red and the Green channel for undistorting a camera image. | |
| void | DrawDisplacementMapToRenderTarget
(
UWorld* InWorld, |
Draws UV displacement map within the output render target. |