Code to build massive cell array of TIFFs

2 visualizaciones (últimos 30 días)
Brandon Hoy
Brandon Hoy el 27 de En. de 2018
Editada: Jan el 28 de En. de 2018
First off, I have read many forums on here, and understand that using dynamically named variables is a terrible idea, which is why I'm trying to build a cell array to manipulate the individual variables. I am trying to take approximately 600 tiff images ordered based on time taken from a microSD card and put them into a cell array (still in order) so that I can call them in my many for loops and manipulate the data as needed. I would rather not handjam all of these images into a cell array, as I may need to do this several different times, and honestly I'm just curious if there is an easier way to plug them into the array.
Thanks.

Respuesta aceptada

Jan
Jan el 28 de En. de 2018
Editada: Jan el 28 de En. de 2018
No, there is no easier way. Because you do not show us, how you do it, my opinion is based on guessing only. But collecting a list of images in a cell array sounds efficient, clear and neat. It does not even matter if you mean the names of the files or the contents, because both is fine.
How does your current code look like and which problem do you have with it?
Do you know this already: FAQ: How to read a sequence of files ?

Más respuestas (0)

Categorías

Más información sobre Data Import and Analysis en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by