VPI - Vision Programming Interface

0.4.4 Release

Bilateral Filter

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

Functions

VPIStatus vpiSubmitBilateralFilter (VPIStream stream, VPIBackend backend, VPIImage input, VPIImage output, uint32_t kernelSize, float sigmaRange, float sigmaSpace, VPIBoundaryCond boundary)
 Runs a 2D bilateral filter over an image. More...
 

Detailed Description

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

Function Documentation

◆ vpiSubmitBilateralFilter()

VPIStatus vpiSubmitBilateralFilter ( VPIStream  stream,
VPIBackend  backend,
VPIImage  input,
VPIImage  output,
uint32_t  kernelSize,
float  sigmaRange,
float  sigmaSpace,
VPIBoundaryCond  boundary 
)

#include <vpi/algo/BilateralFilter.h>

Runs a 2D bilateral 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 will be written to. It must have the same format and dimensions as input.
[in]kernelSizeKernel support size, in pixels.
[in]sigmaRangeStandard deviation in the color space
[in]sigmaSpaceStandard deviation in the coordinate space
[in]boundaryBoundary condition.
Returns
an error code on failure else VPI_SUCCESS.