The OpenVX Specification  a73e458

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 [R00107]. 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.


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...

Function Documentation

◆ vxRemapNode()

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.

[in]graphThe reference to the graph that will contain the node [R00389].
[in]inputThe input VX_DF_IMAGE_U8 image [R00390].
[in]tableThe remap table object [R00391].
[in]policyAn interpolation type from Interpolation Constants. VX_INTERPOLATION_AREA is not supported [R00392].
[out]outputThe output VX_DF_IMAGE_U8 image [R00393].
The border modes VX_NODE_BORDER value VX_BORDER_UNDEFINED and VX_BORDER_CONSTANT are supported.
A vx_node [R00394].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus