Declares functions that implement the Histogram of Oriented Gradients algorithm. More...
Go to the source code of this file.
Macros | |
HOG flags | |
Defines what features will be returned. | |
#define | VPI_HOG_CONTRAST_SENSITIVE 0x01 |
Return contrast sensitive features. | |
#define | VPI_HOG_CONTRAST_INSENSITIVE 0x02 |
Return contrast insensitive features. | |
#define | VPI_HOG_TEXTURE 0x04 |
Return texture-related features. | |
#define | VPI_HOG_ALL_FEATURES (VPI_HOG_CONTRAST_SENSITIVE | VPI_HOG_CONTRAST_INSENSITIVE | VPI_HOG_TEXTURE) |
Helper flag to return all features. | |
Functions | |
VPIStatus | vpiCreateExtractHOGFeatures (VPIBackend backend, uint32_t width, uint32_t height, uint32_t features, uint32_t cellSize, uint32_t numOrientations, VPIPayload *payload, uint32_t *outNumFeatures) |
Create a payload for the non-batch version of HOG algorithm. More... | |
VPIStatus | vpiCreateExtractHOGFeaturesBatch (VPIBackend backend, uint32_t maxBatchWidth, uint32_t maxBatchHeight, uint32_t imgWidth, uint32_t imgHeight, uint32_t features, uint32_t cellSize, uint32_t numOrientations, VPIPayload *payload, uint32_t *outNumFeatures) |
Create a payload for the batch version of HOG algorithm. More... | |
VPIStatus | vpiSubmitExtractHOGFeatures (VPIStream stream, VPIPayload payload, VPIImage input, VPIImage *outFeatures, uint32_t numFeatures) |
Submit the HOG algorithm to the stream associated with the payload. More... | |
Declares functions that implement the Histogram of Oriented Gradients algorithm.
Definition in file HOG.h.