56 #ifndef NV_VPI_ALGORITHMS_HARRIS_CORNERS_H
57 #define NV_VPI_ALGORITHMS_HARRIS_CORNERS_H
59 #include "../Export.h"
60 #include "../Status.h"
struct VPIArrayImpl * VPIArray
A handle to an array.
int32_t gradientSize
Gradient window size.
int32_t blockSize
Block window size used to compute the Harris Corner score.
float strengthThresh
Specifies the minimum threshold with which to eliminate Harris Corner scores.
float minNMSDistance
Non-maximum suppression radius, set to 0 to disable it.
float sensitivity
Specifies sensitivity threshold from the Harris-Stephens equation.
VPIStatus vpiSubmitHarrisCornerDetector(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage input, VPIArray outFeatures, VPIArray outScores, const VPIHarrisCornerDetectorParams *params)
Submits a Harris Corner Detector operation to the stream.
VPIStatus vpiInitHarrisCornerDetectorParams(VPIHarrisCornerDetectorParams *params)
Initializes VPIHarrisCornerDetectorParams with default values.
VPIStatus vpiCreateHarrisCornerDetector(uint64_t backends, int32_t inputWidth, int32_t inputHeight, VPIPayload *payload)
Creates a Harris Corner Detector payload.
Structure that defines the parameters for vpiSubmitHarrisCornerDetector.
struct VPIImageImpl * VPIImage
A handle to an image.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
struct VPIStreamImpl * VPIStream
A handle to a stream.