Here is the code I am trying to use, xxxx is the image number that is 4 digit and ranges from 0000 to 1699.
for i=1:1700
stack(:,:,i)=imread('UCS_xxxx.tif',i);
end
stack=uint8(stack);
I wonder how should I modify the loop to account for the image numbers.
More...