VPI - 视觉编程接口

3.2 版本发布

HOG.h 文件参考

声明了实现定向梯度直方图算法的函数。 更多...

#include "../Export.h"
#include "../Status.h"
#include "../Types.h"
#include <stdint.h>
+ HOG.h 的包含依赖关系图

前往此文件的源代码。

HOG 标志

定义将返回哪些特征。

#define VPI_HOG_CONTRAST_SENSITIVE   0x01
 返回对比度敏感特征。
 
#define VPI_HOG_CONTRAST_INSENSITIVE   0x02
 返回对比度不敏感特征。
 
#define VPI_HOG_TEXTURE   0x04
 返回纹理相关特征。
 
#define VPI_HOG_ALL_FEATURES   (VPI_HOG_CONTRAST_SENSITIVE | VPI_HOG_CONTRAST_INSENSITIVE | VPI_HOG_TEXTURE)
 用于返回所有特征的辅助标志。
 

函数

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)
 为 HOG 算法的非批处理版本创建 payload。 更多...
 
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)
 为 HOG 算法的批处理版本创建 payload。 更多...
 
VPIStatus vpiSubmitExtractHOGFeatures (VPIStream stream, uint64_t backend, VPIPayload payload, VPIImage input, VPIImage *outFeatures, int32_t numFeatures)
 向流提交 HOG 操作。 更多...
 

详细描述

声明了实现定向梯度直方图算法的函数。

定义在文件 HOG.h 中。