hbVPLaplacianFilter

typedef struct hbVPLaplacianFilterParam { int8_t kernelSize; int8_t borderType; int8_t normalize; } hbVPLaplacianFilterParam;

LaplacianFilter operator parameter.

  • Member

    Member NameDescription
    kernelSizefilter kernel,only supports 1.
    borderTypethe fill type supports types in hbVPBorderType.
    normalizenormalize, non-zero represent true.
int32_t hbVPLaplacianFilter(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPLaplacianFilterParam const *laplacianParam);

The API for calling the LaplacianFilter.

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