ETcVnElementType
Offers element types.
Syntax
Definition:
TYPE ETcVnElementType :
(
TCVN_ET_SAME_AS_SOURCE := -1,
TCVN_ET_USINT := 0,
TCVN_ET_SINT := 1,
TCVN_ET_UINT := 2,
TCVN_ET_INT := 3,
TCVN_ET_DINT := 4,
TCVN_ET_REAL := 5,
TCVN_ET_LREAL := 6
)DINT;
END_TYPE
Values
Name |
Description |
---|---|
TCVN_ET_SAME_AS_SOURCE |
Sets the element type of the destination image to the source image element type. |
TCVN_ET_USINT |
USINT (depth: 8 bit, 0..255) |
TCVN_ET_SINT |
SINT (depth: 8 bit, -128..127) |
TCVN_ET_UINT |
UINT (depth: 16 bit, 0..65535) |
TCVN_ET_INT |
INT (depth: 16 bit, -32768..32767) |
TCVN_ET_DINT |
DINT (depth: 32 bit, -2147483648..2147483647) |
TCVN_ET_REAL |
REAL (depth: 32 bit, ~ -3.402823E 10^38 .. ~ 3.402823E 38) |
TCVN_ET_LREAL |
LREAL (depth: 64 bit, ~ -1.79769313486231E 308 .. ~ 1.79769313486232E 308) |
Further information
The enum ETcVnElementType
is mainly used to specify the pixel type or bit depth of images. Furthermore, it is also contained in the structure TcVnMatrix.