hbVPMedianBlur

int32_t hbVPMedianBlur(hbUCPTaskHandle_t *taskHandle,
                       hbVPImage *dstImg,
                       hbVPImage const *srcImg,
                       int8_t maskWidth);

The API for calling the medianBlur API。

  • 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 and format supports Y.
    • [in] maskWidth Operator parameters, the filter kernel size can be configured to 3, 5, or 7.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.