Code to build massive cell array of TIFFs

2 次查看(过去 30 天)
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.

采纳的回答

Jan
Jan 2018-1-28
编辑:Jan 2018-1-28
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 ?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import and Analysis 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by