VPI - Vision Programming Interface

0.4.4 Release

Box Filter

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

Functions

VPIStatus vpiSubmitBoxFilter (VPIStream stream, VPIBackend backend, 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

◆ vpiSubmitBoxFilter()

VPIStatus vpiSubmitBoxFilter ( VPIStream  stream,
VPIBackend  backend,
VPIImage  input,
VPIImage  output,
uint32_t  kernelSizeX,
uint32_t  kernelSizeY,
VPIBoundaryCond  boundary 
)

#include <vpi/algo/BoxFilter.h>

Runs a 2D box filter over an image.

Parameters
[in]streamA stream handle where the operation will be queued into.
[in]backendThe backend that will execute the algorithm.
[in]inputInput image to be filtered.
[out]outputOutput image where the result is written to. It must have same dimensions and format as input.
[in]kernelSizeX,kernelSizeY[in] Box kernel size in X and Y directions respectively. Both must be between 3 and 11, and odd.
[in]boundaryBoundary condition.
Returns
an error code on failure else VPI_SUCCESS