The OpenVX Specification  dba1aa3

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(x,y)=input(mapx(x,y),mapy(x,y)); \]

for every (x,y) in the destination image

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

Functions

vx_node VX_API_CALL vxRemapNode (vx_graph graph, vx_image input, vx_remap table, vx_enum policy, vx_image output)
 [Graph] Creates a Remap Node. More...
 
vx_status VX_API_CALL 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 VX_API_CALL 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_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image with the same dimensions as the input image.
Note
The border modes VX_NODE_BORDER value VX_BORDER_UNDEFINED and VX_BORDER_CONSTANT are supported.
Returns
A vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
vx_status VX_API_CALL 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_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image.
Returns
A vx_status_e enumeration.