摘要: 不过还是有问题,正在慢慢分析原因吧。#include <cv.h>#include <cxcore.h>#include <highgui.h>#include <fstream>#include <iostream>#include <algorithm>using namespace std;int main(){ ifstream myfile( "E:\\feature_size.txt "); if (!myfile.is_open()) cout << "Unable 阅读全文
posted @ 2011-10-18 21:46 hailong 阅读(1987) 评论(0) 推荐(0)
摘要: 参考http://www.xxkb.com.cn/?action=show&id=69所提出得步骤,依葫芦画瓢,果然好用!代码奉上:#include <cv.h>#include <highgui.h>#include <fstream> #include <iostream>#include <algorithm>using namespace std;void print_cvmat(CvMat* M){ for (int i = 0; i < M->rows;++i) for(int j = 0;j < 阅读全文
posted @ 2011-10-18 10:03 hailong 阅读(917) 评论(0) 推荐(0)