F_VN_ReinterpretUnsupportedImage

F_VN_ReinterpretUnsupportedImage 1:

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_VAR

 Inputs

Name

Type

Description

ipImage

ITcVnImage

Image to be reinterpreted

ePixelType

ETcVnElementType

Pixel element type to be used for reinterpreting the image data

hrPrev

HRESULT

HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.)

 Return value

HRESULT

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