摘要:
// 载入图像 img=cvLoadImage("lena.jpg",-1); if(!img) { printf("Could not load image file: %s\n",argv[1]); exit(0); } // 获取图像信息 height = img->height; width = img->width; step = img->widthStep; channels = img->nChannels; data = (uchar *)img->image... 阅读全文
posted @ 2014-02-22 20:08 sylar少侠 阅读(396) 评论(0) 推荐(0) 编辑