how to plot image in columns

I have 100 images in a folder named images ,I want to divide it into 10 categories in column wise ,such that category 1 will have 10 images in 1 column,,like wise
please help

9 Comments

What about the category you used to group the images?
i did not any category i just used that word to make it meaningful
in that folder i want to take first 10 images and form in column wise,2nd 10 in next column and so on
Then, how do you named your image?
Such image001, image002, ..., image100?
i have uploaded 80 imaged for your reference,plz refer
http://imgur.com/34dVk,7FlCy,Qjl4v,zcSwv,SS5NY,imdPn,QkIMi,IxKB4,bGe10,RT3R3,HCAeM,e6MQt,9swnO,asWVB,FdNe2,unzxf,2756w,qGntS,xPQqk,XOlCJ,tHUSk,rG8Ty,YXfXl,RtM4H,THa0v,yh2Fn,kBMR4,M3nPX,onP1x,5z5zr,3Mngu,KsulA,K2LoO,xQfyj,jPKpc,fCCvH,SS57Q,IksAh,tUlID,5IHmr,86eO9,XvZMB,Xc0q3,rMfFV,5xv69,S9erD,cY9DE,Ioig4,M6jlv,xcwrV,F1QQd,4hCXr,EAO29,M3mBD,X5DiL,wtdjT,NL4zp,r4NjH,2gv8t,Ao7jL,6BSDE,tH6no,eVVFf,EPnyt,I5HZy,FUFg2,qU67r,AN8jt,82Pvz,wPDbV,YK30N,lrOZc,GXd01,gF4PJ,gqjab,MFKaH,2RYPY,Ro4pL,C6xXl,BQuCc
Wow, It is not necessary.
I would use my own images.
So, the jpeg files have unique name.
I just need to clarify what does 'plot' mean?
Do you need to plot all 80 images in 8 column by subplot?
no chandra i want to store all those images in a folder in such a way that the images are in 8 rows and 10 column for my uploaded image ..the 8 images in one column should belong to same class...(A40-A47)..only ten i can calculate recall and precision for those
Aren't those images copyrighted? Posting all of them at once would likely violate copyright.
@Pat: I still do not understand the problem. Especially the above comment is confusing: You want to store images in a folder to get rows and columns?! Folders to not have a shape.
8 images should belong to the same calss "A40-A47" - but where does "A40" come from?!
"only ten i can calculate recall and precision for those" - what does this mean?
JAn "A40-A47" are images which belong to same class,i have stored those in an folder

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 29 Dec 2011

2 Comments

in that folder i want to take first 10 images and form in column wise,2nd 10 in next column and so on
It appears from the documentation that it fills along the column first, in order by file name if all of the images are the same size. So reshape() the cell array of strings (of the file names) as 10 by 8, and then submit the transpose of that cell array as the file names.

Sign in to comment.

Asked:

Pat
on 29 Dec 2011

Community Treasure Hunt

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

Start Hunting!