CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Custom Convolution

Functions

VX_API_ENTRY vx_node VX_API_CALL vxConvolveNode (vx_graph graph, vx_image input, vx_convolution conv, vx_image output)
 [Graph] Creates a custom convolution node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuConvolve (vx_context context, vx_image input, vx_convolution conv, vx_image output)
 [Immediate] Computes a convolution on the input image with the supplied matrix.
 

Detailed Description

Function Documentation

◆ vxConvolveNode()

VX_API_ENTRY vx_node VX_API_CALL vxConvolveNode ( vx_graph graph,
vx_image input,
vx_convolution conv,
vx_image output )

#include <vx_nodes.h>

[Graph] Creates a custom convolution node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[in]convThe vx_int16 convolution matrix.
[out]outputThe output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format, which must have the same dimensions as the input image.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuConvolve()

VX_API_ENTRY vx_status VX_API_CALL vxuConvolve ( vx_context context,
vx_image input,
vx_convolution conv,
vx_image output )

#include <vxu.h>

[Immediate] Computes a convolution on the input image with the supplied matrix.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[in]convThe vx_int16 convolution matrix.
[out]outputThe output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.