b3hrad
Newbie level 2
hi
some one kindly guide me regardint read pictures in matlab
i have 10 pictures and i want to read pictures but matlab give an error that
??? Error using ==> imread at 363
File "1" does not exist.
Error in ==> PCA at 5
database,:,i)=imread(tmp,'.tif');
i copy all images in matlab directory in c:\my document\MATLAB
my question is that ... where shoud i put images ? in matlab directory or other directory
if other dircetory , i shoud write the address of directory ?
why matlab cant read images from MATLAB directory
??? Error using ==> imread at 363
File "1" does not exist.
this is my code :
clear all
for i=1:10
tmp=int2str(i);
database,:,i)=imread(tmp,'.tif');
end
this is picture show errors ===>
some one kindly guide me regardint read pictures in matlab
i have 10 pictures and i want to read pictures but matlab give an error that
??? Error using ==> imread at 363
File "1" does not exist.
Error in ==> PCA at 5
database,:,i)=imread(tmp,'.tif');
i copy all images in matlab directory in c:\my document\MATLAB
my question is that ... where shoud i put images ? in matlab directory or other directory
if other dircetory , i shoud write the address of directory ?
why matlab cant read images from MATLAB directory
??? Error using ==> imread at 363
File "1" does not exist.
this is my code :
clear all
for i=1:10
tmp=int2str(i);
database,:,i)=imread(tmp,'.tif');
end
this is picture show errors ===>