OpenCV 4.12.0
开源计算机视觉
加载中...
搜索中...
无匹配项

将数组转换为具有指定类型的另一个数组。 更多...

详细描述

将数组转换为具有指定类型的另一个数组。

参数
src源图像
src_step源图像
dst目标图像
dst_step目标图像
width源图像尺寸
height源图像尺寸
sdepth源图像的深度
ddepth目标图像的深度
alpha比例值
beta偏移值

函数

int hal_ni_convertScale (const uchar *src, size_t src_step, uchar *dst, size_t dst_step, int width, int height, int sdepth, int ddepth, double alpha, double beta)
 

函数文档

◆ hal_ni_convertScale()

int hal_ni_convertScale ( const uchar * src,
size_t src_step,
I.at<uchar>(y, x) = saturate_cast<uchar>(r); * dst,
size_t dst_step,
int width,
int height,
int sdepth,
int ddepth,
double alpha,
double beta )
inline