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

Functions

VX_API_ENTRY vx_node VX_API_CALL vxMaxNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out)
 [Graph] Creates a pixel-wise maximum kernel.
 
VX_API_ENTRY vx_status VX_API_CALL vxuMax (vx_context context, vx_image in1, vx_image in2, vx_image out)
 [Immediate] Computes pixel-wise maximum values between two images.
 

Detailed Description

Function Documentation

◆ vxMaxNode()

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

#include <vx_nodes.h>

[Graph] Creates a pixel-wise maximum kernel.

Parameters
[in]graphThe reference to the graph where to create the node.
[in]in1The first input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16.
[in]in2The second input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16.
[out]outThe output image which will hold the result of max and will have the same type and dimensions of the imput images.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuMax()

#include <vxu.h>

[Immediate] Computes pixel-wise maximum values between two images.

Parameters
[in]contextThe reference to the overall context.
[in]in1The first input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16.
[in]in2The second input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16.
[out]outThe output image which will hold the result of max.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.