Functions | |
VPIStatus | vpiSubmitSeparableImageConvolver (VPIStream stream, VPIImage input, VPIImage output, const float *kernelXData, uint32_t kernelXSize, const float *kernelYData, uint32_t kernelYSize, VPIBoundaryCond boundary) |
Runs a generic 2D convolution over an image. More... | |
Runs a generic 2D separable convolution over the input image.
VPIStatus vpiSubmitSeparableImageConvolver | ( | VPIStream | stream, |
VPIImage | input, | ||
VPIImage | output, | ||
const float * | kernelXData, | ||
uint32_t | kernelXSize, | ||
const float * | kernelYData, | ||
uint32_t | kernelYSize, | ||
VPIBoundaryCond | boundary | ||
) |
#include <vpi/algo/SeparableImageConvolver.h>
Runs a generic 2D convolution over an image.
The type and size of the input and output images have to match the image type specified by the payload.
stream | [in] a stream handle |
input | [in] input image |
output | [in] output image |
kernelXSize | [in] kernel size in X direction |
kernelXData | [in] convolution kernel in X direction |
kernelYSize | [in] kernel size in Y direction |
kernelYData | [in] convolution kernel in Y direction |
boundary | [in] boundary condition |