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]). \]
[Graph] Creates a pixel-wise minimum kernel.
- Parameters
-
[in] | graph | The reference to the graph where to create the node. |
[in] | in1 | The first input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . |
[in] | in2 | The second input image. Must be of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . |
[out] | out | The 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_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
[Immediate] Computes pixel-wise minimum values between two images.
- Parameters
-
- Returns
- A
vx_status_e
enumeration.
- Return values
-