VPI - Vision Programming Interface

0.1.0 Release

BoxFilter

Functions

VPIStatus vpiSubmitBoxImageFilter (VPIStream stream, VPIImage input, VPIImage output, uint32_t kernelSizeX, uint32_t kernelSizeY, VPIBoundaryCond boundary)
 Runs a 2D box filter over an image. More...
 

Detailed Description

Runs a generic 2D box filter over the input image.

Function Documentation

◆ vpiSubmitBoxImageFilter()

VPIStatus vpiSubmitBoxImageFilter ( VPIStream  stream,
VPIImage  input,
VPIImage  output,
uint32_t  kernelSizeX,
uint32_t  kernelSizeY,
VPIBoundaryCond  boundary 
)

#include <vpi/algo/BoxImageFilter.h>

Runs a 2D box filter over an image.

The type of the input and output images have to match the image type specified by the payload.

Parameters
stream[in] a stream handle
input[in] input image
output[in] output image
kernelSizeX[in] box kernel size in X direction, Limited between 3 and 11, and must be odd.
kernelSizeY[in] box kernel size in Y direction, Limited between 3 and 11, and must be odd.
boundary[in] boundary condition
Returns
an error code on failure else VPI_SUCCESS