VPI - Vision Programming Interface

0.2.0 Release

BilateralFilter

Functions

VPIStatus vpiSubmitBilateralImageFilter (VPIStream stream, 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

◆ vpiSubmitBilateralImageFilter()

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

#include <vpi/algo/BilateralImageFilter.h>

Runs a 2D bilateral 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[out] output image
kernelSize[in] bilateral kernel size
sigmaRange[in] standard deviation in the color space
sigmaSpace[in] standard deviation in the coordinate space
boundary[in] boundary condition
Returns
an error code on failure else VPI_SUCCESS