The OpenVX Specification  r28647
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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. The format supported is VX_DF_IMAGE_U8.

Functions

vx_node vxTableLookupNode (vx_graph graph, vx_image input, vx_lut lut, vx_image output)
 [Graph] Creates a Table Lookup node. More...
 
vx_status vxuTableLookup (vx_context context, vx_image input, vx_lut lut, vx_image output)
 [Immediate] Processes the image through the LUT. More...
 

Function Documentation

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

[Graph] Creates a Table Lookup node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8.
[in]lutThe LUT which is of type VX_TYPE_UINT8.
[out]outputThe output image of type VX_DF_IMAGE_U8.
Returns
vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status vxuTableLookup ( vx_context  context,
vx_image  input,
vx_lut  lut,
vx_image  output 
)

[Immediate] Processes the image through the LUT.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8
[in]lutThe LUT which is of type VX_TYPE_UINT8
[out]outputThe output image of type VX_DF_IMAGE_U8
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.