matlab批读入文件dir

files=dir('c:/Users/Sun/desktop/work/overlap/imagesample/*.bmp');

for n=1:numel(files)

      image{n}=imread(['c:/Users/Sun/desktop/work/overlap/imagesample/'...

          files(n).name]);

end

你可能感兴趣的:(Matlab,matlab,image,c)