56 #ifndef NV_VPI_ALGORITHMS_HOG_H
57 #define NV_VPI_ALGORITHMS_HOG_H
59 #include "../Export.h"
60 #include "../Status.h"
80 #define VPI_HOG_CONTRAST_SENSITIVE 0x01
81 #define VPI_HOG_CONTRAST_INSENSITIVE 0x02
82 #define VPI_HOG_TEXTURE 0x04
85 #define VPI_HOG_ALL_FEATURES (VPI_HOG_CONTRAST_SENSITIVE | VPI_HOG_CONTRAST_INSENSITIVE | VPI_HOG_TEXTURE)
102 int32_t cellSize, int32_t numOrientations, int32_t *outNumFeatures,
121 int32_t imgWidth, int32_t imgHeight, int32_t features,
122 int32_t cellSize, int32_t numOrientations,
123 int32_t *outNumFeatures,
VPIPayload *payload);
146 VPIImage *outFeatures, int32_t numFeatures);
VPIStatus vpiCreateExtractHOGFeaturesBatch(uint32_t backends, int32_t maxBatchWidth, int32_t maxBatchHeight, int32_t imgWidth, int32_t imgHeight, int32_t features, int32_t cellSize, int32_t numOrientations, int32_t *outNumFeatures, VPIPayload *payload)
Create a payload for the batch version of HOG algorithm.
VPIStatus vpiSubmitExtractHOGFeatures(VPIStream stream, uint32_t backend, VPIPayload payload, VPIImage input, VPIImage *outFeatures, int32_t numFeatures)
Submit the HOG algorithm to the stream associated with the payload.
VPIStatus vpiCreateExtractHOGFeatures(uint32_t backends, int32_t width, int32_t height, int32_t features, int32_t cellSize, int32_t numOrientations, int32_t *outNumFeatures, VPIPayload *payload)
Create a payload for the non-batch version of HOG algorithm.
struct VPIImageImpl * VPIImage
A handle to an image.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
struct VPIStreamImpl * VPIStream
A handle to a stream.