The OpenVX Specification  a73e458
Channel Combine

Detailed Description

Implements the Channel Combine Kernel.

This kernel takes multiple VX_DF_IMAGE_U8 planes to recombine them into a multi-planar or interleaved format from Image Type Constants [R00033]. The user must specify only the number of channels that are appropriate for the combining operation. If a user specifies more channels than necessary, the operation results in an error [R00034]. For the case where the destination image is a format with subsampling, the input channels are expected to have been subsampled before combining (by stretching and resizing).

Functions

vx_node VX_API_CALL vxChannelCombineNode (vx_graph graph, vx_image plane0, vx_image plane1, vx_image plane2, vx_image plane3, vx_image output)
 [Graph] Creates a channel combine node. More...
 

Function Documentation

◆ vxChannelCombineNode()

vx_node VX_API_CALL vxChannelCombineNode ( vx_graph  graph,
vx_image  plane0,
vx_image  plane1,
vx_image  plane2,
vx_image  plane3,
vx_image  output 
)

[Graph] Creates a channel combine node.

Parameters
[in]graphThe graph reference [R00157].
[in]plane0The plane that forms channel 0. Must be VX_DF_IMAGE_U8 [R00158].
[in]plane1The plane that forms channel 1. Must be VX_DF_IMAGE_U8 [R00159].
[in]plane2[optional] [R00160] The plane that forms channel 2. Must be VX_DF_IMAGE_U8 [R00161].
[in]plane3[optional] [R00162] The plane that forms channel 3. Must be VX_DF_IMAGE_U8 [R00163].
[out]outputThe output image. The format of the image must be defined, even if the image is virtual [R00164].
See also
VX_KERNEL_CHANNEL_COMBINE
Returns
vx_node [R00165].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus