hbVPCornerHarris

typedef struct {
    int8_t borderType;
    int8_t kernelSize;
    uint32_t blockSize;
    float sensitivity;
} hbVPCornerHarrisParam;

CornerHarris operator parameter.

  • Member

    Member NameDescription
    borderTypeThe fill type supports type in hbVPBorderType .
    kernelSizeFilter kernel size, supported sizes are 3, 5, or 7.
    blockSizeNeighborhood dimensions take odd values within [3, 27]
    sensitivityDetector free parameter are recommended values in the range [0.04, 0.06].
int32_t hbVPCornerHarris(hbUCPTaskHandle_t *taskHandle,
                         hbVPImage *dstImg,
                         hbVPImage const *srcImg,
                         hbVPCornerHarrisParam const *cornerHarrisParam);

The API for calling the CornerHarris.

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