Detect FAST corners in an image, usually used in keypoint tracking. More...
Data Structures | |
struct | VPIFASTCornerDetectorParams |
Structure that defines the parameters for vpiSubmitFASTCornerDetector. More... | |
Functions | |
VPIStatus | vpiInitFASTCornerDetectorParams (VPIFASTCornerDetectorParams *params) |
Initializes VPIFASTCornerDetectorParams with default values. More... | |
VPIStatus | vpiSubmitFASTCornerDetector (VPIStream stream, uint64_t backend, VPIImage input, VPIArray outCorners, const VPIFASTCornerDetectorParams *params, VPIBorderExtension border) |
Submits a FAST Corner Detector operation to the stream. More... | |
Detect FAST corners in an image, usually used in keypoint tracking.
Refer to FAST Corners Detector for more details and usage examples.
struct VPIFASTCornerDetectorParams |
Structure that defines the parameters for vpiSubmitFASTCornerDetector.
Definition at line 81 of file FASTCorners.h.
VPIStatus vpiInitFASTCornerDetectorParams | ( | VPIFASTCornerDetectorParams * | params | ) |
#include </opt/nvidia/vpi2/include/vpi/algo/FASTCorners.h>
Initializes VPIFASTCornerDetectorParams with default values.
Default values are:
VPI_ERROR_INVALID_ARGUMENT | params is NULL. |
VPI_SUCCESS | Operation executed successfully. |
VPIStatus vpiSubmitFASTCornerDetector | ( | VPIStream | stream, |
uint64_t | backend, | ||
VPIImage | input, | ||
VPIArray | outCorners, | ||
const VPIFASTCornerDetectorParams * | params, | ||
VPIBorderExtension | border | ||
) |
#include </opt/nvidia/vpi2/include/vpi/algo/FASTCorners.h>
Submits a FAST Corner Detector operation to the stream.
[in] | stream | The stream where the operation will be queued in.
|
[in] | backend | Backend that will execute the algorithm.
|
[in] | input | Input image from where the FAST corners will be extracted.
|
[out] | outCorners | Array that will receive the detected corners. Array size is updated with the number of corners found.
|
[in] | params | Pointer to a VPIFASTCornerDetectorParams. It defines the parameters for this algorithm invocation. These parameters can vary in every call and will be copied internally. Thus there is no need to keep the parameters object around.
|
[in] | border | How to handle pixels outside image boundaries.
|
VPI_ERROR_INVALID_ARGUMENT | stream is NULL. |
VPI_ERROR_INVALID_ARGUMENT | input or outCorners are NULL. |
VPI_ERROR_INVALID_ARGUMENT | Circle radius in params outside valid range. |
VPI_ERROR_INVALID_ARGUMENT | Arc length in params outside valid range. |
VPI_ERROR_INVALID_ARGUMENT | Intensity threshold in params outside valid range. |
VPI_ERROR_INVALID_ARRAY_TYPE | Invalid outCorners array type. |
VPI_ERROR_INVALID_IMAGE_FORMAT | Unsupported input format. |
VPI_ERROR_INVALID_OPERATION | The needed backends aren't enabled in stream , input or outCorners . |
VPI_SUCCESS | Operation executed successfully. |