Cloud Stack Ninja

I want to save an stack of arrays in a tiff file, so a microscopy software can read it in channels and z planes, as images. So this is a 4 dimensions array: (21,32,1024,1024). But I do not find a way.

For example using: io.imsave(os.path.join(outpath), stack2), this is saved as a stack of individual images but not in grups of 32 channels representing the 21 z planes.

do you know any way to achieve that?



Read more here: https://stackoverflow.com/questions/64414618/using-python-how-to-save-a-4-dimension-array-21-32-1024-1024-as-a-tif-image

Content Attribution

This content was originally published by Albert Parra Martinez at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: