CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Non-Max Suppression

Functions

VX_API_ENTRY vx_node VX_API_CALL vxNonMaxSuppressionNode (vx_graph graph, vx_image input, vx_image mask, vx_int32 win_size, vx_image output)
 [Graph] Creates a Non-Maxima Suppression node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuNonMaxSuppression (vx_context context, vx_image input, vx_image mask, vx_int32 win_size, vx_image output)
 [Immediate] Performs Non-Maxima Suppression on an image, producing an image of the same type.
 

Detailed Description

Function Documentation

◆ vxNonMaxSuppressionNode()

VX_API_ENTRY vx_node VX_API_CALL vxNonMaxSuppressionNode ( vx_graph graph,
vx_image input,
vx_image mask,
vx_int32 win_size,
vx_image output )

#include <vx_nodes.h>

[Graph] Creates a Non-Maxima Suppression node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[in]mask[optional] Constrict suppression to a ROI. The mask image is of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 and must have the same dimensions as the input image.
[in]win_sizeThe size of window over which to perform the localized non-maxima suppression. Must be odd, and less than or equal to the smallest dimension of the input image.
[out]outputThe output image, of the same type and size as the input, that has been non-maxima suppressed.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuNonMaxSuppression()

VX_API_ENTRY vx_status VX_API_CALL vxuNonMaxSuppression ( vx_context context,
vx_image input,
vx_image mask,
vx_int32 win_size,
vx_image output )

#include <vxu.h>

[Immediate] Performs Non-Maxima Suppression on an image, producing an image of the same type.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format.
[in]mask[optional] Constrict suppression to a ROI. The mask image is of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 and must be the same dimensions as the input image.
[in]win_sizeThe size of window over which to perform the localized non-maxima suppression. Must be odd, and less than or equal to the smallest dimension of the input image.
[out]outputThe output image, of the same type as the input, that has been non-maxima suppressed.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.