|
|
VPI - Vision Programming Interface
0.2.0 Release
|
Go to the documentation of this file.
56 #ifndef NV_VPI_ALGORITHMS_HOG_H
57 #define NV_VPI_ALGORITHMS_HOG_H
59 #include "../Export.h"
60 #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)
94 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
95 uint32_t *outNumFeatures);
113 uint32_t imgWidth, uint32_t imgHeight, uint32_t features,
114 uint32_t cellSize, uint32_t numOrientations,
VPIPayload *payload,
115 uint32_t *outNumFeatures);
133 uint32_t numFeatures);
139 #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