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