The OpenVX Specification  r28647
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

Detailed Description

Maps output pixels in an image from input pixels in an image.

Remap takes a remap table object vx_remap to map a set of output pixels back to source input pixels. A remap is typically defined as:

\[ output(x1,y1) = input(map_x(x0,y0),map_y(x0,y0)) \]

However, the mapping functions are contained in the vx_remap object.

Functions

vx_node vxRemapNode (vx_graph graph, vx_image input, vx_remap table, vx_enum policy, vx_image output)
 [Graph] Creates a Remap Node. More...
 
vx_status vxuRemap (vx_context context, vx_image input, vx_remap table, vx_enum policy, vx_image output)
 [Immediate] Remaps an output image from an input image. More...
 

Function Documentation

vx_node vxRemapNode ( vx_graph  graph,
vx_image  input,
vx_remap  table,
vx_enum  policy,
vx_image  output 
)

[Graph] Creates a Remap Node.

Parameters
[in]graphThe reference to the graph that will contain the node.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in]tableThe remap table object.
[in]policyAn interpolation type from vx_interpolation_type_e. VX_INTERPOLATION_TYPE_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image.
Note
Only VX_NODE_ATTRIBUTE_BORDER_MODE value VX_BORDER_MODE_UNDEFINED or VX_BORDER_MODE_CONSTANT is supported.
Returns
A vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status vxuRemap ( vx_context  context,
vx_image  input,
vx_remap  table,
vx_enum  policy,
vx_image  output 
)

[Immediate] Remaps an output image from an input image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in]tableThe remap table object.
[in]policyThe interpolation policy from vx_interpolation_type_e. VX_INTERPOLATION_TYPE_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image.
Returns
A vx_status_e enumeration.