matlab练习程序(读入灰度图像序列)

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


posted @ 2012-02-23 15:57  Dsp Tian  阅读(6168)  评论(0编辑  收藏  举报