From: praveen kumar on

>there is a database called 'coil-20-proc' in d: drive.
i want to calculate invariant moments for all the images in the data base.
iam calling the data base like this
<<for i=1:totalimages
< im=imread(['d:coil-20-proc\1 (',num2str(i),').png']);
but it is showing error.....
"File "d:coil-20-proc\1 (1).png" does not exist."

PLEASE HELP ME....WHAT TO DO.......

From: Salmah Yasiran on
"praveen kumar" <saipraveenkumar485(a)gmail.com> wrote in message <hkt5fr$2eb$1(a)fred.mathworks.com>...
>
> >there is a database called 'coil-20-proc' in d: drive.
> i want to calculate invariant moments for all the images in the data base.
> iam calling the data base like this
> <<for i=1:totalimages
> < im=imread(['d:coil-20-proc\1 (',num2str(i),').png']);
> but it is showing error.....
> "File "d:coil-20-proc\1 (1).png" does not exist."
>
> PLEASE HELP ME....WHAT TO DO.......
>
Hi..
try this:
<<addpath('d:coil-20-proc');
<<im=imread('1.png');
<<imshow(im);

before that, are u connecting the database to Matlab? what type of database did u use?
Regards,

Siti
 | 
Pages: 1
Prev: reading a value in a string
Next: exe file for GUI