VPI - Vision Programming Interface

3.2 Release

HOG.h File Reference

Declares functions that implement the Histogram of Oriented Gradients algorithm. More...

#include "../Export.h"
#include "../Status.h"
#include "../Types.h"
#include <stdint.h>
+ Include dependency graph for HOG.h:

Go to the source code of this file.

Macros

HOG flags

Defines what features will be returned.

#define VPI_HOG_CONTRAST_SENSITIVE   0x01
 Return contrast sensitive features.
 
#define VPI_HOG_CONTRAST_INSENSITIVE   0x02
 Return contrast insensitive features.
 
#define VPI_HOG_TEXTURE   0x04
 Return texture-related features.
 
#define VPI_HOG_ALL_FEATURES   (VPI_HOG_CONTRAST_SENSITIVE | VPI_HOG_CONTRAST_INSENSITIVE | VPI_HOG_TEXTURE)
 Helper flag to return all features.
 

Functions

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. More...
 
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. More...
 
VPIStatus vpiSubmitExtractHOGFeatures (VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage input, VPIImage *outFeatures, int32_t numFeatures)
 Submits a HOG operation to the stream. More...
 

Detailed Description

Declares functions that implement the Histogram of Oriented Gradients algorithm.

Definition in file HOG.h.