编程实现将文本文件读入后转成图片显示。单个.dat文件都是一
opencv吧
全部回复
仅看楼主
level 1
哈尔nihao 楼主
编程实现将文本文件读入后转成图片显示。单个.dat文件都是一张图片,图片分辨率是320*240,先单个文件读入显示,再连续读入文件夹里的文件,连续显示出来。求大神指教啊
2018年01月30日 04点01分 1
level 5
调用方法:
string filePath = " ";//图片地址
vector<string> files;
getFiles(filePath, files);
int size = files.size();
for (int i = 0; i < size; ++i)
{
cout << files[i].c_str() << endl;
Mat img = imread(files[i].c_str());
imshow("a",img);
}
也不知道符不符合你的要求[太开心]
2018年02月01日 06点02分 2
level 1
哈尔nihao 楼主
谢谢,我试试[玫瑰][玫瑰]
2018年02月05日 06点02分 3
level 1
哈尔nihao 楼主
为什么我的s_fil总是说使用了未完整的数据类型。我头文件已经包括io.h啦
2018年02月05日 18点02分 4
level 1
哈尔nihao 楼主
发表加QQ吗 想再问几个问题
2018年02月05日 18点02分 5
1