The OpenVX Specification  dba1aa3

Detailed Description

Implements a pixel-wise minimum kernel. The output image dimensions should be the same as the dimensions of the input image.

Performing a pixel-wise minimum on a VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 images. All data types of the input and output images must match.

\[ out[i,j] = (in1[i,j] < in2[i,j] ? in1[i,j] : in2[i,j]). \]

Functions

vx_node VX_API_CALL vxMinNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out)
 [Graph] Creates a pixel-wise minimum kernel. More...
 
vx_status VX_API_CALL vxuMin (vx_context context, vx_image in1, vx_image in2, vx_image out)
 [Immediate] Computes pixel-wise minimum values between two images. More...
 

Function Documentation

vx_node VX_API_CALL vxMinNode ( vx_graph  graph,
vx_image  in1,
vx_image  in2,
vx_image  out 
)

[Graph] Creates a pixel-wise minimum 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 min 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
vx_status VX_API_CALL vxuMin ( vx_context  context,
vx_image  in1,
vx_image  in2,
vx_image  out 
)

[Immediate] Computes pixel-wise minimum 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 min.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.