필터 지우기
필터 지우기

how can i read specific images from subfolders?

조회 수: 1 (최근 30일)
shefna manaf
shefna manaf 2015년 12월 31일
댓글: shefna manaf 2016년 1월 2일
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