|
VPI - Vision Programming Interface
0.3.7 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_ALGORITHMS_HOG_H
57 #define NV_VPI_ALGORITHMS_HOG_H
67 #include "../Export.h"
68 #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 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
103 uint32_t *outNumFeatures);
121 uint32_t imgWidth, uint32_t imgHeight, uint32_t features,
122 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
123 uint32_t *outNumFeatures);
141 uint32_t numFeatures);
149 #endif // NV_VPI_ALGORITHMS_HOG_H
struct VPIStreamImpl * VPIStream
A handle to a stream.
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.
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 VPIImageImpl * VPIImage
A handle to an image.
struct VPIPayloadImpl * VPIPayload
A handle to an algorithm payload.
VPIStatus vpiSubmitExtractHOGFeatures(VPIPayload payload, VPIImage input, VPIImage *outFeatures, uint32_t numFeatures)
Submit the HOG algorithm to the stream associated with the payload.