CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Enumerations | |
enum | vx_norm_type_e { VX_NORM_L1 = VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_NORM_TYPE) + 0x0 , VX_NORM_L2 = VX_ENUM_BASE(VX_ID_KHRONOS, VX_ENUM_NORM_TYPE) + 0x1 } |
A normalization type. More... | |
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxCannyEdgeDetectorNode (vx_graph graph, vx_image input, vx_threshold hyst, vx_int32 gradient_size, vx_enum norm_type, vx_image output) |
[Graph] Creates a Canny Edge Detection Node. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuCannyEdgeDetector (vx_context context, vx_image input, vx_threshold hyst, vx_int32 gradient_size, vx_enum norm_type, vx_image output) |
[Immediate] Computes Canny Edges on the input image into the output image. | |
enum vx_norm_type_e |
#include <vx_types.h>
A normalization type.
Enumerator | |
---|---|
VX_NORM_L1 | The L1 normalization. |
VX_NORM_L2 | The L2 normalization. |
VX_API_ENTRY vx_node VX_API_CALL vxCannyEdgeDetectorNode | ( | vx_graph | graph, |
vx_image | input, | ||
vx_threshold | hyst, | ||
vx_int32 | gradient_size, | ||
vx_enum | norm_type, | ||
vx_image | output ) |
#include <vx_nodes.h>
[Graph] Creates a Canny Edge Detection Node.
[in] | graph | The reference to the graph. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in] | hyst | The double threshold for hysteresis. The VX_THRESHOLD_INPUT_FORMAT shall be either VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . The VX_THRESHOLD_OUTPUT_FORMAT is ignored. |
[in] | gradient_size | The size of the Sobel filter window, must support at least 3, 5, and 7. |
[in] | norm_type | A flag indicating the norm used to compute the gradient, VX_NORM_L1 or VX_NORM_L2 . |
[out] | output | The binary output image in VX_DF_IMAGE_U1 or VX_DF_IMAGE_U8 format with values either 0 and 1 (VX_DF_IMAGE_U1 ), or 0 and 255 (VX_DF_IMAGE_U8 ). |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
VX_API_ENTRY vx_status VX_API_CALL vxuCannyEdgeDetector | ( | vx_context | context, |
vx_image | input, | ||
vx_threshold | hyst, | ||
vx_int32 | gradient_size, | ||
vx_enum | norm_type, | ||
vx_image | output ) |
#include <vxu.h>
[Immediate] Computes Canny Edges on the input image into the output image.
[in] | context | The reference to the overall context. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in] | hyst | The double threshold for hysteresis. The VX_THRESHOLD_INPUT_FORMAT shall be either VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 . The VX_THRESHOLD_OUTPUT_FORMAT is ignored. |
[in] | gradient_size | The size of the Sobel filter window, must support at least 3, 5 and 7. |
[in] | norm_type | A flag indicating the norm used to compute the gradient, VX_NORM_L1 or VX_NORM_L2 . |
[out] | output | The binary output image in VX_DF_IMAGE_U1 or VX_DF_IMAGE_U8 format with values either 0 and 1 (VX_DF_IMAGE_U1 ), or 0 and 255 (VX_DF_IMAGE_U8 ). |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |