Data Structures | |
struct | VPIHarrisKeypointDetectorParams |
Structure that defines the parameters for vpiSubmitHarrisKeypointDetector. More... | |
Functions | |
VPIStatus | vpiCreateHarrisKeypointDetector (VPIStream stream, uint32_t inputWidth, uint32_t inputHeight, VPIPayload *payload) |
Creates a Harris Keypoint Detector payload. More... | |
VPIStatus | vpiSubmitHarrisKeypointDetector (VPIPayload payload, VPIImage input, VPIArray outFeatures, VPIArray outScores, const VPIHarrisKeypointDetectorParams *params) |
Submits Harris Keypoint Detector operation to the stream associated with the payload. More... | |
Detect Harris keypoints
struct VPIHarrisKeypointDetectorParams |
Structure that defines the parameters for vpiSubmitHarrisKeypointDetector.
Definition at line 80 of file HarrisKeypointDetector.h.
VPIStatus vpiCreateHarrisKeypointDetector | ( | VPIStream | stream, |
uint32_t | inputWidth, | ||
uint32_t | inputHeight, | ||
VPIPayload * | payload | ||
) |
#include <vpi/algo/HarrisKeypointDetector.h>
Creates a Harris Keypoint Detector payload.
This function allocates all temporary memory needed by the algorithm.
stream | [in] VPI stream to be used. |
inputWidth,inputHeight | [in] Dimensions of the input image that will be used with this payload. |
payload | [out] Pointer to a payload handle that will point to the created payload. |
VPIStatus vpiSubmitHarrisKeypointDetector | ( | VPIPayload | payload, |
VPIImage | input, | ||
VPIArray | outFeatures, | ||
VPIArray | outScores, | ||
const VPIHarrisKeypointDetectorParams * | params | ||
) |
#include <vpi/algo/HarrisKeypointDetector.h>
Submits Harris Keypoint Detector operation to the stream associated with the payload.
payload | [in] Payload to be submitted. |
input | [in] Input image from where the Harris keypoints will be extracted. |
outFeatures | [out] Array that will receive the detected keypoints. It must have type VPI_ARRAY_TYPE_KEYPOINT. |
outScores | [out] Array that will receive the keypoints' scores. It must have type VPI_ARRAY_TYPE_U32. |
params | [in] Pointer to a VPIHarrisKeypointDetectorParams 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. |