how can i read specific images from subfolders?

1 次查看(过去 30 天)
i have a folder called 'persons' and it has 30 subfolders called 'person1 ....person30' each containing 180 images..i need to read the first image of all 30 subfolders,again second image of all 30 and like that...ie;first image of first person,then first image of secon person.similarly second image from first person,then second image from second person like dat..can anyone plz help me with the code for the same....

采纳的回答

Image Analyst
Image Analyst 2015-12-31
See my attached demo, which does this.
  1 个评论
shefna manaf
shefna manaf 2016-1-2
thnk you image analyst....the code perfectly runs to read all the files...but what i need is to first read all the first image which correspond to pose_1 of 30 persons and then read the second image(pose_2) of all 30 persons and then read the third image(pose_3) of all..so on.....can you please help me to modify the code in this way...i'm a beginner in matlab so please help me

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Import, Export, and Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by