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:

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: