hbVPDilate

typedef struct { int8_t pointLocX; int8_t pointLocY; int8_t iterations; int8_t borderType; uint8_t borderValue; } hbVPDilateParam;

Dilate operator parameter.

  • Member

    Member NameDescription
    pointLocXReserved parameter.
    pointLocYReserved parameter.
    iterationsReserved parameter.
    borderTypeThe fill type supports type in hbVPBorderType.
    borderValueReserved parameter.
int32_t hbVPDilate(hbUCPTaskHandle_t *taskHandle, hbVPImage *dstImg, hbVPImage const *srcImg, hbVPFilterKernel const *dilateKernel, hbVPDilateParam const *dilateParam);

The API for calling the Dilate.

  • Parameter
    • [out] task 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] dilateKernel The operator processing kernel type supports U8C1 with a positive odd width and height less than or equal to 9.
    • [in] dilateParam Operator parameter.
  • Return Value
    • Return 0 means the API was successfully executed, otherwise the execution failed.