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!