The OpenVX Specification  a73e458
TableLookup

Detailed Description

Implements the Table Lookup Image Kernel.

This kernel uses each pixel in an image to index into a LUT and put the indexed LUT value into the output image [R00115]. The formats supported are VX_DF_IMAGE_U8 and VX_DF_IMAGE_S16 [R00116].

Functions

vx_node VX_API_CALL vxTableLookupNode (vx_graph graph, vx_image input, vx_lut lut, vx_image output)
 [Graph] Creates a Table Lookup node. If a value from the input image is not present in the lookup table, the result is undefined. More...
 

Function Documentation

◆ vxTableLookupNode()

vx_node VX_API_CALL vxTableLookupNode ( vx_graph  graph,
vx_image  input,
vx_lut  lut,
vx_image  output 
)

[Graph] Creates a Table Lookup node. If a value from the input image is not present in the lookup table, the result is undefined.

Parameters
[in]graphThe reference to the graph [R00189].
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 [R00190].
[in]lutThe LUT which is of type VX_TYPE_UINT8 or VX_TYPE_INT16 [R00191].
[out]outputThe output image of the same type as the input image [R00192].
Returns
vx_node [R00193].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus.