Code to build massive cell array of TIFFs

2 views (last 30 days)
Brandon Hoy
Brandon Hoy on 27 Jan 2018
Edited: Jan on 28 Jan 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.

Accepted Answer

Jan
Jan on 28 Jan 2018
Edited: Jan on 28 Jan 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 ?

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!