Functions | |
VPIStatus | vpiSubmitImageConvolver (VPIStream stream, VPIImage input, VPIImage output, const float *kernelData, uint32_t kernelWidth, uint32_t kernelHeight, VPIBoundaryCond boundary) |
Runs a generic 2D convolution over an image. More... | |
Runs a generic 2D convolution over the input image.
VPIStatus vpiSubmitImageConvolver | ( | VPIStream | stream, |
VPIImage | input, | ||
VPIImage | output, | ||
const float * | kernelData, | ||
uint32_t | kernelWidth, | ||
uint32_t | kernelHeight, | ||
VPIBoundaryCond | boundary | ||
) |
#include <vpi/algo/ImageConvolver.h>
Runs a generic 2D convolution over an image.
The type 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 |
kernelWidth | [in] kernel width |
kernelHeight | [in] kernel height |
kernelData | [in] convolution kernel |
boundary | [in] boundary condition |