The OpenVX Specification  a73e458
The threshold attributes.

Detailed Description

The threshold attributes.

Macros

#define VX_THRESHOLD_DATA_TYPE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x6))
 The data type of the threshold's value [R01545]. Read-only [R01546]. Use a vx_enum parameter. Will contain a The VX_TYPE Constants.
 
#define VX_THRESHOLD_FALSE_VALUE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x5))
 The value of the FALSE threshold (default value is 0) [R01543]. Read-write [R01544]. Use a vx_int32 parameter.
 
#define VX_THRESHOLD_THRESHOLD_LOWER   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x2))
 The value of the lower threshold [R01537]. Read-write [R01538]. Use a vx_int32 parameter.
 
#define VX_THRESHOLD_THRESHOLD_UPPER   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x3))
 The value of the higher threshold [R01539]. Read-write [R01540]. Use a vx_int32 parameter.
 
#define VX_THRESHOLD_THRESHOLD_VALUE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x1))
 The value of the single threshold [R01535]. Read-write [R01536]. Use a vx_int32 parameter.
 
#define VX_THRESHOLD_TRUE_VALUE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x4))
 The value of the TRUE threshold (default value is 255) [R01541]. Read-write [R01542]. Use a vx_int32 parameter.
 
#define VX_THRESHOLD_TYPE   (VX_ATTRIBUTE_ENUM(VX_ID_KHRONOS, VX_TYPE_THRESHOLD, 0x0))
 The value type of the threshold [R01533]. Read-only [R01534]. Use a vx_enum parameter. Will contain a The Threshold types..