The OpenVX Specification
r28647
|
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... | |
vx_node 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_TYPE_AREA is not supported. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
VX_NODE_ATTRIBUTE_BORDER_MODE
value VX_BORDER_MODE_UNDEFINED
or VX_BORDER_MODE_CONSTANT
is supported. vx_node
. 0 | Node 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.
[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_TYPE_AREA is not supported. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
vx_status_e
enumeration.