I saw an example loading a TIFF sequence, such as a stack of 3D graphics or animations. However, I cannot figure out how to do the opposite, say, a 3D + numpy array and save it as a TIFF sequence. Are there any encoding examples of this? I can read a 2D array using PIL.fromarray. It would be nice if this method had some way to load a multidimensional array, but a call to the naive method threw an exception of an unsupported type.
Presumably if someone wrote this sequence, they could also add some headers to dictate channels, time, etc. My particular bias is that you can open images in applications like ImageJ / FIJI or convert from TIFF to other formats. Perhaps there are better ways to do this first.
source
share