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 vx_df_image_e
. 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. 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).
|
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...
|
|
vx_status VX_API_CALL | vxuChannelCombine (vx_context context, vx_image plane0, vx_image plane1, vx_image plane2, vx_image plane3, vx_image output) |
| [Immediate] Invokes an immediate Channel Combine. More...
|
|
[Graph] Creates a channel combine node.
- Parameters
-
[in] | graph | The graph reference. |
[in] | plane0 | The plane that forms channel 0. Must be VX_DF_IMAGE_U8 . |
[in] | plane1 | The plane that forms channel 1. Must be VX_DF_IMAGE_U8 . |
[in] | plane2 | [optional] The plane that forms channel 2. Must be VX_DF_IMAGE_U8 . |
[in] | plane3 | [optional] The plane that forms channel 3. Must be VX_DF_IMAGE_U8 . |
[out] | output | The output image. The format of the image must be defined, even if the image is virtual. Must have the same dimensions as the input images |
- See also
VX_KERNEL_CHANNEL_COMBINE
- Returns
vx_node
.
- Return values
-
vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
[Immediate] Invokes an immediate Channel Combine.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | plane0 | The plane that forms channel 0. Must be VX_DF_IMAGE_U8 . |
[in] | plane1 | The plane that forms channel 1. Must be VX_DF_IMAGE_U8 . |
[in] | plane2 | [optional] The plane that forms channel 2. Must be VX_DF_IMAGE_U8 . |
[in] | plane3 | [optional] The plane that forms channel 3. Must be VX_DF_IMAGE_U8 . |
[out] | output | The output image. |
- Returns
- A
vx_status_e
enumeration.
- Return values
-