摘要: Everybody knows what IT is, but how about MT? Manufacturing technology including computer numerical control (CNC) devices, robotics, 3D printing and other additive technologies, and machine vision is an important collection of tools that, until recently, did not get much attention in the media. But 阅读全文
posted @ 2013-03-07 16:55 微雪 阅读(201) 评论(0) 推荐(0) 编辑
摘要: C++本身只支持 xml、yml 的数据文件读写功能,并且其xml文件与构建网页数据所用的xml文件格式不一致,在Matlab中无法读取。我们可以通过以下方式将数据保存为txt文件,再导入到Matlab中。1.C++保存Mat矩阵 Mat_<float> sal = saliency.saliency( im );ofstream fout;fout.open("sal_value.txt");fout<<sal.rows<<endl;fout<<sal.cols<<endl;for(int i=0;i<sa 阅读全文
posted @ 2013-03-07 15:52 微雪 阅读(4890) 评论(0) 推荐(0) 编辑