CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches

Functions

VX_API_ENTRY vx_node VX_API_CALL vxMagnitudeNode (vx_graph graph, vx_image grad_x, vx_image grad_y, vx_image mag)
 [Graph] Create a Magnitude node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuMagnitude (vx_context context, vx_image grad_x, vx_image grad_y, vx_image mag)
 [Immediate] Invokes an immediate Magnitude.
 

Detailed Description

Function Documentation

◆ vxMagnitudeNode()

VX_API_ENTRY vx_node VX_API_CALL vxMagnitudeNode ( vx_graph graph,
vx_image grad_x,
vx_image grad_y,
vx_image mag )

#include <vx_nodes.h>

[Graph] Create a Magnitude node.

Parameters
[in]graphThe reference to the graph.
[in]grad_xThe input x image. This must be in VX_DF_IMAGE_S16 format.
[in]grad_yThe input y image. This must be in VX_DF_IMAGE_S16 format.
[out]magThe magnitude image. This is in VX_DF_IMAGE_S16 format. Must have the same dimensions as the input image.
See also
VX_KERNEL_MAGNITUDE
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuMagnitude()

VX_API_ENTRY vx_status VX_API_CALL vxuMagnitude ( vx_context context,
vx_image grad_x,
vx_image grad_y,
vx_image mag )

#include <vxu.h>

[Immediate] Invokes an immediate Magnitude.

Parameters
[in]contextThe reference to the overall context.
[in]grad_xThe input x image. This must be in VX_DF_IMAGE_S16 format.
[in]grad_yThe input y image. This must be in VX_DF_IMAGE_S16 format.
[out]magThe magnitude image. This will be in VX_DF_IMAGE_S16 format.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.