摘要: 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 阅读全文
posted @ 2011-08-10 14:24 随梦而飞 阅读(2561) 评论(1) 推荐(0)