08 2011 档案
摘要:int showImage(Mat *workImg, CDC *pDC,int flag){//======建立位图信息===========int width, height, depth,channel;width = workImg->cols;;height = workImg->rows;depth = workImg->depth();channel = workImg->channels();int bits,colors,i;bits = (8<<(depth/2)) * channel;if (bits>8) colors=0;el
阅读全文
浙公网安备 33010602011771号