CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Table Lookup

Functions

VX_API_ENTRY 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.
 
VX_API_ENTRY vx_status VX_API_CALL vxuTableLookup (vx_context context, vx_image input, vx_lut lut, vx_image output)
 [Immediate] Processes the image through the LUT.
 

Detailed Description

Function Documentation

◆ vxTableLookupNode()

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

#include <vx_nodes.h>

[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.
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16.
[in]lutThe LUT which is of type VX_TYPE_UINT8 if input image is VX_DF_IMAGE_U8 or VX_TYPE_INT16 if input image is VX_DF_IMAGE_S16.
[out]outputThe output image of the same size as the input image.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus.

◆ vxuTableLookup()

VX_API_ENTRY vx_status VX_API_CALL vxuTableLookup ( vx_context context,
vx_image input,
vx_lut lut,
vx_image output )

#include <vxu.h>

[Immediate] Processes the image through the LUT.

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