unravel.image_tools.invert module#
Use img_invert (invert) from UNRAVEL to invert a 3D image and save it.
- Inputs:
path/img<.nii.gz|.tif|.czi|.zarr> or glob pattern(s)
- Outputs:
path/img_inv.<ext>
Note
Inversion is performed as max(image) - x, independent of data type.
A warning is issued if the input contains negative values.
Usage:#
invert [-i path/img<.nii.gz|.tif|.czi|.zarr> or glob pattern(s)] [-c channel] [-dt dtype] [-v]