unravel.image_io.tif_to_tifs module#
Use io_tif_to_tifs
(t2t
) from UNRAVEL to load a 3D .tif or .ome.tif image and save it as tifs.
- Input:
path/image.tif
- Outputs:
<tif_dir>/slice_0000.tif, <tif_dir>/slice_0001.tif, …
tif_dir may be specified with -t flag or it will default to <image_name>_tifs
parameters/metadata.txt (if -m flag is used)
- Next command:
io_metadata
to specify voxel sizes and image dimensions to parameters/metadata.txt (if metadata is not extractable)reg_prep
to prep autofluo images registration
Usage:#
io_tif_to_tifs -i <path/image.tif> -t autofl [-v]