disp(['第一个大循环的第', num2str(iter),'次迭代']);
读取类似于AR001-1.tif的图片:image = [path num2str(c,'%03d') '-' num2str(p) '.tif'];
保存指定变量为mat格式时
save('AR_corrupt(14)_50x40', 'fea','gnd');
转载于:https://www.cnblogs.com/Jerry-PR/articles/4984787.html
本文介绍使用MATLAB进行图像处理的过程,包括迭代读取特定格式图片,并将处理后的变量保存为MATLAB的.mat文件格式。展示了如何利用字符串拼接实现文件路径和名称的动态生成。
disp(['第一个大循环的第', num2str(iter),'次迭代']);
读取类似于AR001-1.tif的图片:image = [path num2str(c,'%03d') '-' num2str(p) '.tif'];
保存指定变量为mat格式时
save('AR_corrupt(14)_50x40', 'fea','gnd');
转载于:https://www.cnblogs.com/Jerry-PR/articles/4984787.html

被折叠的 条评论
为什么被折叠?