Azzera filtri
Azzera filtri

how can i read specific images from subfolders?

1 visualizzazione (ultimi 30 giorni)
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....

Risposta accettata

Image Analyst
Image Analyst il 31 Dic 2015
See my attached demo, which does this.
  1 Commento
shefna manaf
shefna manaf il 2 Gen 2016
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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by