Data Structures | |
struct | VPIHarrisCornerDetectorParams |
Structure that defines the parameters for vpiSubmitHarrisCornerDetector. More... | |
Functions | |
VPIStatus | vpiCreateHarrisCornerDetector (VPIBackend backend, uint32_t inputWidth, uint32_t inputHeight, VPIPayload *payload) |
Creates a Harris Corner Detector payload. More... | |
VPIStatus | vpiSubmitHarrisCornerDetector (VPIStream stream, VPIPayload payload, VPIImage input, VPIArray outFeatures, VPIArray outScores, const VPIHarrisCornerDetectorParams *params) |
Submits Harris Corner Detector operation to the stream associated with the payload. More... | |
struct VPIHarrisCornerDetectorParams |
Structure that defines the parameters for vpiSubmitHarrisCornerDetector.
Definition at line 79 of file HarrisCornerDetector.h.
VPIStatus vpiCreateHarrisCornerDetector | ( | VPIBackend | backend, |
uint32_t | inputWidth, | ||
uint32_t | inputHeight, | ||
VPIPayload * | payload | ||
) |
#include <vpi/algo/HarrisCornerDetector.h>
Creates a Harris Corner Detector payload.
This function allocates all temporary memory needed by the algorithm.
[in] | backend | VPI backend where the algorithm will be executed. |
[in] | inputWidth,inputHeight | Dimensions of the input image that will be used with this payload. |
[out] | payload | Pointer to memory where the created payload handle will be written to. |
VPIStatus vpiSubmitHarrisCornerDetector | ( | VPIStream | stream, |
VPIPayload | payload, | ||
VPIImage | input, | ||
VPIArray | outFeatures, | ||
VPIArray | outScores, | ||
const VPIHarrisCornerDetectorParams * | params | ||
) |
#include <vpi/algo/HarrisCornerDetector.h>
Submits Harris Corner Detector operation to the stream associated with the payload.
[in] | stream | The stream where the operation will be queued in. |
[in] | payload | Payload to be submitted along the other parameters. |
[in] | input | Input image from where the Harris corners will be extracted. |
[out] | outFeatures | Array that will receive the detected corners. It must have type VPI_ARRAY_TYPE_KEYPOINT. |
[out] | outScores | Array that will receive the corners' scores. It must have type VPI_ARRAY_TYPE_U32. |
[in] | params | Pointer to a VPIHarrisCornerDetectorParams with parameters for this algorithm invocation. These parameters can vary in every call and will be copied internally, no need to keep the object around. |