how to plot image in columns
2 次查看(过去 30 天)
显示 更早的评论
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
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?
回答(1 个)
Walter Roberson
2011-12-29
2 个评论
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!