摘要: 表示得到了想要的处理效果:直接写代码吧,为了把处理过图像中相关颜色进行二值化,或者三值化,哈哈,我自己定义滴:#include "cv.h"#include "highgui.h"#include <fstream>#include <iostream>using namespace std;int main(){ IplImage* img = cvLoadImage("E:\\test.jpg", 1); /* always check */ assert(img); int nWidth = img-&g 阅读全文
posted @ 2012-04-17 11:34 hailong 阅读(528) 评论(0) 推荐(0) 编辑