variable or struct index creation
Mostra commenti meno recenti
I am working with a huge set of image stacks. Instead of importing 100 images 1 by 1, I want to do this programmatically. I would like to either:
1) create a variable with the image name i.e. traces01, traces 02, ... traces 99. similiar to the command below
traces01 = imread('traces01.tif');
2) bring all images into a struct similiar to below
images.traces01 = imread('traces01.tif');
I have successfully created a ImportName variable with all 100 image names through the sprintf command using a for loop. I just cannot figure out how to now move to using a for loop to accomplish
images.ImportName(i) = imread(ImportName(i));
thanks for anyone's help.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Convert Image Type in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!