|
softdouble | cv::abs (softdouble a) |
|
softfloat | cv::abs (softfloat a) |
| 绝对值。
|
|
softfloat | cv::cbrt (const softfloat &a) |
| 立方根。
|
|
softdouble | cv::cos (const softdouble &a) |
| 余弦。
|
|
int | cvCeil (const cv::softdouble &a) |
|
int | cvCeil (const cv::softfloat &a) |
| 向上取整。
|
|
int | cvFloor (const cv::softdouble &a) |
|
int | cvFloor (const cv::softfloat &a) |
| 向下取整。
|
|
int | cvRound (const cv::softdouble &a) |
|
int | cvRound (const cv::softfloat &a) |
| 四舍五入到最近的偶数整数。
|
|
int64_t | cvRound64 (const cv::softdouble &a) |
| 四舍五入到最近的偶数 long long 整数。
|
|
int | cvTrunc (const cv::softdouble &a) |
|
int | cvTrunc (const cv::softfloat &a) |
| 截断到最小幅值的整数。
|
|
softdouble | cv::exp (const softdouble &a) |
|
softfloat | cv::exp (const softfloat &a) |
| 指数函数。
|
|
softdouble | cv::log (const softdouble &a) |
|
softfloat | cv::log (const softfloat &a) |
| 自然对数。
|
|
softdouble | cv::max (const softdouble &a, const softdouble &b) |
|
softfloat | cv::max (const softfloat &a, const softfloat &b) |
|
softdouble | cv::min (const softdouble &a, const softdouble &b) |
|
softfloat | cv::min (const softfloat &a, const softfloat &b) |
| 最大值和最小值函数。
|
|
softdouble | cv::mulAdd (const softdouble &a, const softdouble &b, const softdouble &c) |
|
softfloat | cv::mulAdd (const softfloat &a, const softfloat &b, const softfloat &c) |
| 融合乘法和加法。
|
|
softdouble | cv::pow (const softdouble &a, const softdouble &b) |
|
softfloat | cv::pow (const softfloat &a, const softfloat &b) |
| 幂运算。
|
|
template<typename _Tp > |
static _Tp | cv::saturate_cast (softdouble a) |
|
template<typename _Tp > |
static _Tp | cv::saturate_cast (softfloat a) |
| 饱和转换。
|
|
template<> |
int64_t | cv::saturate_cast< int64_t > (softdouble a) |
|
template<> |
int64_t | cv::saturate_cast< int64_t > (softfloat a) |
|
template<> |
schar | cv::saturate_cast< schar > (softdouble a) |
|
template<> |
schar | cv::saturate_cast< schar > (softfloat a) |
|
template<> |
short | cv::saturate_cast< short > (softdouble a) |
|
template<> |
short | cv::saturate_cast< short > (softfloat a) |
|
template<> |
uchar | cv::saturate_cast< uchar > (softdouble a) |
|
template<> |
uchar | cv::saturate_cast< uchar > (softfloat a) |
|
template<> |
uint64_t | cv::saturate_cast< uint64_t > (softdouble a) |
|
template<> |
uint64_t | cv::saturate_cast< uint64_t > (softfloat a) |
|
template<> |
unsigned | cv::saturate_cast< unsigned > (softdouble a) |
|
template<> |
unsigned | cv::saturate_cast< unsigned > (softfloat a) |
| 饱和转换为无符号整数和无符号长长整数。我们故意不对负数进行裁剪,以便-1变成0xffffffff等。
|
|
template<> |
ushort | cv::saturate_cast< ushort > (softdouble a) |
|
template<> |
ushort | cv::saturate_cast< ushort > (softfloat a) |
|
softdouble | cv::sin (const softdouble &a) |
| 正弦。
|
|
softdouble | cv::sqrt (const softdouble &a) |
|
softfloat | cv::sqrt (const softfloat &a) |
| 平方根。
|
|