You can use the imread function to read multiple .tiff images and store them in a MATLAB structure. You can use input function to accept user inputs and create fields in the structure.
Here's an example code:
main.m498 chars17 lines
This code will create a structure image_struct with num_images number of elements. Each element will have two fields, data which stores the image data and name which stores the image file name. The input function is used to get the user input for number of images and image names.
gistlibby LogSnag