|
|
VPI - Vision Programming Interface
0.1.0 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_ALGORITHMS_HOG_H
57 #define NV_VPI_ALGORITHMS_HOG_H
61 #include "../Export.h"
62 #include "../Status.h"
72 #define VPI_HOG_CONTRAST_SENSITIVE 0x01
73 #define VPI_HOG_CONTRAST_INSENSITIVE 0x02
74 #define VPI_HOG_TEXTURE 0x04
77 #define VPI_HOG_ALL_FEATURES (VPI_HOG_CONTRAST_SENSITIVE | VPI_HOG_CONTRAST_INSENSITIVE | VPI_HOG_TEXTURE)
95 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
96 uint32_t *outNumFeatures);
114 uint32_t imgWidth, uint32_t imgHeight, uint32_t features,
115 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
116 uint32_t *outNumFeatures);
134 uint32_t numFeatures);
140 #endif // NV_VPI_ALGORITHMS_HOG_H
VPIStatus vpiSubmitExtractHOGFeatures(VPIPayload payload, VPIImage input, VPIImage *outFeatures, uint32_t numFeatures)
Submit the HOG algorithm to the stream associated with the payload.
struct VPIImageImpl * VPIImage
VPIStatus vpiCreateExtractHOGFeatures(VPIStream stream, 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.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
VPIStatus vpiCreateExtractHOGFeaturesBatch(VPIStream stream, 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.
struct VPIStreamImpl * VPIStream