Code to build massive cell array of TIFFs

조회 수: 3 (최근 30일)
Brandon Hoy
Brandon Hoy 2018년 1월 27일
편집: Jan 2018년 1월 28일
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에서 Image Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by