Reading images from file in MATLAB

Posted by yalcin on Stack Overflow See other posts from Stack Overflow or by yalcin
Published on 2009-07-21T10:21:08Z Indexed on 2010/03/13 11:15 UTC
Read the original article Hit count: 155

Filed under:
|

Hello,

I have bmp images in image folder on my computer. I named it from 1.bmp to 100.bmp.

And I want to read these images like this:

for i=1:100
    s='C:\images'+i+'.bmp';
    A=imread(s);
end

But Matlab gave an error. How can I implement this?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about beginner