57 #ifndef NV_VPI_ALGORITHMS_MORPHOLOGICAL_FILTER_H
58 #define NV_VPI_ALGORITHMS_MORPHOLOGICAL_FILTER_H
60 #include "../Export.h"
61 #include "../Status.h"
136 const int8_t *kernelData, int32_t kernelWidth, int32_t kernelHeight,
207 const int8_t *kernelData, int32_t kernelWidth, int32_t kernelHeight,
VPIStatus vpiSubmitDilate(VPIStream stream, uint64_t backend, VPIImage input, VPIImage output, const int8_t *kernelData, int32_t kernelWidth, int32_t kernelHeight, VPIBorderExtension border)
Runs a 2D dilate over an image.
VPIStatus vpiSubmitErode(VPIStream stream, uint64_t backend, VPIImage input, VPIImage output, const int8_t *kernelData, int32_t kernelWidth, int32_t kernelHeight, VPIBorderExtension border)
Runs a 2D erode over an image.
struct VPIImageImpl * VPIImage
A handle to an image.
struct VPIStreamImpl * VPIStream
A handle to a stream.
VPIBorderExtension
Image border extension specify how pixel values outside of the image domain should be constructed.