CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Absolute Difference

Functions

VX_API_ENTRY vx_node VX_API_CALL vxAbsDiffNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out)
 [Graph] Creates an AbsDiff node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuAbsDiff (vx_context context, vx_image in1, vx_image in2, vx_image out)
 [Immediate] Computes the absolute difference between two images.
 

Detailed Description

Function Documentation

◆ vxAbsDiffNode()

VX_API_ENTRY vx_node VX_API_CALL vxAbsDiffNode ( vx_graph graph,
vx_image in1,
vx_image in2,
vx_image out )

#include <vx_nodes.h>

[Graph] Creates an AbsDiff node.

Parameters
[in]graphThe reference to the graph.
[in]in1An input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[in]in2An input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[out]outThe output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format, which must have the same dimensions as the input image.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuAbsDiff()

VX_API_ENTRY vx_status VX_API_CALL vxuAbsDiff ( vx_context context,
vx_image in1,
vx_image in2,
vx_image out )

#include <vxu.h>

[Immediate] Computes the absolute difference between two images.

Parameters
[in]contextThe reference to the overall context.
[in]in1An input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[in]in2An input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[out]outThe 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.