图像数据类型转化float 和 uchar 之间

// 数据类型转化 float 转化为 unsigned char // src 要转化的数据 // des 目标数据 // width 输入数据的宽 // height 输入数据的高 int convertF1ToU1(float * src, unsigned char * des, int width, int height) { int i, j, temp; for(i
相关文章
相关标签/搜索