Implements the Channel Extraction Kernel.
This kernel removes a single VX_DF_IMAGE_U8
channel (plane) from a multi-planar or interleaved image format from vx_df_image_e
.
[Graph] Creates a channel extract node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | input | The input image. Must be one of the defined vx_df_image_e multi-channel formats. |
[in] | channel | The vx_channel_e channel to extract. |
[out] | output | The output image. Must be VX_DF_IMAGE_U8 , and must have the same dimensions as the input image.
|
- See also
VX_KERNEL_CHANNEL_EXTRACT
- 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 Extract.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | input | The input image. Must be one of the defined vx_df_image_e multi-channel formats. |
[in] | channel | The vx_channel_e enumeration to extract. |
[out] | output | The output image. Must be VX_DF_IMAGE_U8 . |
- Returns
- A
vx_status_e
enumeration.
- Return values
-