Runs a generic 2D bilateral filter over the input image. More...
| Functions | |
| VPIStatus | vpiSubmitBilateralFilter (VPIStream stream, uint64_t backend, VPIImage input, VPIImage output, int32_t kernelSize, float sigmaRange, float sigmaSpace, VPIBorderExtension border) | 
| Runs a 2D bilateral filter over an image.  More... | |
Runs a generic 2D bilateral filter over the input image.
Refer to Bilateral Filter for more details and usage examples.
| VPIStatus vpiSubmitBilateralFilter | ( | VPIStream | stream, | 
| uint64_t | backend, | ||
| VPIImage | input, | ||
| VPIImage | output, | ||
| int32_t | kernelSize, | ||
| float | sigmaRange, | ||
| float | sigmaSpace, | ||
| VPIBorderExtension | border | ||
| ) | 
#include </opt/nvidia/vpi2/include/vpi/algo/BilateralFilter.h>
Runs a 2D bilateral filter over an image.
| [in] | stream | A stream handle where the operation will be queued into. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | backend | Backend that will execute the algorithm. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | input | Input image to be filtered. 
 | ||||||||||||||||||||||||||||||||||||
| [out] | output | Output image where the result will be written to. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | kernelSize | Kernel support dimensions, in pixels. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | sigmaRange | Standard deviation in color space. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | sigmaSpace | Standard deviation in the coordinate space. 
 | ||||||||||||||||||||||||||||||||||||
| [in] | border | How to handle pixels outside image boundaries. 
 | 
| VPI_ERROR_INVALID_ARGUMENT | streamis NULL. | 
| VPI_ERROR_INVALID_ARGUMENT | inputoroutputare NULL. | 
| VPI_ERROR_INVALID_ARGUMENT | inputandoutputimage dimensions or formats don't match. | 
| VPI_ERROR_INVALID_ARGUMENT | inputoroutputimage dimensions outside valid range. | 
| VPI_ERROR_INVALID_ARGUMENT | kernelSizeoutside valid range. | 
| VPI_ERROR_INVALID_ARGUMENT | sigmaRangeorsigmaSpaceoutside valid range. | 
| VPI_ERROR_INVALID_ARGUMENT | backendis invalid or unknown. | 
| VPI_ERROR_INVALID_ARGUMENT | bordernot supported. | 
| VPI_ERROR_INVALID_IMAGE_FORMAT | inputoroutputformat is not supported. | 
| VPI_ERROR_NOT_IMPLEMENTED | Bilateral Filter algorithm is not supported by given backend. | 
| VPI_ERROR_INVALID_OPERATION | The needed backends aren't enabled in stream,inputoroutput. | 
| VPI_SUCCESS | Operation executed successfully. |