Thread Subject: process all the image in the directory

Subject: process all the image in the directory

From: hemant waghmare

Date: 2 May, 2009 05:44:02

Message: 1 of 5

hi to all
i am extracting feature from an image but i now i want to eaxtract the feature from all images in the directory one bye one and save this all values in one mat file
if anyone know the process plz guide me

waiting for reply

thanks

Subject: process all the image in the directory

From: Sven

Date: 2 May, 2009 14:34:02

Message: 2 of 5

"hemant waghmare" <matlab@yahoogroups.com> wrote in message <gtgmj2$6a8$1@fred.mathworks.com>...
> hi to all
> i am extracting feature from an image but i now i want to eaxtract the feature from all images in the directory one bye one and save this all values in one mat file
> if anyone know the process plz guide me
>
> waiting for reply
>
> thanks

If you are successfully processing one image and retrieving the variable(s) you want from it, simply place this code inside a loop that iterates over files in your directory. See:
help dir
help for

At each iteration of the loop, insert these variables into an array. When your loop is finished, you can save this array of variables as a mat file. See:
help save

Thanks,
Sven.

Subject: process all the image in the directory

From: hemant waghmare

Date: 15 May, 2009 05:29:02

Message: 3 of 5

"Sven" <sven.holcombe@gmail.deleteme.com> wrote in message <gthlkq$a1t$1@fred.mathworks.com>...
> "hemant waghmare" <matlab@yahoogroups.com> wrote in message <gtgmj2$6a8$1@fred.mathworks.com>...
> > hi to all
> > i am extracting feature from an image but i now i want to eaxtract the feature from all images in the directory one bye one and save this all values in one mat file
> > if anyone know the process plz guide me
> >
> > waiting for reply
> >
> > thanks
>
> If you are successfully processing one image and retrieving the variable(s) you want from it, simply place this code inside a loop that iterates over files in your directory. See:
> help dir
> help for
>
> At each iteration of the loop, insert these variables into an array. When your loop is finished, you can save this array of variables as a mat file. See:
> help save
>
> Thanks,
> Sven.


hi
thanks for reply
i did this before i use one for loop for and it working correctly to process first image but how i jump to second image in directory bcoz first tie i read 1,jpg then how the imread function read the 2.jpg

thats my problem
plz help me
waiting for reply

thanking you

Subject: process all the image in the directory

From: ImageAnalyst

Date: 15 May, 2009 12:24:37

Message: 4 of 5

On May 2, 1:44 am, "hemant waghmare" <mat...@yahoogroups.com> wrote:
> hi to all
> i am extracting feature from an image but i now i want to eaxtract the fe=
ature from all images in the directory one bye one and save this all values=
 in one mat file
> if anyone know the process plz guide me
>
> waiting for reply
>
> thanks
---------------------------------------------------------------------------=
-----------------------
Processing a list of files is 4.12 in the FAQ.
http://matlabwiki.mathworks.com/MATLAB_FAQ#How_can_I_process_a_sequence_of_=
files.3F
You can look up the documentation for load() to see how to save into
a .mat file.

Subject: process all the image in the directory

From: omar

Date: 15 May, 2009 23:07:01

Message: 5 of 5

"hemant waghmare" <matlab@yahoogroups.com> wrote in message <gtgmj2$6a8$1@fred.mathworks.com>...
> hi to all
> i am extracting feature from an image but i now i want to eaxtract the feature from all images in the directory one bye one and save this all values in one mat file
> if anyone know the process plz guide me
>
> waiting for reply
>
> thanks

hey man i am doing the same process but i donot know how to extract features from an image, i want to extract features such as right and left mouth corners, tips of the nose...etc so please could you help me in this process??

if you can, just send me the algorithm or the method and if u have any links to a help or a explanation to the method.

thanks in advance

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com