Read images from different subfolders and create movie from them?!

1 visualización (últimos 30 días)
FSh
FSh el 23 de Jul. de 2019
Editada: Stephan el 24 de Jul. de 2019
I have images with 3 set of diffrent names which are located in different subfolders like as what is explained below for diffrent years and months starting from 2010. I tried to use the imagest but I have no access to that and also with some other available codes to read images from subfolders with dir and cellfun, I got problm in in image read with the directory name and there where nothing in the final part that I have created.The main part is to creat movie from them all the image in a movie.
Please help in this regard?! Thank you
********************************
C:\ ....\folder\
2010 2011 2013 ....
and in ecach folder repeative names but a dit diffrent like as
\2010\
run_game_2010_01.png run_game_2010_02.png ... run_game_2010_12.png
\2011\
run_game_2011_01.png run_game_2011_02.png ... run_game_2011_12.png
.
.
>>>>>At least any help redarding to import of such pattern into matlab and used imread, please ?!

Respuesta aceptada

Stephan
Stephan el 24 de Jul. de 2019
Editada: Stephan el 24 de Jul. de 2019
I suggest to read about the imageDatastore function and use the includeSubfolders option. Creating a video from this should work easily then.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by