cl;
raw=zeros(200,256,30);
for i=1:30
filename=strcat(\'F:\算法实验\data\seq3\\',int2str(i),\'.bmp\');
raw(:,:,i)=imread(filename);
end
方法二:
cl;
img=cell(1,30);
for i=1:30
filename=strcat(\'F:\算法实验\data\seq3\\',int2str(i),\'.bmp\');
img{i}=imread(filename);
end
请发表评论