CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Channel Extract

Functions

VX_API_ENTRY vx_node VX_API_CALL vxChannelExtractNode (vx_graph graph, vx_image input, vx_enum channel, vx_image output)
 [Graph] Creates a channel extract node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuChannelExtract (vx_context context, vx_image input, vx_enum channel, vx_image output)
 [Immediate] Invokes an immediate Channel Extract.
 

Detailed Description

Function Documentation

◆ vxChannelExtractNode()

VX_API_ENTRY vx_node VX_API_CALL vxChannelExtractNode ( vx_graph graph,
vx_image input,
vx_enum channel,
vx_image output )

#include <vx_nodes.h>

[Graph] Creates a channel extract node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image. Must be one of the defined vx_df_image_e multi-channel formats.
[in]channelThe vx_channel_e channel to extract.
[out]outputThe 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_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
Examples
blur_pipeline.cpp, bubble_pop.cpp, canny.cpp, optical_flow.cpp, and skinToneDetector.cpp.

◆ vxuChannelExtract()

VX_API_ENTRY vx_status VX_API_CALL vxuChannelExtract ( vx_context context,
vx_image input,
vx_enum channel,
vx_image output )

#include <vxu.h>

[Immediate] Invokes an immediate Channel Extract.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image. Must be one of the defined vx_df_image_e multi-channel formats.
[in]channelThe vx_channel_e enumeration to extract.
[out]outputThe output image. Must be VX_DF_IMAGE_U8.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.