how to plot image in columns

2 次查看(过去 30 天)
Pat
Pat 2011-12-29
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 个评论
Jan
Jan 2011-12-29
@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?
Pat
Pat 2011-12-31
JAn "A40-A47" are images which belong to same class,i have stored those in an folder

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-12-29
  2 个评论
Pat
Pat 2011-12-29
in that folder i want to take first 10 images and form in column wise,2nd 10 in next column and so on
Walter Roberson
Walter Roberson 2011-12-29
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.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by