The OpenVX Specification
dba1aa3
|
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... | |
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] | graph | The reference to the graph that will contain the node. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in] | table | The remap table object. |
[in] | policy | An interpolation type from vx_interpolation_type_e . VX_INTERPOLATION_AREA is not supported. |
[out] | output | The output VX_DF_IMAGE_U8 image with the same dimensions as the input image. |
VX_NODE_BORDER
value VX_BORDER_UNDEFINED
and VX_BORDER_CONSTANT
are supported. vx_node
. vx_node | A 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.
[in] | context | The reference to the overall context. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in] | table | The remap table object. |
[in] | policy | The interpolation policy from vx_interpolation_type_e. VX_INTERPOLATION_AREA is not supported. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
vx_status_e
enumeration.