![]() |
The OpenVX Specification
r28647
|
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... | |
[Graph] Creates a Table Lookup node.
| [in] | graph | The reference to the graph. |
| [in] | input | The input image in VX_DF_IMAGE_U8. |
| [in] | lut | The LUT which is of type VX_TYPE_UINT8. |
| [out] | output | The output image of type VX_DF_IMAGE_U8. |
vx_node. | 0 | Node 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.
| [in] | context | The reference to the overall context. |
| [in] | input | The input image in VX_DF_IMAGE_U8 |
| [in] | lut | The LUT which is of type VX_TYPE_UINT8 |
| [out] | output | The output image of type VX_DF_IMAGE_U8 |
vx_status_e enumeration. | VX_SUCCESS | Success |
| * | An error occurred. See vx_status_e. |