hbVPBilateralFilter

typedef struct { double sigmaColor; double sigmaSpace; int8_t kernelSize; int8_t borderType; } hbVPBilateralFilterParam;

The BilateralFilter operator parameter.

  • Member

    Member NameDescription
    sigmaColorThe sigma filter parameter in color space.
    sigmaSpaceThe sigma filter parameters in coordinate space.
    kernelSizeThe filter kernel size supports size 5 or 9.
    borderTypeThe fill type supports types in hbVPBorderType.
int32_t hbVPBilateralFilter(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPBilateralFilterParam const *bilateralParam);

The API for calling the BilateralFilter.

  • Parameter
    • [out] taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.
    • [out] dstImg The output picture, type, format and size are the same as the input picture.
    • [in] srcImg The Input picture, type supports U8C1, format supports Y.
    • [in] bilateralParam Operator parameter.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.