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)
124 int32_t cellSize, int32_t numOrientations, int32_t *outNumFeatures,
173 int32_t imgWidth, int32_t imgHeight, int32_t features,
174 int32_t cellSize, int32_t numOrientations,
175 int32_t *outNumFeatures,
VPIPayload *payload);
219 VPIImage *outFeatures, int32_t numFeatures);
VPIStatus vpiSubmitExtractHOGFeatures(VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage input, VPIImage *outFeatures, int32_t numFeatures)
Submits a HOG operation to the stream.
VPIStatus vpiCreateExtractHOGFeaturesBatch(uint64_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 vpiCreateExtractHOGFeatures(uint64_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.