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-planar formats. |
[in] | channel | The vx_channel_e channel to extract. |
[out] | output | The output image. Must be VX_DF_IMAGE_U8 .
|
- See also
VX_KERNEL_CHANNEL_EXTRACT
- Returns
vx_node
.
- Return values
-
0 | Node could not be created. |
* | Node handle. |
[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 multiplanar 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
-