跳到主要内容

~FastMath

CvKalmanInit

函数功能

初始化卡尔曼滤波器。

函数原型

void CvKalmanInit(const MxBase::DetectBox &initRect);

参数说明

参数名输入/输出说明
initRect输入坐标框。

父主题: KalmanTracker

类说明

FastMath类在FastMath.h定义。

父主题: FastMath

FastMath

函数功能

类构造函数,创建数学函数类对象。

函数原型

FastMath();

父主题: FastMath

~FastMath

函数功能

FastMath类的默认析构函数。

函数原型

~FastMath();

父主题: FastMath

exp

函数功能

快速幂运算。

函数原型

inline float exp(const float x);

参数说明

参数名输入/输出说明
x输入指数。

返回参数说明

数据结构说明
float运算结果。

父主题: FastMath

sigmoid

函数功能

快速sigmoid函数运算。

函数原型

inline float sigmoid(float x);

参数说明

参数名输入/输出说明
x输入指数。

返回参数说明

数据结构说明
float运算结果。

父主题: FastMath

softmax

函数功能

快速softmax函数运算。

函数原型

inline void softmax(std::vector<float>& digits);

参数说明

参数名输入/输出说明
digits输入/输出float型的vector,原位进行softmax。

父主题: FastMath

sign

函数功能

符号函数,根据输入数字的符号返回1或-1。

函数原型

inline flot sign(float x);

参数说明

参数名输入/输出说明
x输入待判断符号的数字。

父主题: FastMath

在线提单