morphogen.io.tiff

TIFF stacks (one page per z slice), via the optional tifffile package.

morphogen.io.tiff.write_tiff(path, image: VoxelImage) → Path[source]

A voxel image written as a TIFF stack (z, y, x) for ImageJ and Fiji, its spacing as resolution (tifffile).

morphogen.io.tiff.read_tiff(path) → VoxelImage[source]

A voxel image read from a TIFF stack, with the spacing of its resolution tags (tifffile).