Hi, I'm trying to write multidimensional TIFF files (also known as "hyperstacks" in ImageJ). For example, the "dimensions" will be microscopy attributes, such as fluorescence channel, timepoint, stage position, etc. I have an example below. I tried using the imwrite "append" mode in a nested for loop but it simply created a 21x1 stack, not a 7x3 as I had hoped. Any suggestions? Thanks.
outputFileName = 'img_stack.tif'
for j = 1:3
for i = 1:7
imwrite(A{i,j}, outputFileName,'writemode','append','Compression','none');
end
end
1 Comment
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/282397-writing-multidimensional-tiff-files-using-imwrite#comment_509251
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/282397-writing-multidimensional-tiff-files-using-imwrite#comment_509251
Sign in to comment.