Data Structures | |
struct | VPIHarrisCornerDetectorParams |
Structure that defines the parameters for vpiSubmitHarrisCornerDetector. More... | |
Functions | |
VPIStatus | vpiInitHarrisCornerDetectorParams (VPIHarrisCornerDetectorParams *params) |
Initializes VPIHarrisCornerDetectorParams with default values. More... | |
VPIStatus | vpiCreateHarrisCornerDetector (uint32_t backends, int32_t inputWidth, int32_t inputHeight, VPIPayload *payload) |
Creates a Harris Corner Detector payload. More... | |
VPIStatus | vpiSubmitHarrisCornerDetector (VPIStream stream, uint32_t backend, 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 HarrisCorners.h.
VPIStatus vpiCreateHarrisCornerDetector | ( | uint32_t | backends, |
int32_t | inputWidth, | ||
int32_t | inputHeight, | ||
VPIPayload * | payload | ||
) |
#include <vpi/algo/HarrisCorners.h>
Creates a Harris Corner Detector payload.
This function allocates all temporary memory needed by the algorithm.
[in] | backends | VPI backends that are eligible to execute the algorithm. Currently only one backend is accepted. |
[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 vpiInitHarrisCornerDetectorParams | ( | VPIHarrisCornerDetectorParams * | params | ) |
#include <vpi/algo/HarrisCorners.h>
Initializes VPIHarrisCornerDetectorParams with default values.
Default values are:
VPIStatus vpiSubmitHarrisCornerDetector | ( | VPIStream | stream, |
uint32_t | backend, | ||
VPIPayload | payload, | ||
VPIImage | input, | ||
VPIArray | outFeatures, | ||
VPIArray | outScores, | ||
const VPIHarrisCornerDetectorParams * | params | ||
) |
#include <vpi/algo/HarrisCorners.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] | backend | Backend that will execute the algorithm. Must be one of the backends specified during payload creation. If 0, VPI will select one of the eligible backends from the payload that accepts the given parameters, usually the fastest one. |
[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. |