F_VN_ReinterpretUnsupportedImage
Reinterpret the data of an unsupported image using additional information. If successful, the image becomes supported with the pixel format flags bSigned and bFloat, the pixel element size nElementSize and the number of color channels nChannels. This information is determined based on the specified pixel element type ePixelType.
Syntax
Definition:
FUNCTION F_VN_ReinterpretUnsupportedImage : HRESULT
VAR_INPUT
ipImage : ITcVnImage;
ePixelType : ETcVnElementType;
hrPrev : HRESULT;
END_VARInputs
|
Name |
Type |
Description |
|---|---|---|
|
ipImage |
Image to be reinterpreted | |
|
ePixelType |
Pixel element type to be used for reinterpreting the image data | |
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
Required License
TC3 Vision Base
System Requirements
Development environment | Target platform | PLC libraries to include |
|---|---|---|
TwinCAT V3.1.4024.59 or later | PC or CX (x64) with min. PL50, e.g. Intel 4-core Atom CPU | Tc3_Vision |