![]() |
The OpenVX Specification
a73e458
|
The standard list of available vision kernels.
Each kernel listed here can be used with the vxGetKernelByEnum call. When programming the parameters, use
VX_INPUT for [in] VX_OUTPUT for [out] VX_BIDIRECTIONAL for [in,out]When programming the parameters, use
VX_TYPE_IMAGE for a vx_image in the size field of vxGetParameterByIndex or vxSetParameterByIndex * VX_TYPE_ARRAY for a vx_array in the size field of vxGetParameterByIndex or vxSetParameterByIndex * | #define VX_KERNEL_COLOR_CONVERT (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1)) |
The Color Space conversion kernel enum [R00401].
The conversions are based on the Image Type Constants code in the images.
Definition at line 75 of file vx_kernels.h.
| #define VX_KERNEL_CHANNEL_EXTRACT (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x2)) |
The Generic Channel Extraction Kernel enum [R00402].
This kernel can remove individual color channels from an interleaved or semi-planar, planar, sub-sampled planar image. A client could extract a red channel from an interleaved RGB image or do a Luma extract from a YUV format.
Definition at line 85 of file vx_kernels.h.
| #define VX_KERNEL_CHANNEL_COMBINE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x3)) |
The Generic Channel Combine Kernel enum [R00403].
This kernel combine multiple individual planes into a single multiplanar image of the type specified in the output image.
Definition at line 93 of file vx_kernels.h.
| #define VX_KERNEL_SOBEL_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE , 0x4)) |
The Sobel 3x3 Filter Kernel enum [R00404].
Definition at line 98 of file vx_kernels.h.
| #define VX_KERNEL_MAGNITUDE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x5)) |
The Magnitude Kernel enum [R00405].
This kernel produces a magnitude plane from two input gradients.
Definition at line 105 of file vx_kernels.h.
| #define VX_KERNEL_PHASE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x6)) |
The Phase Kernel enum [R00406].
This kernel produces a phase plane from two input gradients.
Definition at line 112 of file vx_kernels.h.
| #define VX_KERNEL_SCALE_IMAGE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x7)) |
The Scale Image Kernel enum [R00407].
This kernel provides resizing of an input image to an output image. The scaling factor is determined but the relative sizes of the input and output.
Definition at line 121 of file vx_kernels.h.
| #define VX_KERNEL_TABLE_LOOKUP (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x8)) |
The Table Lookup kernel enum [R00408].
Definition at line 126 of file vx_kernels.h.
| #define VX_KERNEL_HISTOGRAM (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x9)) |
| #define VX_KERNEL_EQUALIZE_HISTOGRAM (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xA)) |
The Histogram Equalization Kernel enum [R00410].
Definition at line 136 of file vx_kernels.h.
| #define VX_KERNEL_ABSDIFF (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xB)) |
The Absolute Difference Kernel enum [R00411].
Definition at line 141 of file vx_kernels.h.
| #define VX_KERNEL_MEAN_STDDEV (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xC)) |
The Mean and Standard Deviation Kernel enum [R00412].
Definition at line 146 of file vx_kernels.h.
| #define VX_KERNEL_THRESHOLD (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xD)) |
The Threshold Kernel enum [R00413].
Definition at line 151 of file vx_kernels.h.
| #define VX_KERNEL_INTEGRAL_IMAGE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xE)) |
The Integral Image Kernel enum [R00414].
Definition at line 156 of file vx_kernels.h.
| #define VX_KERNEL_DILATE_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0xF)) |
| #define VX_KERNEL_ERODE_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x10)) |
| #define VX_KERNEL_MEDIAN_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x11)) |
The median image filter enum [R00417].
Definition at line 171 of file vx_kernels.h.
| #define VX_KERNEL_BOX_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x12)) |
The box filter kernel enum [R00418].
Definition at line 176 of file vx_kernels.h.
| #define VX_KERNEL_GAUSSIAN_3x3 (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x13)) |
| #define VX_KERNEL_CUSTOM_CONVOLUTION (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x14)) |
The custom convolution kernel enum [R00419].
Definition at line 186 of file vx_kernels.h.
| #define VX_KERNEL_GAUSSIAN_PYRAMID (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x15)) |
The gaussian image pyramid kernel enum [R00420].
Definition at line 191 of file vx_kernels.h.
| #define VX_KERNEL_ACCUMULATE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x16)) |
The accumulation kernel enum [R00421].
Definition at line 196 of file vx_kernels.h.
| #define VX_KERNEL_ACCUMULATE_WEIGHTED (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x17)) |
The weigthed accumulation kernel enum [R00422].
Definition at line 201 of file vx_kernels.h.
| #define VX_KERNEL_ACCUMULATE_SQUARE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x18)) |
The squared accumulation kernel enum [R00423].
Definition at line 206 of file vx_kernels.h.
| #define VX_KERNEL_MINMAXLOC (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x19)) |
The min and max location kernel enum [R00424].
Definition at line 211 of file vx_kernels.h.
| #define VX_KERNEL_CONVERTDEPTH (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1A)) |
The bit-depth conversion kernel enum [R00425].
Definition at line 216 of file vx_kernels.h.
| #define VX_KERNEL_CANNY_EDGE_DETECTOR (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1B)) |
The Canny Edge Detector enum [R00426].
Definition at line 221 of file vx_kernels.h.
| #define VX_KERNEL_AND (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1C)) |
The Bitwise And Kernel enum [R00427].
Definition at line 226 of file vx_kernels.h.
| #define VX_KERNEL_OR (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1D)) |
The Bitwise Inclusive Or Kernel enum [R00428].
Definition at line 231 of file vx_kernels.h.
| #define VX_KERNEL_XOR (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1E)) |
The Bitwise Exclusive Or Kernel enum [R00429].
Definition at line 236 of file vx_kernels.h.
| #define VX_KERNEL_NOT (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x1F)) |
The Bitwise Not Kernel enum [R00430].
Definition at line 241 of file vx_kernels.h.
| #define VX_KERNEL_MULTIPLY (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x20)) |
The Pixelwise Multiplication Kernel enum [R00431].
Definition at line 246 of file vx_kernels.h.
| #define VX_KERNEL_ADD (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x21)) |
The Addition Kernel enum [R00432].
Definition at line 251 of file vx_kernels.h.
| #define VX_KERNEL_SUBTRACT (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x22)) |
The Subtraction Kernel enum [R00433].
Definition at line 256 of file vx_kernels.h.
| #define VX_KERNEL_WARP_AFFINE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x23)) |
The Warp Affine Kernel enum [R00434].
Definition at line 261 of file vx_kernels.h.
| #define VX_KERNEL_WARP_PERSPECTIVE (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x24)) |
The Warp Perspective Kernel enum [R00435].
Definition at line 266 of file vx_kernels.h.
| #define VX_KERNEL_HARRIS_CORNERS (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x25)) |
The Harris Corners Kernel enum [R00436].
Definition at line 271 of file vx_kernels.h.
| #define VX_KERNEL_FAST_CORNERS (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x26)) |
The FAST Corners Kernel enum [R00437].
Definition at line 276 of file vx_kernels.h.
| #define VX_KERNEL_OPTICAL_FLOW_PYR_LK (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x27)) |
The Optical Flow Pyramid (LK) Kernel enum [R00438].
Definition at line 281 of file vx_kernels.h.
| #define VX_KERNEL_REMAP (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x28)) |
| #define VX_KERNEL_HALFSCALE_GAUSSIAN (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x29)) |
The Half Scale Gaussian Kernel enum [R00440].
Definition at line 291 of file vx_kernels.h.
| #define VX_KERNEL_LAPLACIAN_PYRAMID (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x2A)) |
The Laplacian Image Pyramid Kernel enum [R00441].
Definition at line 298 of file vx_kernels.h.
| #define VX_KERNEL_LAPLACIAN_RECONSTRUCT (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x2B)) |
The Laplacian Pyramid Reconstruct Kernel enum [R00442].
Definition at line 303 of file vx_kernels.h.
| #define VX_KERNEL_NON_LINEAR_FILTER (VX_ENUM_KERNEL(VX_ID_KHRONOS, VX_LIBRARY_KHR_BASE, 0x2C)) |
The Non Linear Filter Kernel enum [R00443].
Definition at line 308 of file vx_kernels.h.