Skip to content

Single volume

linc_convert.modalities.lsm.single_volume

Converts TIFF to OME-Zarr or NIfTI-Zarr.

convert

convert(inp, *, voxel_size=(1, 1, 1), general_config=None, zarr_config=None, nii_config=None)

Tiff to OME-Zarr.

Convert tiff files into a pyramidal OME-ZARR (or NIfTI-Zarr) hierarchy.

Parameters:

Name Type Description Default
inp str

Path to the input tiff file

required
voxel_size list[float]

Voxel size along the X, Y and Z dimensions, in microns.

(1, 1, 1)
general_config GeneralConfig

General configuration

None
zarr_config ZarrConfig

Zarr related configuration

None
nii_config NiftiConfig

NIfTI header related configuration

None