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

Functions

VX_API_ENTRY vx_node VX_API_CALL vxMinMaxLocNode (vx_graph graph, vx_image input, vx_scalar minVal, vx_scalar maxVal, vx_array minLoc, vx_array maxLoc, vx_scalar minCount, vx_scalar maxCount)
 [Graph] Creates a min,max,loc node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuMinMaxLoc (vx_context context, vx_image input, vx_scalar minVal, vx_scalar maxVal, vx_array minLoc, vx_array maxLoc, vx_scalar minCount, vx_scalar maxCount)
 [Immediate] Computes the minimum and maximum values of the image.
 

Detailed Description

Function Documentation

◆ vxMinMaxLocNode()

VX_API_ENTRY vx_node VX_API_CALL vxMinMaxLocNode ( vx_graph graph,
vx_image input,
vx_scalar minVal,
vx_scalar maxVal,
vx_array minLoc,
vx_array maxLoc,
vx_scalar minCount,
vx_scalar maxCount )

#include <vx_nodes.h>

[Graph] Creates a min,max,loc node.

Parameters
[in]graphThe reference to create the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[out]minValThe minimum value in the image, which corresponds to the type of the input.
[out]maxValThe maximum value in the image, which corresponds to the type of the input.
[out]minLoc[optional] The minimum VX_TYPE_COORDINATES2D locations. If the input image has several minimums, the kernel will return up to the capacity of the array.
[out]maxLoc[optional] The maximum VX_TYPE_COORDINATES2D locations. If the input image has several maximums, the kernel will return up to the capacity of the array.
[out]minCount[optional] The total number of detected minimums in image. Use a VX_TYPE_SIZE scalar.
[out]maxCount[optional] The total number of detected maximums in image. Use a VX_TYPE_SIZE scalar.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuMinMaxLoc()

VX_API_ENTRY vx_status VX_API_CALL vxuMinMaxLoc ( vx_context context,
vx_image input,
vx_scalar minVal,
vx_scalar maxVal,
vx_array minLoc,
vx_array maxLoc,
vx_scalar minCount,
vx_scalar maxCount )

#include <vxu.h>

[Immediate] Computes the minimum and maximum values of the image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[out]minValThe minimum value in the image, which corresponds to the type of the input.
[out]maxValThe maximum value in the image, which corresponds to the type of the input.
[out]minLoc[optional] The minimum VX_TYPE_COORDINATES2D locations. If the input image has several minimums, the kernel will return up to the capacity of the array.
[out]maxLoc[optional] The maximum VX_TYPE_COORDINATES2D locations. If the input image has several maximums, the kernel will return up to the capacity of the array.
[out]minCount[optional] The total number of detected minimums in image. Use a VX_TYPE_SIZE scalar.
[out]maxCount[optional] The total number of detected maximums in image. Use a VX_TYPE_SIZE scalar.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.