Runs a generic 2D Gaussian filter over the input image. More...
Functions | |
VPIStatus | vpiSubmitGaussianFilter (VPIStream stream, VPIBackend backend, VPIImage input, VPIImage output, uint32_t kernelSizeX, uint32_t kernelSizeY, float sigmaX, float sigmaY, VPIBoundaryCond boundary) |
Runs a 2D Gaussian filter over an image. More... | |
Runs a generic 2D Gaussian filter over the input image.
VPIStatus vpiSubmitGaussianFilter | ( | VPIStream | stream, |
VPIBackend | backend, | ||
VPIImage | input, | ||
VPIImage | output, | ||
uint32_t | kernelSizeX, | ||
uint32_t | kernelSizeY, | ||
float | sigmaX, | ||
float | sigmaY, | ||
VPIBoundaryCond | boundary | ||
) |
#include <vpi/algo/GaussianFilter.h>
Runs a 2D Gaussian filter over an image.
[in] | stream | The stream where the operation will be queued in. |
[in] | backend | VPI backend that will execute the algorithm. |
[in] | input | Input image to be filtered. |
[out] | output | Image where the result will be written to. |
[in] | kernelSizeX,kernelSizeY | Gaussian kernel size in X and Y directions respectively. If 0, it'll be 2*ceil(3*sigma) rounded to the next odd size. Limited between 3 and 11, and must be odd. |
[in] | sigmaX,sigmaY | Standard deviation of the Gaussian kernel in the X and Y directions respectively. If kernelSize==0 , sigma is limited to 2. |
[in] | boundary | Boundary condition to be used. |