Qt编程之转换成8,16bit的灰度图

代码大体是下面这样的。是8bit的灰度图,不是16bit。html   1 QString img_path = "C:\\Users\\Yajun Dou\\Desktop\\test.bmp"; 2 QImage buff(img_path); 3 QImage image; 4 uchar* pImageData1 = NULL,*pImageData2 = NULL; 5
相关文章
相关标签/搜索