CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Compare Images

Functions

vx_node vxCompareImagesNode (vx_graph graph, vx_image a, vx_image b, vx_scalar diffs)
 [Graph] Compares two images and returns the number of pixel sub-channels which are different.
 
vx_status vxuCompareImages (vx_context context, vx_image a, vx_image b, vx_uint32 *numDiffs)
 [Immediate] Compares two images and returns the number of pixel sub-channels which are different.
 

Detailed Description

Function Documentation

◆ vxCompareImagesNode()

vx_node vxCompareImagesNode ( vx_graph graph,
vx_image a,
vx_image b,
vx_scalar diffs )

#include <vx_lib_debug.h>

[Graph] Compares two images and returns the number of pixel sub-channels which are different.

Parameters
[in]graphThe handle to the graph.
[in]aThe first image.
[in]bThe second image.
[out]diffsThe handle to scalar to hold the number of differences.
Note
Graph Mode Function

◆ vxuCompareImages()

vx_status vxuCompareImages ( vx_context context,
vx_image a,
vx_image b,
vx_uint32 * numDiffs )

#include <vx_lib_debug.h>

[Immediate] Compares two images and returns the number of pixel sub-channels which are different.

Parameters
[in]contextThe handle to the context.
[in]aThe first image.
[in]bThe second image.
[out]numDiffsThe handle to scalar to hold the number of differences.
Note
Immediate Mode Function