create set of set of images listed in a file.

HI,
i am a beginner student in MATLAB i want to know how can i create file to store a set of (JPEG format)images as i want to load this images from this file in MATLAB

10 Comments

This is possible with TIFF, MAT, GIF, AVI and a much more formats. Please post, what you exactly want by editing the question, not by adding a comment.
What kind of file should the end result be?
They're already in files, though separate files, not one file with hundreds of images in it. Maybe she means how to read a file into a MATLAB variable. If so, use imread(). If she needs to write a MATLAB variable into a file on disk, use imwrite().
losy
losy on 29 Dec 2012
Edited: losy on 29 Dec 2012
@Walter Roberson i want to make external file that store a set of images and then load this images in matlab
Are you asking for a .mat file? For an SQL database? For DICOM? Are the images all the same size and you are trying to create a volume?
I am not sure why you are creating a file to store the images? Why not just load the images in MATLAB ?
Especially since she already has the images in jpeg files. Why create another file when you already have files? Losy, can you answer that?
A useful answer requires, that out questions have been cleared at first.
yes that is i need , i need to store group of images in a file that store them or in SQL database if it possible to connect matlab with SQL please help me
Well which one is it? Surely you must have a preference because those are drastically different things. For saving to an image file I already asked you to look at the TIFF class - see the help.
If you can explain why you need to store them in a file before doing the PCA, instead of just loading them at the time of doing the PCA, then we could possibly recommend an approach.

Sign in to comment.

Answers (1)

Look at the TIFF class. I think (though I've never done it) that it can save multiple images into one file.

Asked:

on 29 Dec 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!